Files
jardines-digitales/m00/System.json
2026-05-08 16:53:01 -04:00

1 line
4.2 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[{"title":"$:/config/AnimationDuration","text":"400"},{"title":"$:/config/AutoFocus","text":"title"},{"created":"20250507195227711","creator":"M00","title":"$:/config/DefaultSidebarTab","text":"$:/core/ui/SideBar/Recent","modified":"20250515135753957","modifier":"M00"},{"created":"20250917001329015","creator":"M0","text":"show","title":"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/preview","modified":"20250917001329655","modifier":"M0"},{"created":"20260222200219609","text":"yes","tags":"","title":"$:/config/ExternalLinks/NewWindow","modified":"20260222200336873","type":"text/plain"},{"title":"$:/config/NewJournal/Tags","text":"Journal\n"},{"created":"20250818131104132","creator":"M0","title":"$:/config/NewJournal/Text","text":"","modified":"20250818131110022","modifier":"M0"},{"title":"$:/config/NewJournal/Title","text":"DDth MMM YYYY"},{"created":"20250915235010805","creator":"M0","text":"show","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search","modified":"20250915235010805","modifier":"M0"},{"created":"20250917001213290","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all","modified":"20250917001217920","modifier":"M0"},{"created":"20250915235005629","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page","modified":"20250916135149411","modifier":"M0"},{"created":"20250917001219089","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all","modified":"20250917001222967","modifier":"M0"},{"created":"20250915234948058","creator":"M0","text":"show","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home","modified":"20250916022213214","modifier":"M0"},{"created":"20250917001155890","creator":"M0","text":"show","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home 1","modified":"20250917001200856","modifier":"M0"},{"created":"20250917001232866","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language","modified":"20250917001234108","modifier":"M0"},{"created":"20250915235016712","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions","modified":"20250916022002659","modifier":"M0"},{"created":"20250917001124834","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/network-activity","modified":"20250917001133360","modifier":"M0"},{"created":"20250916022130772","creator":"M0","text":"show","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler","modified":"20250916022216116","modifier":"M0"},{"created":"20250917001237899","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette","modified":"20250917001245374","modifier":"M0"},{"created":"20250917001248041","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview","modified":"20250917001253169","modifier":"M0"},{"created":"20250917001104947","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager","modified":"20250917001121458","modifier":"M0"},{"created":"20250917001034849","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme","modified":"20250917001040495","modifier":"M0"},{"created":"20250915235002472","creator":"M0","text":"hide","title":"$:/config/PageControlButtons/Visibility/$:/plugins/tiddlywiki/markdown/new-markdown-button","modified":"20250915235002472","modifier":"M0"},{"created":"20250920011644296","creator":"M0","text":"show","title":"$:/config/PageControlButtons/Visibility/$:/Seed/Widgets/Buttons/ToogleLayout","modified":"20250920011645206","modifier":"M0"},{"created":"20250621150102402","creator":"M0","title":"$:/config/plugins/menubar/breakpoint","text":"0px","modified":"20250621150109229","modifier":"M0"},{"created":"20250621123253968","creator":"M0","text":"hide","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/contents","modified":"20250621142705499","modifier":"M0"},{"created":"20250621123329735","creator":"M0","text":"hide","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/hamburger","modified":"20250623193222030","modifier":"M0"},{"created":"20250621123208772","creator":"M0","text":"show","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/pagecontrols","modified":"20250621142709931","modifier":"M0"},{"created":"20250621123309580","creator":"M0","text":"hide","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/search","modified":"20250621142708436","modifier":"M0"},{"created":"20250916134212895","creator":"M0","text":"hide","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/server","modified":"20250916134214234","modifier":"M0"},{"created":"20250621123216007","creator":"M0","text":"hide","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/sidebar","modified":"20250623193217149","modifier":"M0"},{"created":"20250621123321936","creator":"M0","text":"show","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/topleftbar","modified":"20250621123346286","modifier":"M0"},{"created":"20250621142713311","creator":"M0","text":"show","title":"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/toprightbar","modified":"20250621142716971","modifier":"M0"},{"created":"20250916002859523","creator":"M0","text":"yes","title":"$:/config/RelinkOnRename","modified":"20250916002859523","modifier":"M0"},{"title":"$:/config/sq/streams/dnd-modifier-copy-node","description":"Modifier key for drag and drop to create a copy of a node.","settings-template":"$:/plugins/sq/streams/ui/templates/settings/select","option-names":"ctrl alt shift meta","option-values":"ctrl alt shift meta","caption":"Modifier key to copy a node when dragging.","text":"ctrl"},{"title":"$:/config/sq/streams/dnd-modifier-transclude-node","description":"Modifier key for drag and drop to create a transclusion of a node.","settings-template":"$:/plugins/sq/streams/ui/templates/settings/select","option-names":"ctrl alt shift meta","option-values":"ctrl alt shift meta","caption":"Modifier key to transclude a node when dragging.","text":"shift"},{"created":"20250720174148714","creator":"M0","title":"$:/config/sq/streams/editor-engine","description":"Editor to use for Streams","caption":"Editor to use for Streams","settings-template":"$:/plugins/sq/streams/ui/templates/settings/select","option-names":"[[Default]] [[CodeMirror]]","option-values":"text codemirror","condition":"[[widget]modules[]prefix[$:/plugins/tiddlywiki/codemirror/edit-codemirror.js]]","text":"codemirror","modified":"20250720174148714","modifier":"M0"},{"created":"20250618041702273","text":"no","creator":"M0","title":"$:/config/sq/streams/enable-breadcrumbs","description":"Enable breadcrumbs in nodes","caption":"Show breadcrumbs","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","modified":"20260222200722679","modifier":"M0"},{"created":"20250617154111580","text":"yes","creator":"M0","title":"$:/config/sq/streams/enable-edit-toolbar","description":"Enable toolbar in editor","caption":"Show toolbar in editor","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","modified":"20260315124753487","modifier":"M0"},{"title":"$:/config/sq/streams/exit-on-saving-empty-node","description":"Enable to exit edit mode on saving an empty node","caption":"Exit editing on saving an empty node","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","text":"no"},{"title":"$:/config/sq/streams/new-node-tiddler-template","description":"T iddler to use as a template for new nodes","caption":"Tiddler to use as new node template","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input"},{"created":"20250517152945405","creator":"M00","title":"$:/config/sq/streams/new-node-title","description":"Wikitext that is wikified to generate the title for new nodes","caption":"Template wikified for node title","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input","text":"<<now \"[UTC]YYYY0MM0DD0hh0mm0ssXXX\">>","modified":"20250517152945405","modifier":"M00"},{"created":"20250507170936114","title":"$:/config/sq/streams/node-max-width","description":"Maximum displayed width of a Stream node","caption":"Maximum node width","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input","text":"100%","modified":"20250507170940042"},{"title":"$:/config/sq/streams/node-split-regexp","description":"Regular expression that is used to split longform text into multiple tiddlers","caption":"Regular expression used to split text","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input","text":"\\n\\n"},{"title":"$:/config/sq/streams/prompt-merge-with-previous","description":"Enable to be prompted before merging a node with the previous node","caption":"Prompt before merging with previous","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","text":"yes"},{"title":"$:/config/sq/streams/prompt-split-to-multiple","description":"Enable to be prompted before splitting a node to multiple nodes","caption":"Prompt before creating multiple nodes","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","text":"yes"},{"title":"$:/config/sq/streams/split-at-caret","description":"Enable to split text at caret position on saving a node","caption":"Split text at caret position","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","text":"yes"},{"title":"$:/config/sq/streams/stream-enable-filter","description":"Filter that determines which tiddlers get the add node button at the bottom","caption":"Filter to enable Streams","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input","text":"[!is[shadow]]"},{"title":"$:/config/sq/streams/swipe-contextmenu-position","description":"Position of context menu shown on swiping.","caption":"Position of context menu shown on swiping.","settings-template":"$:/plugins/sq/streams/ui/templates/settings/select","settings-group":"swipe","option-names":"[[Right]] [[Left]]","option-values":"right left","condition":"[[$:/config/sq/streams/swipe-enabled]get[text]match[yes]]","text":"right"},{"title":"$:/config/sq/streams/swipe-enabled","description":"Enable swipe to show context menu on touch devices.","caption":"Enable swipe to show context menu on nodes.","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input-switch","settings-group":"swipe","settings-group-header":"0","text":"yes"},{"title":"$:/config/sq/streams/swipe-threshold","description":"Distance in pixels that triggers a swipe, defaults to 100","caption":"Swipe threshold in pixels","settings-template":"$:/plugins/sq/streams/ui/templates/settings/input","settings-group":"swipe","condition":"[[$:/config/sq/streams/swipe-enabled]get[text]match[yes]]","text":"70"},{"created":"20250515135641258","creator":"M00","text":"no","title":"$:/config/Toolbar/Text","modified":"20250515135718309","modifier":"M00"},{"created":"20260224162755173","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone","modified":"20260224162755173"},{"created":"20260224162759010","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete","modified":"20260224162759010"},{"created":"20250507163814562","text":"hide","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit","modified":"20250507163814562"},{"created":"20260224162753132","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler","modified":"20260224162753132"},{"created":"20260224162815802","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info","modified":"20260224162815802"},{"created":"20250915235146833","creator":"M0","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions","modified":"20250915235148362","modifier":"M0"},{"created":"20260224162807212","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window","modified":"20260224162807212"},{"created":"20260224162804492","text":"show","title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink","modified":"20260224162804492"},{"title":"$:/core","name":"Core","description":"TiddlyWiki5 core","author":"JeremyRuston","core-version":">=5.0.0","plugin-priority":"0","list":"readme","stability":"STABILITY_2_STABLE","version":"5.3.8","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/Acknowledgements\":{\"title\":\"$:/Acknowledgements\",\"text\":\"TiddlyWiki incorporates code from these fine OpenSource projects:\\n\\n* [[The Stanford Javascript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]]\\n* [[The Jasmine JavaScript Test Framework|https://jasmine.github.io/]]\\n* [[modern-normalize by Sindre Sorhus|https://github.com/sindresorhus/modern-normalize]]\\n\"},\"$:/core/copyright.txt\":{\"title\":\"$:/core/copyright.txt\",\"type\":\"text/plain\",\"text\":\"TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n\\nCopyright (c) 2004-2007, Jeremy Ruston\\nCopyright (c) 2007-2025, UnaMesa Association\\nAll rights reserved.\\n\\nRedistribution and use in source and binary forms, with or without\\nmodification, are permitted provided that the following conditions are met:\\n\\n* Redistributions of source code must retain the above copyright notice, this\\n list of conditions and the following disclaimer.\\n\\n* Redistributions in binary form must reproduce the above copyright notice,\\n this list of conditions and the following disclaimer in the documentation\\n and/or other materials provided with the distribution.\\n\\n* Neither the name of the copyright holder nor the names of its\\n contributors may be used to endorse or promote products derived from\\n this software without specific prior written permission.\\n\\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\"},\"$:/core/icon\":{\"title\":\"$:/core/icon\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> viewBox=\\\"0 0 128 128\\\"><path d=\\\"M64 0l54.56 32v64L64 128 9.44 96V32L64 0zm21.127 95.408c-3.578-.103-5.15-.094-6.974-3.152l-1.42.042c-1.653-.075-.964-.04-2.067-.097-1.844-.07-1.548-1.86-1.873-2.8-.52-3.202.687-6.43.65-9.632-.014-1.14-1.593-5.17-2.157-6.61-1.768.34-3.546.406-5.34.497-4.134-.01-8.24-.527-12.317-1.183-.8 3.35-3.16 8.036-1.21 11.44 2.37 3.52 4.03 4.495 6.61 4.707 2.572.212 3.16 3.18 2.53 4.242-.55.73-1.52.864-2.346 1.04l-1.65.08c-1.296-.046-2.455-.404-3.61-.955-1.93-1.097-3.925-3.383-5.406-5.024.345.658.55 1.938.24 2.53-.878 1.27-4.665 1.26-6.4.47-1.97-.89-6.73-7.162-7.468-11.86 1.96-3.78 4.812-7.07 6.255-11.186-3.146-2.05-4.83-5.384-4.61-9.16l.08-.44c-3.097.59-1.49.37-4.82.628-10.608-.032-19.935-7.37-14.68-18.774.34-.673.664-1.287 1.243-.994.466.237.4 1.18.166 2.227-3.005 13.627 11.67 13.732 20.69 11.21.89-.25 2.67-1.936 3.905-2.495 2.016-.91 4.205-1.282 6.376-1.55 5.4-.63 11.893 2.276 15.19 2.37 3.3.096 7.99-.805 10.87-.615 2.09.098 4.143.483 6.16 1.03 1.306-6.49 1.4-11.27 4.492-12.38 1.814.293 3.213 2.818 4.25 4.167 2.112-.086 4.12.46 6.115 1.066 3.61-.522 6.642-2.593 9.833-4.203-3.234 2.69-3.673 7.075-3.303 11.127.138 2.103-.444 4.386-1.164 6.54-1.348 3.507-3.95 7.204-6.97 7.014-1.14-.036-1.805-.695-2.653-1.4-.164 1.427-.81 2.7-1.434 3.96-1.44 2.797-5.203 4.03-8.687 7.016-3.484 2.985 1.114 13.65 2.23 15.594 1.114 1.94 4.226 2.652 3.02 4.406-.37.58-.936.785-1.54 1.01l-.82.11zm-40.097-8.85l.553.14c.694-.27 2.09.15 2.83.353-1.363-1.31-3.417-3.24-4.897-4.46-.485-1.47-.278-2.96-.174-4.46l.02-.123c-.582 1.205-1.322 2.376-1.72 3.645-.465 1.71 2.07 3.557 3.052 4.615l.336.3z\\\" fill-rule=\\\"evenodd\\\"/></svg>\"},\"$:/core/images/add-comment\":{\"title\":\"$:/core/images/add-comment\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-add-comment tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M56 56H36a8 8 0 100 16h20v20a8 8 0 1016 0V72h20a8 8 0 100-16H72V36a8 8 0 10-16 0v20zm-12.595 58.362c-6.683 7.659-20.297 12.903-36.006 12.903-2.196 0-4.35-.102-6.451-.3 9.652-3.836 17.356-12.24 21.01-22.874C8.516 94.28 0 79.734 0 63.5 0 33.953 28.206 10 63 10s63 23.953 63 53.5S97.794 117 63 117c-6.841 0-13.428-.926-19.595-2.638z\\\"/></svg>\"},\"$:/core/images/advanced-search-button\":{\"title\":\"$:/core/images/advanced-search-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-advanced-search-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M74.565 87.985A47.776 47.776 0 0148 96C21.49 96 0 74.51 0 48S21.49 0 48 0s48 21.49 48 48c0 9.854-2.97 19.015-8.062 26.636l34.347 34.347a9.443 9.443 0 010 13.36 9.446 9.446 0 01-13.36 0l-34.36-34.358zM48 80c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z\\\"/><circle cx=\\\"48\\\" cy=\\\"48\\\" r=\\\"8\\\"/><circle cx=\\\"28\\\" cy=\\\"48\\\" r=\\\"8\\\"/><circle cx=\\\"68\\\" cy=\\\"48\\\" r=\\\"8\\\"/></g></svg>\"},\"$:/core/images/auto-height\":{\"title\":\"$:/core/images/auto-height\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-auto-height tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M67.987 114.356l-.029-14.477a4 4 0 00-2.067-3.494l-15.966-8.813-1.933 7.502H79.9c4.222 0 5.564-5.693 1.786-7.58L49.797 71.572 48.01 79.15h31.982c4.217 0 5.564-5.682 1.795-7.575L49.805 55.517l-1.795 7.575h31.982c4.212 0 5.563-5.67 1.805-7.57l-16.034-8.105 2.195 3.57V35.614l9.214 9.213a4 4 0 105.656-5.656l-16-16a4 4 0 00-5.656 0l-16 16a4 4 0 105.656 5.656l9.13-9.13v15.288a4 4 0 002.195 3.57l16.035 8.106 1.804-7.57H48.01c-4.217 0-5.564 5.682-1.795 7.574l31.982 16.059 1.795-7.575H48.01c-4.222 0-5.564 5.693-1.787 7.579l31.89 15.923 1.787-7.578H47.992c-4.133 0-5.552 5.504-1.933 7.501l15.966 8.813-2.067-3.494.029 14.436-9.159-9.158a4 4 0 00-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656l-9.185 9.184zM16 20h96a4 4 0 100-8H16a4 4 0 100 8z\\\"/></svg>\"},\"$:/core/images/blank\":{\"title\":\"$:/core/images/blank\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-blank tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"/>\"},\"$:/core/images/bold\":{\"title\":\"$:/core/images/bold\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-bold tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M41.146 51.81V21.87h26.353c2.51 0 4.93.21 7.26.628 2.33.418 4.392 1.165 6.185 2.24 1.793 1.076 3.227 2.57 4.302 4.482 1.076 1.913 1.614 4.363 1.614 7.35 0 5.379-1.613 9.263-4.84 11.653-3.227 2.39-7.35 3.586-12.37 3.586H41.146zM13 0v128h62.028a65.45 65.45 0 0016.762-2.151c5.438-1.434 10.278-3.645 14.52-6.633 4.244-2.988 7.62-6.842 10.13-11.563 2.51-4.721 3.764-10.308 3.764-16.762 0-8.008-1.942-14.85-5.826-20.527-3.884-5.677-9.77-9.65-17.658-11.921 5.737-2.75 10.069-6.275 12.997-10.577 2.928-4.303 4.392-9.681 4.392-16.135 0-5.976-.986-10.995-2.958-15.059-1.972-4.063-4.75-7.32-8.336-9.77-3.585-2.45-7.888-4.213-12.907-5.289C84.888.538 79.33 0 73.235 0H13zm28.146 106.129V70.992H71.8c6.095 0 10.995 1.404 14.7 4.212 3.705 2.81 5.558 7.5 5.558 14.073 0 3.347-.568 6.096-1.703 8.247-1.136 2.151-2.66 3.854-4.572 5.11-1.912 1.254-4.123 2.15-6.633 2.688-2.51.538-5.139.807-7.888.807H41.146z\\\"/></svg>\"},\"$:/core/images/cancel-button\":{\"title\":\"$:/core/images/cancel-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-cancel-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M64 76.314l-16.97 16.97a7.999 7.999 0 01-11.314 0c-3.118-3.118-3.124-8.19 0-11.313L52.686 65l-16.97-16.97a7.999 7.999 0 010-11.314c3.118-3.118 8.19-3.124 11.313 0L64 53.686l16.97-16.97a7.999 7.999 0 0111.314 0c3.118 3.118 3.124 8.19 0 11.313L75.314 65l16.97 16.97a7.999 7.999 0 010 11.314c-3.118 3.118-8.19 3.124-11.313 0L64 76.314zM64 129c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 1 0 29.654 0 65c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 17 64 17 16 38.49 16 65s21.49 48 48 48z\\\"/></svg>\"},\"$:/core/images/chevron-down\":{\"title\":\"$:/core/images/chevron-down\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-chevron-down tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M64.053 85.456a7.889 7.889 0 01-5.6-2.316L2.473 27.16a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0L64.05 66.344l50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.105 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.317z\\\"/><path d=\\\"M64.053 124.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z\\\"/></g></svg>\"},\"$:/core/images/chevron-left\":{\"title\":\"$:/core/images/chevron-left\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-chevron-left tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M47.544 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L66.656 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.105 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.317-5.595z\\\"/><path d=\\\"M8.931 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L28.041 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.104 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.316-5.595z\\\"/></g></svg>\"},\"$:/core/images/chevron-right\":{\"title\":\"$:/core/images/chevron-right\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-chevron-right tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M83.456 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196L64.344 63.95 13.963 13.567a7.92 7.92 0 010-11.195c3.086-3.085 8.105-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.317 5.595z\\\"/><path d=\\\"M122.069 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z\\\"/></g></svg>\"},\"$:/core/images/chevron-up\":{\"title\":\"$:/core/images/chevron-up\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-chevron-up tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M63.947 44.544c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 63.656l-50.382 50.382a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.317z\\\"/><path d=\\\"M63.947 5.931c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 25.041 13.567 75.423a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.104 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.316z\\\"/></g></svg>\"},\"$:/core/images/clone-button\":{\"title\":\"$:/core/images/clone-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-clone-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M32.265 96v24.002A7.996 7.996 0 0040.263 128h79.74a7.996 7.996 0 007.997-7.998v-79.74a7.996 7.996 0 00-7.998-7.997H96V48h12.859a2.99 2.99 0 012.994 2.994v57.865a2.99 2.99 0 01-2.994 2.994H50.994A2.99 2.99 0 0148 108.859V96H32.265z\\\"/><path d=\\\"M40 56h-7.993C27.588 56 24 52.418 24 48c0-4.41 3.585-8 8.007-8H40v-7.993C40 27.588 43.582 24 48 24c4.41 0 8 3.585 8 8.007V40h7.993C68.412 40 72 43.582 72 48c0 4.41-3.585 8-8.007 8H56v7.993C56 68.412 52.418 72 48 72c-4.41 0-8-3.585-8-8.007V56zM8 0C3.58 0 0 3.588 0 8v80c0 4.419 3.588 8 8 8h80c4.419 0 8-3.588 8-8V8c0-4.419-3.588-8-8-8H8zM19 16A2.997 2.997 0 0016 19.001v57.998A2.997 2.997 0 0019.001 80h57.998A2.997 2.997 0 0080 76.999V19.001A2.997 2.997 0 0076.999 16H19.001z\\\"/></g></svg>\"},\"$:/core/images/close-all-button\":{\"title\":\"$:/core/images/close-all-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-close-all-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M28 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L16.686 100 2.543 85.856a8 8 0 0111.313-11.313L28 88.686l14.144-14.143a8 8 0 0111.313 11.313L39.314 100l14.143 14.144a8 8 0 01-11.313 11.313L28 111.314zM28 39.314L13.856 53.457A8 8 0 012.543 42.144L16.686 28 2.543 13.856A8 8 0 0113.856 2.543L28 16.686 42.144 2.543a8 8 0 0111.313 11.313L39.314 28l14.143 14.144a8 8 0 01-11.313 11.313L28 39.314zM100 39.314L85.856 53.457a8 8 0 01-11.313-11.313L88.686 28 74.543 13.856A8 8 0 0185.856 2.543L100 16.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 28l14.143 14.144a8 8 0 01-11.313 11.313L100 39.314zM100 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L88.686 100 74.543 85.856a8 8 0 0111.313-11.313L100 88.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 100l14.143 14.144a8 8 0 01-11.313 11.313L100 111.314z\\\"/></g></svg>\"},\"$:/core/images/close-button\":{\"title\":\"$:/core/images/close-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-close-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M65.086 75.41l-50.113 50.113c-3.121 3.121-8.192 3.126-11.316.002-3.118-3.118-3.123-8.19.002-11.316l50.114-50.114L3.659 13.982C.538 10.86.533 5.79 3.657 2.666c3.118-3.118 8.19-3.123 11.316.002l50.113 50.114L115.2 2.668c3.121-3.121 8.192-3.126 11.316-.002 3.118 3.118 3.123 8.19-.002 11.316L76.4 64.095l50.114 50.114c3.121 3.121 3.126 8.192.002 11.316-3.118 3.118-8.19 3.123-11.316-.002L65.086 75.409z\\\"/></svg>\"},\"$:/core/images/close-others-button\":{\"title\":\"$:/core/images/close-others-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-close-others-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48zm0-16c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32zm0-16c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z\\\"/></svg>\"},\"$:/core/images/copy-clipboard\":{\"title\":\"$:/core/images/copy-clipboard\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-copy-clipboard tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"33\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"40\\\" rx=\\\"4\\\"/><rect width=\\\"17\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"82\\\" rx=\\\"4\\\"/><rect width=\\\"17\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"54\\\" rx=\\\"4\\\"/><rect width=\\\"33\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"96\\\" rx=\\\"4\\\"/><rect width=\\\"12\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"68\\\" rx=\\\"4\\\"/><path d=\\\"M40 16H24c-4.419 0-8 3.59-8 8a8.031 8.031 0 000 .01v95.98a8.03 8.03 0 000 .01c0 4.41 3.581 8 8 8h80a7.975 7.975 0 005.652-2.34 7.958 7.958 0 002.348-5.652v-16.016c0-4.414-3.582-7.992-8-7.992-4.41 0-8 3.578-8 7.992V112H32V32h64v8.008C96 44.422 99.582 48 104 48c4.41 0 8-3.578 8-7.992V23.992a7.963 7.963 0 00-2.343-5.651A7.995 7.995 0 00104.001 16H88c0-4.41-3.585-8-8.007-8H48.007C43.588 8 40 11.582 40 16zm4-1.004A4.001 4.001 0 0148 11h32c2.21 0 4 1.797 4 3.996v4.008A4.001 4.001 0 0180 23H48c-2.21 0-4-1.797-4-3.996v-4.008z\\\"/><rect width=\\\"66\\\" height=\\\"16\\\" x=\\\"62\\\" y=\\\"64\\\" rx=\\\"8\\\"/><path d=\\\"M84.657 82.343l-16-16v11.314l16-16a8 8 0 10-11.314-11.314l-16 16a8 8 0 000 11.314l16 16a8 8 0 1011.314-11.314z\\\"/></g></svg>\"},\"$:/core/images/delete-button\":{\"title\":\"$:/core/images/delete-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-delete-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\" transform=\\\"translate(12)\\\"><rect width=\\\"105\\\" height=\\\"16\\\" y=\\\"11\\\" rx=\\\"8\\\"/><rect width=\\\"48\\\" height=\\\"16\\\" x=\\\"28\\\" rx=\\\"8\\\"/><rect width=\\\"16\\\" height=\\\"112\\\" x=\\\"8\\\" y=\\\"16\\\" rx=\\\"8\\\"/><rect width=\\\"88\\\" height=\\\"16\\\" x=\\\"8\\\" y=\\\"112\\\" rx=\\\"8\\\"/><rect width=\\\"16\\\" height=\\\"112\\\" x=\\\"80\\\" y=\\\"16\\\" rx=\\\"8\\\"/><rect width=\\\"16\\\" height=\\\"112\\\" x=\\\"56\\\" y=\\\"16\\\" rx=\\\"8\\\"/><rect width=\\\"16\\\" height=\\\"112\\\" x=\\\"32\\\" y=\\\"16\\\" rx=\\\"8\\\"/></g></svg>\"},\"$:/core/images/discord\":{\"title\":\"$:/core/images/discord\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-discord tc-image-button\\\" viewBox=\\\"0 -28.5 256 256\\\"><path d=\\\"M216.856 16.597A208.502 208.502 0 0 0 164.042 0c-2.275 4.113-4.933 9.645-6.766 14.046-19.692-2.961-39.203-2.961-58.533 0-1.832-4.4-4.55-9.933-6.846-14.046a207.809 207.809 0 0 0-52.855 16.638C5.618 67.147-3.443 116.4 1.087 164.956c22.169 16.555 43.653 26.612 64.775 33.193A161.094 161.094 0 0 0 79.735 175.3a136.413 136.413 0 0 1-21.846-10.632 108.636 108.636 0 0 0 5.356-4.237c42.122 19.702 87.89 19.702 129.51 0a131.66 131.66 0 0 0 5.355 4.237 136.07 136.07 0 0 1-21.886 10.653c4.006 8.02 8.638 15.67 13.873 22.848 21.142-6.58 42.646-16.637 64.815-33.213 5.316-56.288-9.08-105.09-38.056-148.36ZM85.474 135.095c-12.645 0-23.015-11.805-23.015-26.18s10.149-26.2 23.015-26.2c12.867 0 23.236 11.804 23.015 26.2.02 14.375-10.148 26.18-23.015 26.18Zm85.051 0c-12.645 0-23.014-11.805-23.014-26.18s10.148-26.2 23.014-26.2c12.867 0 23.236 11.804 23.015 26.2 0 14.375-10.148 26.18-23.015 26.18Z\\\"/></svg>\"},\"$:/core/images/done-button\":{\"title\":\"$:/core/images/done-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-done-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M42.26 111.032c-2.051.001-4.103-.78-5.668-2.345L2.662 74.758a8 8 0 01-.005-11.32c3.118-3.117 8.192-3.12 11.32.007l28.278 28.278 72.124-72.124a8.002 8.002 0 0111.314-.001c3.118 3.118 3.124 8.19 0 11.315l-77.78 77.78a7.978 7.978 0 01-5.658 2.343z\\\"/></svg>\"},\"$:/core/images/down-arrow\":{\"title\":\"$:/core/images/down-arrow\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-down-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M64.177 100.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.086 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z\\\"/></svg>\"},\"$:/core/images/download-button\":{\"title\":\"$:/core/images/download-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-download-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z\\\" class=\\\"tc-image-download-button-ring\\\"/><path d=\\\"M34.35 66.43l26.892 27.205a4.57 4.57 0 006.516 0L94.65 66.43a4.7 4.7 0 000-6.593 4.581 4.581 0 00-3.258-1.365h-8.46c-2.545 0-4.608-2.087-4.608-4.661v-15.15c0-2.575-2.063-4.662-4.608-4.662H55.284c-2.545 0-4.608 2.087-4.608 4.662v15.15c0 2.574-2.063 4.661-4.608 4.661h-8.46c-2.545 0-4.608 2.087-4.608 4.662a4.69 4.69 0 001.35 3.296z\\\"/></g></svg>\"},\"$:/core/images/edit-button\":{\"title\":\"$:/core/images/edit-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-edit-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M95.627 10.059l-5.656 5.657 11.313 11.313 5.657-5.656-11.314-11.314zm5.657-5.657l1.966-1.966c3.123-3.122 8.194-3.129 11.319-.005 3.117 3.118 3.122 8.192-.005 11.32l-1.966 1.965-11.314-11.314zm-16.97 16.97l-60.25 60.25a8.12 8.12 0 00-.322.342c-.1.087-.198.179-.295.275-5.735 5.735-10.702 22.016-10.702 22.016s16.405-5.09 22.016-10.702c.095-.096.186-.193.272-.292a8.12 8.12 0 00.345-.325l60.25-60.25-11.314-11.313zM35.171 124.19c6.788-.577 13.898-2.272 23.689-5.348 1.825-.573 3.57-1.136 6.336-2.04 16-5.226 21.877-6.807 28.745-7.146 8.358-.413 13.854 2.13 17.58 8.699a4 4 0 006.959-3.946c-5.334-9.406-13.745-13.296-24.933-12.744-7.875.39-14.057 2.052-30.835 7.533-2.739.894-4.46 1.45-6.25 2.012-19.46 6.112-30.77 7.072-39.597 1.747a4 4 0 10-4.132 6.85c6.333 3.82 13.754 5.12 22.438 4.383z\\\"/></g></svg>\"},\"$:/core/images/erase\":{\"title\":\"$:/core/images/erase\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-erase tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M60.087 127.996l63.015-63.015c6.535-6.535 6.528-17.115-.003-23.646L99.466 17.702c-6.539-6.538-17.117-6.532-23.646-.003L4.898 88.62c-6.535 6.534-6.528 17.115.003 23.646l15.73 15.73h39.456zm-34.95-7.313l-14.324-14.325c-3.267-3.268-3.268-8.564-.008-11.824L46.269 59.07l35.462 35.462-26.15 26.15H25.137z\\\"/></svg>\"},\"$:/core/images/excise\":{\"title\":\"$:/core/images/excise\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-excise tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M56 107.314l-2.343 2.343a8 8 0 11-11.314-11.314l16-16a8 8 0 0111.314 0l16 16a8 8 0 11-11.314 11.314L72 107.314v14.284c0 3.536-3.582 6.402-8 6.402s-8-2.866-8-6.402v-14.284zM0 40.007C0 35.585 3.59 32 8 32c4.418 0 8 3.588 8 8.007v31.986C16 76.415 12.41 80 8 80c-4.418 0-8-3.588-8-8.007V40.007zm32 0C32 35.585 35.59 32 40 32c4.418 0 8 3.588 8 8.007v31.986C48 76.415 44.41 80 40 80c-4.418 0-8-3.588-8-8.007V40.007zm48 0C80 35.585 83.59 32 88 32c4.418 0 8 3.588 8 8.007v31.986C96 76.415 92.41 80 88 80c-4.418 0-8-3.588-8-8.007V40.007zm-24-32C56 3.585 59.59 0 64 0c4.418 0 8 3.588 8 8.007v31.986C72 44.415 68.41 48 64 48c-4.418 0-8-3.588-8-8.007V8.007zm56 32c0-4.422 3.59-8.007 8-8.007 4.418 0 8 3.588 8 8.007v31.986c0 4.422-3.59 8.007-8 8.007-4.418 0-8-3.588-8-8.007V40.007z\\\"/></svg>\"},\"$:/core/images/export-button\":{\"title\":\"$:/core/images/export-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-export-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M8.003 128H119.993a7.984 7.984 0 005.664-2.349v.007A7.975 7.975 0 00128 120V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v56H16V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v64c0 4.418 3.59 8 8 8h.003zm48.62-100.689l-8.965 8.966c-3.125 3.125-8.195 3.13-11.319.005-3.118-3.118-3.122-8.192.005-11.319L58.962 2.346A7.986 7.986 0 0164.625 0l-.006.002c2.05-.001 4.102.78 5.666 2.344l22.618 22.617c3.124 3.125 3.129 8.195.005 11.319-3.118 3.118-8.192 3.122-11.319-.005l-8.965-8.966v61.256c0 4.411-3.582 8-8 8-4.41 0-8-3.582-8-8V27.311z\\\"/></svg>\"},\"$:/core/images/file\":{\"title\":\"$:/core/images/file\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-file tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M111.968 30.5H112V120a8 8 0 01-8 8H24a8 8 0 01-8-8V8a8 8 0 018-8h57v.02a7.978 7.978 0 015.998 2.337l22.627 22.627a7.975 7.975 0 012.343 5.516zM81 8H24v112h80V30.5H89c-4.418 0-8-3.578-8-8V8z\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"36\\\" rx=\\\"4\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"52\\\" rx=\\\"4\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"68\\\" rx=\\\"4\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"84\\\" rx=\\\"4\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"100\\\" rx=\\\"4\\\"/><rect width=\\\"40\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"20\\\" rx=\\\"4\\\"/></svg>\"},\"$:/core/images/fixed-height\":{\"title\":\"$:/core/images/fixed-height\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-fixed-height tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M60 35.657l-9.172 9.171a4 4 0 11-5.656-5.656l16-16a4 4 0 015.656 0l16 16a4 4 0 01-5.656 5.656L68 35.657v57.686l9.172-9.171a4 4 0 115.656 5.656l-16 16a4 4 0 01-5.656 0l-16-16a4 4 0 115.656-5.656L60 93.343V35.657zM16 116h96a4 4 0 100-8H16a4 4 0 100 8zm0-96h96a4 4 0 100-8H16a4 4 0 100 8z\\\"/></svg>\"},\"$:/core/images/fold-all-button\":{\"title\":\"$:/core/images/fold-all-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-fold-all tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/><rect width=\\\"128\\\" height=\\\"16\\\" y=\\\"64\\\" rx=\\\"8\\\"/><path d=\\\"M64.03 20.004c-2.05 0-4.102.78-5.667 2.344L35.746 44.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 22.348a7.986 7.986 0 00-5.663-2.346zM64.03 85.002c-2.05-.001-4.102.78-5.667 2.344l-22.617 22.617c-3.125 3.125-3.13 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.966 16.966 16.966c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.192-.005-11.319L69.687 87.346A7.986 7.986 0 0064.024 85z\\\"/></g></svg>\"},\"$:/core/images/fold-button\":{\"title\":\"$:/core/images/fold-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-fold tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/><path d=\\\"M64.03 25.004c-2.05 0-4.102.78-5.667 2.344L35.746 49.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 27.348a7.986 7.986 0 00-5.663-2.346zM64.005 67.379c-2.05 0-4.102.78-5.666 2.344L35.722 92.34c-3.125 3.125-3.13 8.195-.006 11.32 3.118 3.117 8.192 3.121 11.32-.006L64 86.69l16.965 16.965c3.125 3.125 8.195 3.13 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L69.663 69.723A7.986 7.986 0 0064 67.377z\\\"/></g></svg>\"},\"$:/core/images/fold-others-button\":{\"title\":\"$:/core/images/fold-others-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-fold-others tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"128\\\" height=\\\"16\\\" y=\\\"56.031\\\" rx=\\\"8\\\"/><path d=\\\"M86.632 79.976c-2.05 0-4.102.78-5.666 2.345L64 99.286 47.034 82.321a7.986 7.986 0 00-5.662-2.346l.005.001c-2.05 0-4.102.78-5.666 2.345l-22.618 22.617c-3.124 3.125-3.129 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.966-16.966 16.965 16.966a7.986 7.986 0 005.663 2.346l-.005-.002c2.05 0 4.102-.78 5.666-2.344l16.965-16.966 16.966 16.966c3.125 3.124 8.194 3.129 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L92.289 82.321a7.986 7.986 0 00-5.663-2.346zM86.7 48.024c-2.05 0-4.102-.78-5.666-2.345L64.07 28.714 47.103 45.679a7.986 7.986 0 01-5.663 2.346l.005-.001c-2.05 0-4.101-.78-5.666-2.345L13.162 23.062c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L41.44 28.714l16.966-16.966a7.986 7.986 0 015.662-2.346l-.005.002c2.05 0 4.102.78 5.666 2.344l16.966 16.966 16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L92.358 45.679a7.986 7.986 0 01-5.663 2.346z\\\"/></g></svg>\"},\"$:/core/images/folder\":{\"title\":\"$:/core/images/folder\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-folder tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M55.694 128H8C3.58 128 0 124.414 0 119.996V48.004C0 43.584 3.584 40 7.999 40H16v-8c0-4.418 3.578-8 8-8h32a8 8 0 018 8v8h40.001c4.418 0 7.999 3.586 7.999 8.004V59.83l-8-.082v-7.749A4 4 0 0099.997 48H56V36c0-2.21-1.793-4-4.004-4H28.004A4 4 0 0024 36v12H12.003A4 4 0 008 52v64a4 4 0 004.003 4h46.76l-3.069 8z\\\"/><path d=\\\"M23.873 55.5h96.003c4.417 0 7.004 4.053 5.774 9.063l-13.344 54.374c-1.228 5.005-5.808 9.063-10.223 9.063H6.08c-4.417 0-7.003-4.053-5.774-9.063L13.65 64.563c1.228-5.005 5.808-9.063 10.223-9.063zm1.78 8.5h87.994c2.211 0 3.504 2.093 2.891 4.666l-11.12 46.668c-.614 2.577-2.902 4.666-5.115 4.666H12.31c-2.211 0-3.504-2.093-2.891-4.666l11.12-46.668C21.152 66.09 23.44 64 25.653 64z\\\"/></g></svg>\"},\"$:/core/images/full-screen-button\":{\"title\":\"$:/core/images/full-screen-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-full-screen-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M0 8a8 8 0 018-8h32a8 8 0 110 16H16v24a8 8 0 11-16 0V8zM128 120a8 8 0 01-8 8H88a8 8 0 110-16h24V88a8 8 0 1116 0v32zM8 128a8 8 0 01-8-8V88a8 8 0 1116 0v24h24a8 8 0 110 16H8zM120 0a8 8 0 018 8v32a8 8 0 11-16 0V16H88a8 8 0 110-16h32z\\\"/></svg>\"},\"$:/core/images/github\":{\"title\":\"$:/core/images/github\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-github tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M63.938 1.607c-35.336 0-63.994 28.69-63.994 64.084 0 28.312 18.336 52.329 43.768 60.802 3.202.59 4.37-1.388 4.37-3.088 0-1.518-.056-5.55-.087-10.897-17.802 3.871-21.558-8.591-21.558-8.591-2.911-7.404-7.108-9.375-7.108-9.375-5.81-3.973.44-3.895.44-3.895 6.424.453 9.803 6.606 9.803 6.606 5.709 9.791 14.981 6.963 18.627 5.322.582-4.138 2.236-6.963 4.063-8.564-14.211-1.617-29.153-7.117-29.153-31.672 0-6.995 2.495-12.718 6.589-17.195-.66-1.621-2.856-8.14.629-16.96 0 0 5.37-1.722 17.597 6.57 5.104-1.424 10.58-2.132 16.022-2.16 5.438.028 10.91.736 16.022 2.16 12.22-8.292 17.582-6.57 17.582-6.57 3.493 8.82 1.297 15.339.64 16.96 4.102 4.477 6.578 10.2 6.578 17.195 0 24.618-14.966 30.035-29.22 31.62 2.295 1.98 4.342 5.89 4.342 11.87 0 8.564-.079 15.476-.079 17.576 0 1.715 1.155 3.71 4.4 3.084 25.413-8.493 43.733-32.494 43.733-60.798 0-35.394-28.657-64.084-64.006-64.084\\\"/></svg>\"},\"$:/core/images/gitter\":{\"title\":\"$:/core/images/gitter\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-gitter tc-image-button\\\" viewBox=\\\"0 0 18 25\\\"><path d=\\\"M15 5h2v10h-2zM10 5h2v20h-2zM5 5h2v20H5zM0 0h2v15H0z\\\"/></svg>\"},\"$:/core/images/globe\":{\"title\":\"$:/core/images/globe\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-globe tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M72.811 37.128v2.554c0 2.196.978 6.881 0 8.832-1.466 2.928-4.65 3.54-6.394 5.867-1.182 1.577-4.618 10.601-3.69 12.92 3.969 9.922 11.534 3.187 17.962 9.293.864.821 2.887 2.273 3.296 3.296 3.29 8.223-7.576 15.009 3.757 26.3 1.245 1.24 3.813-3.817 4.079-4.614.852-2.563 6.725-5.45 9.088-7.053 2.02-1.37 4.873-2.667 6.328-4.745 2.27-3.244 1.48-7.514 3.098-10.745 2.139-4.274 3.828-9.635 5.998-13.966 3.898-7.781 4.721 2.093 5.067 2.439.358.357 1.011 0 1.517 0 .094 0 1.447.099 1.516 0 .65-.935-1.043-17.92-1.318-19.297-1.404-7.01-6.944-15.781-11.865-20.5-6.274-6.015-7.09-16.197-18.259-14.954-.204.022-5.084 10.148-7.777 13.512-3.728 4.657-2.47-4.153-6.526-4.153-.081 0-1.183-.103-1.253 0-.586.88-1.44 3.896-2.306 4.417-.265.16-1.722-.239-1.846 0-2.243 4.3 8.256 2.212 5.792 7.952-2.352 5.481-6.328-1.997-6.328 8.56M44.467 7.01c9.685 6.13.682 12.198 2.694 16.215 1.655 3.303 4.241 5.395 1.714 9.814-2.063 3.608-6.87 3.966-9.623 6.723-3.04 3.044-5.464 8.94-6.79 12.911-1.617 4.843 14.547 6.866 12.063 11.008-1.386 2.311-6.746 1.466-8.437.198-1.165-.873-3.593-.546-4.417-1.78-2.613-3.915-2.26-8.023-3.625-12.128-.938-2.822-6.313-2.12-7.844-.593-.523.522-.33 1.792-.33 2.505 0 5.285 7.12 3.316 7.12 6.46 0 14.636 3.927 6.534 11.14 11.336 10.036 6.683 7.844 7.303 14.946 14.404 3.673 3.673 7.741 3.686 9.425 9.294 1.602 5.331-9.327 5.339-11.716 7.448-1.123.991-2.813 4.146-4.219 4.615-1.792.598-3.234.496-4.944 1.78-2.427 1.82-3.9 4.932-4.02 4.81-2.148-2.147-3.52-15.479-3.89-18.257-.588-4.42-5.59-5.54-6.986-9.03-1.57-3.927 1.524-9.52-1.129-13.761-6.52-10.424-11.821-14.5-15.35-26.292-.942-3.148 3.342-6.529 4.877-8.833 1.877-2.816 2.662-5.854 4.746-8.635C22.147 24.19 40.855 9.461 43.857 8.635l.61-1.625z\\\"/><path d=\\\"M64 126c34.242 0 62-27.758 62-62 0-34.242-27.758-62-62-62C29.758 2 2 29.758 2 64c0 34.242 27.758 62 62 62zm0-6c30.928 0 56-25.072 56-56S94.928 8 64 8 8 33.072 8 64s25.072 56 56 56z\\\"/></g></svg>\"},\"$:/core/images/heading-1\":{\"title\":\"$:/core/images/heading-1\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-heading-1 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M14 30h13.25v30.104H61.7V30h13.25v75.684H61.7V71.552H27.25v34.132H14V30zm70.335 13.78c2.544 0 5.017-.212 7.42-.636 2.403-.424 4.576-1.13 6.52-2.12 1.942-.99 3.603-2.261 4.981-3.816 1.378-1.555 2.28-3.463 2.703-5.724h9.858v74.2h-13.25V53.32H84.335v-9.54z\\\"/></svg>\"},\"$:/core/images/heading-2\":{\"title\":\"$:/core/images/heading-2\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-heading-2 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm119.52 75.684H74.85c.07-6.148 1.555-11.519 4.452-16.112 2.897-4.593 6.855-8.586 11.872-11.978a133.725 133.725 0 017.526-5.141 59.6 59.6 0 007.208-5.353c2.19-1.908 3.993-3.975 5.406-6.201 1.413-2.226 2.155-4.788 2.226-7.685 0-1.343-.159-2.774-.477-4.293a11.357 11.357 0 00-1.855-4.24c-.919-1.307-2.19-2.403-3.816-3.286-1.625-.883-3.745-1.325-6.36-1.325-2.403 0-4.399.477-5.989 1.431-1.59.954-2.862 2.261-3.816 3.922-.954 1.66-1.66 3.622-2.12 5.883-.46 2.261-.724 4.7-.795 7.314H76.23c0-4.099.548-7.897 1.643-11.395 1.095-3.498 2.738-6.519 4.93-9.063 2.19-2.544 4.857-4.54 8.002-5.989C93.95 30.724 97.606 30 101.775 30c4.523 0 8.303.742 11.342 2.226 3.039 1.484 5.494 3.357 7.367 5.618 1.873 2.261 3.198 4.717 3.975 7.367.777 2.65 1.166 5.176 1.166 7.579 0 2.968-.46 5.653-1.378 8.056a25.942 25.942 0 01-3.71 6.625 37.5 37.5 0 01-5.3 5.565 79.468 79.468 0 01-6.148 4.77 165.627 165.627 0 01-6.36 4.24 94.28 94.28 0 00-5.883 4.028c-1.802 1.343-3.374 2.738-4.717 4.187-1.343 1.449-2.261 2.986-2.756 4.611h36.146v10.812z\\\"/></svg>\"},\"$:/core/images/heading-3\":{\"title\":\"$:/core/images/heading-3\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-heading-3 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm88.885 32.224c1.979.07 3.957-.07 5.936-.424 1.979-.353 3.745-.972 5.3-1.855a10.365 10.365 0 003.763-3.657c.954-1.555 1.431-3.463 1.431-5.724 0-3.18-1.078-5.724-3.233-7.632-2.155-1.908-4.929-2.862-8.32-2.862-2.12 0-3.958.424-5.513 1.272a11.318 11.318 0 00-3.869 3.445c-1.025 1.449-1.784 3.074-2.279 4.876a18.335 18.335 0 00-.636 5.565H75.381c.141-3.604.813-6.943 2.014-10.017 1.201-3.074 2.844-5.742 4.93-8.003 2.084-2.261 4.61-4.028 7.578-5.3C92.871 30.636 96.228 30 99.973 30a29.2 29.2 0 018.533 1.272c2.791.848 5.3 2.085 7.526 3.71s4.01 3.692 5.353 6.201c1.343 2.509 2.014 5.388 2.014 8.639 0 3.745-.848 7.014-2.544 9.805-1.696 2.791-4.346 4.823-7.95 6.095v.212c4.24.848 7.544 2.95 9.911 6.307s3.551 7.438 3.551 12.243c0 3.533-.707 6.696-2.12 9.487a21.538 21.538 0 01-5.724 7.102c-2.403 1.943-5.194 3.445-8.374 4.505-3.18 1.06-6.537 1.59-10.07 1.59-4.31 0-8.074-.618-11.289-1.855s-5.9-2.986-8.056-5.247c-2.155-2.261-3.798-4.982-4.929-8.162-1.13-3.18-1.731-6.713-1.802-10.6h12.084c-.141 4.523.972 8.286 3.34 11.289 2.366 3.003 5.917 4.505 10.652 4.505 4.028 0 7.402-1.148 10.123-3.445 2.72-2.297 4.081-5.565 4.081-9.805 0-2.897-.565-5.194-1.696-6.89a10.97 10.97 0 00-4.452-3.869c-1.837-.883-3.904-1.431-6.2-1.643a58.067 58.067 0 00-7.05-.212v-9.01z\\\"/></svg>\"},\"$:/core/images/heading-4\":{\"title\":\"$:/core/images/heading-4\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-heading-4 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M8 30h13.25v30.104H55.7V30h13.25v75.684H55.7V71.552H21.25v34.132H8V30zm76.59 48.548h22.471V45.9h-.212L84.59 78.548zm43.46 9.54h-9.54v17.596H107.06V88.088h-31.8V76.11l31.8-44.626h11.448v47.064h9.54v9.54z\\\"/></svg>\"},\"$:/core/images/heading-5\":{\"title\":\"$:/core/images/heading-5\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-heading-5 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm77.755 1.484h38.372v10.812H92.765L88.95 61.164l.212.212c1.625-1.837 3.692-3.233 6.201-4.187 2.509-.954 5-1.431 7.473-1.431 3.675 0 6.96.618 9.858 1.855 2.897 1.237 5.335 2.968 7.314 5.194s3.48 4.858 4.505 7.897c1.025 3.039 1.537 6.325 1.537 9.858 0 2.968-.477 6.024-1.43 9.169a25.161 25.161 0 01-4.559 8.586c-2.085 2.58-4.752 4.7-8.003 6.36-3.25 1.66-7.137 2.491-11.66 2.491-3.604 0-6.943-.477-10.017-1.431-3.074-.954-5.777-2.385-8.109-4.293-2.332-1.908-4.187-4.258-5.565-7.049-1.378-2.791-2.138-6.06-2.279-9.805h12.084c.353 4.028 1.731 7.12 4.134 9.275 2.403 2.155 5.583 3.233 9.54 3.233 2.544 0 4.7-.424 6.466-1.272 1.767-.848 3.198-2.014 4.293-3.498 1.095-1.484 1.873-3.215 2.332-5.194.46-1.979.69-4.099.69-6.36 0-2.05-.284-4.01-.849-5.883-.565-1.873-1.413-3.516-2.544-4.929-1.13-1.413-2.597-2.544-4.399-3.392-1.802-.848-3.904-1.272-6.307-1.272-2.544 0-4.929.477-7.155 1.431-2.226.954-3.834 2.738-4.823 5.353H75.805l7.95-40.598z\\\"/></svg>\"},\"$:/core/images/heading-6\":{\"title\":\"$:/core/images/heading-6\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-heading-6 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm106.587 20.246c-.283-3.039-1.36-5.494-3.233-7.367-1.873-1.873-4.399-2.809-7.579-2.809-2.19 0-4.08.406-5.67 1.219a12.435 12.435 0 00-4.029 3.233c-1.095 1.343-1.979 2.88-2.65 4.611a37.696 37.696 0 00-1.643 5.459 46.08 46.08 0 00-.9 5.671 722.213 722.213 0 00-.478 5.247l.212.212c1.625-2.968 3.87-5.176 6.731-6.625 2.862-1.449 5.954-2.173 9.275-2.173 3.675 0 6.96.636 9.858 1.908 2.897 1.272 5.353 3.021 7.367 5.247 2.014 2.226 3.551 4.858 4.611 7.897 1.06 3.039 1.59 6.325 1.59 9.858 0 3.604-.583 6.943-1.749 10.017-1.166 3.074-2.844 5.76-5.035 8.056-2.19 2.297-4.805 4.081-7.844 5.353-3.039 1.272-6.395 1.908-10.07 1.908-5.441 0-9.91-1.007-13.409-3.021-3.498-2.014-6.254-4.77-8.268-8.268-2.014-3.498-3.41-7.597-4.187-12.296-.777-4.7-1.166-9.77-1.166-15.211 0-4.452.477-8.94 1.431-13.462.954-4.523 2.526-8.639 4.717-12.349 2.19-3.71 5.07-6.731 8.64-9.063C92.676 31.166 97.075 30 102.304 30c2.968 0 5.76.495 8.374 1.484 2.615.99 4.93 2.367 6.943 4.134 2.014 1.767 3.657 3.887 4.93 6.36 1.271 2.473 1.978 5.23 2.12 8.268h-12.085zm-11.66 46.852c2.19 0 4.099-.442 5.724-1.325a12.869 12.869 0 004.081-3.445c1.095-1.413 1.908-3.056 2.438-4.929.53-1.873.795-3.798.795-5.777s-.265-3.887-.795-5.724c-.53-1.837-1.343-3.445-2.438-4.823-1.095-1.378-2.456-2.491-4.08-3.339-1.626-.848-3.534-1.272-5.725-1.272-2.19 0-4.116.406-5.777 1.219-1.66.813-3.056 1.908-4.187 3.286-1.13 1.378-1.979 2.986-2.544 4.823-.565 1.837-.848 3.78-.848 5.83 0 2.05.283 3.993.848 5.83.565 1.837 1.413 3.48 2.544 4.929a12.39 12.39 0 004.187 3.445c1.66.848 3.586 1.272 5.777 1.272z\\\"/></svg>\"},\"$:/core/images/help\":{\"title\":\"$:/core/images/help\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-help tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M36.055 111.441c-5.24 4.396-15.168 7.362-26.555 7.362-1.635 0-3.24-.06-4.806-.179 7.919-2.64 14.062-8.6 16.367-16.014C8.747 92.845 1.05 78.936 1.05 63.5c0-29.547 28.206-53.5 63-53.5s63 23.953 63 53.5-28.206 53.5-63 53.5c-10.055 0-19.56-2-27.994-5.559zm35.35-33.843a536.471 536.471 0 00.018-4.682 199.02 199.02 0 00-.023-3.042c.008-1.357.595-2.087 3.727-4.235.112-.077 1.085-.74 1.386-.948 3.093-2.133 5.022-3.786 6.762-6.187 2.34-3.228 3.558-7.077 3.558-11.649 0-13.292-9.86-21.952-21.455-21.952-11.103 0-22.499 9.609-24.066 22.295a6.023 6.023 0 1011.956 1.477c.806-6.527 6.972-11.726 12.11-11.726 5.265 0 9.408 3.64 9.408 9.906 0 3.634-1.1 5.153-5.111 7.919l-1.362.93c-2.682 1.84-4.227 3.1-5.7 4.931-2.109 2.62-3.242 5.717-3.258 9.314.013.892.02 1.86.022 2.981a470.766 470.766 0 01-.022 4.943 6.023 6.023 0 1012.046.12l.003-.395zm-6.027 24.499a7.529 7.529 0 100-15.058 7.529 7.529 0 000 15.058z\\\"/></svg>\"},\"$:/core/images/home-button\":{\"title\":\"$:/core/images/home-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-home-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M112.985 119.502c.01-.165.015-.331.015-.499V67.568c3.137 2.948 8.076 2.884 11.134-.174a7.999 7.999 0 00-.002-11.316L70.396 2.343A7.978 7.978 0 0064.734 0a7.957 7.957 0 00-5.656 2.343L33 28.42V8.007C33 3.585 29.41 0 25 0c-4.418 0-8 3.59-8 8.007V44.42L5.342 56.078c-3.125 3.125-3.12 8.198-.002 11.316a7.999 7.999 0 0011.316-.003l.344-.343v52.945a8.11 8.11 0 000 .007c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8a8.11 8.11 0 00-.015-.498zM97 112V51.574L64.737 19.31 33 51.048V112h64z\\\"/></svg>\"},\"$:/core/images/import-button\":{\"title\":\"$:/core/images/import-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-import-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M114.832 60.436s3.235-3.27 6.921.417c3.686 3.686.231 7.14.231 7.14l-42.153 42.92s-30.765 32.367-58.798 4.333C-7 87.213 24.59 55.623 24.59 55.623L67.363 12.85s22.725-24.6 43.587-3.738c20.862 20.862-3.96 43.09-3.96 43.09l-35.04 35.04S49.903 112.546 36.426 99.07c-13.476-13.477 11.83-35.523 11.83-35.523l35.04-35.04s3.902-3.902 7.78-.023c3.879 3.878.118 7.921.118 7.921l-35.04 35.04s-13.212 13.212-8.872 17.551c4.34 4.34 16.77-9.653 16.77-9.653l35.04-35.04s16.668-14.598 3.966-27.3c-13.893-13.892-27.565 3.702-27.565 3.702l-42.91 42.91s-23.698 23.698-3.658 43.738 43.012-4.385 43.012-4.385l42.895-42.533z\\\"/></svg>\"},\"$:/core/images/info-button\":{\"title\":\"$:/core/images/info-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-info-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\" transform=\\\"translate(.05)\\\"><path d=\\\"M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z\\\"/><circle cx=\\\"64\\\" cy=\\\"32\\\" r=\\\"8\\\"/><rect width=\\\"16\\\" height=\\\"56\\\" x=\\\"56\\\" y=\\\"48\\\" rx=\\\"8\\\"/></g></svg>\"},\"$:/core/images/input-button\":{\"title\":\"$:/core/images/input-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-input-button tc-image-button\\\" viewBox=\\\"0 0 22 22\\\"><path d=\\\"M1.375 22h19.249c.365 0 .716-.145.973-.404v.001c.258-.257.404-.607.403-.972v-11a1.376 1.376 0 0 0-2.75 0v9.625H2.75V9.625a1.376 1.376 0 0 0-2.75 0v11C0 21.384.617 22 1.375 22Z\\\"/><path d=\\\"m9.732 11.904-1.541-1.541a1.375 1.375 0 1 0-1.944 1.944l3.887 3.888c.258.258.608.402.973.402h-.001c.353 0 .705-.134.974-.402l3.888-3.889a1.376 1.376 0 0 0 .001-1.944 1.377 1.377 0 0 0-1.946 0l-1.541 1.542V1.376a1.375 1.375 0 1 0-2.75 0v10.528Z\\\"/></svg>\"},\"$:/core/images/italic\":{\"title\":\"$:/core/images/italic\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-italic tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M66.711 0h22.41L62.408 128H40z\\\"/></svg>\"},\"$:/core/images/language\":{\"title\":\"$:/core/images/language\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-language tc-image-button\\\" viewBox=\\\"0 0 92 92\\\"><path d=\\\"M0 0h2480.32v3507.87H0z\\\" style=\\\"fill:none\\\" transform=\\\"scale(.03696 .02613)\\\"/><path d=\\\"M71.508 62.298c-1.243 15.83-16.758 28.344-35.714 28.344-5.713 0-11.113-1.136-15.905-3.158-2.977 2.498-8.618 4.183-15.088 4.183-.929 0-1.84-.034-2.73-.102 4.499-1.5 7.989-4.886 9.298-9.099C4.373 76.918 0 69.016 0 60.246 0 49.773 6.237 40.537 15.729 35.07c1.235 7.764 5.492 14.713 11.724 19.953l-7.269 18.453c-.393.976-.676 1.737-.847 2.285a5.326 5.326 0 0 0-.256 1.591c0 .89.368 1.686 1.103 2.388.736.702 1.583 1.052 2.542 1.052 1.13 0 1.942-.33 2.438-.988.497-.659 1.096-1.93 1.797-3.812l1.797-4.826h15.3l1.797 4.723c.239.582.526 1.254.86 2.015.333.762.646 1.327.936 1.695.291.368.65.659 1.078.873.428.213.942.32 1.54.32a3.586 3.586 0 0 0 2.632-1.09c.727-.728 1.09-1.528 1.09-2.4 0-.84-.384-2.183-1.154-4.031l-3.545-8.755c2.142.3 4.34.455 6.58.455 5.541 0 10.824-.951 15.636-2.674Zm-30.563.247 1.059 2.898H30.76l2.32-6.467a43.152 43.152 0 0 0 7.865 3.569Z\\\"/><path d=\\\"M71.778 57.635c-4.793 2.023-10.191 3.157-15.907 3.157-19.767 0-35.793-13.61-35.793-30.396S36.104.001 55.87.001c19.772 0 35.797 13.61 35.797 30.395 0 8.77-4.373 16.674-11.371 22.221 1.309 4.211 4.8 7.6 9.299 9.1-.89.067-1.802.1-2.73.1-6.47 0-12.11-1.686-15.088-4.182Zm-15.59-15.887a44.237 44.237 0 0 0 3.3 2.496c4.284 2.942 9.06 5.381 14.33 7.315l2.334-3.517c-5.134-1.871-9.696-4.125-13.69-6.763a42.558 42.558 0 0 1-3.37-2.483c4.247-4.806 7.374-10.43 9.38-16.869h6.698V17.78h-16.7a47.226 47.226 0 0 0-1.528-2.959 52.943 52.943 0 0 0-2.885-4.562l-4.218 1.554a36.467 36.467 0 0 1 2.971 3.983c.427.661.833 1.323 1.217 1.984H36.394v4.148h6.77a36.878 36.878 0 0 0 5.422 11.56 42.918 42.918 0 0 0 4.591 5.497c-4.687 4.017-10.548 6.932-17.582 8.744l2.247 3.709c7.746-2.44 13.861-5.67 18.347-9.689Zm-9.047-19.82h16.991c-1.86 5.668-4.528 10.402-8 14.204a42.526 42.526 0 0 1-4.247-4.922c-2.126-2.883-3.71-5.977-4.744-9.283Z\\\"/></svg>\"},\"$:/core/images/layout-button\":{\"title\":\"$:/core/images/layout-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-layout-button tc-image-button\\\" viewBox=\\\"0 0 24 24\\\" stroke-width=\\\"1\\\" stroke=\\\"none\\\"><path d=\\\"M0 0h24v24H0z\\\" fill=\\\"none\\\"/><rect x=\\\"2\\\" y=\\\"2\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\"/><rect x=\\\"2\\\" y=\\\"13\\\" width=\\\"7\\\" height=\\\"9\\\" rx=\\\"2\\\"/><rect x=\\\"12\\\" y=\\\"2\\\" width=\\\"10\\\" height=\\\"20\\\" rx=\\\"2\\\"/></svg>\"},\"$:/core/images/left-arrow\":{\"title\":\"$:/core/images/left-arrow\",\"created\":\"20150315234410875\",\"modified\":\"20150315235324760\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-left-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M0 64.177c0-2.026.771-4.054 2.317-5.6l55.98-55.98a7.92 7.92 0 0111.195.001c3.086 3.085 3.092 8.104.001 11.195L19.111 64.175l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.086-8.105 3.092-11.196.001l-55.98-55.98A7.892 7.892 0 010 64.177z\\\"/></svg>\"},\"$:/core/images/line-width\":{\"title\":\"$:/core/images/line-width\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-line-width tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M16 18h96a2 2 0 000-4H16a2 2 0 100 4zm0 17h96a4 4 0 100-8H16a4 4 0 100 8zm0 21h96a6 6 0 000-12H16a6 6 0 100 12zm0 29h96c5.523 0 10-4.477 10-10s-4.477-10-10-10H16c-5.523 0-10 4.477-10 10s4.477 10 10 10zm0 43h96c8.837 0 16-7.163 16-16s-7.163-16-16-16H16c-8.837 0-16 7.163-16 16s7.163 16 16 16z\\\"/></svg>\"},\"$:/core/images/link\":{\"title\":\"$:/core/images/link\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-link tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M42.263 69.38a31.919 31.919 0 006.841 10.13c12.5 12.5 32.758 12.496 45.255 0l22.627-22.628c12.502-12.501 12.497-32.758 0-45.255-12.5-12.5-32.758-12.496-45.254 0L49.104 34.255a32.333 32.333 0 00-2.666 3.019 36.156 36.156 0 0121.94.334l14.663-14.663c6.25-6.25 16.382-6.254 22.632-.004 6.248 6.249 6.254 16.373-.004 22.631l-22.62 22.62c-6.25 6.25-16.381 6.254-22.631.004a15.93 15.93 0 01-4.428-8.433 11.948 11.948 0 00-7.59 3.48l-6.137 6.137z\\\"/><path d=\\\"M86.35 59.234a31.919 31.919 0 00-6.84-10.13c-12.5-12.5-32.758-12.497-45.255 0L11.627 71.732c-12.501 12.5-12.496 32.758 0 45.254 12.5 12.5 32.758 12.497 45.255 0L79.51 94.36a32.333 32.333 0 002.665-3.02 36.156 36.156 0 01-21.94-.333l-14.663 14.663c-6.25 6.25-16.381 6.253-22.63.004-6.25-6.249-6.255-16.374.003-22.632l22.62-22.62c6.25-6.25 16.381-6.253 22.631-.003a15.93 15.93 0 014.428 8.432 11.948 11.948 0 007.59-3.48l6.137-6.136z\\\"/></g></svg>\"},\"$:/core/images/linkify\":{\"title\":\"$:/core/images/linkify\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-linkify-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M17.031 31.919H9.048V96.85h7.983v6.92H0V25h17.031v6.919zm24.66 0h-7.983V96.85h7.983v6.92H24.66V25h17.03v6.919zM67.77 56.422l11.975-3.903 2.306 7.096-12.063 3.903 7.628 10.379-6.12 4.435-7.63-10.467-7.45 10.2-5.943-4.523L58.1 63.518 45.95 59.35l2.306-7.096 12.064 4.17V43.825h7.45v12.596zM86.31 96.85h7.982V31.92H86.31V25h17.031v78.77H86.31v-6.92zm24.659 0h7.983V31.92h-7.983V25H128v78.77h-17.031v-6.92z\\\"/></svg>\"},\"$:/core/images/list-bullet\":{\"title\":\"$:/core/images/list-bullet\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-list-bullet tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M11.636 40.273c6.427 0 11.637-5.21 11.637-11.637C23.273 22.21 18.063 17 11.636 17 5.21 17 0 22.21 0 28.636c0 6.427 5.21 11.637 11.636 11.637zm0 34.909c6.427 0 11.637-5.21 11.637-11.637 0-6.426-5.21-11.636-11.637-11.636C5.21 51.91 0 57.12 0 63.545c0 6.427 5.21 11.637 11.636 11.637zm0 34.909c6.427 0 11.637-5.21 11.637-11.636 0-6.427-5.21-11.637-11.637-11.637C5.21 86.818 0 92.028 0 98.455c0 6.426 5.21 11.636 11.636 11.636zM34.91 22.818H128v11.637H34.91V22.818zm0 34.91H128v11.636H34.91V57.727zm0 34.908H128v11.637H34.91V92.636z\\\"/></svg>\"},\"$:/core/images/list-number\":{\"title\":\"$:/core/images/list-number\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-list-number tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M33.84 22.356H128v11.77H33.84v-11.77zm0 35.31H128v11.77H33.84v-11.77zm0 35.311H128v11.77H33.84v-11.77zM.38 42.631v-2.223h.998c.826 0 1.445-.14 1.858-.42.413-.28.619-.948.619-2.002V22.769c0-1.442-.193-2.336-.58-2.683-.385-.347-1.477-.52-3.275-.52v-2.143c3.502-.147 6.252-.955 8.25-2.423h2.117v22.865c0 .921.15 1.575.449 1.963.3.387.949.58 1.948.58h.998v2.223H.38zm-.3 35.356v-1.902c7.19-6.554 10.786-12.58 10.786-18.08 0-1.562-.326-2.81-.979-3.744-.652-.934-1.524-1.402-2.616-1.402-.893 0-1.655.317-2.287.952-.633.634-.95 1.364-.95 2.192 0 .974.247 1.829.74 2.563.106.16.16.28.16.36 0 .147-.16.28-.48.4-.213.08-.752.308-1.618.681-.839.374-1.358.561-1.558.561-.24 0-.512-.37-.819-1.111A6.2 6.2 0 010 57.064c0-1.949.849-3.544 2.547-4.785 1.698-1.242 3.798-1.862 6.302-1.862 2.463 0 4.53.67 6.202 2.012 1.67 1.341 2.506 3.093 2.506 5.256a8.644 8.644 0 01-.849 3.724c-.566 1.201-1.92 3.053-4.064 5.556a165.471 165.471 0 01-6.272 6.938h11.445l-1.019 5.726h-2.117c.08-.28.12-.534.12-.76 0-.388-.1-.631-.3-.731-.2-.1-.599-.15-1.198-.15H.08zm12.124 19.207c1.745.04 3.236.637 4.474 1.792 1.239 1.154 1.858 2.773 1.858 4.855 0 2.99-1.132 5.393-3.396 7.208-2.263 1.815-5 2.723-8.209 2.723-2.01 0-3.669-.384-4.974-1.151C.652 111.853 0 110.849 0 109.607c0-.774.27-1.398.809-1.872.54-.474 1.128-.71 1.768-.71.639 0 1.162.2 1.568.6.406.4.782 1.055 1.128 1.962.466 1.268 1.239 1.902 2.317 1.902 1.265 0 2.287-.477 3.066-1.431.78-.955 1.169-2.686 1.169-5.196 0-1.709-.12-3.023-.36-3.944-.24-.921-.792-1.382-1.658-1.382-.586 0-1.185.307-1.797.921-.493.494-.932.741-1.319.741-.333 0-.602-.147-.809-.44-.206-.294-.31-.574-.31-.841 0-.32.104-.594.31-.821.207-.227.69-.594 1.449-1.102 2.876-1.922 4.314-4.017 4.314-6.287 0-1.188-.306-2.092-.919-2.713a3.001 3.001 0 00-2.217-.93c-.799 0-1.525.263-2.177.79-.653.528-.979 1.158-.979 1.892 0 .641.253 1.235.76 1.782.172.2.259.367.259.5 0 .121-.57.428-1.708.922-1.139.494-1.854.74-2.147.74-.413 0-.75-.333-1.009-1-.26-.668-.39-1.282-.39-1.842 0-1.749.93-3.224 2.787-4.425 1.858-1.202 3.965-1.802 6.322-1.802 2.064 0 3.851.447 5.363 1.341 1.511.895 2.267 2.116 2.267 3.664 0 1.362-.57 2.623-1.708 3.784a13.387 13.387 0 01-3.945 2.784z\\\"/></svg>\"},\"$:/core/images/list\":{\"title\":\"$:/core/images/list\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-list tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M87.748 128H23.999c-4.418 0-7.999-3.59-7.999-8.007V8.007C16 3.585 19.588 0 24 0h80c4.419 0 8 3.59 8 8.007V104H91.25c-.965 0-1.84.392-2.473 1.025a3.476 3.476 0 00-1.029 2.476V128zm8-.12l15.88-15.88h-15.88v15.88zM40 15.508A3.502 3.502 0 0143.5 12h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 20h-55a3.498 3.498 0 01-3.5-3.509v-.982zM32 22a6 6 0 100-12 6 6 0 000 12zm8 9.509A3.502 3.502 0 0143.5 28h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 36h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 44h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 52h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 60h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 68h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 76h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 84h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 92h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 100h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.505 3.505 0 0143.497 108h33.006A3.497 3.497 0 0180 111.509v.982A3.505 3.505 0 0176.503 116H43.497A3.497 3.497 0 0140 112.491v-.982zM32 38a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12z\\\"/></svg>\"},\"$:/core/images/locked-padlock\":{\"title\":\"$:/core/images/locked-padlock\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-locked-padlock tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M96.472 64H105v32.01C105 113.674 90.674 128 73.001 128H56C38.318 128 24 113.677 24 96.01V64h8c.003-15.723.303-47.731 32.16-47.731 31.794 0 32.305 32.057 32.312 47.731zm-15.897 0H48.44c.002-16.287.142-32 15.719-32 15.684 0 16.977 16.136 16.415 32zM67.732 92.364A8.503 8.503 0 0064.5 76a8.5 8.5 0 00-3.498 16.25l-5.095 22.77H72.8l-5.07-22.656z\\\"/></svg>\"},\"$:/core/images/mail\":{\"title\":\"$:/core/images/mail\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-mail tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M122.827 104.894a7.986 7.986 0 01-2.834.516H8.007c-.812 0-1.597-.12-2.335-.345l34.163-34.163 20.842 20.842a3.998 3.998 0 003.418 1.134 4.003 4.003 0 003.395-1.134L88.594 70.64c.075.09.155.176.24.26l33.993 33.994zm5.076-6.237c.064-.406.097-.823.097-1.247v-64c0-.669-.082-1.318-.237-1.94L94.23 65.006c.09.075.177.154.261.239l33.413 33.413zm-127.698.56A8.023 8.023 0 010 97.41v-64c0-.716.094-1.41.271-2.071l33.907 33.906L.205 99.218zM5.93 25.684a8.012 8.012 0 012.078-.273h111.986c.766 0 1.507.108 2.209.308L64.083 83.837 5.93 25.683z\\\"/></svg>\"},\"$:/core/images/mastodon\":{\"title\":\"$:/core/images/mastodon\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-mastodon tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\\n <path d=\\\"M112.716,76.735C111.231,85.764 99.411,95.646 85.836,97.561C78.757,98.559 71.787,99.476 64.355,99.073C52.201,98.415 42.61,95.646 42.61,95.646C42.61,97.044 42.683,98.374 42.829,99.619C44.409,113.79 54.723,114.639 64.493,115.035C74.354,115.434 83.134,112.163 83.134,112.163L83.539,122.695C83.539,122.695 76.642,127.071 64.355,127.875C57.58,128.315 49.167,127.674 39.369,124.61C18.118,117.965 14.463,91.202 13.904,64.048C13.733,55.985 13.839,48.383 13.839,42.024C13.839,14.257 29.238,6.118 29.238,6.118C37.002,1.905 50.326,0.134 64.177,-0L64.517,-0C78.369,0.134 91.701,1.905 99.465,6.118C99.465,6.118 114.864,14.257 114.864,42.024C114.864,42.024 115.057,62.511 112.716,76.735ZM96.7,44.179C96.7,37.307 95.219,31.847 92.245,27.807C89.177,23.767 85.16,21.696 80.174,21.696C74.403,21.696 70.034,24.316 67.146,29.556L64.337,35.118L61.529,29.556C58.64,24.316 54.271,21.696 48.501,21.696C43.514,21.696 39.497,23.767 36.43,27.807C33.455,31.847 31.974,37.307 31.974,44.179L31.974,77.8L43.249,77.8L43.249,45.167C43.249,38.288 45.699,34.796 50.599,34.796C56.017,34.796 58.733,38.938 58.733,47.128L58.733,64.99L69.941,64.99L69.941,47.128C69.941,38.938 72.657,34.796 78.075,34.796C82.975,34.796 85.425,38.288 85.425,45.167L85.425,77.8L96.7,77.8L96.7,44.179Z\\\"/>\\n</svg>\\n\"},\"$:/core/images/menu-button\":{\"title\":\"$:/core/images/menu-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-menu-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><rect width=\\\"128\\\" height=\\\"16\\\" y=\\\"16\\\" rx=\\\"8\\\"/><rect width=\\\"128\\\" height=\\\"16\\\" y=\\\"56\\\" rx=\\\"8\\\"/><rect width=\\\"128\\\" height=\\\"16\\\" y=\\\"96\\\" rx=\\\"8\\\"/></svg>\"},\"$:/core/images/minus-button\":{\"title\":\"$:/core/images/minus-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-minus-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M64 0c35.346 0 64 28.654 64 64 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64C0 28.654 28.654 0 64 0zm.332 16c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z\\\"/><rect width=\\\"80\\\" height=\\\"16\\\" x=\\\"24\\\" y=\\\"56\\\" rx=\\\"8\\\"/></svg>\"},\"$:/core/images/mono-block\":{\"title\":\"$:/core/images/mono-block\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-mono-block tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M23.965 32.967h.357c.755 0 1.328.192 1.72.577.39.384.586.947.586 1.688 0 .824-.206 1.418-.618 1.782-.413.363-1.094.545-2.045.545h-6.31c-.965 0-1.65-.178-2.056-.535-.405-.356-.608-.954-.608-1.792 0-.811.203-1.391.608-1.74.406-.35 1.09-.525 2.055-.525h.734l-.86-2.453H8.471l-.902 2.453h.734c.95 0 1.632.178 2.044.535.413.356.619.933.619 1.73 0 .824-.206 1.418-.619 1.782-.412.363-1.094.545-2.044.545h-5.41c-.964 0-1.649-.182-2.054-.545-.406-.364-.608-.958-.608-1.782 0-.741.195-1.304.587-1.688.391-.385.964-.577 1.719-.577h.356l5.62-15.641H6.835c-.95 0-1.632-.182-2.044-.546-.412-.363-.619-.95-.619-1.76 0-.825.207-1.42.619-1.783.412-.363 1.094-.545 2.044-.545h7.863c1.244 0 2.118.67 2.62 2.013v.063l6.647 18.2zM12.98 17.326l-3.04 8.848h6.08l-3.04-8.848zm22.402 9.372v6.395h3.145c2.223 0 3.788-.245 4.697-.734.908-.49 1.362-1.307 1.362-2.453 0-1.16-.433-1.985-1.3-2.474-.866-.49-2.383-.734-4.55-.734h-3.354zm10.693-2.327c1.524.559 2.642 1.324 3.355 2.295.713.972 1.07 2.212 1.07 3.722 0 1.272-.308 2.432-.923 3.48-.615 1.049-1.496 1.909-2.642 2.58a7.499 7.499 0 01-2.254.849c-.832.174-2.01.262-3.533.262H30.202c-.922 0-1.583-.182-1.981-.545-.399-.364-.598-.958-.598-1.782 0-.741.189-1.304.566-1.688.378-.385.93-.577 1.657-.577h.356V17.326h-.356c-.727 0-1.28-.196-1.657-.587-.377-.392-.566-.965-.566-1.72 0-.81.203-1.401.608-1.771.406-.37 1.062-.556 1.971-.556h9.645c2.95 0 5.19.573 6.72 1.72 1.53 1.145 2.296 2.823 2.296 5.031 0 1.09-.234 2.052-.703 2.883-.468.832-1.163 1.513-2.086 2.045zM35.381 17.2v5.284h2.83c1.72 0 2.932-.203 3.638-.609.706-.405 1.06-1.09 1.06-2.054 0-.909-.319-1.573-.955-1.992-.636-.42-1.667-.63-3.093-.63h-3.48zm35.863-3.816c.28-.503.566-.86.86-1.07.293-.21.664-.314 1.111-.314.685 0 1.17.182 1.457.545.287.364.43.986.43 1.866l.042 5.452c0 .964-.157 1.614-.472 1.95-.314.335-.884.503-1.709.503-.587 0-1.037-.14-1.352-.42-.314-.28-.584-.796-.807-1.551-.364-1.328-.944-2.282-1.74-2.862-.797-.58-1.901-.87-3.313-.87-2.153 0-3.802.727-4.948 2.18-1.147 1.454-1.72 3.558-1.72 6.311 0 2.74.58 4.844 1.74 6.311 1.16 1.468 2.817 2.202 4.97 2.202 1.467 0 3.085-.49 4.854-1.468 1.768-.978 2.883-1.467 3.344-1.467.545 0 1.003.23 1.373.692.37.46.556 1.034.556 1.719 0 1.23-1.084 2.39-3.25 3.48-2.167 1.09-4.606 1.636-7.318 1.636-3.662 0-6.625-1.21-8.89-3.627-2.264-2.419-3.396-5.578-3.396-9.478 0-3.76 1.146-6.884 3.438-9.372 2.293-2.488 5.2-3.732 8.723-3.732.992 0 1.97.112 2.935.335.964.224 1.992.574 3.082 1.049zm10.22 19.583V17.326h-.356c-.755 0-1.328-.196-1.72-.587-.39-.392-.586-.965-.586-1.72 0-.81.21-1.401.629-1.771.42-.37 1.097-.556 2.034-.556h5.178c2.922 0 5.06.126 6.416.377 1.356.252 2.51.671 3.46 1.258 1.691 1.007 2.988 2.443 3.89 4.31.9 1.865 1.352 4.021 1.352 6.467 0 2.586-.514 4.847-1.541 6.783-1.028 1.936-2.485 3.4-4.372 4.393-.853.447-1.852.772-2.998.975-1.147.203-2.852.304-5.116.304h-6.269c-.965 0-1.65-.178-2.055-.535-.406-.356-.608-.954-.608-1.792 0-.741.195-1.304.587-1.688.391-.385.964-.577 1.72-.577h.356zm5.41-15.725v15.725h1.195c2.642 0 4.592-.646 5.85-1.94 1.258-1.292 1.887-3.28 1.887-5.965 0-2.641-.64-4.612-1.918-5.912-1.28-1.3-3.205-1.95-5.777-1.95-.335 0-.59.003-.765.01a7.992 7.992 0 00-.472.032zm35.067-.126h-9.75v5.368h3.69v-.252c0-.797.175-1.39.524-1.782.35-.392.88-.587 1.594-.587.629 0 1.142.178 1.54.534.4.357.598.808.598 1.353 0 .028.007.118.021.272.014.154.021.308.021.462v4.34c0 .936-.167 1.607-.503 2.013-.335.405-.88.608-1.635.608-.713 0-1.251-.19-1.615-.567-.363-.377-.545-.936-.545-1.677v-.377h-3.69v6.269h9.75v-2.495c0-.937.178-1.608.534-2.013.357-.405.94-.608 1.75-.608.798 0 1.367.2 1.71.597.342.399.513 1.073.513 2.024v5.074c0 .755-.146 1.258-.44 1.51-.293.251-.873.377-1.74.377h-17.172c-.923 0-1.583-.182-1.982-.545-.398-.364-.597-.958-.597-1.782 0-.741.189-1.304.566-1.688.377-.385.93-.577 1.656-.577h.357V17.326h-.357c-.712 0-1.261-.2-1.646-.598-.384-.398-.576-.968-.576-1.709 0-.81.203-1.401.608-1.771.405-.37 1.062-.556 1.97-.556h17.173c.853 0 1.43.13 1.73.388.3.258.45.772.45 1.54v4.698c0 .95-.174 1.631-.524 2.044-.35.412-.915.618-1.698.618-.81 0-1.394-.21-1.75-.629-.357-.419-.535-1.097-.535-2.033v-2.202zM19.77 47.641c.267-.504.55-.86.85-1.07.3-.21.675-.314 1.122-.314.685 0 1.17.181 1.457.545.287.363.43.985.43 1.866l.042 5.451c0 .965-.157 1.615-.472 1.95-.314.336-.891.504-1.73.504-.587 0-1.045-.144-1.373-.43-.329-.287-.598-.8-.807-1.541-.378-1.342-.958-2.3-1.74-2.873-.783-.573-1.88-.86-3.292-.86-2.153 0-3.799.727-4.938 2.181-1.14 1.454-1.709 3.557-1.709 6.311s.598 4.882 1.793 6.385C10.599 67.248 12.294 68 14.488 68c.503 0 1.077-.06 1.72-.179a23.809 23.809 0 002.264-.555v-3.313h-2.37c-.95 0-1.624-.175-2.023-.524-.398-.35-.597-.93-.597-1.74 0-.84.199-1.437.597-1.793.399-.357 1.073-.535 2.024-.535h7.569c.978 0 1.667.175 2.065.524.398.35.598.937.598 1.762 0 .74-.2 1.31-.598 1.708-.398.399-.975.598-1.73.598h-.335v5.242c0 .447-.05.758-.147.933-.098.174-.293.353-.587.534-.797.476-2.062.895-3.795 1.258a25.576 25.576 0 01-5.263.546c-3.662 0-6.625-1.21-8.89-3.628-2.264-2.418-3.397-5.577-3.397-9.477 0-3.76 1.147-6.884 3.44-9.372 2.292-2.488 5.199-3.732 8.721-3.732.979 0 1.954.112 2.925.335.972.224 2.003.573 3.093 1.049zm15.84 3.941v4.823h6.857v-4.823h-.336c-.754 0-1.331-.195-1.73-.587-.398-.391-.597-.964-.597-1.719 0-.825.206-1.419.619-1.782.412-.364 1.093-.545 2.044-.545h5.41c.95 0 1.624.181 2.023.545.398.363.597.957.597 1.782 0 .755-.192 1.328-.576 1.72-.385.39-.947.586-1.688.586h-.357v15.642h.357c.755 0 1.328.192 1.719.576.391.385.587.947.587 1.688 0 .825-.203 1.419-.608 1.782-.405.364-1.09.546-2.055.546h-5.41c-.964 0-1.649-.179-2.054-.535-.405-.357-.608-.954-.608-1.793 0-.74.2-1.303.598-1.688.398-.384.975-.576 1.73-.576h.335v-6.186h-6.856v6.186h.335c.755 0 1.331.192 1.73.576.398.385.597.947.597 1.688 0 .825-.206 1.419-.618 1.782-.412.364-1.094.546-2.044.546h-5.41c-.964 0-1.65-.179-2.055-.535-.405-.357-.608-.954-.608-1.793 0-.74.196-1.303.587-1.688.392-.384.965-.576 1.72-.576h.356V51.582h-.356c-.741 0-1.304-.195-1.688-.587-.385-.391-.577-.964-.577-1.719 0-.825.2-1.419.598-1.782.398-.364 1.073-.545 2.023-.545h5.41c.936 0 1.614.181 2.033.545.42.363.63.957.63 1.782 0 .755-.2 1.328-.598 1.72-.399.39-.975.586-1.73.586h-.335zm31.754 0v15.642h3.523c.95 0 1.632.178 2.044.534.412.357.618.933.618 1.73 0 .811-.21 1.402-.629 1.772-.419.37-1.097.556-2.033.556H58.433c-.95 0-1.632-.182-2.044-.546-.412-.363-.619-.957-.619-1.782 0-.81.203-1.39.608-1.74.406-.35 1.09-.524 2.055-.524h3.523V51.582h-3.523c-.95 0-1.632-.181-2.044-.545-.412-.363-.619-.95-.619-1.761 0-.825.203-1.412.608-1.761.406-.35 1.09-.524 2.055-.524h12.455c.992 0 1.684.174 2.075.524.392.35.587.936.587 1.761 0 .81-.202 1.398-.608 1.761-.405.364-1.09.545-2.054.545h-3.523zm30.496 0v11.994c0 1.873-.122 3.228-.367 4.067a5.876 5.876 0 01-1.227 2.244c-.74.852-1.768 1.495-3.082 1.929-1.314.433-2.893.65-4.738.65-1.3 0-2.555-.126-3.764-.378a16.843 16.843 0 01-3.491-1.132c-.615-.28-1.017-.643-1.206-1.09-.188-.448-.283-1.175-.283-2.18v-4.32c0-1.202.175-2.04.525-2.516.349-.475.957-.713 1.824-.713 1.244 0 1.929.915 2.054 2.747.014.321.035.566.063.733.168 1.622.545 2.73 1.133 3.324.587.594 1.523.89 2.81.89 1.593 0 2.714-.422 3.364-1.268.65-.845.975-2.386.975-4.623V51.582H88.93c-.95 0-1.632-.181-2.044-.545-.413-.363-.619-.95-.619-1.761 0-.825.2-1.412.598-1.761.398-.35 1.086-.524 2.065-.524h10.693c.979 0 1.667.174 2.065.524.399.35.598.936.598 1.761 0 .81-.206 1.398-.619 1.761-.412.364-1.093.545-2.044.545h-1.761zm14.644 0v6.353l6.48-6.478c-.728-.084-1.238-.29-1.531-.619-.294-.328-.44-.85-.44-1.562 0-.825.198-1.419.597-1.782.398-.364 1.073-.545 2.023-.545h5.137c.95 0 1.625.181 2.023.545.399.363.598.957.598 1.782 0 .769-.2 1.345-.598 1.73-.398.384-.982.576-1.75.576h-.483l-6.101 6.06c1.132.839 2.167 1.94 3.103 3.302.937 1.363 2.034 3.456 3.292 6.28h.692c.825 0 1.44.188 1.845.566.405.377.608.943.608 1.698 0 .825-.206 1.419-.619 1.782-.412.364-1.093.546-2.044.546h-2.579c-1.132 0-2.048-.762-2.746-2.286-.126-.28-.224-.503-.294-.67-.923-1.958-1.768-3.467-2.537-4.53a16.616 16.616 0 00-2.705-2.914l-1.97 1.887v3.92h.335c.755 0 1.331.193 1.73.577.398.385.597.947.597 1.688 0 .825-.206 1.419-.618 1.782-.413.364-1.094.546-2.045.546h-5.41c-.964 0-1.649-.179-2.054-.535-.405-.357-.608-.954-.608-1.793 0-.74.196-1.303.587-1.688.391-.384.965-.576 1.72-.576h.356V51.582h-.357c-.74 0-1.303-.195-1.687-.587-.385-.391-.577-.964-.577-1.719 0-.825.2-1.419.598-1.782.398-.364 1.072-.545 2.023-.545h5.41c.936 0 1.614.181 2.033.545.42.363.63.957.63 1.782 0 .755-.2 1.328-.598 1.72-.399.39-.975.586-1.73.586h-.336zM13.44 96.326l4.005-11.889c.251-.782.6-1.352 1.048-1.709.447-.356 1.041-.534 1.782-.534h3.271c.95 0 1.632.182 2.044.545.413.363.619.957.619 1.782 0 .755-.2 1.328-.598 1.72-.398.39-.975.587-1.73.587h-.335l.587 15.641h.357c.754 0 1.32.192 1.698.577.377.384.566.947.566 1.687 0 .825-.2 1.42-.598 1.783-.398.363-1.072.545-2.023.545h-4.718c-.95 0-1.624-.178-2.023-.535-.398-.356-.597-.954-.597-1.793 0-.74.192-1.303.576-1.687.385-.385.954-.577 1.709-.577h.335l-.293-12.79-3.061 9.52c-.224.712-.542 1.226-.954 1.54-.413.315-.982.472-1.709.472-.727 0-1.303-.157-1.73-.472-.426-.314-.751-.828-.975-1.54l-3.04-9.52-.294 12.79h.336c.755 0 1.324.192 1.709.577.384.384.576.947.576 1.687 0 .825-.202 1.42-.608 1.783-.405.363-1.076.545-2.013.545H2.621c-.937 0-1.608-.182-2.013-.545-.405-.364-.608-.958-.608-1.783 0-.74.192-1.303.577-1.687.384-.385.954-.577 1.708-.577h.336l.608-15.641h-.336c-.754 0-1.331-.196-1.73-.588-.398-.39-.597-.964-.597-1.719 0-.825.206-1.419.619-1.782.412-.363 1.093-.545 2.044-.545h3.27c.728 0 1.311.175 1.752.524.44.35.8.923 1.08 1.72l4.109 11.888zm30.454 2.054V86.828H42.74c-.922 0-1.583-.182-1.981-.546-.398-.363-.598-.95-.598-1.76 0-.812.2-1.402.598-1.773.398-.37 1.059-.555 1.981-.555h5.955c.909 0 1.566.185 1.97.555.406.37.609.961.609 1.772 0 .741-.192 1.31-.577 1.709-.384.398-.933.598-1.646.598h-.356v19.038c0 .657-.07 1.069-.21 1.237-.14.167-.454.251-.943.251h-2.097c-.67 0-1.143-.07-1.415-.21-.273-.14-.507-.384-.703-.733l-8.722-15.327v11.385h1.216c.909 0 1.559.175 1.95.524.392.35.587.93.587 1.74 0 .825-.199 1.42-.597 1.783-.399.363-1.045.545-1.94.545h-6.017c-.909 0-1.566-.182-1.971-.545-.406-.364-.608-.958-.608-1.783 0-.74.188-1.303.566-1.687.377-.385.936-.577 1.677-.577h.336V86.828h-.336c-.713 0-1.265-.2-1.656-.598-.392-.398-.587-.968-.587-1.709 0-.81.206-1.401.618-1.772.413-.37 1.066-.555 1.96-.555h3.44c.824 0 1.383.108 1.677.325.293.216.622.653.985 1.31l7.989 14.551zM64.66 86.366c-1.803 0-3.218.727-4.245 2.18-1.028 1.455-1.541 3.474-1.541 6.06 0 2.586.517 4.613 1.551 6.08 1.034 1.468 2.446 2.202 4.235 2.202 1.804 0 3.222-.73 4.257-2.19 1.034-1.461 1.551-3.492 1.551-6.092 0-2.586-.513-4.605-1.54-6.06-1.028-1.453-2.45-2.18-4.268-2.18zm0-4.864c3.44 0 6.27 1.23 8.492 3.69 2.223 2.46 3.334 5.598 3.334 9.414 0 3.844-1.104 6.99-3.313 9.436-2.208 2.446-5.046 3.669-8.513 3.669-3.424 0-6.255-1.234-8.491-3.701-2.237-2.467-3.355-5.602-3.355-9.404 0-3.83 1.108-6.971 3.323-9.424 2.216-2.454 5.057-3.68 8.523-3.68zM87.461 98.17v4.298h2.16c.908 0 1.555.175 1.94.524.384.35.576.93.576 1.74 0 .825-.196 1.42-.587 1.783-.392.363-1.035.545-1.93.545h-7.254c-.922 0-1.583-.182-1.981-.545-.399-.364-.598-.958-.598-1.783 0-.74.189-1.303.566-1.687.378-.385.93-.577 1.657-.577h.356V86.828h-.356c-.713 0-1.262-.2-1.646-.598-.385-.398-.577-.968-.577-1.709 0-.81.203-1.401.608-1.772.406-.37 1.063-.555 1.971-.555h8.66c3.424 0 6.014.657 7.768 1.97 1.754 1.315 2.631 3.25 2.631 5.809 0 2.697-.873 4.738-2.62 6.122-1.748 1.384-4.34 2.076-7.78 2.076h-3.564zm0-11.343v6.625h2.977c1.65 0 2.89-.28 3.722-.839.832-.559 1.248-1.397 1.248-2.516 0-1.048-.43-1.855-1.29-2.421-.86-.566-2.086-.85-3.68-.85h-2.977zm27.267 20.568l-1.636 1.636a12.37 12.37 0 011.772-.44c.58-.098 1.15-.147 1.709-.147 1.104 0 2.268.164 3.491.492 1.223.329 1.967.493 2.233.493.447 0 1.03-.15 1.75-.45.72-.301 1.206-.452 1.458-.452.517 0 .947.2 1.29.598.342.398.513.898.513 1.5 0 .796-.472 1.474-1.415 2.033-.944.56-2.1.839-3.47.839-.937 0-2.139-.22-3.607-.66-1.467-.441-2.53-.661-3.187-.661-.992 0-2.11.272-3.354.817-1.244.546-2.013.818-2.307.818a2.14 2.14 0 01-1.53-.597c-.42-.399-.63-.878-.63-1.437 0-.391.134-.807.4-1.247.265-.44.733-1.01 1.404-1.709l2.118-2.139c-2.335-.852-4.194-2.386-5.578-4.602-1.384-2.215-2.075-4.763-2.075-7.642 0-3.802 1.104-6.909 3.312-9.32 2.209-2.411 5.053-3.617 8.534-3.617 3.467 0 6.304 1.209 8.513 3.627 2.208 2.418 3.312 5.522 3.312 9.31 0 3.774-1.097 6.884-3.291 9.33-2.195 2.446-4.977 3.67-8.345 3.67a22.5 22.5 0 01-1.384-.043zm1.195-21.03c-1.803 0-3.218.727-4.246 2.18-1.027 1.455-1.54 3.474-1.54 6.06 0 2.586.516 4.613 1.55 6.08 1.035 1.468 2.447 2.202 4.236 2.202 1.803 0 3.222-.73 4.256-2.19 1.035-1.461 1.552-3.492 1.552-6.092 0-2.586-.514-4.605-1.541-6.06-1.028-1.453-2.45-2.18-4.267-2.18z\\\"/></svg>\"},\"$:/core/images/mono-line\":{\"title\":\"$:/core/images/mono-line\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-mono-line tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M60.437 84.523h.908c1.922 0 3.381.489 4.378 1.468.997.979 1.495 2.411 1.495 4.298 0 2.1-.525 3.612-1.575 4.538-1.05.925-2.785 1.388-5.206 1.388h-16.07c-2.456 0-4.2-.454-5.232-1.361-1.032-.908-1.548-2.43-1.548-4.565 0-2.065.516-3.542 1.548-4.432 1.032-.89 2.776-1.334 5.232-1.334h1.869l-2.19-6.247H20.983l-2.296 6.247h1.87c2.42 0 4.155.453 5.205 1.361 1.05.908 1.575 2.376 1.575 4.405 0 2.1-.525 3.612-1.575 4.538-1.05.925-2.785 1.388-5.206 1.388H6.781c-2.456 0-4.2-.463-5.233-1.388C.516 93.9 0 92.389 0 90.289c0-1.887.498-3.32 1.495-4.298.997-.979 2.456-1.468 4.378-1.468h.908l14.308-39.83h-4.271c-2.42 0-4.156-.462-5.206-1.387-1.05-.926-1.575-2.42-1.575-4.485 0-2.1.525-3.613 1.575-4.538 1.05-.926 2.785-1.388 5.206-1.388h20.021c3.168 0 5.392 1.708 6.674 5.125v.16l16.924 46.343zm-27.976-39.83L24.72 67.225h15.483l-7.742-22.53zM89.506 68.56v16.284h8.008c5.66 0 9.646-.623 11.96-1.869 2.313-1.245 3.47-3.328 3.47-6.246 0-2.955-1.103-5.055-3.31-6.3-2.207-1.246-6.069-1.869-11.586-1.869h-8.542zm27.229-5.926c3.88 1.423 6.727 3.372 8.542 5.846 1.815 2.474 2.723 5.633 2.723 9.477 0 3.239-.783 6.193-2.35 8.862-1.565 2.67-3.808 4.859-6.726 6.567-1.709.997-3.622 1.718-5.74 2.163-2.118.445-5.116.667-8.996.667h-27.87c-2.349 0-4.03-.463-5.045-1.388-1.014-.926-1.521-2.438-1.521-4.538 0-1.887.48-3.32 1.441-4.298.961-.979 2.367-1.468 4.218-1.468h.907v-39.83h-.907c-1.851 0-3.257-.498-4.218-1.494-.961-.997-1.441-2.456-1.441-4.378 0-2.065.516-3.568 1.548-4.512 1.032-.943 2.705-1.414 5.018-1.414h24.56c7.51 0 13.214 1.459 17.111 4.377 3.898 2.92 5.847 7.19 5.847 12.814 0 2.776-.597 5.223-1.789 7.341-1.192 2.118-2.963 3.853-5.312 5.206zm-27.23-18.26v13.455h7.208c4.378 0 7.466-.516 9.264-1.549 1.797-1.032 2.696-2.776 2.696-5.232 0-2.313-.81-4.004-2.43-5.072-1.619-1.068-4.244-1.602-7.874-1.602h-8.863z\\\"/></svg>\"},\"$:/core/images/network-activity\":{\"title\":\"$:/core/images/network-activity\",\"tags\":\"$:/tags/Image\",\"text\":\"<svg width=\\\"22pt\\\" height=\\\"22pt\\\" class=\\\"tc-image-network-activity tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g class={{{ [{$:/state/http-requests}match[0]then[]else[tc-network-activity-background]] }}}>\\n<$list filter=\\\"[{$:/state/http-requests}match[0]]\\\" variable=\\\"ignore\\\">\\n<path d=\\\"M64.043 45.153a4.002 4.002 0 0 1 4.367 2.21l.084.188 30.403 73.4a4 4 0 0 1-7.307 3.25l-.084-.188-3.103-7.49-8.898 8.899a3.985 3.985 0 0 1-2.624 1.166l-.205.005a3.987 3.987 0 0 1-2.828-1.171l-9.849-9.848-9.847 9.848a3.985 3.985 0 0 1-2.624 1.166l-.204.005a3.987 3.987 0 0 1-2.829-1.171l-8.899-8.9-3.102 7.491a4 4 0 1 1-7.391-3.062l30.403-73.4a4.001 4.001 0 0 1 4.495-2.39l.042-.008Zm13.636 56.74-8.023 8.024 7.02 7.019 8.023-8.022-7.02-7.02Zm-27.353.008-7.019 7.019 8.016 8.016 7.019-7.02-8.016-8.015Zm13.68-13.68-8.023 8.023 8.016 8.016 8.023-8.023-8.016-8.016Zm-8.971-8.971-4.687 11.315 8.001-8.001-3.314-3.314Zm17.933.009-3.305 3.305 7.979 7.979-4.674-11.284ZM64 57.607l-5.666 13.68c.096.072.188.15.278.232l.133.126 5.261 5.262 5.262-5.262c.128-.127.261-.244.4-.35L64 57.607Zm0-34.69a8 8 0 1 1 0 16 8 8 0 0 1 0-16Z\\\"/>\\n</$list>\\n<$list filter=\\\"[{$:/state/http-requests}!match[0]]\\\" variable=\\\"ignore\\\">\\n<path d=\\\"M109.395.952a4.002 4.002 0 0 1 3.787 2.708C117.529 11.62 120 20.753 120 30.462c0 15.186-6.044 28.96-15.858 39.047a4 4 0 1 1-6.47-4.626l-.12-.094C106.466 56.074 112 43.914 112 30.462c0-8.492-2.205-16.469-6.074-23.39l.054-.036a4 4 0 0 1 3.415-6.084Zm-90.762 0a4 4 0 0 1 3.072 6.562l.093.06A47.786 47.786 0 0 0 16 30.463c0 13.315 5.42 25.363 14.176 34.058l-.01.007a4 4 0 1 1-6.312 4.863l-.063.05C14.017 59.359 8 45.613 8 30.462c0-9.77 2.502-18.956 6.9-26.952A4.002 4.002 0 0 1 18.634.952Z\\\"/><path d=\\\"M64.043 44.698a4.002 4.002 0 0 1 4.367 2.21l.084.188 30.403 73.4a4 4 0 0 1-7.307 3.25l-.084-.188-3.103-7.49-8.898 8.9a3.985 3.985 0 0 1-2.624 1.166l-.205.005a3.987 3.987 0 0 1-2.828-1.172l-9.849-9.848-9.847 9.848a3.985 3.985 0 0 1-2.624 1.167l-.204.005a3.987 3.987 0 0 1-2.829-1.172l-8.899-8.899-3.102 7.49a4 4 0 0 1-7.391-3.061l30.403-73.4a4.001 4.001 0 0 1 4.495-2.39l.042-.009ZM77.68 101.44l-8.023 8.023 7.02 7.019 8.023-8.022-7.02-7.02Zm-27.353.007-7.019 7.019 8.016 8.016 7.019-7.019-8.016-8.016Zm13.68-13.68-8.023 8.023 8.016 8.016 8.023-8.023-8.016-8.016Zm-8.971-8.971L50.348 90.11l8.001-8.001-3.314-3.314Zm17.933.009-3.305 3.305 7.979 7.979-4.674-11.284ZM64 57.152l-5.666 13.68c.096.073.188.15.278.232l.133.127 5.261 5.261 5.262-5.261c.128-.128.261-.244.4-.351L64 57.152ZM38.503 1.058a4 4 0 0 1 2.7 6.952l.17-.175C35.582 13.625 32 21.625 32 30.462c0 8.838 3.582 16.838 9.374 22.629a4 4 0 0 1-5.659 5.658l-.01.01C28.473 51.52 24 41.526 24 30.485 24 19.567 28.374 9.67 35.466 2.453a3.995 3.995 0 0 1 3.037-1.395ZM89.369.952c1.14 0 2.17.478 2.899 1.244l.005-.006C99.518 9.43 104 19.434 104 30.485c0 10.826-4.3 20.648-11.287 27.85a4 4 0 1 1-6.054-5.213l-.032-.032C92.418 47.299 96 39.299 96 30.462c0-8.73-3.496-16.643-9.164-22.416A4 4 0 0 1 89.368.952Zm-39.282 11.14a4 4 0 0 1 2.59 7.048l.01.009A15.95 15.95 0 0 0 48 30.462a15.95 15.95 0 0 0 4.687 11.315l-.01.01a4 4 0 1 1-5.82 5.47l.173.177A23.925 23.925 0 0 1 40 30.462a23.925 23.925 0 0 1 7.03-16.97l.01.01a3.991 3.991 0 0 1 3.047-1.41Zm27.895.07a3.99 3.99 0 0 1 2.984 1.336l.006-.005A23.925 23.925 0 0 1 88 30.463a23.92 23.92 0 0 1-6.707 16.642l-.3.305a4 4 0 1 1-5.679-5.632v-.002A15.95 15.95 0 0 0 80 30.462a15.95 15.95 0 0 0-4.685-11.312 4.012 4.012 0 0 1-1.333-2.987 4 4 0 0 1 4-4ZM64 22.463a8 8 0 1 1 0 16 8 8 0 0 1 0-16Z\\\"/>\\n</$list>\\n</g></svg>\"},\"$:/core/images/new-button\":{\"title\":\"$:/core/images/new-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-new-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M56 72H8.007C3.591 72 0 68.418 0 64c0-4.41 3.585-8 8.007-8H56V8.007C56 3.591 59.582 0 64 0c4.41 0 8 3.585 8 8.007V56h47.993c4.416 0 8.007 3.582 8.007 8 0 4.41-3.585 8-8.007 8H72v47.993c0 4.416-3.582 8.007-8 8.007-4.41 0-8-3.585-8-8.007V72z\\\"/></svg>\"},\"$:/core/images/new-here-button\":{\"title\":\"$:/core/images/new-here-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-new-here-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M55.838 20.935l-3.572.938c-3.688.968-8.23 4.43-10.136 7.731L3.37 96.738c-1.905 3.3-.771 7.524 2.534 9.432l33.717 19.466c3.297 1.904 7.53.78 9.435-2.521l38.76-67.134c1.905-3.3 2.632-8.963 1.623-12.646L83.285 20.88c-1.009-3.68-4.821-5.884-8.513-4.915l-7.603 1.995.043.287c.524 3.394 2.053 7.498 4.18 11.55.418.163.829.36 1.23.59a8.864 8.864 0 014.438 8.169c.104.132.21.264.316.395l-.386.318a8.663 8.663 0 01-1.082 3.137c-2.42 4.192-7.816 5.608-12.051 3.163-4.12-2.379-5.624-7.534-3.476-11.671-2.177-4.394-3.788-8.874-4.543-12.964z\\\"/><path d=\\\"M69.554 44.76c-5.944-7.476-10.74-17.196-11.955-25.059-1.68-10.875 3.503-18.216 15.082-18.04 10.407.158 19.975 5.851 24.728 13.785 5.208 8.695 2.95 17.868-6.855 20.496l-2.037-7.601c4.232-1.134 4.999-4.248 2.24-8.853-3.37-5.626-10.465-9.848-18.146-9.965-6.392-.097-8.31 2.62-7.323 9.01.999 6.465 5.318 15.138 10.582 21.65l-.072.06c.559 1.553-4.17 6.44-5.938 4.888l-.005.004-.028-.034a1.323 1.323 0 01-.124-.135 2.618 2.618 0 01-.149-.205z\\\"/><rect width=\\\"16\\\" height=\\\"48\\\" x=\\\"96\\\" y=\\\"80\\\" rx=\\\"8\\\"/><rect width=\\\"48\\\" height=\\\"16\\\" x=\\\"80\\\" y=\\\"96\\\" rx=\\\"8\\\"/></g></svg>\"},\"$:/core/images/new-image-button\":{\"title\":\"$:/core/images/new-image-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-new-image-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M81.362 73.627l15.826-27.41a2.626 2.626 0 00-.962-3.59l-50.01-28.872a2.626 2.626 0 00-3.588.961L30.058 36.49l10.04-5.261c3.042-1.595 6.771.114 7.55 3.46l3.607 17.702 9.88.85a5.25 5.25 0 014.571 3.77c.034.115.1.344.199.671.165.553.353 1.172.562 1.843.595 1.914 1.23 3.85 1.872 5.678.207.588.412 1.156.614 1.701.625 1.685 1.209 3.114 1.725 4.207.255.54.485.977.726 1.427.214.212.547.425 1.011.622 1.141.482 2.784.74 4.657.758.864.008 1.71-.034 2.492-.11.448-.043.753-.085.871-.104.315-.053.625-.077.927-.076zM37.47 2.649A5.257 5.257 0 0144.649.725l63.645 36.746a5.257 5.257 0 011.923 7.178L73.47 108.294a5.257 5.257 0 01-7.177 1.923L2.649 73.47a5.257 5.257 0 01-1.924-7.177L37.471 2.649zm42.837 50.49a5.25 5.25 0 105.25-9.092 5.25 5.25 0 00-5.25 9.093zM96 112h-7.993c-4.419 0-8.007-3.582-8.007-8 0-4.41 3.585-8 8.007-8H96v-7.993C96 83.588 99.582 80 104 80c4.41 0 8 3.585 8 8.007V96h7.993c4.419 0 8.007 3.582 8.007 8 0 4.41-3.585 8-8.007 8H112v7.993c0 4.419-3.582 8.007-8 8.007-4.41 0-8-3.585-8-8.007V112zM33.347 51.791c7.428 7.948 9.01 10.69 7.449 13.394-1.56 2.703-13.838-2.328-16.094 1.58-2.256 3.908-.907 3.258-2.437 5.908l19.73 11.39s-5.605-8.255-4.235-10.628c2.515-4.356 8.77-1.256 10.365-4.019 2.414-4.181-5.103-9.639-14.778-17.625z\\\"/></svg>\"},\"$:/core/images/new-journal-button\":{\"title\":\"$:/core/images/new-journal-button\",\"tags\":\"$:/tags/Image\",\"text\":\"<$parameters size=\\\"22pt\\\" day=<<now \\\"DD\\\">>><svg width=<<size>> height=<<size>> class=\\\"tc-image-new-journal-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M102.545 112.818v11.818c0 1.306 1.086 2.364 2.425 2.364h6.06c1.34 0 2.425-1.058 2.425-2.364v-11.818h12.12c1.34 0 2.425-1.058 2.425-2.363v-5.91c0-1.305-1.085-2.363-2.424-2.363h-12.121V90.364c0-1.306-1.086-2.364-2.425-2.364h-6.06c-1.34 0-2.425 1.058-2.425 2.364v11.818h-12.12c-1.34 0-2.425 1.058-2.425 2.363v5.91c0 1.305 1.085 2.363 2.424 2.363h12.121zM60.016 4.965c-4.781-2.76-10.897-1.118-13.656 3.66L5.553 79.305A9.993 9.993 0 009.21 92.963l51.04 29.468c4.78 2.76 10.897 1.118 13.655-3.66l40.808-70.681a9.993 9.993 0 00-3.658-13.656L60.016 4.965zm-3.567 27.963a6 6 0 106-10.393 6 6 0 00-6 10.393zm31.697 17.928a6 6 0 106-10.392 6 6 0 00-6 10.392z\\\"/><text class=\\\"tc-fill-background\\\" font-family=\\\"Helvetica\\\" font-size=\\\"47.172\\\" font-weight=\\\"bold\\\" transform=\\\"rotate(30 25.742 95.82)\\\"><tspan x=\\\"42\\\" y=\\\"77.485\\\" text-anchor=\\\"middle\\\"><$text text=<<day>>/></tspan></text></g></svg></$parameters>\"},\"$:/core/images/opacity\":{\"title\":\"$:/core/images/opacity\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-opacity tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M102.362 65a51.595 51.595 0 01-1.942 6H82.584a35.867 35.867 0 002.997-6h16.78zm.472-2c.423-1.961.734-3.963.929-6H87.656a35.78 35.78 0 01-1.368 6h16.546zm-3.249 10a51.847 51.847 0 01-3.135 6H75.812a36.205 36.205 0 005.432-6h18.341zm-4.416 8c-1.424 2.116-3 4.12-4.71 6H60.46a35.843 35.843 0 0012.874-6h21.834zm-7.513-34h16.107C101.247 20.627 79.033 0 52 0 23.281 0 0 23.281 0 52c0 25.228 17.965 46.26 41.8 51h20.4a51.66 51.66 0 0015.875-6H39v-2h42.25a52.257 52.257 0 007.288-6H39v-2h4.539C27.739 83.194 16 68.968 16 52c0-19.882 16.118-36 36-36 18.186 0 33.222 13.484 35.656 31zm.22 2h16.039a52.823 52.823 0 010 6H87.877a36.483 36.483 0 000-6z\\\"/><path d=\\\"M76 128c28.719 0 52-23.281 52-52s-23.281-52-52-52-52 23.281-52 52 23.281 52 52 52zm0-16c19.882 0 36-16.118 36-36S95.882 40 76 40 40 56.118 40 76s16.118 36 36 36z\\\"/><path d=\\\"M37 58h53v4H37v-4zm3-8h53v4H40v-4zm0-8h53v4H40v-4zm-8 24h53v4H32v-4zm-2 8h53v4H30v-4zm-3 8h53v4H27v-4z\\\"/></g></svg>\"},\"$:/core/images/open-window\":{\"title\":\"$:/core/images/open-window\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-open-window tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M16 112h88.994c3.87 0 7.006 3.59 7.006 8 0 4.418-3.142 8-7.006 8H7.006C3.136 128 0 124.41 0 120a9.321 9.321 0 010-.01V24.01C0 19.586 3.59 16 8 16c4.418 0 8 3.584 8 8.01V112z\\\"/><path d=\\\"M96 43.196V56a8 8 0 1016 0V24c0-4.41-3.585-8-8.007-8H72.007C67.588 16 64 19.582 64 24c0 4.41 3.585 8 8.007 8H84.57l-36.3 36.299a8 8 0 00-.001 11.316c3.117 3.117 8.19 3.123 11.316-.003L96 43.196zM32 7.999C32 3.581 35.588 0 40 0h80c4.419 0 8 3.588 8 8v80c0 4.419-3.588 8-8 8H40c-4.419 0-8-3.588-8-8V8z\\\"/></g></svg>\"},\"$:/core/images/options-button\":{\"title\":\"$:/core/images/options-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-options-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M110.488 76a47.712 47.712 0 01-5.134 12.384l6.724 6.724c3.123 3.123 3.132 8.192.011 11.313l-5.668 5.668c-3.12 3.12-8.186 3.117-11.313-.01l-6.724-6.725c-3.82 2.258-7.98 4-12.384 5.134v9.505c0 4.417-3.578 8.007-7.992 8.007h-8.016C55.58 128 52 124.415 52 119.993v-9.505a47.712 47.712 0 01-12.384-5.134l-6.724 6.725c-3.123 3.122-8.192 3.131-11.313.01l-5.668-5.668c-3.12-3.12-3.116-8.186.01-11.313l6.725-6.724c-2.257-3.82-4-7.98-5.134-12.384H8.007C3.591 76 0 72.422 0 68.01v-8.017C0 55.58 3.585 52 8.007 52h9.505a47.712 47.712 0 015.134-12.383l-6.724-6.725c-3.123-3.122-3.132-8.191-.011-11.312l5.668-5.669c3.12-3.12 8.186-3.116 11.313.01l6.724 6.725c3.82-2.257 7.98-4 12.384-5.134V8.007C52 3.591 55.578 0 59.992 0h8.016C72.42 0 76 3.585 76 8.007v9.505a47.712 47.712 0 0112.384 5.134l6.724-6.724c3.123-3.123 8.192-3.132 11.313-.01l5.668 5.668c3.12 3.12 3.116 8.186-.01 11.312l-6.725 6.725c2.257 3.82 4 7.979 5.134 12.383h9.505c4.416 0 8.007 3.578 8.007 7.992v8.017c0 4.411-3.585 7.991-8.007 7.991h-9.505zM64 96c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z\\\"/></svg>\"},\"$:/core/images/paint\":{\"title\":\"$:/core/images/paint\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-paint tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M83.527 76.19C90.43 69.287 91.892 59 87.91 50.665l37.903-37.902c2.919-2.92 2.913-7.659 0-10.572a7.474 7.474 0 00-10.572 0L77.338 40.093c-8.335-3.982-18.622-2.521-25.526 4.383l31.715 31.715zm-2.643 2.644L49.169 47.119S8.506 81.243 0 80.282c0 0 3.782 5.592 6.827 8.039 14.024-5.69 37.326-24.6 37.326-24.6l.661.66S19.45 90.222 9.18 92.047c1.222 1.44 4.354 4.053 6.247 5.776 5.417-1.488 34.733-28.57 34.733-28.57l.661.66-32.407 31.022 5.285 5.286L56.106 75.2l.662.66s-27.864 30.536-28.684 32.432c0 0 6.032 6.853 7.569 7.824.702-2.836 27.884-33.485 27.884-33.485l.661.66s-20.597 23.755-24.964 36.732c3.21 3.549 7.5 5.137 10.926 6.298-2.19-11.817 30.724-47.487 30.724-47.487z\\\"/></svg>\"},\"$:/core/images/palette\":{\"title\":\"$:/core/images/palette\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-palette tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M80.247 39.182a93.52 93.52 0 00-16.228-1.4C28.662 37.781 0 57.131 0 81.002c0 9.642 4.676 18.546 12.58 25.735C23.504 91.19 26.34 72.395 36.89 63.562c15.183-12.713 26.538-7.828 26.538-7.828l16.82-16.552zm26.535 9.655c13.049 7.913 21.257 19.392 21.257 32.166 0 9.35.519 17.411-11.874 25.08-10.797 6.681-3.824-6.536-11.844-10.898s-19.946 1.308-18.213 7.906c3.2 12.181 19.422 11.455 6.314 16.658-13.107 5.202-18.202 4.476-28.403 4.476-7.821 0-15.315-.947-22.243-2.68 9.844-4.197 27.88-12.539 33.354-19.456C82.788 92.409 87.37 80 83.324 72.484c-.194-.359 11.215-11.668 23.458-23.647zM1.134 123.867l-.66.002c33.479-14.94 22.161-64.226 58.818-64.226.317 1.418.644 2.944 1.062 4.494-25.907-4.166-23.567 48.031-59.22 59.73zm.713-.007c38.872-.506 78.152-22.347 78.152-44.813-9.27 0-14.073-3.48-16.816-7.942-16.597-7.003-30.365 45.715-61.336 52.755zm65.351-64.008c-4.45 4.115 4.886 16.433 11.318 11.318l45.27-45.27c11.317-11.318 0-22.635-11.318-11.318-11.317 11.318-33.518 34.405-45.27 45.27z\\\"/></svg>\"},\"$:/core/images/permalink-button\":{\"title\":\"$:/core/images/permalink-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-permalink-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M80.483 48l-7.387 32h-25.58l7.388-32h25.58zm3.694-16l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L100.598 32h3.403c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8h-7.096l-7.387 32H104c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H85.824l-5.624 24.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L69.402 96h-25.58L38.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L27.402 96h-3.403C19.59 96 16 92.418 16 88c0-4.41 3.581-8 8-8h7.096l7.387-32H24C19.59 48 16 44.418 16 40c0-4.41 3.581-8 8-8h18.177l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L58.598 32h25.58z\\\"/></svg>\"},\"$:/core/images/permaview-button\":{\"title\":\"$:/core/images/permaview-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-permaview-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M81.483 48l-1.846 8h-5.58l1.847-8h5.58zm3.694-16l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L101.598 32h2.403c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8h-6.096l-1.847 8h7.944c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H92.364l-1.846 8H104c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H86.824l-5.624 24.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L70.402 96h-5.58L59.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L48.402 96h-5.58L37.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L26.402 96h-2.403C19.59 96 16 92.418 16 88c0-4.41 3.581-8 8-8h6.096l1.847-8h-7.944C19.59 72 16 68.418 16 64c0-4.41 3.581-8 8-8h11.637l1.846-8H24C19.59 48 16 44.418 16 40c0-4.41 3.581-8 8-8h17.177l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L57.598 32h5.58L68.8 7.642c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L79.598 32h5.58zM53.904 48l-1.847 8h5.58l1.846-8h-5.579zm22.039 24l-1.847 8h-5.58l1.847-8h5.58zm-27.58 0l-1.846 8h5.579l1.847-8h-5.58z\\\"/></svg>\"},\"$:/core/images/picture\":{\"title\":\"$:/core/images/picture\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-picture tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M112 68.233v-48.23A4.001 4.001 0 00107.997 16H20.003A4.001 4.001 0 0016 20.003v38.31l9.241-14.593c2.8-4.422 9.023-5.008 12.6-1.186l18.247 20.613 13.687-6.407a8 8 0 018.903 1.492 264.97 264.97 0 002.92 2.739 249.44 249.44 0 006.798 6.066 166.5 166.5 0 002.106 1.778c2.108 1.747 3.967 3.188 5.482 4.237.748.518 1.383.92 2.044 1.33.444.117 1.046.144 1.809.05 1.873-.233 4.238-1.144 6.723-2.547a36.016 36.016 0 003.205-2.044c.558-.4.93-.686 1.07-.802.376-.31.765-.577 1.165-.806zM0 8.007A8.01 8.01 0 018.007 0h111.986A8.01 8.01 0 01128 8.007v111.986a8.01 8.01 0 01-8.007 8.007H8.007A8.01 8.01 0 010 119.993V8.007zM95 42a8 8 0 100-16 8 8 0 000 16zM32 76c15.859 4.83 20.035 7.244 20.035 12S32 95.471 32 102.347c0 6.876 1.285 4.99 1.285 9.653H68s-13.685-6.625-13.685-10.8c0-7.665 10.615-8.34 10.615-13.2 0-7.357-14.078-8.833-32.93-12z\\\"/></svg>\"},\"$:/core/images/plugin-generic-language\":{\"title\":\"$:/core/images/plugin-generic-language\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> viewBox=\\\"0 0 128 128\\\" class=\\\"tc-image-plugin-generic-language tc-image-button\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M61.207 68.137c-4.324 2.795-6.999 6.656-6.999 10.921 0 7.906 9.19 14.424 21.042 15.336 2.162 3.902 8.598 6.785 16.318 7.01-5.126-1.125-9.117-3.742-10.62-7.01C92.805 93.487 102 86.967 102 79.059c0-8.53-10.699-15.445-23.896-15.445-6.599 0-12.572 1.729-16.897 4.524zm12.794-14.158c-4.324 2.795-10.298 4.524-16.897 4.524-2.619 0-5.14-.272-7.497-.775-3.312 2.25-8.383 3.69-14.067 3.69l-.255-.002c4.119-.892 7.511-2.747 9.478-5.13-6.925-2.704-11.555-7.617-11.555-13.228 0-8.53 10.699-15.445 23.896-15.445C70.301 27.613 81 34.528 81 43.058c0 4.265-2.675 8.126-6.999 10.921zM64 0l54.56 32v64L64 128 9.44 96V32L64 0z\\\"/></svg>\"},\"$:/core/images/plugin-generic-plugin\":{\"title\":\"$:/core/images/plugin-generic-plugin\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> viewBox=\\\"0 0 128 128\\\" class=\\\"tc-image-plugin-generic-plugin tc-image-button\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M40.397 76.446V95.34h14.12l-.001-.005a6.912 6.912 0 005.364-11.593l.046-.023a6.912 6.912 0 119.979.526l.086.055a6.914 6.914 0 004.408 10.948l-.023.092h21.32V75.568l-.15.038a6.912 6.912 0 00-11.593-5.364l-.022-.046a6.912 6.912 0 11.526-9.979l.055-.086a6.914 6.914 0 0010.948-4.408c.079.018.158.038.236.059v-15.74h-21.32l.023-.094a6.914 6.914 0 01-4.408-10.947 10.23 10.23 0 00-.086-.055 6.912 6.912 0 10-9.979-.526l-.046.023a6.912 6.912 0 01-5.364 11.593l.001.005h-14.12v12.847A6.912 6.912 0 0129.5 59.843l-.054.086a6.912 6.912 0 10-.526 9.979l.023.046a6.912 6.912 0 0111.455 6.492zM64 0l54.56 32v64L64 128 9.44 96V32L64 0z\\\"/></svg>\"},\"$:/core/images/plugin-generic-theme\":{\"title\":\"$:/core/images/plugin-generic-theme\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> viewBox=\\\"0 0 128 128\\\" class=\\\"tc-image-plugin-generic-theme tc-image-button\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M29.408 91.472L51.469 69.41l-.004-.005a2.22 2.22 0 01.004-3.146c.87-.87 2.281-.872 3.147-.005l9.465 9.464a2.22 2.22 0 01-.005 3.147c-.87.87-2.28.871-3.147.005l-.005-.005-22.061 22.062a6.686 6.686 0 11-9.455-9.455zM60.802 66.38c-2.436-2.704-4.465-5.091-5.817-6.869-6.855-9.014-10.313-4.268-14.226 0-3.913 4.268 1.03 7.726-2.683 10.741-3.713 3.015-3.484 4.06-9.752-1.455-6.267-5.516-6.7-7.034-3.823-10.181 2.877-3.147 5.281 1.808 11.159-3.785 5.877-5.593.94-10.55.94-10.55s12.237-25.014 28.588-23.167c16.351 1.848-6.186-2.392-11.792 17.226-2.4 8.4.447 6.42 4.998 9.968 1.394 1.086 6.03 4.401 11.794 8.685l20.677-20.676 1.615-4.766 7.84-4.689 3.151 3.152-4.688 7.84-4.766 1.615-20.224 20.223c12.663 9.547 28.312 22.146 28.312 26.709 0 7.217-3.071 11.526-9.535 9.164-4.693-1.715-18.768-15.192-28.753-25.897l-2.893 2.893-3.151-3.152 3.029-3.029zM63.953 0l54.56 32v64l-54.56 32-54.56-32V32l54.56-32z\\\"/></svg>\"},\"$:/core/images/plus-button\":{\"title\":\"$:/core/images/plus-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-plus-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M64-.333c35.346 0 64 28.654 64 64 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64zM64 16c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z\\\"/><rect width=\\\"80\\\" height=\\\"16\\\" x=\\\"24\\\" y=\\\"56\\\" rx=\\\"8\\\"/><rect width=\\\"16\\\" height=\\\"80\\\" x=\\\"56\\\" y=\\\"24\\\" rx=\\\"8\\\"/></svg>\"},\"$:/core/images/preview-closed\":{\"title\":\"$:/core/images/preview-closed\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-preview-closed tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M.088 64a7.144 7.144 0 001.378 5.458C16.246 88.818 39.17 100.414 64 100.414c24.83 0 47.753-11.596 62.534-30.956A7.144 7.144 0 00127.912 64C110.582 78.416 88.304 87.086 64 87.086 39.696 87.086 17.418 78.416.088 64z\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"62\\\" y=\\\"96\\\" rx=\\\"4\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"78\\\" y=\\\"93\\\" rx=\\\"4\\\" transform=\\\"rotate(-5 80 101)\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"46\\\" y=\\\"93\\\" rx=\\\"4\\\" transform=\\\"rotate(5 48 101)\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"30\\\" y=\\\"88\\\" rx=\\\"4\\\" transform=\\\"rotate(10 32 96)\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"94\\\" y=\\\"88\\\" rx=\\\"4\\\" transform=\\\"rotate(-10 96 96)\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"110\\\" y=\\\"80\\\" rx=\\\"4\\\" transform=\\\"rotate(-20 112 88)\\\"/><rect width=\\\"4\\\" height=\\\"16\\\" x=\\\"14\\\" y=\\\"80\\\" rx=\\\"4\\\" transform=\\\"rotate(20 16 88)\\\"/></g></svg>\"},\"$:/core/images/preview-open\":{\"title\":\"$:/core/images/preview-open\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-preview-open tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M64.11 99.588c-24.83 0-47.754-11.596-62.534-30.957a7.148 7.148 0 010-8.675C16.356 40.596 39.28 29 64.11 29c24.83 0 47.753 11.596 62.534 30.956a7.148 7.148 0 010 8.675c-14.78 19.36-37.703 30.957-62.534 30.957zm46.104-32.007c1.44-1.524 1.44-3.638 0-5.162C99.326 50.9 82.439 44 64.147 44S28.968 50.9 18.08 62.42c-1.44 1.523-1.44 3.637 0 5.16C28.968 79.1 45.855 86 64.147 86s35.179-6.9 46.067-18.42z\\\"/><path d=\\\"M63.5 88C76.479 88 87 77.479 87 64.5S76.479 41 63.5 41 40 51.521 40 64.5 50.521 88 63.5 88z\\\"/></g></svg>\"},\"$:/core/images/print-button\":{\"title\":\"$:/core/images/print-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-print-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M112 71V30.5h-.032c-.035-2-.816-3.99-2.343-5.516L86.998 2.357A7.978 7.978 0 0081 .02V0H24a8 8 0 00-8 8v63h8V8h57v14.5c0 4.422 3.582 8 8 8h15V71h8z\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"36\\\" rx=\\\"4\\\"/><rect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"52\\\" rx=\\\"4\\\"/><rect width=\\\"40\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"20\\\" rx=\\\"4\\\"/><path d=\\\"M0 80.005C0 71.165 7.156 64 16 64h96c8.836 0 16 7.155 16 16.005v31.99c0 8.84-7.156 16.005-16 16.005H16c-8.836 0-16-7.155-16-16.005v-31.99zM104 96a8 8 0 100-16 8 8 0 000 16z\\\"/></g></svg>\"},\"$:/core/images/quote\":{\"title\":\"$:/core/images/quote\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-quote tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M51.219 117.713V62.199H27.427c0-8.891 1.683-16.401 5.047-22.53 3.365-6.127 9.613-10.754 18.745-13.878V2c-7.45.961-14.36 3.184-20.728 6.669-6.368 3.484-11.835 7.87-16.401 13.157C9.524 27.113 5.98 33.241 3.456 40.21.933 47.18-.21 54.63.03 62.56v55.153H51.22zm76.781 0V62.199h-23.791c0-8.891 1.682-16.401 5.046-22.53 3.365-6.127 9.613-10.754 18.745-13.878V2c-7.45.961-14.359 3.184-20.727 6.669-6.369 3.484-11.836 7.87-16.402 13.157-4.566 5.287-8.11 11.415-10.634 18.384-2.523 6.97-3.665 14.42-3.424 22.35v55.153H128z\\\"/></svg>\"},\"$:/core/images/refresh-button\":{\"title\":\"$:/core/images/refresh-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-refresh-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M106.369 39.433c10.16 20.879 6.57 46.764-10.771 64.106-21.87 21.87-57.327 21.87-79.196 0-21.87-21.87-21.87-57.326 0-79.196a8 8 0 1111.314 11.314c-15.621 15.62-15.621 40.947 0 56.568 15.62 15.621 40.947 15.621 56.568 0C97.72 78.79 99.6 58.175 89.924 42.73l-6.44 12.264a8 8 0 11-14.166-7.437L84.435 18.76a8 8 0 0110.838-3.345l28.873 15.345a8 8 0 11-7.51 14.129l-10.267-5.457zm-8.222-12.368c-.167-.19-.336-.38-.506-.57l.96-.296-.454.866z\\\"/></svg>\"},\"$:/core/images/right-arrow\":{\"title\":\"$:/core/images/right-arrow\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-right-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M99.069 64.173c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z\\\"/></svg>\"},\"$:/core/images/rotate-left\":{\"title\":\"$:/core/images/rotate-left\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-rotate-left tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"32\\\" height=\\\"80\\\" rx=\\\"8\\\"/><rect width=\\\"80\\\" height=\\\"32\\\" x=\\\"48\\\" y=\\\"96\\\" rx=\\\"8\\\"/><path d=\\\"M61.32 36.65c19.743 2.45 35.023 19.287 35.023 39.693a4 4 0 01-8 0c0-15.663-11.254-28.698-26.117-31.46l3.916 3.916a4 4 0 11-5.657 5.657L49.172 43.142a4 4 0 010-5.657l11.313-11.313a4 4 0 115.657 5.656l-4.821 4.822z\\\"/></g></svg>\"},\"$:/core/images/save-button-dynamic\":{\"title\":\"$:/core/images/save-button-dynamic\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-save-button-dynamic tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\\n<g class=\\\"tc-image-save-button-dynamic-clean\\\">\\n<path fill-rule=\\\"evenodd\\\" d=\\\"M120.783 34.33c4.641 8.862 7.266 18.948 7.266 29.646 0 35.347-28.653 64-64 64-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64 18.808 0 35.72 8.113 47.43 21.03l2.68-2.68c3.13-3.13 8.197-3.132 11.321-.008 3.118 3.118 3.121 8.193-.007 11.32l-4.69 4.691zm-12.058 12.058a47.876 47.876 0 013.324 17.588c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48c14.39 0 27.3 6.332 36.098 16.362L58.941 73.544 41.976 56.578c-3.127-3.127-8.201-3.123-11.32-.005-3.123 3.124-3.119 8.194.006 11.319l22.617 22.617a7.992 7.992 0 005.659 2.347c2.05 0 4.101-.783 5.667-2.349l44.12-44.12z\\\"/>\\n</g>\\n<g class=\\\"tc-image-save-button-dynamic-dirty\\\">\\n<path d=\\\"M64.856912,0 C100.203136,0 128.856912,28.653776 128.856912,64 C128.856912,99.346224 100.203136,128 64.856912,128 C29.510688,128 0.856911958,99.346224 0.856911958,64 C0.856911958,28.653776 29.510688,0 64.856912,0 Z M64.856912,16 C38.347244,16 16.856912,37.490332 16.856912,64 C16.856912,90.509668 38.347244,112 64.856912,112 C91.3665799,112 112.856912,90.509668 112.856912,64 C112.856912,37.490332 91.3665799,16 64.856912,16 Z\\\"></path>\\n<circle cx=\\\"65\\\" cy=\\\"64\\\" r=\\\"32\\\"></circle>\\n</g>\\n</svg>\"},\"$:/core/images/save-button\":{\"title\":\"$:/core/images/save-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-save-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M120.783 34.33c4.641 8.862 7.266 18.948 7.266 29.646 0 35.347-28.653 64-64 64-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64 18.808 0 35.72 8.113 47.43 21.03l2.68-2.68c3.13-3.13 8.197-3.132 11.321-.008 3.118 3.118 3.121 8.193-.007 11.32l-4.69 4.691zm-12.058 12.058a47.876 47.876 0 013.324 17.588c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48c14.39 0 27.3 6.332 36.098 16.362L58.941 73.544 41.976 56.578c-3.127-3.127-8.201-3.123-11.32-.005-3.123 3.124-3.119 8.194.006 11.319l22.617 22.617a7.992 7.992 0 005.659 2.347c2.05 0 4.101-.783 5.667-2.349l44.12-44.12z\\\"/></svg>\"},\"$:/core/images/size\":{\"title\":\"$:/core/images/size\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-size tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M92.343 26l-9.171 9.172a4 4 0 105.656 5.656l16-16a4 4 0 000-5.656l-16-16a4 4 0 10-5.656 5.656L92.343 18H22a4 4 0 00-4 4v70.343l-9.172-9.171a4 4 0 10-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656L26 92.343V22l-4 4h70.343zM112 52v64l4-4H52a4 4 0 100 8h64a4 4 0 004-4V52a4 4 0 10-8 0z\\\"/></svg>\"},\"$:/core/images/spiral\":{\"title\":\"$:/core/images/spiral\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-spiral tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M64.534 68.348c3.39 0 6.097-2.62 6.476-5.968l-4.755-.538 4.75.583c.377-3.07-1.194-6.054-3.89-7.78-2.757-1.773-6.34-2.01-9.566-.7-3.46 1.403-6.14 4.392-7.35 8.148l-.01.026c-1.3 4.08-.72 8.64 1.58 12.52 2.5 4.2 6.77 7.2 11.76 8.27 5.37 1.15 11.11-.05 15.83-3.31 5.04-3.51 8.46-9.02 9.45-15.3 1.05-6.7-.72-13.63-4.92-19.19l.02.02c-4.42-5.93-11.2-9.82-18.78-10.78-7.96-1.01-16.13 1.31-22.59 6.43-6.81 5.39-11.18 13.41-12.11 22.26-.98 9.27 1.87 18.65 7.93 26.02 6.32 7.69 15.6 12.56 25.74 13.48 10.54.96 21.15-2.42 29.45-9.4l.01-.01c8.58-7.25 13.94-17.78 14.86-29.21.94-11.84-2.96-23.69-10.86-32.9-8.19-9.5-19.95-15.36-32.69-16.27-13.16-.94-26.24 3.49-36.34 12.34l.01-.01c-10.41 9.08-16.78 22.1-17.68 36.15-.93 14.44 4.03 28.77 13.79 39.78 10.03 11.32 24.28 18.2 39.6 19.09 15.73.92 31.31-4.56 43.24-15.234 12.23-10.954 19.61-26.44 20.5-43.074a4.785 4.785 0 00-4.52-5.03 4.778 4.778 0 00-5.03 4.52c-.75 14.1-7 27.2-17.33 36.45-10.03 8.98-23.11 13.58-36.3 12.81-12.79-.75-24.67-6.48-33-15.89-8.07-9.11-12.17-20.94-11.41-32.827.74-11.52 5.942-22.15 14.43-29.54l.01-.01c8.18-7.17 18.74-10.75 29.35-9.998 10.21.726 19.6 5.41 26.11 12.96 6.24 7.273 9.32 16.61 8.573 25.894-.718 8.9-4.88 17.064-11.504 22.66l.01-.007c-6.36 5.342-14.44 7.92-22.425 7.19-7.604-.68-14.52-4.314-19.21-10.027-4.44-5.4-6.517-12.23-5.806-18.94.67-6.3 3.76-11.977 8.54-15.766 4.46-3.54 10.05-5.128 15.44-4.44 5.03.63 9.46 3.18 12.32 7.01l.02.024c2.65 3.5 3.75 7.814 3.1 11.92-.59 3.71-2.58 6.925-5.45 8.924-2.56 1.767-5.61 2.403-8.38 1.81-2.42-.516-4.42-1.92-5.53-3.79-.93-1.56-1.15-3.3-.69-4.75l-4.56-1.446L59.325 65c.36-1.12 1.068-1.905 1.84-2.22.25-.103.48-.14.668-.13.06.006.11.015.14.025.01 0 .01 0-.01-.01a1.047 1.047 0 01-.264-.332c-.15-.29-.23-.678-.18-1.11l-.005.04c.15-1.332 1.38-2.523 3.035-2.523-2.65 0-4.79 2.144-4.79 4.787s2.14 4.785 4.78 4.785z\\\"/></svg>\"},\"$:/core/images/stamp\":{\"title\":\"$:/core/images/stamp\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-stamp tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M49.733 64H16.01C11.584 64 8 67.583 8 72.003V97h112V72.003A8 8 0 00111.99 64H78.267A22.813 22.813 0 0175.5 53.077c0-6.475 2.687-12.324 7.009-16.497A22.818 22.818 0 0087 22.952C87 10.276 76.703 0 64 0S41 10.276 41 22.952c0 5.103 1.669 9.817 4.491 13.628 4.322 4.173 7.009 10.022 7.009 16.497 0 3.954-1.002 7.675-2.767 10.923zM8 104h112v8H8v-8z\\\"/></svg>\"},\"$:/core/images/standard-layout\":{\"title\":\"$:/core/images/standard-layout\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-standard-layout tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\\n <path d=\\\"M71.93 72A8.07 8.07 0 0 1 80 80.07v7.86A8.071 8.071 0 0 1 71.93 96H8.07A8.067 8.067 0 0 1 0 87.93v-7.86A8.072 8.072 0 0 1 8.07 72h63.86Zm0 32a8.07 8.07 0 0 1 8.07 8.07v7.86a8.071 8.071 0 0 1-8.07 8.07H8.07A8.067 8.067 0 0 1 0 119.93v-7.86A8.072 8.072 0 0 1 8.07 104h63.86Zm0-104A8.068 8.068 0 0 1 80 8.07v47.86A8.073 8.073 0 0 1 71.93 64H8.07A8.07 8.07 0 0 1 0 55.93V8.07A8.072 8.072 0 0 1 8.07 0h63.86Zm48 0c2.14 0 4.193.85 5.706 2.364A8.067 8.067 0 0 1 128 8.07v111.86c0 2.14-.85 4.193-2.364 5.706A8.067 8.067 0 0 1 119.93 128H96.07c-2.14 0-4.193-.85-5.706-2.364A8.067 8.067 0 0 1 88 119.93V8.07c0-2.14.85-4.193 2.364-5.706A8.067 8.067 0 0 1 96.07 0h23.86ZM116 24h-16a3.995 3.995 0 0 0-2.828 1.172 3.995 3.995 0 0 0 0 5.656A3.995 3.995 0 0 0 100 32h16a3.995 3.995 0 0 0 2.828-1.172 3.995 3.995 0 0 0 0-5.656A3.995 3.995 0 0 0 116 24Z\\\"/>\\n</svg>\"},\"$:/core/images/star-filled\":{\"title\":\"$:/core/images/star-filled\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-star-filled tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M61.836 96.823l37.327 27.287c2.72 1.99 6.379-.69 5.343-3.912L90.29 75.988l-1.26 3.91 37.285-27.345c2.718-1.993 1.32-6.327-2.041-6.33l-46.113-.036 3.3 2.416L67.176 4.416c-1.04-3.221-5.563-3.221-6.604 0L46.29 48.603l3.3-2.416-46.113.036c-3.362.003-4.759 4.337-2.04 6.33L38.72 79.898l-1.26-3.91-14.216 44.21c-1.036 3.223 2.622 5.901 5.343 3.912l37.326-27.287h-4.078z\\\"/></svg>\"},\"$:/core/images/storyview-classic\":{\"title\":\"$:/core/images/storyview-classic\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-storyview-classic tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16C19.581 16 16 19.578 16 23.992v16.016C16 44.422 19.588 48 24 48h80c4.419 0 8-3.578 8-7.992V23.992c0-4.414-3.588-7.992-8-7.992H24zm0 48C19.581 64 16 67.59 16 72c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24zm0 32C19.581 96 16 99.59 16 104c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24z\\\"/></svg>\"},\"$:/core/images/storyview-pop\":{\"title\":\"$:/core/images/storyview-pop\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-storyview-pop tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16C19.581 16 16 19.578 16 23.992v16.016C16 44.422 19.588 48 24 48h80c4.419 0 8-3.578 8-7.992V23.992c0-4.414-3.588-7.992-8-7.992H24zm-7.99 40C11.587 56 8 59.578 8 63.992v16.016C8 84.422 11.584 88 16.01 88h95.98c4.424 0 8.01-3.578 8.01-7.992V63.992c0-4.414-3.584-7.992-8.01-7.992H16.01zM24 96C19.581 96 16 99.59 16 104c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24zm0-32C19.581 64 16 67.59 16 72c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24z\\\"/></svg>\"},\"$:/core/images/storyview-zoomin\":{\"title\":\"$:/core/images/storyview-zoomin\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-storyview-zoomin tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16A8 8 0 0016 24.009V71.99C16 76.414 19.588 80 24 80h80a8 8 0 008-8.009V24.01c0-4.423-3.588-8.009-8-8.009H24z\\\"/></svg>\"},\"$:/core/images/strikethrough\":{\"title\":\"$:/core/images/strikethrough\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-strikethrough tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M92.794 38.726h15.422c-.229-6.74-1.514-12.538-3.856-17.393-2.342-4.855-5.54-8.881-9.596-12.08-4.055-3.199-8.767-5.54-14.136-7.025C75.258.743 69.433 0 63.15 0a62.76 62.76 0 00-16.364 2.142C41.474 3.57 36.733 5.74 32.564 8.653c-4.17 2.913-7.511 6.626-10.025 11.138-2.513 4.512-3.77 9.853-3.77 16.022 0 5.597 1.115 10.252 3.342 13.965 2.228 3.712 5.198 6.74 8.91 9.081 3.713 2.342 7.911 4.227 12.595 5.655a194.641 194.641 0 0014.308 3.77c4.855 1.085 9.624 2.142 14.308 3.17 4.683 1.028 8.881 2.37 12.594 4.027 3.713 1.656 6.683 3.798 8.91 6.425 2.228 2.628 3.342 6.055 3.342 10.281 0 4.456-.914 8.111-2.742 10.967a19.953 19.953 0 01-7.197 6.768c-2.97 1.657-6.311 2.828-10.024 3.513a60.771 60.771 0 01-11.052 1.028c-4.57 0-9.025-.571-13.366-1.713-4.34-1.143-8.139-2.913-11.394-5.312-3.256-2.4-5.884-5.455-7.883-9.168-1.999-3.712-2.998-8.139-2.998-13.28H15c0 7.426 1.342 13.852 4.027 19.278 2.684 5.426 6.34 9.881 10.966 13.365 4.627 3.484 9.996 6.083 16.107 7.797 6.112 1.713 12.595 2.57 19.449 2.57 5.597 0 11.223-.657 16.878-1.97 5.655-1.314 10.767-3.428 15.336-6.34 4.57-2.914 8.31-6.683 11.224-11.31 2.913-4.626 4.37-10.195 4.37-16.707 0-6.054-1.115-11.08-3.342-15.079-2.228-3.998-5.198-7.31-8.91-9.938-3.713-2.627-7.911-4.712-12.595-6.254a170.83 170.83 0 00-14.308-4.027 549.669 549.669 0 00-14.308-3.17c-4.683-.971-8.881-2.2-12.594-3.684-3.713-1.485-6.683-3.399-8.91-5.74-2.228-2.342-3.342-5.398-3.342-9.168 0-3.998.771-7.34 2.313-10.024 1.543-2.685 3.599-4.826 6.17-6.426 2.57-1.599 5.51-2.741 8.824-3.427a49.767 49.767 0 0110.11-1.028c8.453 0 15.393 1.97 20.819 5.912 5.426 3.94 8.596 10.31 9.51 19.106z\\\"/><path d=\\\"M5 54h118v16H5z\\\"/></g></svg>\"},\"$:/core/images/subscript\":{\"title\":\"$:/core/images/subscript\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-subscript tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M2.272 16h19.91l21.649 33.675L66.414 16h18.708L53.585 61.969l33.809 49.443H67.082L43.296 74.93l-24.187 36.48H0L33.808 61.97 2.272 16zM127.91 128.412H85.328c.059-5.168 1.306-9.681 3.741-13.542 2.435-3.86 5.761-7.216 9.978-10.066a112.388 112.388 0 016.325-4.321 50.09 50.09 0 006.058-4.499c1.841-1.603 3.356-3.34 4.543-5.211 1.188-1.871 1.812-4.024 1.871-6.46 0-1.128-.133-2.33-.4-3.607a9.545 9.545 0 00-1.56-3.564c-.772-1.098-1.84-2.019-3.207-2.761-1.366-.743-3.148-1.114-5.345-1.114-2.02 0-3.697.4-5.033 1.203-1.337.801-2.406 1.9-3.208 3.296-.801 1.396-1.395 3.044-1.781 4.944-.386 1.9-.609 3.95-.668 6.147H86.486c0-3.445.46-6.637 1.38-9.577.921-2.94 2.302-5.478 4.143-7.617 1.841-2.138 4.083-3.815 6.726-5.033 2.643-1.217 5.716-1.826 9.22-1.826 3.802 0 6.979.623 9.533 1.87 2.554 1.248 4.617 2.822 6.191 4.722 1.574 1.9 2.688 3.965 3.341 6.192.653 2.227.98 4.35.98 6.37 0 2.494-.386 4.75-1.158 6.77a21.803 21.803 0 01-3.118 5.568 31.516 31.516 0 01-4.454 4.677 66.788 66.788 0 01-5.167 4.009 139.198 139.198 0 01-5.346 3.563 79.237 79.237 0 00-4.944 3.386c-1.514 1.128-2.836 2.3-3.964 3.518-1.129 1.218-1.9 2.51-2.317 3.876h30.379v9.087z\\\"/></svg>\"},\"$:/core/images/superscript\":{\"title\":\"$:/core/images/superscript\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-superscript tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M2.272 16h19.91l21.649 33.675L66.414 16h18.708L53.585 61.969l33.809 49.443H67.082L43.296 74.93l-24.187 36.48H0L33.808 61.97 2.272 16zM127.91 63.412H85.328c.059-5.168 1.306-9.681 3.741-13.542 2.435-3.86 5.761-7.216 9.978-10.066a112.388 112.388 0 016.325-4.321 50.09 50.09 0 006.058-4.499c1.841-1.603 3.356-3.34 4.543-5.211 1.188-1.871 1.812-4.024 1.871-6.46 0-1.128-.133-2.33-.4-3.607a9.545 9.545 0 00-1.56-3.564c-.772-1.098-1.84-2.019-3.207-2.761-1.366-.743-3.148-1.114-5.345-1.114-2.02 0-3.697.4-5.033 1.203-1.337.801-2.406 1.9-3.208 3.296-.801 1.396-1.395 3.044-1.781 4.944-.386 1.9-.609 3.95-.668 6.147H86.486c0-3.445.46-6.637 1.38-9.577.921-2.94 2.302-5.478 4.143-7.617 1.841-2.138 4.083-3.815 6.726-5.033 2.643-1.217 5.716-1.826 9.22-1.826 3.802 0 6.979.623 9.533 1.87 2.554 1.248 4.617 2.822 6.191 4.722 1.574 1.9 2.688 3.965 3.341 6.192.653 2.227.98 4.35.98 6.37 0 2.494-.386 4.75-1.158 6.77a21.803 21.803 0 01-3.118 5.568 31.516 31.516 0 01-4.454 4.677 66.788 66.788 0 01-5.167 4.009 139.198 139.198 0 01-5.346 3.563 79.237 79.237 0 00-4.944 3.386c-1.514 1.128-2.836 2.3-3.964 3.518-1.129 1.218-1.9 2.51-2.317 3.876h30.379v9.087z\\\"/></svg>\"},\"$:/core/images/tag-button\":{\"title\":\"$:/core/images/tag-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-tag-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M18.164 47.66l.004 4.105c.003 3.823 2.19 9.097 4.885 11.792l61.85 61.85c2.697 2.697 7.068 2.69 9.769-.01L125.767 94.3a6.903 6.903 0 00.01-9.77L63.928 22.683c-2.697-2.697-7.976-4.88-11.796-4.881l-27.076-.007a6.902 6.902 0 00-6.91 6.91l.008 9.96.287.033c3.73.411 8.489-.044 13.365-1.153a9.702 9.702 0 0111.14-3.662l.291-.13.128.285a9.7 9.7 0 013.3 2.17c3.796 3.796 3.801 9.945.012 13.734-3.618 3.618-9.386 3.777-13.204.482-5.365 1.122-10.674 1.596-15.309 1.237z\\\"/><path d=\\\"M47.633 39.532l.023.051c-9.689 4.356-21.584 6.799-30.396 5.828C5.273 44.089-1.028 36.43 2.443 24.078 5.562 12.976 14.3 4.361 24.047 1.548c10.68-3.083 19.749 1.968 19.749 13.225h-8.623c0-4.859-3.078-6.573-8.735-4.94-6.91 1.995-13.392 8.383-15.694 16.577-1.915 6.818.417 9.653 7.46 10.43 7.126.785 17.531-1.352 25.917-5.121l.027.06.036-.017c1.76-.758 6.266 6.549 3.524 7.74a2.8 2.8 0 01-.075.03z\\\"/></g></svg>\"},\"$:/core/images/theme-button\":{\"title\":\"$:/core/images/theme-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-theme-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M55.854 66.945a122.626 122.626 0 01-3.9-4.819c-11.064-14.548-16.645-6.888-22.96 0-6.315 6.888 1.664 12.47-4.33 17.335-5.993 4.866-5.623 6.552-15.737-2.35-10.115-8.9-10.815-11.351-6.172-16.43 4.644-5.08 8.524 2.918 18.01-6.108 9.485-9.026 1.517-17.026 1.517-17.026S42.03-2.824 68.42.157c26.39 2.982-9.984-3.86-19.031 27.801-3.874 13.556.72 10.362 8.066 16.087 1.707 1.33 6.428 4.732 12.671 9.318-6.129 5.879-11.157 10.669-14.273 13.582zm11.641 12.947c16.013 17.036 37.742 37.726 45.117 40.42 10.432 3.813 15.388-3.141 15.388-14.79 0-7.151-23.83-26.542-43.924-41.769-7.408 7.156-13.376 12.953-16.58 16.139z\\\"/><path d=\\\"M11.069 109.828L46.31 74.587a3.56 3.56 0 115.037-5.032l15.098 15.098a3.56 3.56 0 11-5.032 5.037l-35.24 35.241c-4.171 4.17-10.933 4.17-15.104 0-4.17-4.17-4.17-10.933 0-15.103zM124.344 6.622l5.034 5.034-7.49 12.524-7.613 2.58L61.413 79.62l-5.034-5.034 52.861-52.862 2.58-7.614 12.524-7.49z\\\"/></g></svg>\"},\"$:/core/images/timestamp-off\":{\"title\":\"$:/core/images/timestamp-off\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-timestamp-off tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M58.25 11C26.08 11 0 37.082 0 69.25s26.08 58.25 58.25 58.25c32.175 0 58.25-26.082 58.25-58.25S90.425 11 58.25 11zm0 100.5C34.914 111.5 16 92.586 16 69.25 16 45.92 34.914 27 58.25 27s42.25 18.92 42.25 42.25c0 23.336-18.914 42.25-42.25 42.25zM49.704 10a5 5 0 010-10H66.69a5 5 0 015 5c.006 2.757-2.238 5-5 5H49.705z\\\"/><path d=\\\"M58.25 35.88c-18.777 0-33.998 15.224-33.998 33.998 0 18.773 15.22 34.002 33.998 34.002 18.784 0 34.002-15.23 34.002-34.002 0-18.774-15.218-33.998-34.002-33.998zm-3.03 50.123H44.196v-34H55.22v34zm16.976 0H61.17v-34h11.025v34z\\\"/></g></svg>\"},\"$:/core/images/timestamp-on\":{\"title\":\"$:/core/images/timestamp-on\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-timestamp-on tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M58.25 11C26.08 11 0 37.082 0 69.25s26.08 58.25 58.25 58.25c32.175 0 58.25-26.082 58.25-58.25S90.425 11 58.25 11zm0 100.5C34.914 111.5 16 92.586 16 69.25 16 45.92 34.914 27 58.25 27s42.25 18.92 42.25 42.25c0 23.336-18.914 42.25-42.25 42.25zM49.704 10a5 5 0 010-10H66.69a5 5 0 015 5c.006 2.757-2.238 5-5 5H49.705z\\\"/><path d=\\\"M13.41 27.178a5.005 5.005 0 01-7.045-.613 5.008 5.008 0 01.616-7.047l9.95-8.348a5 5 0 016.429 7.661l-9.95 8.348zm89.573 0a5.005 5.005 0 007.045-.613 5.008 5.008 0 00-.616-7.047l-9.95-8.348a5 5 0 00-6.428 7.661l9.95 8.348zM65.097 71.072c0 3.826-3.09 6.928-6.897 6.928-3.804.006-6.9-3.102-6.903-6.928 0 0 4.76-39.072 6.903-39.072s6.897 39.072 6.897 39.072z\\\"/></g></svg>\"},\"$:/core/images/tip\":{\"title\":\"$:/core/images/tip\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-tip tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M64 128.242c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64-35.346 0-64 28.654-64 64 0 35.346 28.654 64 64 64zm11.936-36.789c-.624 4.129-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349C54.33 94.05 58.824 95.82 64 95.82c5.175 0 9.67-1.769 11.936-4.366zm0 4.492c-.624 4.13-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zm0 4.456c-.624 4.129-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zm0 4.492c-.624 4.13-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zM64.3 24.242c11.618 0 23.699 7.82 23.699 24.2S75.92 71.754 75.92 83.576c0 5.873-5.868 9.26-11.92 9.26s-12.027-3.006-12.027-9.26C51.973 71.147 40 65.47 40 48.442s12.683-24.2 24.301-24.2z\\\"/></svg>\"},\"$:/core/images/transcludify\":{\"title\":\"$:/core/images/transcludify\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-transcludify-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M0 59.482c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 002.75-.932 6.762 6.762 0 002.306-1.907c.651-.828.976-1.863.976-3.104V35.709c0-2.01.414-3.74 1.242-5.19.828-1.448 1.833-2.66 3.016-3.636s2.425-1.7 3.726-2.173c1.3-.473 2.424-.71 3.37-.71h8.073v7.451h-4.88c-1.241 0-2.232.207-2.97.621-.74.414-1.302.932-1.686 1.552a4.909 4.909 0 00-.71 1.996c-.089.71-.133 1.39-.133 2.04v16.677c0 1.715-.325 3.134-.976 4.258-.65 1.123-1.434 2.025-2.35 2.705-.917.68-1.863 1.168-2.839 1.464-.976.296-1.818.473-2.528.532v.178c.71.059 1.552.207 2.528.443.976.237 1.922.68 2.839 1.33.916.651 1.7 1.583 2.35 2.795.65 1.212.976 2.853.976 4.923v16.144c0 .65.044 1.33.133 2.04.089.71.325 1.375.71 1.996.384.621.946 1.139 1.685 1.553.74.414 1.73.62 2.972.62h4.879v7.452h-8.073c-.946 0-2.07-.237-3.37-.71-1.301-.473-2.543-1.197-3.726-2.173-1.183-.976-2.188-2.188-3.016-3.637-.828-1.449-1.242-3.179-1.242-5.19V74.119c0-1.42-.325-2.572-.976-3.46-.65-.886-1.419-1.581-2.306-2.084a8.868 8.868 0 00-2.75-1.02C1.36 67.377.591 67.288 0 67.288v-7.806zm24.66 0c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 002.75-.932 6.762 6.762 0 002.306-1.907c.65-.828.976-1.863.976-3.104V35.709c0-2.01.414-3.74 1.242-5.19.828-1.448 1.833-2.66 3.016-3.636s2.425-1.7 3.726-2.173c1.3-.473 2.424-.71 3.37-.71h8.073v7.451h-4.88c-1.241 0-2.232.207-2.97.621-.74.414-1.302.932-1.686 1.552a4.909 4.909 0 00-.71 1.996c-.089.71-.133 1.39-.133 2.04v16.677c0 1.715-.325 3.134-.976 4.258-.65 1.123-1.434 2.025-2.35 2.705-.917.68-1.863 1.168-2.839 1.464-.976.296-1.818.473-2.528.532v.178c.71.059 1.552.207 2.528.443.976.237 1.922.68 2.839 1.33.916.651 1.7 1.583 2.35 2.795.65 1.212.976 2.853.976 4.923v16.144c0 .65.044 1.33.133 2.04.089.71.325 1.375.71 1.996.384.621.946 1.139 1.685 1.553.74.414 1.73.62 2.972.62h4.879v7.452h-8.073c-.946 0-2.07-.237-3.37-.71-1.301-.473-2.543-1.197-3.726-2.173-1.183-.976-2.188-2.188-3.016-3.637-.828-1.449-1.242-3.179-1.242-5.19V74.119c0-1.42-.325-2.572-.976-3.46-.65-.886-1.419-1.581-2.306-2.084a8.868 8.868 0 00-2.75-1.02c-.946-.177-1.715-.266-2.306-.266v-7.806zm43.965-3.538L80.6 52.041l2.306 7.097-12.063 3.903 7.628 10.378-6.12 4.435-7.63-10.467-7.45 10.201-5.943-4.524 7.628-10.023-12.152-4.17 2.306-7.096 12.064 4.17V43.347h7.451v12.596zm34.425 11.344c-.65 0-1.449.089-2.395.266-.946.177-1.863.488-2.75.931a6.356 6.356 0 00-2.262 1.908c-.62.828-.931 1.862-.931 3.104v17.564c0 2.01-.414 3.74-1.242 5.189-.828 1.449-1.833 2.661-3.016 3.637s-2.425 1.7-3.726 2.173c-1.3.473-2.424.71-3.37.71h-8.073v-7.451h4.88c1.241 0 2.232-.207 2.97-.621.74-.414 1.302-.932 1.686-1.553a4.9 4.9 0 00.71-1.995c.089-.71.133-1.39.133-2.04V72.432c0-1.715.325-3.134.976-4.258.65-1.124 1.434-2.01 2.35-2.661.917-.65 1.863-1.124 2.839-1.42.976-.295 1.818-.502 2.528-.62v-.178c-.71-.059-1.552-.207-2.528-.443-.976-.237-1.922-.68-2.839-1.33-.916-.651-1.7-1.583-2.35-2.795-.65-1.212-.976-2.853-.976-4.923V37.66c0-.651-.044-1.331-.133-2.04a4.909 4.909 0 00-.71-1.997c-.384-.62-.946-1.138-1.685-1.552-.74-.414-1.73-.62-2.972-.62h-4.879V24h8.073c.946 0 2.07.237 3.37.71 1.301.473 2.543 1.197 3.726 2.173 1.183.976 2.188 2.188 3.016 3.637.828 1.449 1.242 3.178 1.242 5.189v16.943c0 1.419.31 2.572.931 3.46a6.897 6.897 0 002.262 2.084 8.868 8.868 0 002.75 1.02c.946.177 1.745.266 2.395.266v7.806zm24.66 0c-.65 0-1.449.089-2.395.266-.946.177-1.863.488-2.75.931a6.356 6.356 0 00-2.262 1.908c-.62.828-.931 1.862-.931 3.104v17.564c0 2.01-.414 3.74-1.242 5.189-.828 1.449-1.833 2.661-3.016 3.637s-2.425 1.7-3.726 2.173c-1.3.473-2.424.71-3.37.71h-8.073v-7.451h4.88c1.241 0 2.232-.207 2.97-.621.74-.414 1.302-.932 1.686-1.553a4.9 4.9 0 00.71-1.995c.089-.71.133-1.39.133-2.04V72.432c0-1.715.325-3.134.976-4.258.65-1.124 1.434-2.01 2.35-2.661.917-.65 1.863-1.124 2.839-1.42.976-.295 1.818-.502 2.528-.62v-.178c-.71-.059-1.552-.207-2.528-.443-.976-.237-1.922-.68-2.839-1.33-.916-.651-1.7-1.583-2.35-2.795-.65-1.212-.976-2.853-.976-4.923V37.66c0-.651-.044-1.331-.133-2.04a4.909 4.909 0 00-.71-1.997c-.384-.62-.946-1.138-1.685-1.552-.74-.414-1.73-.62-2.972-.62h-4.879V24h8.073c.946 0 2.07.237 3.37.71 1.301.473 2.543 1.197 3.726 2.173 1.183.976 2.188 2.188 3.016 3.637.828 1.449 1.242 3.178 1.242 5.189v16.943c0 1.419.31 2.572.931 3.46a6.897 6.897 0 002.262 2.084 8.868 8.868 0 002.75 1.02c.946.177 1.745.266 2.395.266v7.806z\\\"/></svg>\"},\"$:/core/images/twitter\":{\"title\":\"$:/core/images/twitter\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-twitter tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M41.626 115.803A73.376 73.376 0 012 104.235c2.022.238 4.08.36 6.166.36 12.111 0 23.258-4.117 32.105-11.023-11.312-.208-20.859-7.653-24.148-17.883a25.98 25.98 0 0011.674-.441C15.971 72.881 7.061 62.474 7.061 49.997c0-.108 0-.216.002-.323a25.824 25.824 0 0011.709 3.22c-6.936-4.617-11.5-12.5-11.5-21.433 0-4.719 1.274-9.142 3.5-12.945 12.75 15.579 31.797 25.83 53.281 26.904-.44-1.884-.67-3.85-.67-5.868 0-14.22 11.575-25.75 25.852-25.75a25.865 25.865 0 0118.869 8.132 51.892 51.892 0 0016.415-6.248c-1.93 6.012-6.029 11.059-11.366 14.246A51.844 51.844 0 00128 25.878a52.428 52.428 0 01-12.9 13.33c.05 1.104.075 2.214.075 3.33 0 34.028-26 73.265-73.549 73.265\\\"/></svg>\"},\"$:/core/images/underline\":{\"title\":\"$:/core/images/underline\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-underline tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M7 117.421h114.248V128H7v-10.579zm97.871-18.525V0h-16.26v55.856c0 4.463-.605 8.576-1.816 12.338-1.212 3.762-3.03 7.046-5.452 9.851-2.423 2.806-5.452 4.974-9.086 6.504-3.635 1.53-7.939 2.296-12.912 2.296-6.25 0-11.159-1.786-14.73-5.356-3.57-3.571-5.356-8.417-5.356-14.538V0H23v65.038c0 5.356.542 10.234 1.626 14.633 1.084 4.4 2.965 8.194 5.643 11.382 2.678 3.188 6.185 5.643 10.52 7.365 4.337 1.721 9.756 2.582 16.26 2.582 7.27 0 13.582-1.435 18.938-4.304 5.356-2.87 9.755-7.365 13.199-13.486h.382v15.686h15.303z\\\"/></svg>\"},\"$:/core/images/unfold-all-button\":{\"title\":\"$:/core/images/unfold-all-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-unfold-all tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/><rect width=\\\"128\\\" height=\\\"16\\\" y=\\\"64\\\" rx=\\\"8\\\"/><path d=\\\"M63.945 60.624c-2.05 0-4.101-.78-5.666-2.345L35.662 35.662c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L63.94 41.314l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.603 58.279a7.986 7.986 0 01-5.663 2.346zM64.004 124.565c-2.05 0-4.102-.78-5.666-2.345L35.721 99.603c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.191-3.122 11.318.005L64 105.255l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.662 122.22a7.986 7.986 0 01-5.663 2.346z\\\"/></g></svg>\"},\"$:/core/images/unfold-button\":{\"title\":\"$:/core/images/unfold-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-unfold tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><g fill-rule=\\\"evenodd\\\"><rect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/><path d=\\\"M63.945 63.624c-2.05 0-4.101-.78-5.666-2.345L35.662 38.662c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L63.94 44.314l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.603 61.279a7.986 7.986 0 01-5.663 2.346zM64.004 105.682c-2.05.001-4.102-.78-5.666-2.344L35.721 80.721c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.191-3.122 11.318.005L64 86.373l16.966-16.966c3.124-3.125 8.194-3.13 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319l-22.617 22.617a7.986 7.986 0 01-5.663 2.346z\\\"/></g></svg>\"},\"$:/core/images/unlocked-padlock\":{\"title\":\"$:/core/images/unlocked-padlock\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-unlocked-padlock tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M48.627 64H105v32.01C105 113.674 90.674 128 73.001 128H56C38.318 128 24 113.677 24 96.01V64h6.136c-10.455-12.651-27.364-35.788-4.3-55.142 24.636-20.672 45.835 4.353 55.777 16.201 9.943 11.85-2.676 22.437-12.457 9.892-9.78-12.545-21.167-24.146-33.207-14.043-12.041 10.104-1.757 22.36 8.813 34.958 2.467 2.94 3.641 5.732 3.865 8.134zm19.105 28.364A8.503 8.503 0 0064.5 76a8.5 8.5 0 00-3.498 16.25l-5.095 22.77H72.8l-5.07-22.656z\\\"/></svg>\"},\"$:/core/images/up-arrow\":{\"title\":\"$:/core/images/up-arrow\",\"created\":\"20150316000544368\",\"modified\":\"20150316000831867\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-up-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path d=\\\"M63.892.281c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.104 3.092-11.196 0L63.894 19.393 13.513 69.774a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98A7.892 7.892 0 0163.893.28z\\\"/></svg>\"},\"$:/core/images/video\":{\"title\":\"$:/core/images/video\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-video tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M64 12c-34.91 0-55.273 2.917-58.182 5.833C2.91 20.75 0 41.167 0 64.5c0 23.333 2.91 43.75 5.818 46.667C8.728 114.083 29.091 117 64 117c34.91 0 55.273-2.917 58.182-5.833C125.09 108.25 128 87.833 128 64.5c0-23.333-2.91-43.75-5.818-46.667C119.272 14.917 98.909 12 64 12zm-9.084 32.618c-3.813-2.542-6.905-.879-6.905 3.698v31.368c0 4.585 3.099 6.235 6.905 3.698l22.168-14.779c3.813-2.542 3.806-6.669 0-9.206L54.916 44.618z\\\"/></svg>\"},\"$:/core/images/warning\":{\"title\":\"$:/core/images/warning\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-warning tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M57.072 11c3.079-5.333 10.777-5.333 13.856 0l55.426 96c3.079 5.333-.77 12-6.928 12H8.574c-6.158 0-10.007-6.667-6.928-12l55.426-96zM64 37c-4.418 0-8 3.582-8 7.994v28.012C56 77.421 59.59 81 64 81c4.418 0 8-3.582 8-7.994V44.994C72 40.579 68.41 37 64 37zm0 67a8 8 0 100-16 8 8 0 000 16z\\\"/></svg>\"},\"$:/language/Buttons/AdvancedSearch/Caption\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Caption\",\"text\":\"advanced search\"},\"$:/language/Buttons/AdvancedSearch/Hint\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Hint\",\"text\":\"Advanced search\"},\"$:/language/Buttons/Cancel/Caption\":{\"title\":\"$:/language/Buttons/Cancel/Caption\",\"text\":\"cancel\"},\"$:/language/Buttons/Cancel/Hint\":{\"title\":\"$:/language/Buttons/Cancel/Hint\",\"text\":\"Discard changes to this tiddler\"},\"$:/language/Buttons/Clone/Caption\":{\"title\":\"$:/language/Buttons/Clone/Caption\",\"text\":\"clone\"},\"$:/language/Buttons/Clone/Hint\":{\"title\":\"$:/language/Buttons/Clone/Hint\",\"text\":\"Clone this tiddler\"},\"$:/language/Buttons/Close/Caption\":{\"title\":\"$:/language/Buttons/Close/Caption\",\"text\":\"close\"},\"$:/language/Buttons/Close/Hint\":{\"title\":\"$:/language/Buttons/Close/Hint\",\"text\":\"Close this tiddler\"},\"$:/language/Buttons/CloseAll/Caption\":{\"title\":\"$:/language/Buttons/CloseAll/Caption\",\"text\":\"close all\"},\"$:/language/Buttons/CloseAll/Hint\":{\"title\":\"$:/language/Buttons/CloseAll/Hint\",\"text\":\"Close all tiddlers\"},\"$:/language/Buttons/CloseOthers/Caption\":{\"title\":\"$:/language/Buttons/CloseOthers/Caption\",\"text\":\"close others\"},\"$:/language/Buttons/CloseOthers/Hint\":{\"title\":\"$:/language/Buttons/CloseOthers/Hint\",\"text\":\"Close other tiddlers\"},\"$:/language/Buttons/ControlPanel/Caption\":{\"title\":\"$:/language/Buttons/ControlPanel/Caption\",\"text\":\"control panel\"},\"$:/language/Buttons/ControlPanel/Hint\":{\"title\":\"$:/language/Buttons/ControlPanel/Hint\",\"text\":\"Open control panel\"},\"$:/language/Buttons/CopyToClipboard/Caption\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Caption\",\"text\":\"copy to clipboard\"},\"$:/language/Buttons/CopyToClipboard/Hint\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Hint\",\"text\":\"Copy this text to the clipboard\"},\"$:/language/Buttons/Delete/Caption\":{\"title\":\"$:/language/Buttons/Delete/Caption\",\"text\":\"delete\"},\"$:/language/Buttons/Delete/Hint\":{\"title\":\"$:/language/Buttons/Delete/Hint\",\"text\":\"Delete this tiddler\"},\"$:/language/Buttons/DeleteTiddlers/Caption\":{\"title\":\"$:/language/Buttons/DeleteTiddlers/Caption\",\"text\":\"delete tiddlers\"},\"$:/language/Buttons/DeleteTiddlers/Hint\":{\"title\":\"$:/language/Buttons/DeleteTiddlers/Hint\",\"text\":\"Delete tiddlers\"},\"$:/language/Buttons/Edit/Caption\":{\"title\":\"$:/language/Buttons/Edit/Caption\",\"text\":\"edit\"},\"$:/language/Buttons/Edit/Hint\":{\"title\":\"$:/language/Buttons/Edit/Hint\",\"text\":\"Edit this tiddler\"},\"$:/language/Buttons/Encryption/Caption\":{\"title\":\"$:/language/Buttons/Encryption/Caption\",\"text\":\"encryption\"},\"$:/language/Buttons/Encryption/Hint\":{\"title\":\"$:/language/Buttons/Encryption/Hint\",\"text\":\"Set or clear a password for saving this wiki\"},\"$:/language/Buttons/Encryption/ClearPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Caption\",\"text\":\"clear password\"},\"$:/language/Buttons/Encryption/ClearPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Hint\",\"text\":\"Clear the password and save this wiki without encryption\"},\"$:/language/Buttons/Encryption/SetPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Caption\",\"text\":\"set password\"},\"$:/language/Buttons/Encryption/SetPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Hint\",\"text\":\"Set a password for saving this wiki with encryption\"},\"$:/language/Buttons/EmergencyDownload/Caption\":{\"title\":\"$:/language/Buttons/EmergencyDownload/Caption\",\"text\":\"download tiddlers as json\"},\"$:/language/Buttons/ExportPage/Caption\":{\"title\":\"$:/language/Buttons/ExportPage/Caption\",\"text\":\"export all\"},\"$:/language/Buttons/ExportPage/Hint\":{\"title\":\"$:/language/Buttons/ExportPage/Hint\",\"text\":\"Export all tiddlers\"},\"$:/language/Buttons/ExportTiddler/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddler/Caption\",\"text\":\"export tiddler\"},\"$:/language/Buttons/ExportTiddler/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddler/Hint\",\"text\":\"Export tiddler\"},\"$:/language/Buttons/ExportTiddlers/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Caption\",\"text\":\"export tiddlers\"},\"$:/language/Buttons/ExportTiddlers/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Hint\",\"text\":\"Export tiddlers\"},\"$:/language/Buttons/SidebarSearch/Hint\":{\"title\":\"$:/language/Buttons/SidebarSearch/Hint\",\"text\":\"Select the sidebar search field\"},\"$:/language/Buttons/Fold/Caption\":{\"title\":\"$:/language/Buttons/Fold/Caption\",\"text\":\"fold tiddler\"},\"$:/language/Buttons/Fold/Hint\":{\"title\":\"$:/language/Buttons/Fold/Hint\",\"text\":\"Fold the body of this tiddler\"},\"$:/language/Buttons/Fold/FoldBar/Caption\":{\"title\":\"$:/language/Buttons/Fold/FoldBar/Caption\",\"text\":\"fold-bar\"},\"$:/language/Buttons/Fold/FoldBar/Hint\":{\"title\":\"$:/language/Buttons/Fold/FoldBar/Hint\",\"text\":\"Optional bars to fold and unfold tiddlers\"},\"$:/language/Buttons/Unfold/Caption\":{\"title\":\"$:/language/Buttons/Unfold/Caption\",\"text\":\"unfold tiddler\"},\"$:/language/Buttons/Unfold/Hint\":{\"title\":\"$:/language/Buttons/Unfold/Hint\",\"text\":\"Unfold the body of this tiddler\"},\"$:/language/Buttons/FoldOthers/Caption\":{\"title\":\"$:/language/Buttons/FoldOthers/Caption\",\"text\":\"fold other tiddlers\"},\"$:/language/Buttons/FoldOthers/Hint\":{\"title\":\"$:/language/Buttons/FoldOthers/Hint\",\"text\":\"Fold the bodies of other opened tiddlers\"},\"$:/language/Buttons/FoldAll/Caption\":{\"title\":\"$:/language/Buttons/FoldAll/Caption\",\"text\":\"fold all tiddlers\"},\"$:/language/Buttons/FoldAll/Hint\":{\"title\":\"$:/language/Buttons/FoldAll/Hint\",\"text\":\"Fold the bodies of all opened tiddlers\"},\"$:/language/Buttons/UnfoldAll/Caption\":{\"title\":\"$:/language/Buttons/UnfoldAll/Caption\",\"text\":\"unfold all tiddlers\"},\"$:/language/Buttons/UnfoldAll/Hint\":{\"title\":\"$:/language/Buttons/UnfoldAll/Hint\",\"text\":\"Unfold the bodies of all opened tiddlers\"},\"$:/language/Buttons/FullScreen/Caption\":{\"title\":\"$:/language/Buttons/FullScreen/Caption\",\"text\":\"full-screen\"},\"$:/language/Buttons/FullScreen/Hint\":{\"title\":\"$:/language/Buttons/FullScreen/Hint\",\"text\":\"Enter or leave full-screen mode\"},\"$:/language/Buttons/Help/Caption\":{\"title\":\"$:/language/Buttons/Help/Caption\",\"text\":\"help\"},\"$:/language/Buttons/Help/Hint\":{\"title\":\"$:/language/Buttons/Help/Hint\",\"text\":\"Show help panel\"},\"$:/language/Buttons/Import/Caption\":{\"title\":\"$:/language/Buttons/Import/Caption\",\"text\":\"import\"},\"$:/language/Buttons/Import/Hint\":{\"title\":\"$:/language/Buttons/Import/Hint\",\"text\":\"Import many types of file including text, image, TiddlyWiki or JSON\"},\"$:/language/Buttons/Info/Caption\":{\"title\":\"$:/language/Buttons/Info/Caption\",\"text\":\"info\"},\"$:/language/Buttons/Info/Hint\":{\"title\":\"$:/language/Buttons/Info/Hint\",\"text\":\"Show information for this tiddler\"},\"$:/language/Buttons/Home/Caption\":{\"title\":\"$:/language/Buttons/Home/Caption\",\"text\":\"home\"},\"$:/language/Buttons/Home/Hint\":{\"title\":\"$:/language/Buttons/Home/Hint\",\"text\":\"Open the default tiddlers\"},\"$:/language/Buttons/Language/Caption\":{\"title\":\"$:/language/Buttons/Language/Caption\",\"text\":\"language\"},\"$:/language/Buttons/Language/Hint\":{\"title\":\"$:/language/Buttons/Language/Hint\",\"text\":\"Choose the user interface language\"},\"$:/language/Buttons/LayoutSwitcher/Hint\":{\"title\":\"$:/language/Buttons/LayoutSwitcher/Hint\",\"text\":\"Open layout switcher\"},\"$:/language/Buttons/LayoutSwitcher/Caption\":{\"title\":\"$:/language/Buttons/LayoutSwitcher/Caption\",\"text\":\"layout\"},\"$:/language/Buttons/Manager/Caption\":{\"title\":\"$:/language/Buttons/Manager/Caption\",\"text\":\"tiddler manager\"},\"$:/language/Buttons/Manager/Hint\":{\"title\":\"$:/language/Buttons/Manager/Hint\",\"text\":\"Open tiddler manager\"},\"$:/language/Buttons/More/Caption\":{\"title\":\"$:/language/Buttons/More/Caption\",\"text\":\"more\"},\"$:/language/Buttons/More/Hint\":{\"title\":\"$:/language/Buttons/More/Hint\",\"text\":\"More actions\"},\"$:/language/Buttons/NewHere/Caption\":{\"title\":\"$:/language/Buttons/NewHere/Caption\",\"text\":\"new here\"},\"$:/language/Buttons/NewHere/Hint\":{\"title\":\"$:/language/Buttons/NewHere/Hint\",\"text\":\"Create a new tiddler tagged with this one\"},\"$:/language/Buttons/NetworkActivity/Caption\":{\"title\":\"$:/language/Buttons/NetworkActivity/Caption\",\"text\":\"network activity\"},\"$:/language/Buttons/NetworkActivity/Hint\":{\"title\":\"$:/language/Buttons/NetworkActivity/Hint\",\"text\":\"Cancel all network activity\"},\"$:/language/Buttons/NewJournal/Caption\":{\"title\":\"$:/language/Buttons/NewJournal/Caption\",\"text\":\"new journal\"},\"$:/language/Buttons/NewJournal/Hint\":{\"title\":\"$:/language/Buttons/NewJournal/Hint\",\"text\":\"Create a new journal tiddler\"},\"$:/language/Buttons/NewJournalHere/Caption\":{\"title\":\"$:/language/Buttons/NewJournalHere/Caption\",\"text\":\"new journal here\"},\"$:/language/Buttons/NewJournalHere/Hint\":{\"title\":\"$:/language/Buttons/NewJournalHere/Hint\",\"text\":\"Create a new journal tiddler tagged with this one\"},\"$:/language/Buttons/NewImage/Caption\":{\"title\":\"$:/language/Buttons/NewImage/Caption\",\"text\":\"new image\"},\"$:/language/Buttons/NewImage/Hint\":{\"title\":\"$:/language/Buttons/NewImage/Hint\",\"text\":\"Create a new image tiddler\"},\"$:/language/Buttons/NewMarkdown/Caption\":{\"title\":\"$:/language/Buttons/NewMarkdown/Caption\",\"text\":\"new Markdown tiddler\"},\"$:/language/Buttons/NewMarkdown/Hint\":{\"title\":\"$:/language/Buttons/NewMarkdown/Hint\",\"text\":\"Create a new Markdown tiddler\"},\"$:/language/Buttons/NewTiddler/Caption\":{\"title\":\"$:/language/Buttons/NewTiddler/Caption\",\"text\":\"new tiddler\"},\"$:/language/Buttons/NewTiddler/Hint\":{\"title\":\"$:/language/Buttons/NewTiddler/Hint\",\"text\":\"Create a new tiddler\"},\"$:/language/Buttons/OpenControlPanel/Hint\":{\"title\":\"$:/language/Buttons/OpenControlPanel/Hint\",\"text\":\"Open control panel\"},\"$:/language/Buttons/OpenWindow/Caption\":{\"title\":\"$:/language/Buttons/OpenWindow/Caption\",\"text\":\"open in new window\"},\"$:/language/Buttons/OpenWindow/Hint\":{\"title\":\"$:/language/Buttons/OpenWindow/Hint\",\"text\":\"Open tiddler in new window\"},\"$:/language/Buttons/Palette/Caption\":{\"title\":\"$:/language/Buttons/Palette/Caption\",\"text\":\"palette\"},\"$:/language/Buttons/Palette/Hint\":{\"title\":\"$:/language/Buttons/Palette/Hint\",\"text\":\"Choose the colour palette\"},\"$:/language/Buttons/Permalink/Caption\":{\"title\":\"$:/language/Buttons/Permalink/Caption\",\"text\":\"permalink\"},\"$:/language/Buttons/Permalink/Hint\":{\"title\":\"$:/language/Buttons/Permalink/Hint\",\"text\":\"Set browser address bar to a direct link to this tiddler\"},\"$:/language/Buttons/Permaview/Caption\":{\"title\":\"$:/language/Buttons/Permaview/Caption\",\"text\":\"permaview\"},\"$:/language/Buttons/Permaview/Hint\":{\"title\":\"$:/language/Buttons/Permaview/Hint\",\"text\":\"Set browser address bar to a direct link to all the tiddlers in this story\"},\"$:/language/Buttons/Print/Caption\":{\"title\":\"$:/language/Buttons/Print/Caption\",\"text\":\"print page\"},\"$:/language/Buttons/Print/Hint\":{\"title\":\"$:/language/Buttons/Print/Hint\",\"text\":\"Print the current page\"},\"$:/language/Buttons/Refresh/Caption\":{\"title\":\"$:/language/Buttons/Refresh/Caption\",\"text\":\"refresh\"},\"$:/language/Buttons/Refresh/Hint\":{\"title\":\"$:/language/Buttons/Refresh/Hint\",\"text\":\"Perform a full refresh of the wiki\"},\"$:/language/Buttons/Save/Caption\":{\"title\":\"$:/language/Buttons/Save/Caption\",\"text\":\"ok\"},\"$:/language/Buttons/Save/Hint\":{\"title\":\"$:/language/Buttons/Save/Hint\",\"text\":\"Confirm changes to this tiddler\"},\"$:/language/Buttons/SaveWiki/Caption\":{\"title\":\"$:/language/Buttons/SaveWiki/Caption\",\"text\":\"save changes\"},\"$:/language/Buttons/SaveWiki/Hint\":{\"title\":\"$:/language/Buttons/SaveWiki/Hint\",\"text\":\"Save changes\"},\"$:/language/Buttons/StoryView/Caption\":{\"title\":\"$:/language/Buttons/StoryView/Caption\",\"text\":\"storyview\"},\"$:/language/Buttons/StoryView/Hint\":{\"title\":\"$:/language/Buttons/StoryView/Hint\",\"text\":\"Choose the story visualisation\"},\"$:/language/Buttons/HideSideBar/Caption\":{\"title\":\"$:/language/Buttons/HideSideBar/Caption\",\"text\":\"hide sidebar\"},\"$:/language/Buttons/HideSideBar/Hint\":{\"title\":\"$:/language/Buttons/HideSideBar/Hint\",\"text\":\"Hide sidebar\"},\"$:/language/Buttons/ShowSideBar/Caption\":{\"title\":\"$:/language/Buttons/ShowSideBar/Caption\",\"text\":\"show sidebar\"},\"$:/language/Buttons/ShowSideBar/Hint\":{\"title\":\"$:/language/Buttons/ShowSideBar/Hint\",\"text\":\"Show sidebar\"},\"$:/language/Buttons/TagManager/Caption\":{\"title\":\"$:/language/Buttons/TagManager/Caption\",\"text\":\"tag manager\"},\"$:/language/Buttons/TagManager/Hint\":{\"title\":\"$:/language/Buttons/TagManager/Hint\",\"text\":\"Open tag manager\"},\"$:/language/Buttons/TestCaseImport/Caption\":{\"title\":\"$:/language/Buttons/TestCaseImport/Caption\",\"text\":\"import tiddlers\"},\"$:/language/Buttons/TestCaseImport/Hint\":{\"title\":\"$:/language/Buttons/TestCaseImport/Hint\",\"text\":\"Import tiddlers\"},\"$:/language/Buttons/Timestamp/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Caption\",\"text\":\"timestamps\"},\"$:/language/Buttons/Timestamp/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Hint\",\"text\":\"Choose whether modifications update timestamps\"},\"$:/language/Buttons/Timestamp/On/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/On/Caption\",\"text\":\"timestamps are on\"},\"$:/language/Buttons/Timestamp/On/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/On/Hint\",\"text\":\"Update timestamps when tiddlers are modified\"},\"$:/language/Buttons/Timestamp/Off/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Caption\",\"text\":\"timestamps are off\"},\"$:/language/Buttons/Timestamp/Off/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Hint\",\"text\":\"Don't update timestamps when tiddlers are modified\"},\"$:/language/Buttons/Theme/Caption\":{\"title\":\"$:/language/Buttons/Theme/Caption\",\"text\":\"theme\"},\"$:/language/Buttons/Theme/Hint\":{\"title\":\"$:/language/Buttons/Theme/Hint\",\"text\":\"Choose the display theme\"},\"$:/language/Buttons/Bold/Caption\":{\"title\":\"$:/language/Buttons/Bold/Caption\",\"text\":\"bold\"},\"$:/language/Buttons/Bold/Hint\":{\"title\":\"$:/language/Buttons/Bold/Hint\",\"text\":\"Apply bold formatting to selection\"},\"$:/language/Buttons/Clear/Caption\":{\"title\":\"$:/language/Buttons/Clear/Caption\",\"text\":\"clear\"},\"$:/language/Buttons/Clear/Hint\":{\"title\":\"$:/language/Buttons/Clear/Hint\",\"text\":\"Clear image to solid colour\"},\"$:/language/Buttons/EditorHeight/Caption\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption\",\"text\":\"editor height\"},\"$:/language/Buttons/EditorHeight/Caption/Auto\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Auto\",\"text\":\"Automatically adjust height to fit content\"},\"$:/language/Buttons/EditorHeight/Caption/Fixed\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Fixed\",\"text\":\"Fixed height:\"},\"$:/language/Buttons/EditorHeight/Hint\":{\"title\":\"$:/language/Buttons/EditorHeight/Hint\",\"text\":\"Choose the height of the text editor\"},\"$:/language/Buttons/Excise/Caption\":{\"title\":\"$:/language/Buttons/Excise/Caption\",\"text\":\"excise\"},\"$:/language/Buttons/Excise/Caption/Excise\":{\"title\":\"$:/language/Buttons/Excise/Caption/Excise\",\"text\":\"Perform excision\"},\"$:/language/Buttons/Excise/Caption/MacroName\":{\"title\":\"$:/language/Buttons/Excise/Caption/MacroName\",\"text\":\"Macro name:\"},\"$:/language/Buttons/Excise/Caption/NewTitle\":{\"title\":\"$:/language/Buttons/Excise/Caption/NewTitle\",\"text\":\"Title of new tiddler:\"},\"$:/language/Buttons/Excise/Caption/Replace\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace\",\"text\":\"Replace excised text with:\"},\"$:/language/Buttons/Excise/Caption/Replace/Macro\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Macro\",\"text\":\"macro\"},\"$:/language/Buttons/Excise/Caption/Replace/Link\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Link\",\"text\":\"link\"},\"$:/language/Buttons/Excise/Caption/Replace/Transclusion\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Transclusion\",\"text\":\"transclusion\"},\"$:/language/Buttons/Excise/Caption/Tag\":{\"title\":\"$:/language/Buttons/Excise/Caption/Tag\",\"text\":\"Tag new tiddler with the title of this tiddler\"},\"$:/language/Buttons/Excise/Caption/TiddlerExists\":{\"title\":\"$:/language/Buttons/Excise/Caption/TiddlerExists\",\"text\":\"Warning: tiddler already exists\"},\"$:/language/Buttons/Excise/DefaultTitle\":{\"title\":\"$:/language/Buttons/Excise/DefaultTitle\",\"text\":\"New Excision\"},\"$:/language/Buttons/Excise/Hint\":{\"title\":\"$:/language/Buttons/Excise/Hint\",\"text\":\"Excise the selected text into a new tiddler\"},\"$:/language/Buttons/Heading1/Caption\":{\"title\":\"$:/language/Buttons/Heading1/Caption\",\"text\":\"heading 1\"},\"$:/language/Buttons/Heading1/Hint\":{\"title\":\"$:/language/Buttons/Heading1/Hint\",\"text\":\"Apply heading level 1 formatting to lines containing selection\"},\"$:/language/Buttons/Heading2/Caption\":{\"title\":\"$:/language/Buttons/Heading2/Caption\",\"text\":\"heading 2\"},\"$:/language/Buttons/Heading2/Hint\":{\"title\":\"$:/language/Buttons/Heading2/Hint\",\"text\":\"Apply heading level 2 formatting to lines containing selection\"},\"$:/language/Buttons/Heading3/Caption\":{\"title\":\"$:/language/Buttons/Heading3/Caption\",\"text\":\"heading 3\"},\"$:/language/Buttons/Heading3/Hint\":{\"title\":\"$:/language/Buttons/Heading3/Hint\",\"text\":\"Apply heading level 3 formatting to lines containing selection\"},\"$:/language/Buttons/Heading4/Caption\":{\"title\":\"$:/language/Buttons/Heading4/Caption\",\"text\":\"heading 4\"},\"$:/language/Buttons/Heading4/Hint\":{\"title\":\"$:/language/Buttons/Heading4/Hint\",\"text\":\"Apply heading level 4 formatting to lines containing selection\"},\"$:/language/Buttons/Heading5/Caption\":{\"title\":\"$:/language/Buttons/Heading5/Caption\",\"text\":\"heading 5\"},\"$:/language/Buttons/Heading5/Hint\":{\"title\":\"$:/language/Buttons/Heading5/Hint\",\"text\":\"Apply heading level 5 formatting to lines containing selection\"},\"$:/language/Buttons/Heading6/Caption\":{\"title\":\"$:/language/Buttons/Heading6/Caption\",\"text\":\"heading 6\"},\"$:/language/Buttons/Heading6/Hint\":{\"title\":\"$:/language/Buttons/Heading6/Hint\",\"text\":\"Apply heading level 6 formatting to lines containing selection\"},\"$:/language/Buttons/Italic/Caption\":{\"title\":\"$:/language/Buttons/Italic/Caption\",\"text\":\"italic\"},\"$:/language/Buttons/Italic/Hint\":{\"title\":\"$:/language/Buttons/Italic/Hint\",\"text\":\"Apply italic formatting to selection\"},\"$:/language/Buttons/LineWidth/Caption\":{\"title\":\"$:/language/Buttons/LineWidth/Caption\",\"text\":\"line width\"},\"$:/language/Buttons/LineWidth/Hint\":{\"title\":\"$:/language/Buttons/LineWidth/Hint\",\"text\":\"Set line width for painting\"},\"$:/language/Buttons/Link/Caption\":{\"title\":\"$:/language/Buttons/Link/Caption\",\"text\":\"link\"},\"$:/language/Buttons/Link/Hint\":{\"title\":\"$:/language/Buttons/Link/Hint\",\"text\":\"Create wikitext link\"},\"$:/language/Buttons/Linkify/Caption\":{\"title\":\"$:/language/Buttons/Linkify/Caption\",\"text\":\"wikilink\"},\"$:/language/Buttons/Linkify/Hint\":{\"title\":\"$:/language/Buttons/Linkify/Hint\",\"text\":\"Wrap selection in square brackets\"},\"$:/language/Buttons/ListBullet/Caption\":{\"title\":\"$:/language/Buttons/ListBullet/Caption\",\"text\":\"bulleted list\"},\"$:/language/Buttons/ListBullet/Hint\":{\"title\":\"$:/language/Buttons/ListBullet/Hint\",\"text\":\"Apply bulleted list formatting to lines containing selection\"},\"$:/language/Buttons/ListNumber/Caption\":{\"title\":\"$:/language/Buttons/ListNumber/Caption\",\"text\":\"numbered list\"},\"$:/language/Buttons/ListNumber/Hint\":{\"title\":\"$:/language/Buttons/ListNumber/Hint\",\"text\":\"Apply numbered list formatting to lines containing selection\"},\"$:/language/Buttons/MonoBlock/Caption\":{\"title\":\"$:/language/Buttons/MonoBlock/Caption\",\"text\":\"monospaced block\"},\"$:/language/Buttons/MonoBlock/Hint\":{\"title\":\"$:/language/Buttons/MonoBlock/Hint\",\"text\":\"Apply monospaced block formatting to lines containing selection\"},\"$:/language/Buttons/MonoLine/Caption\":{\"title\":\"$:/language/Buttons/MonoLine/Caption\",\"text\":\"monospaced\"},\"$:/language/Buttons/MonoLine/Hint\":{\"title\":\"$:/language/Buttons/MonoLine/Hint\",\"text\":\"Apply monospaced character formatting to selection\"},\"$:/language/Buttons/Opacity/Caption\":{\"title\":\"$:/language/Buttons/Opacity/Caption\",\"text\":\"opacity\"},\"$:/language/Buttons/Opacity/Hint\":{\"title\":\"$:/language/Buttons/Opacity/Hint\",\"text\":\"Set painting opacity\"},\"$:/language/Buttons/Paint/Caption\":{\"title\":\"$:/language/Buttons/Paint/Caption\",\"text\":\"paint colour\"},\"$:/language/Buttons/Paint/Hint\":{\"title\":\"$:/language/Buttons/Paint/Hint\",\"text\":\"Set painting colour\"},\"$:/language/Buttons/Picture/Caption\":{\"title\":\"$:/language/Buttons/Picture/Caption\",\"text\":\"picture\"},\"$:/language/Buttons/Picture/Hint\":{\"title\":\"$:/language/Buttons/Picture/Hint\",\"text\":\"Insert picture\"},\"$:/language/Buttons/Preview/Caption\":{\"title\":\"$:/language/Buttons/Preview/Caption\",\"text\":\"preview\"},\"$:/language/Buttons/Preview/Hint\":{\"title\":\"$:/language/Buttons/Preview/Hint\",\"text\":\"Show preview pane\"},\"$:/language/Buttons/PreviewType/Caption\":{\"title\":\"$:/language/Buttons/PreviewType/Caption\",\"text\":\"preview type\"},\"$:/language/Buttons/PreviewType/Hint\":{\"title\":\"$:/language/Buttons/PreviewType/Hint\",\"text\":\"Choose preview type\"},\"$:/language/Buttons/Quote/Caption\":{\"title\":\"$:/language/Buttons/Quote/Caption\",\"text\":\"quote\"},\"$:/language/Buttons/Quote/Hint\":{\"title\":\"$:/language/Buttons/Quote/Hint\",\"text\":\"Apply quoted text formatting to lines containing selection\"},\"$:/language/Buttons/RotateLeft/Caption\":{\"title\":\"$:/language/Buttons/RotateLeft/Caption\",\"text\":\"rotate left\"},\"$:/language/Buttons/RotateLeft/Hint\":{\"title\":\"$:/language/Buttons/RotateLeft/Hint\",\"text\":\"Rotate image left by 90 degrees\"},\"$:/language/Buttons/Size/Caption\":{\"title\":\"$:/language/Buttons/Size/Caption\",\"text\":\"image size\"},\"$:/language/Buttons/Size/Caption/Height\":{\"title\":\"$:/language/Buttons/Size/Caption/Height\",\"text\":\"Height:\"},\"$:/language/Buttons/Size/Caption/Resize\":{\"title\":\"$:/language/Buttons/Size/Caption/Resize\",\"text\":\"Resize image\"},\"$:/language/Buttons/Size/Caption/Width\":{\"title\":\"$:/language/Buttons/Size/Caption/Width\",\"text\":\"Width:\"},\"$:/language/Buttons/Size/Hint\":{\"title\":\"$:/language/Buttons/Size/Hint\",\"text\":\"Set image size\"},\"$:/language/Buttons/Stamp/Caption\":{\"title\":\"$:/language/Buttons/Stamp/Caption\",\"text\":\"stamp\"},\"$:/language/Buttons/Stamp/Caption/New\":{\"title\":\"$:/language/Buttons/Stamp/Caption/New\",\"text\":\"Add your own\"},\"$:/language/Buttons/Stamp/Hint\":{\"title\":\"$:/language/Buttons/Stamp/Hint\",\"text\":\"Insert a preconfigured snippet of text\"},\"$:/language/Buttons/Stamp/New/Title\":{\"title\":\"$:/language/Buttons/Stamp/New/Title\",\"text\":\"Name as shown in menu\"},\"$:/language/Buttons/Stamp/New/Text\":{\"title\":\"$:/language/Buttons/Stamp/New/Text\",\"text\":\"Text of snippet. (Remember to add a descriptive title in the caption field).\"},\"$:/language/Buttons/Strikethrough/Caption\":{\"title\":\"$:/language/Buttons/Strikethrough/Caption\",\"text\":\"strikethrough\"},\"$:/language/Buttons/Strikethrough/Hint\":{\"title\":\"$:/language/Buttons/Strikethrough/Hint\",\"text\":\"Apply strikethrough formatting to selection\"},\"$:/language/Buttons/Subscript/Caption\":{\"title\":\"$:/language/Buttons/Subscript/Caption\",\"text\":\"subscript\"},\"$:/language/Buttons/Subscript/Hint\":{\"title\":\"$:/language/Buttons/Subscript/Hint\",\"text\":\"Apply subscript formatting to selection\"},\"$:/language/Buttons/Superscript/Caption\":{\"title\":\"$:/language/Buttons/Superscript/Caption\",\"text\":\"superscript\"},\"$:/language/Buttons/Superscript/Hint\":{\"title\":\"$:/language/Buttons/Superscript/Hint\",\"text\":\"Apply superscript formatting to selection\"},\"$:/language/Buttons/ToggleSidebar/Hint\":{\"title\":\"$:/language/Buttons/ToggleSidebar/Hint\",\"text\":\"Toggle the sidebar visibility\"},\"$:/language/Buttons/Transcludify/Caption\":{\"title\":\"$:/language/Buttons/Transcludify/Caption\",\"text\":\"transclusion\"},\"$:/language/Buttons/Transcludify/Hint\":{\"title\":\"$:/language/Buttons/Transcludify/Hint\",\"text\":\"Wrap selection in curly brackets\"},\"$:/language/Buttons/Underline/Caption\":{\"title\":\"$:/language/Buttons/Underline/Caption\",\"text\":\"underline\"},\"$:/language/Buttons/Underline/Hint\":{\"title\":\"$:/language/Buttons/Underline/Hint\",\"text\":\"Apply underline formatting to selection\"},\"$:/language/ControlPanel/Advanced/Caption\":{\"title\":\"$:/language/ControlPanel/Advanced/Caption\",\"text\":\"Advanced\"},\"$:/language/ControlPanel/Advanced/Hint\":{\"title\":\"$:/language/ControlPanel/Advanced/Hint\",\"text\":\"Internal information about this TiddlyWiki\"},\"$:/language/ControlPanel/Appearance/Caption\":{\"title\":\"$:/language/ControlPanel/Appearance/Caption\",\"text\":\"Appearance\"},\"$:/language/ControlPanel/Appearance/Hint\":{\"title\":\"$:/language/ControlPanel/Appearance/Hint\",\"text\":\"Ways to customise the appearance of your TiddlyWiki.\"},\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\",\"text\":\"Animation duration\"},\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\",\"text\":\"Default focus field for new tiddlers\"},\"$:/language/ControlPanel/Basics/Caption\":{\"title\":\"$:/language/ControlPanel/Basics/Caption\",\"text\":\"Basics\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\",\"text\":\"Use &#91;&#91;double square brackets&#93;&#93; for titles with spaces. Or you can choose to {{retain story ordering||$:/snippets/retain-story-ordering-button}}\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\",\"text\":\"Default tiddlers\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\",\"text\":\"Choose which tiddlers are displayed at startup\"},\"$:/language/ControlPanel/Basics/Language/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Language/Prompt\",\"text\":\"Hello! Current language:\"},\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\",\"text\":\"Title of new journal tiddlers\"},\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\",\"text\":\"Text for new journal tiddlers\"},\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\",\"text\":\"Tags for new journal tiddlers\"},\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\",\"text\":\"Title of new tiddlers\"},\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\",\"text\":\"Tags for new tiddlers\"},\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\",\"text\":\"Number of overridden shadow tiddlers\"},\"$:/language/ControlPanel/Basics/RemoveTags\":{\"title\":\"$:/language/ControlPanel/Basics/RemoveTags\",\"text\":\"Update to current format\"},\"$:/language/ControlPanel/Basics/RemoveTags/Hint\":{\"title\":\"$:/language/ControlPanel/Basics/RemoveTags/Hint\",\"text\":\"Update the tags configuration to the latest format\"},\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\",\"text\":\"Number of shadow tiddlers\"},\"$:/language/ControlPanel/Basics/Subtitle/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Subtitle/Prompt\",\"text\":\"Subtitle\"},\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\",\"text\":\"Number of system tiddlers\"},\"$:/language/ControlPanel/Basics/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tags/Prompt\",\"text\":\"Number of tags\"},\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\",\"text\":\"Number of tiddlers\"},\"$:/language/ControlPanel/Basics/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Title/Prompt\",\"text\":\"Title of this ~TiddlyWiki\"},\"$:/language/ControlPanel/Basics/Username/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Username/Prompt\",\"text\":\"Username for signing edits\"},\"$:/language/ControlPanel/Basics/Version/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Version/Prompt\",\"text\":\"~TiddlyWiki version\"},\"$:/language/ControlPanel/Cascades/Caption\":{\"title\":\"$:/language/ControlPanel/Cascades/Caption\",\"text\":\"Cascades\"},\"$:/language/ControlPanel/Cascades/Hint\":{\"title\":\"$:/language/ControlPanel/Cascades/Hint\",\"text\":\"These global rules are used to dynamically choose certain templates. The result of the cascade is the result of the first filter in the sequence that returns a result\"},\"$:/language/ControlPanel/Cascades/TagPrompt\":{\"title\":\"$:/language/ControlPanel/Cascades/TagPrompt\",\"text\":\"Filters tagged <$macrocall $name=\\\"tag\\\" tag=<<currentTiddler>>/>\"},\"$:/language/ControlPanel/EditorTypes/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Caption\",\"text\":\"Editor Types\"},\"$:/language/ControlPanel/EditorTypes/Editor/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Editor/Caption\",\"text\":\"Editor\"},\"$:/language/ControlPanel/EditorTypes/Hint\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Hint\",\"text\":\"These tiddlers determine which editor is used to edit specific tiddler types.\"},\"$:/language/ControlPanel/EditorTypes/Type/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Type/Caption\",\"text\":\"Type\"},\"$:/language/ControlPanel/EditTemplateBody/Caption\":{\"title\":\"$:/language/ControlPanel/EditTemplateBody/Caption\",\"text\":\"Edit Template Body\"},\"$:/language/ControlPanel/EditTemplateBody/Hint\":{\"title\":\"$:/language/ControlPanel/EditTemplateBody/Hint\",\"text\":\"This rule cascade is used by the default edit template to dynamically choose the template for editing the body of a tiddler.\"},\"$:/language/ControlPanel/FieldEditor/Caption\":{\"title\":\"$:/language/ControlPanel/FieldEditor/Caption\",\"text\":\"Field Editor\"},\"$:/language/ControlPanel/FieldEditor/Hint\":{\"title\":\"$:/language/ControlPanel/FieldEditor/Hint\",\"text\":\"This rules cascade is used to dynamically choose the template for rendering a tiddler field based on its name. It is used within the Edit Template.\"},\"$:/language/ControlPanel/Info/Caption\":{\"title\":\"$:/language/ControlPanel/Info/Caption\",\"text\":\"Info\"},\"$:/language/ControlPanel/Info/Hint\":{\"title\":\"$:/language/ControlPanel/Info/Hint\",\"text\":\"Information about this TiddlyWiki\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\",\"text\":\"Type shortcut here\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\",\"text\":\"add shortcut\"},\"$:/language/ControlPanel/KeyboardShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Caption\",\"text\":\"Keyboard Shortcuts\"},\"$:/language/ControlPanel/KeyboardShortcuts/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Hint\",\"text\":\"Manage keyboard shortcut assignments\"},\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\",\"text\":\"No keyboard shortcuts assigned\"},\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\",\"text\":\"remove keyboard shortcut\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\",\"text\":\"All platforms\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\",\"text\":\"Macintosh platform only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\",\"text\":\"Non-Macintosh platforms only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\",\"text\":\"Linux platform only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\",\"text\":\"Non-Linux platforms only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\",\"text\":\"Windows platform only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\",\"text\":\"Non-Windows platforms only\"},\"$:/language/ControlPanel/LayoutSwitcher/Caption\":{\"title\":\"$:/language/ControlPanel/LayoutSwitcher/Caption\",\"text\":\"Layout\"},\"$:/language/ControlPanel/LoadedModules/Caption\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Caption\",\"text\":\"Loaded Modules\"},\"$:/language/ControlPanel/LoadedModules/Hint\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Hint\",\"text\":\"These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.\"},\"$:/language/ControlPanel/Palette/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Caption\",\"text\":\"Palette\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\",\"text\":\"clone\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\",\"text\":\"It is recommended that you clone this shadow palette before editing it\"},\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\",\"text\":\"delete this entry from the current palette\"},\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\",\"text\":\"Show color names that are not part of the current palette\"},\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\",\"text\":\"This shadow palette has been modified\"},\"$:/language/ControlPanel/Palette/Editor/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt\",\"text\":\"Editing\"},\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\",\"text\":\"reset\"},\"$:/language/ControlPanel/Palette/HideEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/HideEditor/Caption\",\"text\":\"hide editor\"},\"$:/language/ControlPanel/Palette/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Prompt\",\"text\":\"Current palette:\"},\"$:/language/ControlPanel/Palette/ShowEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/ShowEditor/Caption\",\"text\":\"show editor\"},\"$:/language/ControlPanel/Parsing/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Caption\",\"text\":\"Parsing\"},\"$:/language/ControlPanel/Parsing/Hint\":{\"title\":\"$:/language/ControlPanel/Parsing/Hint\",\"text\":\"Here you can globally disable/enable wiki parser rules. For changes to take effect, save and reload your wiki. Disabling certain parser rules can prevent <$text text=\\\"TiddlyWiki\\\"/> from functioning correctly. Use [[safe mode|https://tiddlywiki.com/#SafeMode]] to restore normal operation.\"},\"$:/language/ControlPanel/Parsing/Block/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Block/Caption\",\"text\":\"Block Parse Rules\"},\"$:/language/ControlPanel/Parsing/Inline/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Inline/Caption\",\"text\":\"Inline Parse Rules\"},\"$:/language/ControlPanel/Parsing/Pragma/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Pragma/Caption\",\"text\":\"Pragma Parse Rules\"},\"$:/language/ControlPanel/Plugins/Add/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Caption\",\"text\":\"Get more plugins\"},\"$:/language/ControlPanel/Plugins/Add/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Hint\",\"text\":\"Install plugins from the official library\"},\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\",\"text\":\"This plugin is already installed at version <$text text=<<installedVersion>>/>\"},\"$:/language/ControlPanel/Plugins/AlsoRequires\":{\"title\":\"$:/language/ControlPanel/Plugins/AlsoRequires\",\"text\":\"Also requires:\"},\"$:/language/ControlPanel/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Caption\",\"text\":\"Plugins\"},\"$:/language/ControlPanel/Plugins/Disable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Caption\",\"text\":\"disable\"},\"$:/language/ControlPanel/Plugins/Disable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Hint\",\"text\":\"Disable this plugin when reloading page\"},\"$:/language/ControlPanel/Plugins/Disabled/Status\":{\"title\":\"$:/language/ControlPanel/Plugins/Disabled/Status\",\"text\":\"(disabled)\"},\"$:/language/ControlPanel/Plugins/Downgrade/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Downgrade/Caption\",\"text\":\"downgrade\"},\"$:/language/ControlPanel/Plugins/Empty/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Empty/Hint\",\"text\":\"None\"},\"$:/language/ControlPanel/Plugins/Enable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Caption\",\"text\":\"enable\"},\"$:/language/ControlPanel/Plugins/Enable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Hint\",\"text\":\"Enable this plugin when reloading page\"},\"$:/language/ControlPanel/Plugins/Install/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Install/Caption\",\"text\":\"install\"},\"$:/language/ControlPanel/Plugins/Installed/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Installed/Hint\",\"text\":\"Currently installed plugins:\"},\"$:/language/ControlPanel/Plugins/Languages/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Caption\",\"text\":\"Languages\"},\"$:/language/ControlPanel/Plugins/Languages/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Hint\",\"text\":\"Language pack plugins\"},\"$:/language/ControlPanel/Plugins/NoInfoFound/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NoInfoFound/Hint\",\"text\":\"No ''\\\"<$text text=<<currentTab>>/>\\\"'' found\"},\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\",\"text\":\"This plugin is not currently installed\"},\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\",\"text\":\"Open plugin library\"},\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\",\"text\":\"Close plugin library\"},\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\":{\"title\":\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\",\"text\":\"(requires reload)\"},\"$:/language/ControlPanel/Plugins/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Caption\",\"text\":\"Plugins\"},\"$:/language/ControlPanel/Plugins/Plugins/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Hint\",\"text\":\"Plugins\"},\"$:/language/ControlPanel/Plugins/Reinstall/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Reinstall/Caption\",\"text\":\"reinstall\"},\"$:/language/ControlPanel/Plugins/Stability/Deprecated\":{\"title\":\"$:/language/ControlPanel/Plugins/Stability/Deprecated\",\"text\":\"DEPRECATED\"},\"$:/language/ControlPanel/Plugins/Stability/Experimental\":{\"title\":\"$:/language/ControlPanel/Plugins/Stability/Experimental\",\"text\":\"EXPERIMENTAL\"},\"$:/language/ControlPanel/Plugins/Stability/Legacy\":{\"title\":\"$:/language/ControlPanel/Plugins/Stability/Legacy\",\"text\":\"LEGACY\"},\"$:/language/ControlPanel/Plugins/Stability/Stable\":{\"title\":\"$:/language/ControlPanel/Plugins/Stability/Stable\",\"text\":\"STABLE\"},\"$:/language/ControlPanel/Plugins/Themes/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Caption\",\"text\":\"Themes\"},\"$:/language/ControlPanel/Plugins/Themes/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Hint\",\"text\":\"Theme plugins\"},\"$:/language/ControlPanel/Plugins/Update/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Update/Caption\",\"text\":\"update\"},\"$:/language/ControlPanel/Plugins/Updates/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Caption\",\"text\":\"Updates\"},\"$:/language/ControlPanel/Plugins/Updates/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Hint\",\"text\":\"Available updates to installed plugins\"},\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\",\"text\":\"Update <<update-count>> plugins\"},\"$:/language/ControlPanel/Plugins/SubPluginPrompt\":{\"title\":\"$:/language/ControlPanel/Plugins/SubPluginPrompt\",\"text\":\"With <<count>> sub-plugins available\"},\"$:/language/ControlPanel/Saving/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/Caption\",\"text\":\"Saving\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\",\"text\":\"Permit automatic saving for the download saver\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\",\"text\":\"Enable Autosave for Download Saver\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\",\"text\":\"Download Saver\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\",\"text\":\"These settings apply to the HTML5-compatible download saver\"},\"$:/language/ControlPanel/Saving/General/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/General/Caption\",\"text\":\"General\"},\"$:/language/ControlPanel/Saving/General/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/General/Hint\",\"text\":\"These settings apply to all the loaded savers\"},\"$:/language/ControlPanel/Saving/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/Hint\",\"text\":\"Settings used for saving the entire TiddlyWiki as a single file via a saver module\"},\"$:/language/ControlPanel/Saving/GitService/Branch\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Branch\",\"text\":\"Target branch for saving\"},\"$:/language/ControlPanel/Saving/GitService/CommitMessage\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/CommitMessage\",\"text\":\"Saved by TiddlyWiki\"},\"$:/language/ControlPanel/Saving/GitService/Description\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Description\",\"text\":\"These settings are only used when saving to <<service-name>>\"},\"$:/language/ControlPanel/Saving/GitService/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Filename\",\"text\":\"Filename of target file (e.g. `index.html`)\"},\"$:/language/ControlPanel/Saving/GitService/Path\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Path\",\"text\":\"Path to target file (e.g. `/wiki/`)\"},\"$:/language/ControlPanel/Saving/GitService/Repo\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Repo\",\"text\":\"Target repository (e.g. `Jermolene/TiddlyWiki5`)\"},\"$:/language/ControlPanel/Saving/GitService/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/ServerURL\",\"text\":\"Server API URL\"},\"$:/language/ControlPanel/Saving/GitService/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/UserName\",\"text\":\"Username\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\",\"text\":\"~GitHub Saver\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\",\"text\":\"Password, OAUTH token, or personal access token (see [[GitHub help page|https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line]] for details)\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\",\"text\":\"~GitLab Saver\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\",\"text\":\"Personal access token for API (see [[GitLab help page|https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html]] for details)\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\",\"text\":\"Gitea Saver\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\",\"text\":\"Personal access token for API (via Giteas web interface: `Settings | Applications | Generate New Token`)\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\",\"text\":\"Advanced Settings\"},\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\",\"text\":\"Backup Directory\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ControlPanel\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ControlPanel\",\"text\":\"~TiddlyHost Control Panel\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\",\"text\":\"Backups\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\",\"text\":\"~TiddlyHost Saver\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Description\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Description\",\"text\":\"These settings are only used when saving to [[TiddlyHost|https://tiddlyhost.com]] or a compatible remote server. See [[here|https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot]] for information on ~TiddlyHost saving configuration\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\",\"text\":\"Upload Filename\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Heading\",\"text\":\"~TiddlyHost\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\",\"text\":\"//The server URL defaults to `http://<wikiname>.tiddlyspot.com/` and can be changed to use a custom server address, e.g. `http://example.com/store.php`.//\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Password\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Password\",\"text\":\"Password\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\",\"text\":\"Server URL\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\",\"text\":\"Upload Directory\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\",\"text\":\"Wiki Name\"},\"$:/language/ControlPanel/Settings/AutoSave/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Caption\",\"text\":\"Autosave\"},\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\",\"text\":\"Do not save changes automatically\"},\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\",\"text\":\"Save changes automatically\"},\"$:/language/ControlPanel/Settings/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Hint\",\"text\":\"Attempt to automatically save changes during editing when using a supporting saver\"},\"$:/language/ControlPanel/Settings/CamelCase/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Caption\",\"text\":\"Camel Case Wiki Links\"},\"$:/language/ControlPanel/Settings/CamelCase/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Hint\",\"text\":\"You can globally disable automatic linking of ~CamelCase phrases. Requires reload to take effect\"},\"$:/language/ControlPanel/Settings/CamelCase/Description\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Description\",\"text\":\"Enable automatic ~CamelCase linking\"},\"$:/language/ControlPanel/Settings/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/Caption\",\"text\":\"Settings\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\",\"text\":\"Editor Toolbar\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\",\"text\":\"Enable or disable the editor toolbar:\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Description\",\"text\":\"Show editor toolbar\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\",\"text\":\"Tiddler Info Panel Mode\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\",\"text\":\"Control when the tiddler info panel closes:\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\",\"text\":\"Tiddler info panel closes automatically\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\",\"text\":\"Tiddler info panel stays open until explicitly closed\"},\"$:/language/ControlPanel/Settings/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/Hint\",\"text\":\"These settings let you customise the behaviour of TiddlyWiki.\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\",\"text\":\"Navigation Address Bar\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\",\"text\":\"Behaviour of the browser address bar when navigating to a tiddler:\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\",\"text\":\"Do not update the address bar\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\",\"text\":\"Include the target tiddler\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\",\"text\":\"Include the target tiddler and the current story sequence\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\",\"text\":\"Navigation History\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\",\"text\":\"Update browser history when navigating to a tiddler:\"},\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\",\"text\":\"Do not update history\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\",\"text\":\"Update history\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\",\"text\":\"Permalink/permaview Mode\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\",\"text\":\"Choose how permalink/permaview is handled:\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\",\"text\":\"Copy permalink/permaview URL to clipboard\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\",\"text\":\"Update address bar with permalink/permaview URL\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\",\"text\":\"Performance Instrumentation\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\",\"text\":\"Displays performance statistics in the browser developer console. Requires reload to take effect\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\",\"text\":\"Enable performance instrumentation\"},\"$:/language/ControlPanel/Settings/RecentLimit/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/RecentLimit/Caption\",\"text\":\"Recent Tab Limit\"},\"$:/language/ControlPanel/Settings/RecentLimit/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/RecentLimit/Hint\",\"text\":\"Maximum number of tiddlers to be displayed under the sidebar \\\"Recent\\\" tab\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\",\"text\":\"Toolbar Button Style\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\",\"text\":\"Choose the style for toolbar buttons:\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\",\"text\":\"Borderless\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\",\"text\":\"Boxed\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\",\"text\":\"Rounded\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\",\"text\":\"Toolbar Buttons\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\",\"text\":\"Default toolbar button appearance:\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\",\"text\":\"Include icon\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\",\"text\":\"Include text\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\",\"text\":\"Default Sidebar Tab\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\",\"text\":\"Specify which sidebar tab is displayed by default\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\",\"text\":\"Default More Sidebar Tab\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\",\"text\":\"Specify which More sidebar tab is displayed by default\"},\"$:/language/ControlPanel/Settings/DefaultTiddlerInfoTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultTiddlerInfoTab/Caption\",\"text\":\"Default Tiddler Info Tab\"},\"$:/language/ControlPanel/Settings/DefaultTiddlerInfoTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultTiddlerInfoTab/Hint\",\"text\":\"Specify which tab is displayed by default when tiddler info panel is opened\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\",\"text\":\"Tiddler Opening Behaviour\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\",\"text\":\"Navigation from //within// the story river\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\",\"text\":\"Navigation from //outside// the story river\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\",\"text\":\"Open above the current tiddler\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\",\"text\":\"Open below the current tiddler\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\",\"text\":\"Open at the top of the story river\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\",\"text\":\"Open at the bottom of the story river\"},\"$:/language/ControlPanel/Settings/TitleLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Caption\",\"text\":\"Tiddler Titles\"},\"$:/language/ControlPanel/Settings/TitleLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Hint\",\"text\":\"Optionally display tiddler titles as links\"},\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\",\"text\":\"Do not display tiddler titles as links\"},\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\",\"text\":\"Display tiddler titles as links\"},\"$:/language/ControlPanel/Settings/MissingLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Caption\",\"text\":\"Wiki Links\"},\"$:/language/ControlPanel/Settings/MissingLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Hint\",\"text\":\"Choose whether to link to tiddlers that do not exist yet\"},\"$:/language/ControlPanel/Settings/MissingLinks/Description\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Description\",\"text\":\"Enable links to missing tiddlers\"},\"$:/language/ControlPanel/SocialCard/Caption\":{\"title\":\"$:/language/ControlPanel/SocialCard/Caption\",\"text\":\"Social Media Card\"},\"$:/language/ControlPanel/SocialCard/Domain/Prompt\":{\"title\":\"$:/language/ControlPanel/SocialCard/Domain/Prompt\",\"text\":\"Domain name to display for the link (for example, ''tiddlywiki.com'')\"},\"$:/language/ControlPanel/SocialCard/Hint\":{\"title\":\"$:/language/ControlPanel/SocialCard/Hint\",\"text\":\"This information is used by social and messaging services to display a preview card for links to this ~TiddlyWiki when hosted online\"},\"$:/language/ControlPanel/SocialCard/PreviewUrl/Prompt\":{\"title\":\"$:/language/ControlPanel/SocialCard/PreviewUrl/Prompt\",\"text\":\"Full URL to preview image for this ~TiddlyWiki\"},\"$:/language/ControlPanel/SocialCard/PreviewUrl/Preview\":{\"title\":\"$:/language/ControlPanel/SocialCard/PreviewUrl/Preview\",\"text\":\"Preview image:\"},\"$:/language/ControlPanel/SocialCard/Url/Prompt\":{\"title\":\"$:/language/ControlPanel/SocialCard/Url/Prompt\",\"text\":\"Full URL of this ~TiddlyWiki\"},\"$:/language/ControlPanel/StoryTiddler/Caption\":{\"title\":\"$:/language/ControlPanel/StoryTiddler/Caption\",\"text\":\"Story Tiddler\"},\"$:/language/ControlPanel/StoryTiddler/Hint\":{\"title\":\"$:/language/ControlPanel/StoryTiddler/Hint\",\"text\":\"This rule cascade is used to dynamically choose the template for displaying a tiddler in the story river.\"},\"$:/language/ControlPanel/StoryView/Caption\":{\"title\":\"$:/language/ControlPanel/StoryView/Caption\",\"text\":\"Story View\"},\"$:/language/ControlPanel/StoryView/Prompt\":{\"title\":\"$:/language/ControlPanel/StoryView/Prompt\",\"text\":\"Current view:\"},\"$:/language/ControlPanel/Stylesheets/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Caption\",\"text\":\"Stylesheets\"},\"$:/language/ControlPanel/Stylesheets/Expand/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Expand/Caption\",\"text\":\"Expand All\"},\"$:/language/ControlPanel/Stylesheets/Hint\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Hint\",\"text\":\"This is the rendered CSS of the current stylesheet tiddlers tagged with <<tag \\\"$:/tags/Stylesheet\\\">>\"},\"$:/language/ControlPanel/Stylesheets/Restore/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Restore/Caption\",\"text\":\"Restore\"},\"$:/language/ControlPanel/TestCases/Caption\":{\"title\":\"$:/language/ControlPanel/TestCases/Caption\",\"text\":\"Test Cases\"},\"$:/language/ControlPanel/TestCases/Hint\":{\"title\":\"$:/language/ControlPanel/TestCases/Hint\",\"text\":\"Test cases are self contained examples for testing and learning\"},\"$:/language/ControlPanel/TestCases/All/Caption\":{\"title\":\"$:/language/ControlPanel/TestCases/All/Caption\",\"text\":\"All Test Cases\"},\"$:/language/ControlPanel/TestCases/All/Hint\":{\"title\":\"$:/language/ControlPanel/TestCases/All/Hint\",\"text\":\"All Test Cases\"},\"$:/language/ControlPanel/TestCases/Failed/Caption\":{\"title\":\"$:/language/ControlPanel/TestCases/Failed/Caption\",\"text\":\"Failed Test Cases\"},\"$:/language/ControlPanel/TestCases/Failed/Hint\":{\"title\":\"$:/language/ControlPanel/TestCases/Failed/Hint\",\"text\":\"Only Failed Test Cases\"},\"$:/language/ControlPanel/Theme/Caption\":{\"title\":\"$:/language/ControlPanel/Theme/Caption\",\"text\":\"Theme\"},\"$:/language/ControlPanel/Theme/Prompt\":{\"title\":\"$:/language/ControlPanel/Theme/Prompt\",\"text\":\"Current theme:\"},\"$:/language/ControlPanel/TiddlerFields/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Caption\",\"text\":\"Tiddler Fields\"},\"$:/language/ControlPanel/TiddlerFields/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Hint\",\"text\":\"This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).\"},\"$:/language/ControlPanel/TiddlerColour/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerColour/Caption\",\"text\":\"Tiddler Colour\"},\"$:/language/ControlPanel/TiddlerColour/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerColour/Hint\",\"text\":\"This rules cascade is used to dynamically choose the colour for a tiddler (used for the icon and the associated tag pill).\"},\"$:/language/ControlPanel/TiddlerIcon/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerIcon/Caption\",\"text\":\"Tiddler Icon\"},\"$:/language/ControlPanel/TiddlerIcon/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerIcon/Hint\",\"text\":\"This rules cascade is used to dynamically choose the icon for a tiddler.\"},\"$:/language/ControlPanel/Toolbars/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/Caption\",\"text\":\"Toolbars\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\",\"text\":\"Edit Toolbar\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\",\"text\":\"Choose which buttons are displayed for tiddlers in edit mode. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Toolbars/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/Hint\",\"text\":\"Select which toolbar buttons are displayed\"},\"$:/language/ControlPanel/Toolbars/PageControls/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Caption\",\"text\":\"Page Toolbar\"},\"$:/language/ControlPanel/Toolbars/PageControls/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Hint\",\"text\":\"Choose which buttons are displayed on the main page toolbar. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\",\"text\":\"Editor Toolbar\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\",\"text\":\"Choose which buttons are displayed in the editor toolbar. Note that some buttons will only appear when editing tiddlers of a certain type. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\",\"text\":\"View Toolbar\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\",\"text\":\"Choose which buttons are displayed for tiddlers in view mode. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Tools/Download/Full/Caption\":{\"title\":\"$:/language/ControlPanel/Tools/Download/Full/Caption\",\"text\":\"Download full wiki\"},\"$:/language/ControlPanel/ViewTemplateBody/Caption\":{\"title\":\"$:/language/ControlPanel/ViewTemplateBody/Caption\",\"text\":\"View Template Body\"},\"$:/language/ControlPanel/ViewTemplateBody/Hint\":{\"title\":\"$:/language/ControlPanel/ViewTemplateBody/Hint\",\"text\":\"This rule cascade is used by the default view template to dynamically choose the template for displaying the body of a tiddler.\"},\"$:/language/ControlPanel/ViewTemplateTitle/Caption\":{\"title\":\"$:/language/ControlPanel/ViewTemplateTitle/Caption\",\"text\":\"View Template Title\"},\"$:/language/ControlPanel/ViewTemplateTitle/Hint\":{\"title\":\"$:/language/ControlPanel/ViewTemplateTitle/Hint\",\"text\":\"This rule cascade is used by the default view template to dynamically choose the template for displaying the title of a tiddler.\"},\"$:/language/ControlPanel/ViewTemplateSubtitle/Caption\":{\"title\":\"$:/language/ControlPanel/ViewTemplateSubtitle/Caption\",\"text\":\"View Template Subtitle\"},\"$:/language/ControlPanel/ViewTemplateSubtitle/Hint\":{\"title\":\"$:/language/ControlPanel/ViewTemplateSubtitle/Hint\",\"text\":\"This rule cascade is used by the default view template to dynamically choose the template for displaying the subtitle of a tiddler.\"},\"$:/language/ControlPanel/ViewTemplateTags/Caption\":{\"title\":\"$:/language/ControlPanel/ViewTemplateTags/Caption\",\"text\":\"View Template Tags\"},\"$:/language/ControlPanel/ViewTemplateTags/Hint\":{\"title\":\"$:/language/ControlPanel/ViewTemplateTags/Hint\",\"text\":\"This rule cascade is used by the default view template to dynamically choose the template for displaying the tags area of a tiddler.\"},\"$:/language/ControlPanel/WikiInformation/Caption\":{\"title\":\"$:/language/ControlPanel/WikiInformation/Caption\",\"text\":\"Wiki Information\"},\"$:/language/ControlPanel/WikiInformation/Hint\":{\"title\":\"$:/language/ControlPanel/WikiInformation/Hint\",\"text\":\"This page summarises high level information about the configuration of this ~TiddlyWiki. It is designed to enable users to quickly share relevant aspects of the configuration of their ~TiddlyWiki with others, for example when seeking help in one of the forums. No private or personal information is included, and nothing is shared without being explicitly copied and pasted elsewhere\"},\"$:/language/ControlPanel/WikiInformation/Drag/Caption\":{\"title\":\"$:/language/ControlPanel/WikiInformation/Drag/Caption\",\"text\":\"Drag this link to copy this tool to another wiki\"},\"$:/language/Date/DaySuffix/1\":{\"title\":\"$:/language/Date/DaySuffix/1\",\"text\":\"st\"},\"$:/language/Date/DaySuffix/2\":{\"title\":\"$:/language/Date/DaySuffix/2\",\"text\":\"nd\"},\"$:/language/Date/DaySuffix/3\":{\"title\":\"$:/language/Date/DaySuffix/3\",\"text\":\"rd\"},\"$:/language/Date/DaySuffix/4\":{\"title\":\"$:/language/Date/DaySuffix/4\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/5\":{\"title\":\"$:/language/Date/DaySuffix/5\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/6\":{\"title\":\"$:/language/Date/DaySuffix/6\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/7\":{\"title\":\"$:/language/Date/DaySuffix/7\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/8\":{\"title\":\"$:/language/Date/DaySuffix/8\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/9\":{\"title\":\"$:/language/Date/DaySuffix/9\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/10\":{\"title\":\"$:/language/Date/DaySuffix/10\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/11\":{\"title\":\"$:/language/Date/DaySuffix/11\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/12\":{\"title\":\"$:/language/Date/DaySuffix/12\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/13\":{\"title\":\"$:/language/Date/DaySuffix/13\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/14\":{\"title\":\"$:/language/Date/DaySuffix/14\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/15\":{\"title\":\"$:/language/Date/DaySuffix/15\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/16\":{\"title\":\"$:/language/Date/DaySuffix/16\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/17\":{\"title\":\"$:/language/Date/DaySuffix/17\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/18\":{\"title\":\"$:/language/Date/DaySuffix/18\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/19\":{\"title\":\"$:/language/Date/DaySuffix/19\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/20\":{\"title\":\"$:/language/Date/DaySuffix/20\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/21\":{\"title\":\"$:/language/Date/DaySuffix/21\",\"text\":\"st\"},\"$:/language/Date/DaySuffix/22\":{\"title\":\"$:/language/Date/DaySuffix/22\",\"text\":\"nd\"},\"$:/language/Date/DaySuffix/23\":{\"title\":\"$:/language/Date/DaySuffix/23\",\"text\":\"rd\"},\"$:/language/Date/DaySuffix/24\":{\"title\":\"$:/language/Date/DaySuffix/24\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/25\":{\"title\":\"$:/language/Date/DaySuffix/25\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/26\":{\"title\":\"$:/language/Date/DaySuffix/26\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/27\":{\"title\":\"$:/language/Date/DaySuffix/27\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/28\":{\"title\":\"$:/language/Date/DaySuffix/28\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/29\":{\"title\":\"$:/language/Date/DaySuffix/29\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/30\":{\"title\":\"$:/language/Date/DaySuffix/30\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/31\":{\"title\":\"$:/language/Date/DaySuffix/31\",\"text\":\"st\"},\"$:/language/Date/Long/Day/0\":{\"title\":\"$:/language/Date/Long/Day/0\",\"text\":\"Sunday\"},\"$:/language/Date/Long/Day/1\":{\"title\":\"$:/language/Date/Long/Day/1\",\"text\":\"Monday\"},\"$:/language/Date/Long/Day/2\":{\"title\":\"$:/language/Date/Long/Day/2\",\"text\":\"Tuesday\"},\"$:/language/Date/Long/Day/3\":{\"title\":\"$:/language/Date/Long/Day/3\",\"text\":\"Wednesday\"},\"$:/language/Date/Long/Day/4\":{\"title\":\"$:/language/Date/Long/Day/4\",\"text\":\"Thursday\"},\"$:/language/Date/Long/Day/5\":{\"title\":\"$:/language/Date/Long/Day/5\",\"text\":\"Friday\"},\"$:/language/Date/Long/Day/6\":{\"title\":\"$:/language/Date/Long/Day/6\",\"text\":\"Saturday\"},\"$:/language/Date/Long/Month/1\":{\"title\":\"$:/language/Date/Long/Month/1\",\"text\":\"January\"},\"$:/language/Date/Long/Month/2\":{\"title\":\"$:/language/Date/Long/Month/2\",\"text\":\"February\"},\"$:/language/Date/Long/Month/3\":{\"title\":\"$:/language/Date/Long/Month/3\",\"text\":\"March\"},\"$:/language/Date/Long/Month/4\":{\"title\":\"$:/language/Date/Long/Month/4\",\"text\":\"April\"},\"$:/language/Date/Long/Month/5\":{\"title\":\"$:/language/Date/Long/Month/5\",\"text\":\"May\"},\"$:/language/Date/Long/Month/6\":{\"title\":\"$:/language/Date/Long/Month/6\",\"text\":\"June\"},\"$:/language/Date/Long/Month/7\":{\"title\":\"$:/language/Date/Long/Month/7\",\"text\":\"July\"},\"$:/language/Date/Long/Month/8\":{\"title\":\"$:/language/Date/Long/Month/8\",\"text\":\"August\"},\"$:/language/Date/Long/Month/9\":{\"title\":\"$:/language/Date/Long/Month/9\",\"text\":\"September\"},\"$:/language/Date/Long/Month/10\":{\"title\":\"$:/language/Date/Long/Month/10\",\"text\":\"October\"},\"$:/language/Date/Long/Month/11\":{\"title\":\"$:/language/Date/Long/Month/11\",\"text\":\"November\"},\"$:/language/Date/Long/Month/12\":{\"title\":\"$:/language/Date/Long/Month/12\",\"text\":\"December\"},\"$:/language/Date/Period/am\":{\"title\":\"$:/language/Date/Period/am\",\"text\":\"am\"},\"$:/language/Date/Period/pm\":{\"title\":\"$:/language/Date/Period/pm\",\"text\":\"pm\"},\"$:/language/Date/Short/Day/0\":{\"title\":\"$:/language/Date/Short/Day/0\",\"text\":\"Sun\"},\"$:/language/Date/Short/Day/1\":{\"title\":\"$:/language/Date/Short/Day/1\",\"text\":\"Mon\"},\"$:/language/Date/Short/Day/2\":{\"title\":\"$:/language/Date/Short/Day/2\",\"text\":\"Tue\"},\"$:/language/Date/Short/Day/3\":{\"title\":\"$:/language/Date/Short/Day/3\",\"text\":\"Wed\"},\"$:/language/Date/Short/Day/4\":{\"title\":\"$:/language/Date/Short/Day/4\",\"text\":\"Thu\"},\"$:/language/Date/Short/Day/5\":{\"title\":\"$:/language/Date/Short/Day/5\",\"text\":\"Fri\"},\"$:/language/Date/Short/Day/6\":{\"title\":\"$:/language/Date/Short/Day/6\",\"text\":\"Sat\"},\"$:/language/Date/Short/Month/1\":{\"title\":\"$:/language/Date/Short/Month/1\",\"text\":\"Jan\"},\"$:/language/Date/Short/Month/2\":{\"title\":\"$:/language/Date/Short/Month/2\",\"text\":\"Feb\"},\"$:/language/Date/Short/Month/3\":{\"title\":\"$:/language/Date/Short/Month/3\",\"text\":\"Mar\"},\"$:/language/Date/Short/Month/4\":{\"title\":\"$:/language/Date/Short/Month/4\",\"text\":\"Apr\"},\"$:/language/Date/Short/Month/5\":{\"title\":\"$:/language/Date/Short/Month/5\",\"text\":\"May\"},\"$:/language/Date/Short/Month/6\":{\"title\":\"$:/language/Date/Short/Month/6\",\"text\":\"Jun\"},\"$:/language/Date/Short/Month/7\":{\"title\":\"$:/language/Date/Short/Month/7\",\"text\":\"Jul\"},\"$:/language/Date/Short/Month/8\":{\"title\":\"$:/language/Date/Short/Month/8\",\"text\":\"Aug\"},\"$:/language/Date/Short/Month/9\":{\"title\":\"$:/language/Date/Short/Month/9\",\"text\":\"Sep\"},\"$:/language/Date/Short/Month/10\":{\"title\":\"$:/language/Date/Short/Month/10\",\"text\":\"Oct\"},\"$:/language/Date/Short/Month/11\":{\"title\":\"$:/language/Date/Short/Month/11\",\"text\":\"Nov\"},\"$:/language/Date/Short/Month/12\":{\"title\":\"$:/language/Date/Short/Month/12\",\"text\":\"Dec\"},\"$:/language/RelativeDate/Future/Days\":{\"title\":\"$:/language/RelativeDate/Future/Days\",\"text\":\"<<period>> days from now\"},\"$:/language/RelativeDate/Future/Hours\":{\"title\":\"$:/language/RelativeDate/Future/Hours\",\"text\":\"<<period>> hours from now\"},\"$:/language/RelativeDate/Future/Minutes\":{\"title\":\"$:/language/RelativeDate/Future/Minutes\",\"text\":\"<<period>> minutes from now\"},\"$:/language/RelativeDate/Future/Months\":{\"title\":\"$:/language/RelativeDate/Future/Months\",\"text\":\"<<period>> months from now\"},\"$:/language/RelativeDate/Future/Second\":{\"title\":\"$:/language/RelativeDate/Future/Second\",\"text\":\"1 second from now\"},\"$:/language/RelativeDate/Future/Seconds\":{\"title\":\"$:/language/RelativeDate/Future/Seconds\",\"text\":\"<<period>> seconds from now\"},\"$:/language/RelativeDate/Future/Years\":{\"title\":\"$:/language/RelativeDate/Future/Years\",\"text\":\"<<period>> years from now\"},\"$:/language/RelativeDate/Past/Days\":{\"title\":\"$:/language/RelativeDate/Past/Days\",\"text\":\"<<period>> days ago\"},\"$:/language/RelativeDate/Past/Hours\":{\"title\":\"$:/language/RelativeDate/Past/Hours\",\"text\":\"<<period>> hours ago\"},\"$:/language/RelativeDate/Past/Minutes\":{\"title\":\"$:/language/RelativeDate/Past/Minutes\",\"text\":\"<<period>> minutes ago\"},\"$:/language/RelativeDate/Past/Months\":{\"title\":\"$:/language/RelativeDate/Past/Months\",\"text\":\"<<period>> months ago\"},\"$:/language/RelativeDate/Past/Second\":{\"title\":\"$:/language/RelativeDate/Past/Second\",\"text\":\"1 second ago\"},\"$:/language/RelativeDate/Past/Seconds\":{\"title\":\"$:/language/RelativeDate/Past/Seconds\",\"text\":\"<<period>> seconds ago\"},\"$:/language/RelativeDate/Past/Years\":{\"title\":\"$:/language/RelativeDate/Past/Years\",\"text\":\"<<period>> years ago\"},\"$:/language/Docs/ModuleTypes/allfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/allfilteroperator\",\"text\":\"A sub-operator for the ''all'' filter operator.\"},\"$:/language/Docs/ModuleTypes/animation\":{\"title\":\"$:/language/Docs/ModuleTypes/animation\",\"text\":\"Animations that may be used with the RevealWidget.\"},\"$:/language/Docs/ModuleTypes/authenticator\":{\"title\":\"$:/language/Docs/ModuleTypes/authenticator\",\"text\":\"Defines how requests are authenticated by the built-in HTTP server.\"},\"$:/language/Docs/ModuleTypes/bitmapeditoroperation\":{\"title\":\"$:/language/Docs/ModuleTypes/bitmapeditoroperation\",\"text\":\"A bitmap editor toolbar operation.\"},\"$:/language/Docs/ModuleTypes/command\":{\"title\":\"$:/language/Docs/ModuleTypes/command\",\"text\":\"Commands that can be executed under Node.js.\"},\"$:/language/Docs/ModuleTypes/config\":{\"title\":\"$:/language/Docs/ModuleTypes/config\",\"text\":\"Data to be inserted into `$tw.config`.\"},\"$:/language/Docs/ModuleTypes/filteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/filteroperator\",\"text\":\"Individual filter operator methods.\"},\"$:/language/Docs/ModuleTypes/global\":{\"title\":\"$:/language/Docs/ModuleTypes/global\",\"text\":\"Global data to be inserted into `$tw`.\"},\"$:/language/Docs/ModuleTypes/info\":{\"title\":\"$:/language/Docs/ModuleTypes/info\",\"text\":\"Publishes system information via the [[$:/temp/info-plugin]] pseudo-plugin.\"},\"$:/language/Docs/ModuleTypes/isfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/isfilteroperator\",\"text\":\"Parameters for the ''is'' filter operator.\"},\"$:/language/Docs/ModuleTypes/library\":{\"title\":\"$:/language/Docs/ModuleTypes/library\",\"text\":\"Generic module type for general purpose JavaScript modules.\"},\"$:/language/Docs/ModuleTypes/macro\":{\"title\":\"$:/language/Docs/ModuleTypes/macro\",\"text\":\"JavaScript macro definitions.\"},\"$:/language/Docs/ModuleTypes/parser\":{\"title\":\"$:/language/Docs/ModuleTypes/parser\",\"text\":\"Parsers for different content types.\"},\"$:/language/Docs/ModuleTypes/route\":{\"title\":\"$:/language/Docs/ModuleTypes/route\",\"text\":\"Defines how individual URL patterns are handled by the built-in HTTP server.\"},\"$:/language/Docs/ModuleTypes/saver\":{\"title\":\"$:/language/Docs/ModuleTypes/saver\",\"text\":\"Savers handle different methods for saving files from the browser.\"},\"$:/language/Docs/ModuleTypes/startup\":{\"title\":\"$:/language/Docs/ModuleTypes/startup\",\"text\":\"Startup functions.\"},\"$:/language/Docs/ModuleTypes/storyview\":{\"title\":\"$:/language/Docs/ModuleTypes/storyview\",\"text\":\"Story views customise the animation and behaviour of list widgets.\"},\"$:/language/Docs/ModuleTypes/texteditoroperation\":{\"title\":\"$:/language/Docs/ModuleTypes/texteditoroperation\",\"text\":\"A text editor toolbar operation.\"},\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\",\"text\":\"Converts different content types into tiddlers.\"},\"$:/language/Docs/ModuleTypes/tiddlerfield\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerfield\",\"text\":\"Defines the behaviour of an individual tiddler field.\"},\"$:/language/Docs/ModuleTypes/tiddlermethod\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlermethod\",\"text\":\"Adds methods to the `$tw.Tiddler` prototype.\"},\"$:/language/Docs/ModuleTypes/upgrader\":{\"title\":\"$:/language/Docs/ModuleTypes/upgrader\",\"text\":\"Applies upgrade processing to tiddlers during an upgrade/import.\"},\"$:/language/Docs/ModuleTypes/utils\":{\"title\":\"$:/language/Docs/ModuleTypes/utils\",\"text\":\"Adds methods to `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/utils-browser\":{\"title\":\"$:/language/Docs/ModuleTypes/utils-browser\",\"text\":\"Adds browser-specific methods to `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/utils-node\":{\"title\":\"$:/language/Docs/ModuleTypes/utils-node\",\"text\":\"Adds Node.js-specific methods to `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/widget\":{\"title\":\"$:/language/Docs/ModuleTypes/widget\",\"text\":\"Widgets encapsulate DOM rendering and refreshing.\"},\"$:/language/Docs/ModuleTypes/wikimethod\":{\"title\":\"$:/language/Docs/ModuleTypes/wikimethod\",\"text\":\"Adds methods to `$tw.Wiki`.\"},\"$:/language/Docs/ModuleTypes/wikirule\":{\"title\":\"$:/language/Docs/ModuleTypes/wikirule\",\"text\":\"Individual parser rules for the main WikiText parser.\"},\"$:/language/Docs/PaletteColours/alert-background\":{\"title\":\"$:/language/Docs/PaletteColours/alert-background\",\"text\":\"Alert background\"},\"$:/language/Docs/PaletteColours/alert-border\":{\"title\":\"$:/language/Docs/PaletteColours/alert-border\",\"text\":\"Alert border\"},\"$:/language/Docs/PaletteColours/alert-highlight\":{\"title\":\"$:/language/Docs/PaletteColours/alert-highlight\",\"text\":\"Alert highlight\"},\"$:/language/Docs/PaletteColours/alert-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/alert-muted-foreground\",\"text\":\"Alert muted foreground\"},\"$:/language/Docs/PaletteColours/background\":{\"title\":\"$:/language/Docs/PaletteColours/background\",\"text\":\"General background\"},\"$:/language/Docs/PaletteColours/blockquote-bar\":{\"title\":\"$:/language/Docs/PaletteColours/blockquote-bar\",\"text\":\"Blockquote bar\"},\"$:/language/Docs/PaletteColours/button-background\":{\"title\":\"$:/language/Docs/PaletteColours/button-background\",\"text\":\"Default button background\"},\"$:/language/Docs/PaletteColours/button-border\":{\"title\":\"$:/language/Docs/PaletteColours/button-border\",\"text\":\"Default button border\"},\"$:/language/Docs/PaletteColours/button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/button-foreground\",\"text\":\"Default button foreground\"},\"$:/language/Docs/PaletteColours/dirty-indicator\":{\"title\":\"$:/language/Docs/PaletteColours/dirty-indicator\",\"text\":\"Unsaved changes indicator\"},\"$:/language/Docs/PaletteColours/code-background\":{\"title\":\"$:/language/Docs/PaletteColours/code-background\",\"text\":\"Code background\"},\"$:/language/Docs/PaletteColours/code-border\":{\"title\":\"$:/language/Docs/PaletteColours/code-border\",\"text\":\"Code border\"},\"$:/language/Docs/PaletteColours/code-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/code-foreground\",\"text\":\"Code foreground\"},\"$:/language/Docs/PaletteColours/download-background\":{\"title\":\"$:/language/Docs/PaletteColours/download-background\",\"text\":\"Download button background\"},\"$:/language/Docs/PaletteColours/download-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/download-foreground\",\"text\":\"Download button foreground\"},\"$:/language/Docs/PaletteColours/dragger-background\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-background\",\"text\":\"Dragger background\"},\"$:/language/Docs/PaletteColours/dragger-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-foreground\",\"text\":\"Dragger foreground\"},\"$:/language/Docs/PaletteColours/dropdown-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-background\",\"text\":\"Dropdown background\"},\"$:/language/Docs/PaletteColours/dropdown-border\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-border\",\"text\":\"Dropdown border\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\",\"text\":\"Dropdown tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background\",\"text\":\"Dropdown tab background\"},\"$:/language/Docs/PaletteColours/dropzone-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropzone-background\",\"text\":\"Dropzone background\"},\"$:/language/Docs/PaletteColours/external-link-background-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-hover\",\"text\":\"External link background hover\"},\"$:/language/Docs/PaletteColours/external-link-background-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-visited\",\"text\":\"External link background visited\"},\"$:/language/Docs/PaletteColours/external-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background\",\"text\":\"External link background\"},\"$:/language/Docs/PaletteColours/external-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-hover\",\"text\":\"External link foreground hover\"},\"$:/language/Docs/PaletteColours/external-link-foreground-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-visited\",\"text\":\"External link foreground visited\"},\"$:/language/Docs/PaletteColours/external-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground\",\"text\":\"External link foreground\"},\"$:/language/Docs/PaletteColours/foreground\":{\"title\":\"$:/language/Docs/PaletteColours/foreground\",\"text\":\"General foreground\"},\"$:/language/Docs/PaletteColours/menubar-background\":{\"title\":\"$:/language/Docs/PaletteColours/menubar-background\",\"text\":\"Menu bar background\"},\"$:/language/Docs/PaletteColours/menubar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/menubar-foreground\",\"text\":\"Menu bar foreground\"},\"$:/language/Docs/PaletteColours/message-background\":{\"title\":\"$:/language/Docs/PaletteColours/message-background\",\"text\":\"Message box background\"},\"$:/language/Docs/PaletteColours/message-border\":{\"title\":\"$:/language/Docs/PaletteColours/message-border\",\"text\":\"Message box border\"},\"$:/language/Docs/PaletteColours/message-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/message-foreground\",\"text\":\"Message box foreground\"},\"$:/language/Docs/PaletteColours/modal-backdrop\":{\"title\":\"$:/language/Docs/PaletteColours/modal-backdrop\",\"text\":\"Modal backdrop\"},\"$:/language/Docs/PaletteColours/modal-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-background\",\"text\":\"Modal background\"},\"$:/language/Docs/PaletteColours/modal-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-border\",\"text\":\"Modal border\"},\"$:/language/Docs/PaletteColours/modal-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-background\",\"text\":\"Modal footer background\"},\"$:/language/Docs/PaletteColours/modal-footer-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-border\",\"text\":\"Modal footer border\"},\"$:/language/Docs/PaletteColours/modal-header-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-header-border\",\"text\":\"Modal header border\"},\"$:/language/Docs/PaletteColours/muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/muted-foreground\",\"text\":\"General muted foreground\"},\"$:/language/Docs/PaletteColours/notification-background\":{\"title\":\"$:/language/Docs/PaletteColours/notification-background\",\"text\":\"Notification background\"},\"$:/language/Docs/PaletteColours/notification-border\":{\"title\":\"$:/language/Docs/PaletteColours/notification-border\",\"text\":\"Notification border\"},\"$:/language/Docs/PaletteColours/page-background\":{\"title\":\"$:/language/Docs/PaletteColours/page-background\",\"text\":\"Page background\"},\"$:/language/Docs/PaletteColours/pre-background\":{\"title\":\"$:/language/Docs/PaletteColours/pre-background\",\"text\":\"Preformatted code background\"},\"$:/language/Docs/PaletteColours/pre-border\":{\"title\":\"$:/language/Docs/PaletteColours/pre-border\",\"text\":\"Preformatted code border\"},\"$:/language/Docs/PaletteColours/primary\":{\"title\":\"$:/language/Docs/PaletteColours/primary\",\"text\":\"General primary\"},\"$:/language/Docs/PaletteColours/select-tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/select-tag-background\",\"text\":\"`<select>` element background\"},\"$:/language/Docs/PaletteColours/select-tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/select-tag-foreground\",\"text\":\"`<select>` element text\"},\"$:/language/Docs/PaletteColours/sidebar-button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-button-foreground\",\"text\":\"Sidebar button foreground\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\",\"text\":\"Sidebar controls foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\",\"text\":\"Sidebar controls foreground\"},\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\",\"text\":\"Sidebar foreground shadow\"},\"$:/language/Docs/PaletteColours/sidebar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground\",\"text\":\"Sidebar foreground\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\",\"text\":\"Sidebar muted foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\",\"text\":\"Sidebar muted foreground\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\",\"text\":\"Sidebar tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background\",\"text\":\"Sidebar tab background\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\",\"text\":\"Sidebar tab border for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border\",\"text\":\"Sidebar tab border\"},\"$:/language/Docs/PaletteColours/sidebar-tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-divider\",\"text\":\"Sidebar tab divider\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\",\"text\":\"Sidebar tab foreground for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\",\"text\":\"Sidebar tab foreground\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\",\"text\":\"Sidebar tiddler link foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\",\"text\":\"Sidebar tiddler link foreground\"},\"$:/language/Docs/PaletteColours/stability-stable\":{\"title\":\"$:/language/Docs/PaletteColours/stability-stable\",\"text\":\"Badge for stability level \\\"stable\\\"\"},\"$:/language/Docs/PaletteColours/stability-experimental\":{\"title\":\"$:/language/Docs/PaletteColours/stability-experimental\",\"text\":\"Badge for stability level \\\"experimental\\\"\"},\"$:/language/Docs/PaletteColours/stability-deprecated\":{\"title\":\"$:/language/Docs/PaletteColours/stability-deprecated\",\"text\":\"Badge for stability level \\\"deprecated\\\"\"},\"$:/language/Docs/PaletteColours/stability-legacy\":{\"title\":\"$:/language/Docs/PaletteColours/stability-legacy\",\"text\":\"Badge for stability level \\\"legacy\\\"\"},\"$:/language/Docs/PaletteColours/testcase-accent-level-1\":{\"title\":\"$:/language/Docs/PaletteColours/testcase-accent-level-1\",\"text\":\"Test case accent colour with no nesting\"},\"$:/language/Docs/PaletteColours/testcase-accent-level-2\":{\"title\":\"$:/language/Docs/PaletteColours/testcase-accent-level-2\",\"text\":\"Test case accent colour with 2nd level nesting\"},\"$:/language/Docs/PaletteColours/testcase-accent-level-3\":{\"title\":\"$:/language/Docs/PaletteColours/testcase-accent-level-3\",\"text\":\"Test case accent colour with 3rd level nesting or higher\"},\"$:/language/Docs/PaletteColours/site-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/site-title-foreground\",\"text\":\"Site title foreground\"},\"$:/language/Docs/PaletteColours/static-alert-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/static-alert-foreground\",\"text\":\"Static alert foreground\"},\"$:/language/Docs/PaletteColours/tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background-selected\",\"text\":\"Tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background\",\"text\":\"Tab background\"},\"$:/language/Docs/PaletteColours/tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border-selected\",\"text\":\"Tab border for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border\",\"text\":\"Tab border\"},\"$:/language/Docs/PaletteColours/tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/tab-divider\",\"text\":\"Tab divider\"},\"$:/language/Docs/PaletteColours/tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground-selected\",\"text\":\"Tab foreground for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground\",\"text\":\"Tab foreground\"},\"$:/language/Docs/PaletteColours/table-border\":{\"title\":\"$:/language/Docs/PaletteColours/table-border\",\"text\":\"Table border\"},\"$:/language/Docs/PaletteColours/table-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-footer-background\",\"text\":\"Table footer background\"},\"$:/language/Docs/PaletteColours/table-header-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-header-background\",\"text\":\"Table header background\"},\"$:/language/Docs/PaletteColours/tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/tag-background\",\"text\":\"Tag background\"},\"$:/language/Docs/PaletteColours/tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tag-foreground\",\"text\":\"Tag foreground\"},\"$:/language/Docs/PaletteColours/tiddler-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-background\",\"text\":\"Tiddler background\"},\"$:/language/Docs/PaletteColours/tiddler-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-border\",\"text\":\"Tiddler border\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\",\"text\":\"Tiddler controls foreground hover\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\",\"text\":\"Tiddler controls foreground for selected controls\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\",\"text\":\"Tiddler controls foreground\"},\"$:/language/Docs/PaletteColours/tiddler-editor-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-background\",\"text\":\"Tiddler editor background\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\",\"text\":\"Tiddler editor border image\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border\",\"text\":\"Tiddler editor border\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\",\"text\":\"Tiddler editor background for even fields\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\",\"text\":\"Tiddler editor background for odd fields\"},\"$:/language/Docs/PaletteColours/tiddler-info-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-background\",\"text\":\"Tiddler info panel background\"},\"$:/language/Docs/PaletteColours/tiddler-info-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-border\",\"text\":\"Tiddler info panel border\"},\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\",\"text\":\"Tiddler info panel tab background\"},\"$:/language/Docs/PaletteColours/tiddler-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-background\",\"text\":\"Tiddler link background\"},\"$:/language/Docs/PaletteColours/tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-foreground\",\"text\":\"Tiddler link foreground\"},\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\",\"text\":\"Tiddler subtitle foreground\"},\"$:/language/Docs/PaletteColours/tiddler-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-title-foreground\",\"text\":\"Tiddler title foreground\"},\"$:/language/Docs/PaletteColours/toolbar-new-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-new-button\",\"text\":\"Toolbar 'new tiddler' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-options-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-options-button\",\"text\":\"Toolbar 'options' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-save-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-save-button\",\"text\":\"Toolbar 'save' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-info-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-info-button\",\"text\":\"Toolbar 'info' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-edit-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-edit-button\",\"text\":\"Toolbar 'edit' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-close-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-close-button\",\"text\":\"Toolbar 'close' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-delete-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-delete-button\",\"text\":\"Toolbar 'delete' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-cancel-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-cancel-button\",\"text\":\"Toolbar 'cancel' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-done-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-done-button\",\"text\":\"Toolbar 'done' button foreground\"},\"$:/language/Docs/PaletteColours/untagged-background\":{\"title\":\"$:/language/Docs/PaletteColours/untagged-background\",\"text\":\"Untagged pill background\"},\"$:/language/Docs/PaletteColours/very-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/very-muted-foreground\",\"text\":\"Very muted foreground\"},\"$:/language/EditTemplate/Caption\":{\"title\":\"$:/language/EditTemplate/Caption\",\"text\":\"Editor\"},\"$:/language/EditTemplate/Body/External/Hint\":{\"title\":\"$:/language/EditTemplate/Body/External/Hint\",\"text\":\"This tiddler shows content stored outside of the main TiddlyWiki file. You can edit the tags and fields but cannot directly edit the content itself\"},\"$:/language/EditTemplate/Body/Placeholder\":{\"title\":\"$:/language/EditTemplate/Body/Placeholder\",\"text\":\"Type the text for this tiddler\"},\"$:/language/EditTemplate/Body/Preview/Type/Output\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/Output\",\"text\":\"output\"},\"$:/language/EditTemplate/Body/Preview/Type/DiffShadow\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/DiffShadow\",\"text\":\"differences from shadow (if any)\"},\"$:/language/EditTemplate/Body/Preview/Type/DiffCurrent\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/DiffCurrent\",\"text\":\"differences from current\"},\"$:/language/EditTemplate/Field/Remove/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Caption\",\"text\":\"remove field\"},\"$:/language/EditTemplate/Field/Remove/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Hint\",\"text\":\"Remove field\"},\"$:/language/EditTemplate/Field/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Caption\",\"text\":\"field list\"},\"$:/language/EditTemplate/Field/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Hint\",\"text\":\"Show field list\"},\"$:/language/EditTemplate/Fields/Add/Button\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button\",\"text\":\"add\"},\"$:/language/EditTemplate/Fields/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button/Hint\",\"text\":\"Add the new field to the tiddler\"},\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\",\"text\":\"field name\"},\"$:/language/EditTemplate/Fields/Add/Prompt\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Prompt\",\"text\":\"Add a new field:\"},\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\",\"text\":\"field value\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/System\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/System\",\"text\":\"System fields\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/User\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/User\",\"text\":\"User fields\"},\"$:/language/EditTemplate/Shadow/Warning\":{\"title\":\"$:/language/EditTemplate/Shadow/Warning\",\"text\":\"This is a shadow tiddler. Any changes you make will override the default version from the plugin <<pluginLink>>\"},\"$:/language/EditTemplate/Shadow/OverriddenWarning\":{\"title\":\"$:/language/EditTemplate/Shadow/OverriddenWarning\",\"text\":\"This is a modified shadow tiddler. You can revert to the default version in the plugin <<pluginLink>> by deleting this tiddler\"},\"$:/language/EditTemplate/Tags/Add/Button\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button\",\"text\":\"add\"},\"$:/language/EditTemplate/Tags/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button/Hint\",\"text\":\"add tag\"},\"$:/language/EditTemplate/Tags/Add/Placeholder\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Placeholder\",\"text\":\"tag name\"},\"$:/language/EditTemplate/Tags/ClearInput/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/ClearInput/Caption\",\"text\":\"clear input\"},\"$:/language/EditTemplate/Tags/ClearInput/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/ClearInput/Hint\",\"text\":\"Clear tag input\"},\"$:/language/EditTemplate/Tags/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Caption\",\"text\":\"tag list\"},\"$:/language/EditTemplate/Tags/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Hint\",\"text\":\"Show tag list\"},\"$:/language/EditTemplate/Tags/EmptyMessage\":{\"title\":\"$:/language/EditTemplate/Tags/EmptyMessage\",\"text\":\"No tags found\"},\"$:/language/EditTemplate/Tags/EmptyMessage/System\":{\"title\":\"$:/language/EditTemplate/Tags/EmptyMessage/System\",\"text\":\"No system tags found\"},\"$:/language/EditTemplate/Title/BadCharacterWarning\":{\"title\":\"$:/language/EditTemplate/Title/BadCharacterWarning\",\"text\":\"Warning: avoid using any of the characters <<bad-chars>> in tiddler titles\"},\"$:/language/EditTemplate/Title/Exists/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Exists/Prompt\",\"text\":\"Target tiddler already exists\"},\"$:/language/EditTemplate/Title/Relink/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Relink/Prompt\",\"text\":\"Update ''<$text text=<<fromTitle>>/>'' to ''<$text text=<<toTitle>>/>'' in the //tags// and //list// fields of other tiddlers\"},\"$:/language/EditTemplate/Title/References/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/References/Prompt\",\"text\":\"The following references to this tiddler will not be automatically updated:\"},\"$:/language/EditTemplate/Type/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Caption\",\"text\":\"content type list\"},\"$:/language/EditTemplate/Type/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Hint\",\"text\":\"Show content type list\"},\"$:/language/EditTemplate/Type/Delete/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Caption\",\"text\":\"delete content type\"},\"$:/language/EditTemplate/Type/Delete/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Hint\",\"text\":\"Delete content type\"},\"$:/language/EditTemplate/Type/Placeholder\":{\"title\":\"$:/language/EditTemplate/Type/Placeholder\",\"text\":\"content type\"},\"$:/language/EditTemplate/Type/Prompt\":{\"title\":\"$:/language/EditTemplate/Type/Prompt\",\"text\":\"Type:\"},\"$:/language/Exporters/StaticRiver\":{\"title\":\"$:/language/Exporters/StaticRiver\",\"text\":\"Static HTML\"},\"$:/language/Exporters/JsonFile\":{\"title\":\"$:/language/Exporters/JsonFile\",\"text\":\"JSON file\"},\"$:/language/Exporters/CsvFile\":{\"title\":\"$:/language/Exporters/CsvFile\",\"text\":\"CSV file\"},\"$:/language/Exporters/TidFile\":{\"title\":\"$:/language/Exporters/TidFile\",\"text\":\"TID text file\"},\"$:/language/Docs/Fields/_canonical_uri\":{\"title\":\"$:/language/Docs/Fields/_canonical_uri\",\"text\":\"The full URI of an external image tiddler\"},\"$:/language/Docs/Fields/author\":{\"title\":\"$:/language/Docs/Fields/author\",\"text\":\"Name of the author of a plugin\"},\"$:/language/Docs/Fields/bag\":{\"title\":\"$:/language/Docs/Fields/bag\",\"text\":\"The name of the bag from which a tiddler came\"},\"$:/language/Docs/Fields/caption\":{\"title\":\"$:/language/Docs/Fields/caption\",\"text\":\"The text to be displayed on a tab or button\"},\"$:/language/Docs/Fields/class\":{\"title\":\"$:/language/Docs/Fields/class\",\"text\":\"The CSS class applied to a tiddler when rendering it. Also used for Modals\"},\"$:/language/Docs/Fields/code-body\":{\"title\":\"$:/language/Docs/Fields/code-body\",\"text\":\"The view template will display the tiddler as code if set to ''yes''\"},\"$:/language/Docs/Fields/color\":{\"title\":\"$:/language/Docs/Fields/color\",\"text\":\"The CSS color value associated with a tiddler\"},\"$:/language/Docs/Fields/component\":{\"title\":\"$:/language/Docs/Fields/component\",\"text\":\"The name of the component responsible for an alert tiddler\"},\"$:/language/Docs/Fields/core-version\":{\"title\":\"$:/language/Docs/Fields/core-version\",\"text\":\"For a plugin, indicates what version of TiddlyWiki with which it is compatible\"},\"$:/language/Docs/Fields/current-tiddler\":{\"title\":\"$:/language/Docs/Fields/current-tiddler\",\"text\":\"Used to cache the top tiddler in a history list\"},\"$:/language/Docs/Fields/created\":{\"title\":\"$:/language/Docs/Fields/created\",\"text\":\"The date a tiddler was created\"},\"$:/language/Docs/Fields/creator\":{\"title\":\"$:/language/Docs/Fields/creator\",\"text\":\"The name of the person who created a tiddler\"},\"$:/language/Docs/Fields/dependents\":{\"title\":\"$:/language/Docs/Fields/dependents\",\"text\":\"For a plugin, lists the dependent plugin titles\"},\"$:/language/Docs/Fields/description\":{\"title\":\"$:/language/Docs/Fields/description\",\"text\":\"The descriptive text for a plugin, or a modal dialogue\"},\"$:/language/Docs/Fields/draft.of\":{\"title\":\"$:/language/Docs/Fields/draft.of\",\"text\":\"For draft tiddlers, contains the title of the tiddler of which this is a draft\"},\"$:/language/Docs/Fields/draft.title\":{\"title\":\"$:/language/Docs/Fields/draft.title\",\"text\":\"For draft tiddlers, contains the proposed new title of the tiddler\"},\"$:/language/Docs/Fields/footer\":{\"title\":\"$:/language/Docs/Fields/footer\",\"text\":\"The footer text for a modal\"},\"$:/language/Docs/Fields/hide-body\":{\"title\":\"$:/language/Docs/Fields/hide-body\",\"text\":\"The view template will hide bodies of tiddlers if set to ''yes''\"},\"$:/language/Docs/Fields/icon\":{\"title\":\"$:/language/Docs/Fields/icon\",\"text\":\"The title of the tiddler containing the icon associated with a tiddler\"},\"$:/language/Docs/Fields/library\":{\"title\":\"$:/language/Docs/Fields/library\",\"text\":\"Indicates that a tiddler should be saved as a JavaScript library if set to ''yes''\"},\"$:/language/Docs/Fields/list\":{\"title\":\"$:/language/Docs/Fields/list\",\"text\":\"An ordered list of tiddler titles associated with a tiddler\"},\"$:/language/Docs/Fields/list-before\":{\"title\":\"$:/language/Docs/Fields/list-before\",\"text\":\"If set, the title of a tiddler before which this tiddler should be added to the ordered list of tiddler titles, or at the start of the list if this field is present but empty\"},\"$:/language/Docs/Fields/list-after\":{\"title\":\"$:/language/Docs/Fields/list-after\",\"text\":\"If set, the title of the tiddler after which this tiddler should be added to the ordered list of tiddler titles, or at the end of the list if this field is present but empty\"},\"$:/language/Docs/Fields/modified\":{\"title\":\"$:/language/Docs/Fields/modified\",\"text\":\"The date and time at which a tiddler was last modified\"},\"$:/language/Docs/Fields/modifier\":{\"title\":\"$:/language/Docs/Fields/modifier\",\"text\":\"The tiddler title associated with the person who last modified a tiddler\"},\"$:/language/Docs/Fields/module-type\":{\"title\":\"$:/language/Docs/Fields/module-type\",\"text\":\"For javascript tiddlers, specifies what kind of module it is\"},\"$:/language/Docs/Fields/name\":{\"title\":\"$:/language/Docs/Fields/name\",\"text\":\"The human readable name associated with a plugin tiddler\"},\"$:/language/Docs/Fields/parent-plugin\":{\"title\":\"$:/language/Docs/Fields/parent-plugin\",\"text\":\"For a plugin, specifies which plugin of which it is a sub-plugin\"},\"$:/language/Docs/Fields/plugin-priority\":{\"title\":\"$:/language/Docs/Fields/plugin-priority\",\"text\":\"A numerical value indicating the priority of a plugin tiddler\"},\"$:/language/Docs/Fields/plugin-type\":{\"title\":\"$:/language/Docs/Fields/plugin-type\",\"text\":\"The type of plugin in a plugin tiddler\"},\"$:/language/Docs/Fields/stability\":{\"title\":\"$:/language/Docs/Fields/stability\",\"text\":\"The development status of a plugin: deprecated, experimental, stable, or legacy\"},\"$:/language/Docs/Fields/revision\":{\"title\":\"$:/language/Docs/Fields/revision\",\"text\":\"The revision of the tiddler held at the server\"},\"$:/language/Docs/Fields/released\":{\"title\":\"$:/language/Docs/Fields/released\",\"text\":\"Date of a TiddlyWiki release\"},\"$:/language/Docs/Fields/source\":{\"title\":\"$:/language/Docs/Fields/source\",\"text\":\"The source URL associated with a tiddler\"},\"$:/language/Docs/Fields/subtitle\":{\"title\":\"$:/language/Docs/Fields/subtitle\",\"text\":\"The subtitle text for a modal\"},\"$:/language/Docs/Fields/tags\":{\"title\":\"$:/language/Docs/Fields/tags\",\"text\":\"A list of tags associated with a tiddler\"},\"$:/language/Docs/Fields/text\":{\"title\":\"$:/language/Docs/Fields/text\",\"text\":\"The body text of a tiddler\"},\"$:/language/Docs/Fields/throttle.refresh\":{\"title\":\"$:/language/Docs/Fields/throttle.refresh\",\"text\":\"If present, throttles refreshes of this tiddler\"},\"$:/language/Docs/Fields/title\":{\"title\":\"$:/language/Docs/Fields/title\",\"text\":\"The unique name of a tiddler\"},\"$:/language/Docs/Fields/toc-link\":{\"title\":\"$:/language/Docs/Fields/toc-link\",\"text\":\"Suppresses the tiddler's link in a Table of Contents tree if set to ''no''\"},\"$:/language/Docs/Fields/type\":{\"title\":\"$:/language/Docs/Fields/type\",\"text\":\"The content type of a tiddler\"},\"$:/language/Docs/Fields/version\":{\"title\":\"$:/language/Docs/Fields/version\",\"text\":\"Version information for a plugin\"},\"$:/language/Docs/Fields/_is_skinny\":{\"title\":\"$:/language/Docs/Fields/_is_skinny\",\"text\":\"If present, indicates that the tiddler text field must be loaded from the server\"},\"$:/language/Filters/AllTiddlers\":{\"title\":\"$:/language/Filters/AllTiddlers\",\"text\":\"All tiddlers except system tiddlers\"},\"$:/language/Filters/RecentSystemTiddlers\":{\"title\":\"$:/language/Filters/RecentSystemTiddlers\",\"text\":\"Recently modified tiddlers, including system tiddlers\"},\"$:/language/Filters/RecentTiddlers\":{\"title\":\"$:/language/Filters/RecentTiddlers\",\"text\":\"Recently modified tiddlers\"},\"$:/language/Filters/AllTags\":{\"title\":\"$:/language/Filters/AllTags\",\"text\":\"All tags except system tags\"},\"$:/language/Filters/Missing\":{\"title\":\"$:/language/Filters/Missing\",\"text\":\"Missing tiddlers\"},\"$:/language/Filters/Drafts\":{\"title\":\"$:/language/Filters/Drafts\",\"text\":\"Draft tiddlers\"},\"$:/language/Filters/Orphans\":{\"title\":\"$:/language/Filters/Orphans\",\"text\":\"Orphan tiddlers\"},\"$:/language/Filters/SystemTiddlers\":{\"title\":\"$:/language/Filters/SystemTiddlers\",\"text\":\"System tiddlers\"},\"$:/language/Filters/ShadowTiddlers\":{\"title\":\"$:/language/Filters/ShadowTiddlers\",\"text\":\"Shadow tiddlers\"},\"$:/language/Filters/OverriddenShadowTiddlers\":{\"title\":\"$:/language/Filters/OverriddenShadowTiddlers\",\"text\":\"Overridden shadow tiddlers\"},\"$:/language/Filters/SessionTiddlers\":{\"title\":\"$:/language/Filters/SessionTiddlers\",\"text\":\"Tiddlers modified since the wiki was loaded\"},\"$:/language/Filters/SystemTags\":{\"title\":\"$:/language/Filters/SystemTags\",\"text\":\"System tags\"},\"$:/language/Filters/StoryList\":{\"title\":\"$:/language/Filters/StoryList\",\"text\":\"Tiddlers in the story river, excluding <$text text=\\\"$:/AdvancedSearch\\\"/>\"},\"$:/language/Filters/TypedTiddlers\":{\"title\":\"$:/language/Filters/TypedTiddlers\",\"text\":\"Non wiki-text tiddlers\"},\"GettingStarted\":{\"title\":\"GettingStarted\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Basics/\\nWelcome to ~TiddlyWiki and the ~TiddlyWiki community\\n\\nBefore you start storing important information in ~TiddlyWiki it is vital to make sure that you can reliably save changes. See https://tiddlywiki.com/#GettingStarted for details\\n\\n!! Set up this ~TiddlyWiki\\n\\n<div class=\\\"tc-control-panel\\\">\\n\\n|tc-table-no-border tc-first-col-min-width tc-first-link-nowrap|k\\n| <$link to=\\\"$:/SiteTitle\\\"><<lingo Title/Prompt>></$link>|<$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n| <$link to=\\\"$:/SiteSubtitle\\\"><<lingo Subtitle/Prompt>></$link>|<$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|^ <$link to=\\\"$:/DefaultTiddlers\\\"><<lingo DefaultTiddlers/Prompt>></$link><br><<lingo DefaultTiddlers/TopHint>>|<$edit tag=\\\"textarea\\\" tiddler=\\\"$:/DefaultTiddlers\\\"/><br>//<<lingo DefaultTiddlers/BottomHint>>// |\\n</div>\\n\\nSee the [[control panel|$:/ControlPanel]] for more options.\\n\"},\"$:/language/Help/build\":{\"title\":\"$:/language/Help/build\",\"description\":\"Automatically run configured commands\",\"text\":\"Build the specified build targets for the current wiki. If no build targets are specified then all available targets will be built.\\n\\n```\\n--build <target> [<target> ...]\\n```\\n\\nBuild targets are defined in the `tiddlywiki.info` file of a wiki folder.\\n\\n\"},\"$:/language/Help/clearpassword\":{\"title\":\"$:/language/Help/clearpassword\",\"description\":\"Clear a password for subsequent crypto operations\",\"text\":\"Clear the password for subsequent crypto operations\\n\\n```\\n--clearpassword\\n```\\n\"},\"$:/language/Help/commands\":{\"title\":\"$:/language/Help/commands\",\"description\":\"Run commands returned from a filter\",\"text\":\"Sequentially run the command tokens returned from a filter\\n\\n```\\n--commands <filter>\\n```\\n\\nExamples\\n\\n```\\n--commands \\\"[enlist:raw{$:/build-commands-as-text}]\\\"\\n```\\n\\n```\\n--commands \\\"[{$:/build-commands-as-json}jsonindexes[]] :map[{$:/build-commands-as-json}jsonget<currentTiddler>]\\\"\\n```\\n\"},\"$:/language/Help/default\":{\"title\":\"$:/language/Help/default\",\"text\":\"\\\\define commandTitle()\\n$:/language/Help/$(command)$\\n\\\\end\\n\\\\whitespace trim\\n```\\nusage: tiddlywiki [<wikifolder>] [--<command> [<args>...]...]\\n```\\n\\nAvailable commands:\\n\\n<ul>\\n<$list filter=\\\"[commands[]sort[title]]\\\" variable=\\\"command\\\">\\n<li><$link to=<<commandTitle>>><$macrocall $name=\\\"command\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/></$link>:\\n&#32;\\n<$transclude tiddler=<<commandTitle>> field=\\\"description\\\"/></li>\\n</$list>\\n</ul>\\n\\nTo get detailed help on a command:\\n\\n```\\ntiddlywiki --help <command>\\n```\\n\"},\"$:/language/Help/deletetiddlers\":{\"title\":\"$:/language/Help/deletetiddlers\",\"description\":\"Deletes a group of tiddlers\",\"text\":\"<<.from-version \\\"5.1.20\\\">> Deletes a group of tiddlers identified by a filter.\\n\\n```\\n--deletetiddlers <filter>\\n```\\n\"},\"$:/language/Help/editions\":{\"title\":\"$:/language/Help/editions\",\"description\":\"Lists the available editions of TiddlyWiki\",\"text\":\"Lists the names and descriptions of the available editions. You can create a new wiki of a specified edition with the `--init` command.\\n\\n```\\n--editions\\n```\\n\"},\"$:/language/Help/fetch\":{\"title\":\"$:/language/Help/fetch\",\"description\":\"Fetch tiddlers from wiki by URL\",\"text\":\"Fetch one or more files over HTTP/HTTPS, and import the tiddlers matching a filter, optionally transforming the incoming titles.\\n\\n```\\n--fetch file <url> <import-filter> <transform-filter>\\n--fetch files <url-filter> <import-filter> <transform-filter>\\n--fetch raw-file <url> <transform-filter>\\n--fetch raw-files <url-filter> <transform-filter>\\n```\\n\\nThe \\\"file\\\" and \\\"files\\\" variants fetch the specified files and attempt to import the tiddlers within them (the same processing as if the files were dragged into the browser window). The \\\"raw-file\\\" and \\\"raw-files\\\" variants fetch the specified files and then store the raw file data in tiddlers, without applying the import logic.\\n\\nWith the \\\"file\\\" and \\\"raw-file\\\" variants only a single file is fetched and the first parameter is the URL of the file to read.\\n\\nWith the \\\"files\\\" and \\\"raw-files\\\" variants, multiple files are fetched and the first parameter is a filter yielding a list of URLs of the files to read. For example, given a set of tiddlers tagged \\\"remote-server\\\" that have a field \\\"url\\\" the filter `[tag[remote-server]get[url]]` will retrieve all the available URLs.\\n\\nFor the \\\"file\\\" and \\\"files\\\" variants, the `<import-filter>` parameter specifies a filter determining which tiddlers are imported. It defaults to `[all[tiddlers]]` if not provided.\\n\\nFor all variants, the `<transform-filter>` parameter specifies an optional filter that transforms the titles of the imported tiddlers. For example, `[addprefix[$:/myimports/]]` would add the prefix `$:/myimports/` to each title.\\n\\nPreceding the `--fetch` command with `--verbose` will output progress information during the import.\\n\\nNote that TiddlyWiki will not fetch an older version of an already loaded plugin.\\n\\nThe following example retrieves all the non-system tiddlers from https://tiddlywiki.com and saves them to a JSON file:\\n\\n```\\ntiddlywiki --verbose --fetch file \\\"https://tiddlywiki.com/\\\" \\\"[!is[system]]\\\" \\\"\\\" --rendertiddler \\\"$:/core/templates/exporters/JsonFile\\\" output.json text/plain \\\"\\\" exportFilter \\\"[!is[system]]\\\"\\n```\\n\\nThe following example retrieves the \\\"favicon\\\" file from tiddlywiki.com and saves it in a file called \\\"output.ico\\\". Note that the intermediate tiddler \\\"Icon Tiddler\\\" is quoted in the \\\"--fetch\\\" command because it is being used as a transformation filter to replace the default title, while there are no quotes for the \\\"--savetiddler\\\" command because it is being used directly as a title.\\n\\n```\\ntiddlywiki --verbose --fetch raw-file \\\"https://tiddlywiki.com/favicon.ico\\\" \\\"[[Icon Tiddler]]\\\" --savetiddler \\\"Icon Tiddler\\\" output.ico\\n```\\n\\n\"},\"$:/language/Help/help\":{\"title\":\"$:/language/Help/help\",\"description\":\"Display help for TiddlyWiki commands\",\"text\":\"Displays help text for a command:\\n\\n```\\n--help [<command>]\\n```\\n\\nIf the command name is omitted then a list of available commands is displayed.\\n\"},\"$:/language/Help/import\":{\"title\":\"$:/language/Help/import\",\"description\":\"Import tiddlers from a file\",\"text\":\"Import tiddlers from TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` or other local files. The deserializer must be explicitly specified, unlike the `load` command which infers the deserializer from the file extension.\\n\\n```\\n--import <filepath> <deserializer> [<title>] [<encoding>]\\n```\\n\\nThe deserializers in the core include:\\n\\n* application/javascript\\n* application/json\\n* application/x-tiddler\\n* application/x-tiddler-html-div\\n* application/x-tiddlers\\n* text/html\\n* text/plain\\n\\nThe title of the imported tiddler defaults to the filename.\\n\\nThe encoding defaults to \\\"utf8\\\", but can be \\\"base64\\\" for importing binary files.\\n\\nNote that TiddlyWiki will not import an older version of an already loaded plugin.\\n\"},\"$:/language/Help/init\":{\"title\":\"$:/language/Help/init\",\"description\":\"Initialise a new wiki folder\",\"text\":\"Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.\\n\\n```\\n--init <edition> [<edition> ...]\\n```\\n\\nFor example:\\n\\n```\\ntiddlywiki ./MyWikiFolder --init empty\\n```\\n\\nNote:\\n\\n* The wiki folder directory will be created if necessary\\n* The \\\"edition\\\" defaults to ''empty''\\n* The init command will fail if the wiki folder is not empty\\n* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file\\n* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)\\n* `--editions` returns a list of available editions\\n\"},\"$:/language/Help/listen\":{\"title\":\"$:/language/Help/listen\",\"description\":\"Provides an HTTP server interface to TiddlyWiki\",\"text\":\"Serves a wiki over HTTP.\\n\\nThe listen command uses NamedCommandParameters:\\n\\n```\\n--listen [<name>=<value>]...\\n```\\n\\nAll parameters are optional with safe defaults, and can be specified in any order. The recognised parameters are:\\n\\n* ''host'' - optional hostname to serve from (defaults to \\\"127.0.0.1\\\" aka \\\"localhost\\\")\\n* ''path-prefix'' - optional prefix for paths\\n* ''port'' - port number on which to listen; non-numeric values are interpreted as a system environment variable from which the port number is extracted (defaults to \\\"8080\\\")\\n* ''credentials'' - pathname of credentials CSV file (relative to wiki folder)\\n* ''anon-username'' - the username for signing edits for anonymous users\\n* ''username'' - optional username for basic authentication\\n* ''password'' - optional password for basic authentication\\n* ''authenticated-user-header'' - optional name of request header to be used for trusted authentication.\\n* ''readers'' - comma-separated list of principals allowed to read from this wiki\\n* ''writers'' - comma-separated list of principals allowed to write to this wiki\\n* ''csrf-disable'' - set to \\\"yes\\\" to disable CSRF checks (defaults to \\\"no\\\")\\n* ''root-tiddler'' - the tiddler to serve at the root (defaults to \\\"$:/core/save/all\\\")\\n* ''root-render-type'' - the content type to which the root tiddler should be rendered (defaults to \\\"text/plain\\\")\\n* ''root-serve-type'' - the content type with which the root tiddler should be served (defaults to \\\"text/html\\\")\\n* ''tls-cert'' - pathname of TLS certificate file (relative to wiki folder)\\n* ''tls-key'' - pathname of TLS key file (relative to wiki folder)\\n* ''debug-level'' - optional debug level; set to \\\"debug\\\" to view request details (defaults to \\\"none\\\")\\n* ''gzip'' - set to \\\"yes\\\" to enable gzip compression for some http endpoints (defaults to \\\"no\\\")\\n* ''use-browser-cache'' - set to \\\"yes\\\" to allow the browser to cache responses to save bandwidth (defaults to \\\"no\\\")\\n\\nFor information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.\\n\\n\"},\"$:/language/Help/load\":{\"title\":\"$:/language/Help/load\",\"description\":\"Load tiddlers from a file\",\"text\":\"Load tiddlers from TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` or other local files. The processing applied to incoming files is determined by the file extension. Use the alternative `import` command if you need to specify the deserializer and encoding explicitly.\\n\\n```\\n--load <filepath> [noerror]\\n--load <dirpath> [noerror]\\n```\\n\\nBy default, the load command raises an error if no tiddlers are found. The error can be suppressed by providing the optional \\\"noerror\\\" parameter.\\n\\nTo load tiddlers from an encrypted TiddlyWiki file you should first specify the password with the PasswordCommand. For example:\\n\\n```\\ntiddlywiki ./MyWiki --password pa55w0rd --load my_encrypted_wiki.html\\n```\\n\\nNote that TiddlyWiki will not load an older version of an already loaded plugin.\\n\"},\"$:/language/Help/makelibrary\":{\"title\":\"$:/language/Help/makelibrary\",\"description\":\"Construct library plugin required by upgrade process\",\"text\":\"Constructs the `$:/UpgradeLibrary` tiddler for the upgrade process.\\n\\nThe upgrade library is formatted as an ordinary plugin tiddler with the plugin type `library`. It contains a copy of each of the plugins, themes and language packs available within the TiddlyWiki5 repository.\\n\\nThis command is intended for internal use; it is only relevant to users constructing a custom upgrade procedure.\\n\\n```\\n--makelibrary <title>\\n```\\n\\nThe title argument defaults to `$:/UpgradeLibrary`.\\n\"},\"$:/language/Help/notfound\":{\"title\":\"$:/language/Help/notfound\",\"text\":\"No such help item\"},\"$:/language/Help/output\":{\"title\":\"$:/language/Help/output\",\"description\":\"Set the base output directory for subsequent commands\",\"text\":\"Sets the base output directory for subsequent commands. The default output directory is the `output` subdirectory of the edition directory.\\n\\n```\\n--output <pathname>\\n```\\n\\nIf the specified pathname is relative then it is resolved relative to the current working directory. For example `--output .` sets the output directory to the current working directory.\\n\\n\"},\"$:/language/Help/password\":{\"title\":\"$:/language/Help/password\",\"description\":\"Set a password for subsequent crypto operations\",\"text\":\"Set a password for subsequent crypto operations\\n\\n```\\n--password <password>\\n```\\n\\n''Note'': This should not be used for serving TiddlyWiki with password protection. Instead, see the password option under the [[ServerCommand]].\\n\"},\"$:/language/Help/render\":{\"title\":\"$:/language/Help/render\",\"description\":\"Renders individual tiddlers to files\",\"text\":\"Render individual tiddlers identified by a filter and save the results to the specified files.\\n\\nOptionally, the title of a template tiddler can be specified. In this case, instead of directly rendering each tiddler, the template tiddler is rendered with the \\\"currentTiddler\\\" variable set to the title of the tiddler that is being rendered.\\n\\nA name and value for an additional variable may optionally also be specified.\\n\\n```\\n--render <tiddler-filter> [<filename-filter>] [<render-type>] [<template>] [ [<name>] [<value>] ]*\\n```\\n\\n* ''tiddler-filter'': A filter identifying the tiddler(s) to be rendered\\n* ''filename-filter'': Optional filter transforming tiddler titles into pathnames. If omitted, defaults to `[is[tiddler]addsuffix[.html]]`, which uses the unchanged tiddler title as the filename\\n* ''render-type'': Optional render type: `text/html` (the default) returns the full HTML text and `text/plain` just returns the text content (ie it ignores HTML tags and other unprintable material)\\n* ''template'': Optional template through which each tiddler is rendered\\n* ''name'': Name of optional variables\\n* ''value'': Value of optional variables\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nNotes:\\n\\n* The output directory is not cleared of any existing files\\n* Any missing directories in the path to the filename are automatically created.\\n* When referring to a tiddler with spaces in its title, take care to use both the quotes required by your shell and also TiddlyWiki's double square brackets: `--render \\\"[[Motovun Jack.jpg]]\\\"`\\n* The filename filter is evaluated with the selected items being set to the title of the tiddler currently being rendered, allowing the title to be used as the basis for computing the filename. For example `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`\\n* Multiple ''name''/''value'' pairs can be used to pass more than one variable\\n* The `--render` command is a more flexible replacement for both the `--rendertiddler` and `--rendertiddlers` commands, which are deprecated\\n\\nExamples:\\n\\n* `--render '[!is[system]]' '[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]'` -- renders all non-system tiddlers as files in the subdirectory \\\"tiddlers\\\" with URL-encoded titles and the extension HTML\\n* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- renders the tiddlers tagged \\\"HelloThere\\\" to a JSON file named \\\"tiddlers.json\\\"\\n\"},\"$:/language/Help/rendertiddler\":{\"title\":\"$:/language/Help/rendertiddler\",\"description\":\"Render an individual tiddler as a specified ContentType\",\"text\":\"(Note: The `--rendertiddler` command is deprecated in favour of the new, more flexible `--render` command)\\n\\nRender an individual tiddler as a specified ContentType, defaulting to `text/html` and save it to the specified filename.\\n\\nOptionally the title of a template tiddler can be specified, in which case the template tiddler is rendered with the \\\"currentTiddler\\\" variable set to the tiddler that is being rendered (the first parameter value).\\n\\nA name and value for an additional variable may optionally also be specified.\\n\\n```\\n--rendertiddler <title> <filename> [<type>] [<template>] [<name>] [<value>]\\n```\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nAny missing directories in the path to the filename are automatically created.\\n\\nFor example, the following command saves all tiddlers matching the filter `[tag[done]]` to a JSON file titled `output.json` by employing the core template `$:/core/templates/exporters/JsonFile`.\\n\\n```\\n--rendertiddler \\\"$:/core/templates/exporters/JsonFile\\\" output.json text/plain \\\"\\\" exportFilter \\\"[tag[done]]\\\"\\n```\\n\"},\"$:/language/Help/rendertiddlers\":{\"title\":\"$:/language/Help/rendertiddlers\",\"description\":\"Render tiddlers matching a filter to a specified ContentType\",\"text\":\"(Note: The `--rendertiddlers` command is deprecated in favour of the new, more flexible `--render` command)\\n\\nRender a set of tiddlers matching a filter to separate files of a specified ContentType (defaults to `text/html`) and extension (defaults to `.html`).\\n\\n```\\n--rendertiddlers '<filter>' <template> <pathname> [<type>] [<extension>] [\\\"noclean\\\"]\\n```\\n\\nFor example:\\n\\n```\\n--rendertiddlers '[!is[system]]' $:/core/templates/static.tiddler.html ./static text/plain\\n```\\n\\nBy default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nAny files in the target directory are deleted unless the ''noclean'' flag is specified. The target directory is recursively created if it is missing.\\n\"},\"$:/language/Help/save\":{\"title\":\"$:/language/Help/save\",\"description\":\"Saves individual raw tiddlers to files\",\"text\":\"Saves individual tiddlers identified by a filter in their raw text or binary format to the specified files.\\n\\n```\\n--save <tiddler-filter> <filename-filter>\\n```\\n\\n* ''tiddler-filter'': A filter identifying the tiddler(s) to be saved\\n* ''filename-filter'': Optional filter transforming tiddler titles into pathnames. If omitted, defaults to `[is[tiddler]]`, which uses the unchanged tiddler title as the filename\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nNotes:\\n\\n* The output directory is not cleared of any existing files\\n* Any missing directories in the path to the filename are automatically created.\\n* When saving a tiddler with spaces in its title, take care to use both the quotes required by your shell and also TiddlyWiki's double square brackets: `--save \\\"[[Motovun Jack.jpg]]\\\"`\\n* The filename filter is evaluated with the selected items being set to the title of the tiddler currently being saved, allowing the title to be used as the basis for computing the filename. For example `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`\\n* The `--save` command is a more flexible replacement for both the `--savetiddler` and `--savetiddlers` commands, which are deprecated\\n\\nExamples:\\n\\n* `--save \\\"[!is[system]is[image]]\\\" \\\"[encodeuricomponent[]addprefix[tiddlers/]]\\\"` -- saves all non-system image tiddlers as files in the subdirectory \\\"tiddlers\\\" with URL-encoded titles\\n\"},\"$:/language/Help/savetiddler\":{\"title\":\"$:/language/Help/savetiddler\",\"description\":\"Saves a raw tiddler to a file\",\"text\":\"(Note: The `--savetiddler` command is deprecated in favour of the new, more flexible `--save` command)\\n\\nSaves an individual tiddler in its raw text or binary format to the specified filename.\\n\\n```\\n--savetiddler <title> <filename>\\n```\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nAny missing directories in the path to the filename are automatically created.\\n\"},\"$:/language/Help/savetiddlers\":{\"title\":\"$:/language/Help/savetiddlers\",\"description\":\"Saves a group of raw tiddlers to a directory\",\"text\":\"(Note: The `--savetiddlers` command is deprecated in favour of the new, more flexible `--save` command)\\n\\nSaves a group of tiddlers in their raw text or binary format to the specified directory.\\n\\n```\\n--savetiddlers <filter> <pathname> [\\\"noclean\\\"]\\n```\\n\\nBy default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nThe output directory is cleared of existing files before saving the specified files. The deletion can be disabled by specifying the ''noclean'' flag.\\n\\nAny missing directories in the pathname are automatically created.\\n\"},\"$:/language/Help/savewikifolder\":{\"title\":\"$:/language/Help/savewikifolder\",\"description\":\"Saves a wiki to a new wiki folder\",\"text\":\"<<.from-version \\\"5.1.20\\\">> Saves the current wiki as a wiki folder, including tiddlers, plugins and configuration:\\n\\n```\\n--savewikifolder <wikifolderpath> [<filter>] [ [<name>=<value>] ]*\\n```\\n\\n* The target wiki folder must be empty or non-existent\\n* The filter specifies which tiddlers should be included. It is optional, defaulting to `[all[tiddlers]]`\\n* Plugins from the official plugin library are replaced with references to those plugins in the `tiddlywiki.info` file\\n* Custom plugins are unpacked into their own folder\\n\\nThe following options are supported:\\n\\n* ''filter'': a filter expression that defines the tiddlers to include in the output.\\n* ''explodePlugins'': defaults to \\\"yes\\\"\\n** ''yes'' will \\\"explode\\\" plugins into separate tiddler files and save them to the plugin directory within the wiki folder\\n** ''no'' will suppress exploding plugins into their constituent tiddler files. It will save the plugin as a single JSON tiddler in the tiddlers folder\\n\\nNote that both ''explodePlugins'' options will produce wiki folders that build the exact same original wiki. The difference lies in how plugins are represented in the wiki folder.\\n\\nA common usage is to convert a TiddlyWiki HTML file into a wiki folder:\\n\\n```\\ntiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder\\n```\\n\\nSave the plugin to the tiddlers directory of the target wiki folder:\\n\\n```\\ntiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder explodePlugins=no\\n```\\n\"},\"$:/language/Help/server\":{\"title\":\"$:/language/Help/server\",\"description\":\"(deprecated: see 'listen' command) Provides an HTTP server interface to TiddlyWiki\",\"text\":\"Legacy command to serve a wiki over HTTP.\\n\\n```\\n--server <port> <root-tiddler> <root-render-type> <root-serve-type> <username> <password> <host> <path-prefix> <debug-level>\\n```\\n\\nThe parameters are:\\n\\n* ''port'' - port number on which to listen; non-numeric values are interpreted as a system environment variable from which the port number is extracted (defaults to \\\"8080\\\")\\n* ''root-tiddler'' - the tiddler to serve at the root (defaults to \\\"$:/core/save/all\\\")\\n* ''root-render-type'' - the content type to which the root tiddler should be rendered (defaults to \\\"text/plain\\\")\\n* ''root-serve-type'' - the content type with which the root tiddler should be served (defaults to \\\"text/html\\\")\\n* ''username'' - the default username for signing edits\\n* ''password'' - optional password for basic authentication\\n* ''host'' - optional hostname to serve from (defaults to \\\"127.0.0.1\\\" aka \\\"localhost\\\")\\n* ''path-prefix'' - optional prefix for paths\\n* ''debug-level'' - optional debug level; set to \\\"debug\\\" to view request details (defaults to \\\"none\\\")\\n\\nIf the password parameter is specified then the browser will prompt the user for the username and password. Note that the password is transmitted in plain text so this implementation should only be used on a trusted network or over HTTPS.\\n\\nFor example:\\n\\n```\\n--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd\\n```\\n\\nThe username and password can be specified as empty strings if you need to set the hostname or pathprefix and don't want to require a password.\\n\\n\\n```\\n--server 8080 $:/core/save/all text/plain text/html \\\"\\\" \\\"\\\" 192.168.0.245\\n```\\n\\nUsing an address like this exposes your system to the local network. For information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.\\n\\nTo run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port. It can be useful to use an environment variable to pass the port number to the Node.js process. This example references an environment variable called \\\"MY_PORT_NUMBER\\\":\\n\\n```\\n--server MY_PORT_NUMBER $:/core/save/all text/plain text/html MyUserName passw0rd\\n```\\n\"},\"$:/language/Help/setfield\":{\"title\":\"$:/language/Help/setfield\",\"description\":\"Prepares external tiddlers for use\",\"text\":\"//Note that this command is experimental and may change or be replaced before being finalised//\\n\\nSets the specified field of a group of tiddlers to the result of wikifying a template tiddler with the `currentTiddler` variable set to the tiddler.\\n\\n```\\n--setfield <filter> <fieldname> <templatetitle> <rendertype>\\n```\\n\\nThe parameters are:\\n\\n* ''filter'' - filter identifying the tiddlers to be affected\\n* ''fieldname'' - the field to modify (defaults to \\\"text\\\")\\n* ''templatetitle'' - the tiddler to wikify into the specified field. If blank or missing then the specified field is deleted\\n* ''rendertype'' - the text type to render (defaults to \\\"text/plain\\\"; \\\"text/html\\\" can be used to include HTML tags)\\n\"},\"$:/language/Help/unpackplugin\":{\"title\":\"$:/language/Help/unpackplugin\",\"description\":\"Unpack the payload tiddlers from a plugin\",\"text\":\"Extract the payload tiddlers from a plugin, creating them as ordinary tiddlers:\\n\\n```\\n--unpackplugin <title>\\n```\\n\"},\"$:/language/Help/verbose\":{\"title\":\"$:/language/Help/verbose\",\"description\":\"Triggers verbose output mode\",\"text\":\"Triggers verbose output, useful for debugging\\n\\n```\\n--verbose\\n```\\n\"},\"$:/language/Help/version\":{\"title\":\"$:/language/Help/version\",\"description\":\"Displays the version number of TiddlyWiki\",\"text\":\"Displays the version number of TiddlyWiki.\\n\\n```\\n--version\\n```\\n\"},\"$:/language/Import/Editor/Import/Heading\":{\"title\":\"$:/language/Import/Editor/Import/Heading\",\"text\":\"Import images and insert them into the editor.\"},\"$:/language/Import/Imported/Hint\":{\"title\":\"$:/language/Import/Imported/Hint\",\"text\":\"The following tiddlers were imported:\"},\"$:/language/Import/Listing/Cancel/Caption\":{\"title\":\"$:/language/Import/Listing/Cancel/Caption\",\"text\":\"Cancel\"},\"$:/language/Import/Listing/Cancel/Warning\":{\"title\":\"$:/language/Import/Listing/Cancel/Warning\",\"text\":\"Do you wish to cancel the import?\"},\"$:/language/Import/Listing/Hint\":{\"title\":\"$:/language/Import/Listing/Hint\",\"text\":\"These tiddlers are ready to import:\"},\"$:/language/Import/Listing/Import/Caption\":{\"title\":\"$:/language/Import/Listing/Import/Caption\",\"text\":\"Import\"},\"$:/language/Import/Listing/Select/Caption\":{\"title\":\"$:/language/Import/Listing/Select/Caption\",\"text\":\"Select\"},\"$:/language/Import/Listing/Status/Caption\":{\"title\":\"$:/language/Import/Listing/Status/Caption\",\"text\":\"Status\"},\"$:/language/Import/Listing/Title/Caption\":{\"title\":\"$:/language/Import/Listing/Title/Caption\",\"text\":\"Title\"},\"$:/language/Import/Listing/Preview\":{\"title\":\"$:/language/Import/Listing/Preview\",\"text\":\"Preview:\"},\"$:/language/Import/Listing/Preview/Text\":{\"title\":\"$:/language/Import/Listing/Preview/Text\",\"text\":\"Text\"},\"$:/language/Import/Listing/Preview/TextRaw\":{\"title\":\"$:/language/Import/Listing/Preview/TextRaw\",\"text\":\"Text (Raw)\"},\"$:/language/Import/Listing/Preview/Fields\":{\"title\":\"$:/language/Import/Listing/Preview/Fields\",\"text\":\"Fields\"},\"$:/language/Import/Listing/Preview/Diff\":{\"title\":\"$:/language/Import/Listing/Preview/Diff\",\"text\":\"Diff\"},\"$:/language/Import/Listing/Preview/DiffFields\":{\"title\":\"$:/language/Import/Listing/Preview/DiffFields\",\"text\":\"Diff (Fields)\"},\"$:/language/Import/Listing/Rename/Tooltip\":{\"title\":\"$:/language/Import/Listing/Rename/Tooltip\",\"text\":\"Rename tiddler before importing\"},\"$:/language/Import/Listing/Rename/Prompt\":{\"title\":\"$:/language/Import/Listing/Rename/Prompt\",\"text\":\"Rename to:\"},\"$:/language/Import/Listing/Rename/ConfirmRename\":{\"title\":\"$:/language/Import/Listing/Rename/ConfirmRename\",\"text\":\"Rename tiddler\"},\"$:/language/Import/Listing/Rename/CancelRename\":{\"title\":\"$:/language/Import/Listing/Rename/CancelRename\",\"text\":\"Cancel\"},\"$:/language/Import/Listing/Rename/OverwriteWarning\":{\"title\":\"$:/language/Import/Listing/Rename/OverwriteWarning\",\"text\":\"A tiddler with this title already exists.\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\",\"text\":\"Blocked incompatible or obsolete plugin.\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\",\"text\":\"Blocked plugin (due to incoming <<incoming>> not being newer than existing <<existing>>).\"},\"$:/language/Import/Upgrader/Plugins/Upgraded\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Upgraded\",\"text\":\"Upgraded plugin from <<incoming>> to <<upgraded>>.\"},\"$:/language/Import/Upgrader/State/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/State/Suppressed\",\"text\":\"Blocked temporary state tiddler.\"},\"$:/language/Import/Upgrader/System/Disabled\":{\"title\":\"$:/language/Import/Upgrader/System/Disabled\",\"text\":\"Disabled system tiddler.\"},\"$:/language/Import/Upgrader/System/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/System/Suppressed\",\"text\":\"Blocked system tiddler.\"},\"$:/language/Import/Upgrader/System/Warning\":{\"title\":\"$:/language/Import/Upgrader/System/Warning\",\"text\":\"Core module tiddler.\"},\"$:/language/Import/Upgrader/System/Alert\":{\"title\":\"$:/language/Import/Upgrader/System/Alert\",\"text\":\"You are about to import a tiddler that will overwrite a core module tiddler. This is not recommended as it may make the system unstable.\"},\"$:/language/Import/Upgrader/ThemeTweaks/Created\":{\"title\":\"$:/language/Import/Upgrader/ThemeTweaks/Created\",\"text\":\"Migrated theme tweak from <$text text=<<from>>/>.\"},\"$:/language/Import/Upgrader/Tiddler/Disabled\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Disabled\",\"text\":\"Disabled tiddler.\"},\"$:/language/Import/Upgrader/Tiddler/Selected\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Selected\",\"text\":\"Selected tiddler.\"},\"$:/language/Import/Upgrader/Tiddler/Unselected\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Unselected\",\"text\":\"Unselected tiddler.\"},\"$:/language/AboveStory/ClassicPlugin/Warning\":{\"title\":\"$:/language/AboveStory/ClassicPlugin/Warning\",\"text\":\"It looks like you are trying to load a plugin designed for ~TiddlyWiki Classic. Please note that [[these plugins do not work with TiddlyWiki version 5.x.x|https://tiddlywiki.com/#TiddlyWikiClassic]]. ~TiddlyWiki Classic plugins detected:\"},\"$:/language/BinaryWarning/Prompt\":{\"title\":\"$:/language/BinaryWarning/Prompt\",\"text\":\"This tiddler contains binary data\"},\"$:/language/ClassicWarning/Hint\":{\"title\":\"$:/language/ClassicWarning/Hint\",\"text\":\"This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See https://tiddlywiki.com/static/Upgrading.html for more details.\"},\"$:/language/ClassicWarning/Upgrade/Caption\":{\"title\":\"$:/language/ClassicWarning/Upgrade/Caption\",\"text\":\"upgrade\"},\"$:/language/CloseAll/Button\":{\"title\":\"$:/language/CloseAll/Button\",\"text\":\"close all\"},\"$:/language/ColourPicker/Recent\":{\"title\":\"$:/language/ColourPicker/Recent\",\"text\":\"Recent:\"},\"$:/language/ConfirmCancelTiddler\":{\"title\":\"$:/language/ConfirmCancelTiddler\",\"text\":\"Do you wish to discard changes to the tiddler \\\"<$text text=<<title>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddler\":{\"title\":\"$:/language/ConfirmDeleteTiddler\",\"text\":\"Do you wish to delete the tiddler \\\"<$text text=<<title>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddlers\":{\"title\":\"$:/language/ConfirmDeleteTiddlers\",\"text\":\"Are you sure you wish to delete <<resultCount>> tiddler(s)?\"},\"$:/language/ConfirmOverwriteTiddler\":{\"title\":\"$:/language/ConfirmOverwriteTiddler\",\"text\":\"Do you wish to overwrite the tiddler \\\"<$text text=<<title>>/>\\\"?\"},\"$:/language/ConfirmEditShadowTiddler\":{\"title\":\"$:/language/ConfirmEditShadowTiddler\",\"text\":\"You are about to edit a ShadowTiddler. Any changes will override the default system making future upgrades non-trivial. Are you sure you want to edit \\\"<$text text=<<title>>/>\\\"?\"},\"$:/language/ConfirmAction\":{\"title\":\"$:/language/ConfirmAction\",\"text\":\"Do you wish to proceed?\"},\"$:/language/Count\":{\"title\":\"$:/language/Count\",\"text\":\"count\"},\"$:/language/DefaultNewTiddlerTitle\":{\"title\":\"$:/language/DefaultNewTiddlerTitle\",\"text\":\"New Tiddler\"},\"$:/language/Diffs/CountMessage\":{\"title\":\"$:/language/Diffs/CountMessage\",\"text\":\"<<diff-count>> differences\"},\"$:/language/DropMessage\":{\"title\":\"$:/language/DropMessage\",\"text\":\"Drop now (or use the 'Escape' key to cancel)\"},\"$:/language/Encryption/Cancel\":{\"title\":\"$:/language/Encryption/Cancel\",\"text\":\"Cancel\"},\"$:/language/Encryption/ConfirmClearPassword\":{\"title\":\"$:/language/Encryption/ConfirmClearPassword\",\"text\":\"Do you wish to clear the password? This will remove the encryption applied when saving this wiki\"},\"$:/language/Encryption/PromptSetPassword\":{\"title\":\"$:/language/Encryption/PromptSetPassword\",\"text\":\"Set a new password for this TiddlyWiki\"},\"$:/language/Encryption/Username\":{\"title\":\"$:/language/Encryption/Username\",\"text\":\"Username\"},\"$:/language/Encryption/Password\":{\"title\":\"$:/language/Encryption/Password\",\"text\":\"Password\"},\"$:/language/Encryption/RepeatPassword\":{\"title\":\"$:/language/Encryption/RepeatPassword\",\"text\":\"Repeat password\"},\"$:/language/Encryption/PasswordNoMatch\":{\"title\":\"$:/language/Encryption/PasswordNoMatch\",\"text\":\"Passwords do not match\"},\"$:/language/Encryption/SetPassword\":{\"title\":\"$:/language/Encryption/SetPassword\",\"text\":\"Set password\"},\"$:/language/Error/Caption\":{\"title\":\"$:/language/Error/Caption\",\"text\":\"Error\"},\"$:/language/Error/DeserializeOperator/MissingOperand\":{\"title\":\"$:/language/Error/DeserializeOperator/MissingOperand\",\"text\":\"Filter Error: Missing operand for 'deserialize' operator\"},\"$:/language/Error/DeserializeOperator/UnknownDeserializer\":{\"title\":\"$:/language/Error/DeserializeOperator/UnknownDeserializer\",\"text\":\"Filter Error: Unknown deserializer provided as operand for the 'deserialize' operator\"},\"$:/language/Error/Filter\":{\"title\":\"$:/language/Error/Filter\",\"text\":\"Filter error\"},\"$:/language/Error/FilterSyntax\":{\"title\":\"$:/language/Error/FilterSyntax\",\"text\":\"Syntax error in filter expression\"},\"$:/language/Error/FilterRunPrefix\":{\"title\":\"$:/language/Error/FilterRunPrefix\",\"text\":\"Filter Error: Unknown prefix for filter run\"},\"$:/language/Error/IsFilterOperator\":{\"title\":\"$:/language/Error/IsFilterOperator\",\"text\":\"Filter Error: Unknown parameter for the 'is' filter operator\"},\"$:/language/Error/FormatFilterOperator\":{\"title\":\"$:/language/Error/FormatFilterOperator\",\"text\":\"Filter Error: Unknown suffix for the 'format' filter operator\"},\"$:/language/Error/LoadingPluginLibrary\":{\"title\":\"$:/language/Error/LoadingPluginLibrary\",\"text\":\"Error loading plugin library\"},\"$:/language/Error/NetworkErrorAlert\":{\"title\":\"$:/language/Error/NetworkErrorAlert\",\"text\":\"`<h2>''Network Error''</h2>It looks like the connection to the server has been lost. This may indicate a problem with your network connection. Please attempt to restore network connectivity before continuing.<br><br>''Any unsaved changes will be automatically synchronised when connectivity is restored''.`\"},\"$:/language/Error/PutEditConflict\":{\"title\":\"$:/language/Error/PutEditConflict\",\"text\":\"File changed on server\"},\"$:/language/Error/PutForbidden\":{\"title\":\"$:/language/Error/PutForbidden\",\"text\":\"Permission denied\"},\"$:/language/Error/PutUnauthorized\":{\"title\":\"$:/language/Error/PutUnauthorized\",\"text\":\"Authentication required\"},\"$:/language/Error/RecursiveTransclusion\":{\"title\":\"$:/language/Error/RecursiveTransclusion\",\"text\":\"Recursive transclusion error in transclude widget\"},\"$:/language/Error/RetrievingSkinny\":{\"title\":\"$:/language/Error/RetrievingSkinny\",\"text\":\"Error retrieving skinny tiddler list\"},\"$:/language/Error/SavingToTWEdit\":{\"title\":\"$:/language/Error/SavingToTWEdit\",\"text\":\"Error saving to TWEdit\"},\"$:/language/Error/WhileSaving\":{\"title\":\"$:/language/Error/WhileSaving\",\"text\":\"Error while saving\"},\"$:/language/Error/XMLHttpRequest\":{\"title\":\"$:/language/Error/XMLHttpRequest\",\"text\":\"XMLHttpRequest error code\"},\"$:/language/Error/ZoominTextNode\":{\"title\":\"$:/language/Error/ZoominTextNode\",\"text\":\"Story View Error: It appears you tried to interact with a tiddler that displays in a custom container. This is most likely caused by using `$:/tags/StoryTiddlerTemplateFilter` with a template that contains text or whitespace at the start. Please use the pragma `\\\\whitespace trim` and ensure the whole contents of the tiddler is wrapped in a single HTML element. The text that caused this issue:\"},\"$:/language/InternalJavaScriptError/Title\":{\"title\":\"$:/language/InternalJavaScriptError/Title\",\"text\":\"Internal JavaScript Error\"},\"$:/language/InternalJavaScriptError/Hint\":{\"title\":\"$:/language/InternalJavaScriptError/Hint\",\"text\":\"Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser\"},\"$:/language/LayoutSwitcher/Description\":{\"title\":\"$:/language/LayoutSwitcher/Description\",\"text\":\"Open the layout switcher\"},\"$:/language/LazyLoadingWarning\":{\"title\":\"$:/language/LazyLoadingWarning\",\"text\":\"<p>Trying to load external content from ''<$text text={{!!_canonical_uri}}/>''</p><p>If this message doesn't disappear, either the tiddler content type doesn't match the type of the external content, or you may be using a browser that doesn't support external content for wikis loaded as standalone files. See https://tiddlywiki.com/#ExternalText</p>\"},\"$:/language/LoginToTiddlySpace\":{\"title\":\"$:/language/LoginToTiddlySpace\",\"text\":\"Login to TiddlySpace\"},\"$:/language/Manager/Controls/FilterByTag/None\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/None\",\"text\":\"(none)\"},\"$:/language/Manager/Controls/FilterByTag/Prompt\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/Prompt\",\"text\":\"Filter by tag:\"},\"$:/language/Manager/Controls/Order/Prompt\":{\"title\":\"$:/language/Manager/Controls/Order/Prompt\",\"text\":\"Reverse order\"},\"$:/language/Manager/Controls/Search/Placeholder\":{\"title\":\"$:/language/Manager/Controls/Search/Placeholder\",\"text\":\"Search\"},\"$:/language/Manager/Controls/Search/Prompt\":{\"title\":\"$:/language/Manager/Controls/Search/Prompt\",\"text\":\"Search:\"},\"$:/language/Manager/Controls/Show/Option/Tags\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tags\",\"text\":\"tags\"},\"$:/language/Manager/Controls/Show/Option/Tiddlers\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tiddlers\",\"text\":\"tiddlers\"},\"$:/language/Manager/Controls/Show/Prompt\":{\"title\":\"$:/language/Manager/Controls/Show/Prompt\",\"text\":\"Show:\"},\"$:/language/Manager/Controls/Sort/Prompt\":{\"title\":\"$:/language/Manager/Controls/Sort/Prompt\",\"text\":\"Sort by:\"},\"$:/language/Manager/Item/Colour\":{\"title\":\"$:/language/Manager/Item/Colour\",\"text\":\"Colour\"},\"$:/language/Manager/Item/Fields\":{\"title\":\"$:/language/Manager/Item/Fields\",\"text\":\"Fields\"},\"$:/language/Manager/Item/Icon/None\":{\"title\":\"$:/language/Manager/Item/Icon/None\",\"text\":\"(none)\"},\"$:/language/Manager/Item/Icon\":{\"title\":\"$:/language/Manager/Item/Icon\",\"text\":\"Icon\"},\"$:/language/Manager/Item/RawText\":{\"title\":\"$:/language/Manager/Item/RawText\",\"text\":\"Raw text\"},\"$:/language/Manager/Item/Tags\":{\"title\":\"$:/language/Manager/Item/Tags\",\"text\":\"Tags\"},\"$:/language/Manager/Item/Tools\":{\"title\":\"$:/language/Manager/Item/Tools\",\"text\":\"Tools\"},\"$:/language/Manager/Item/WikifiedText\":{\"title\":\"$:/language/Manager/Item/WikifiedText\",\"text\":\"Wikified text\"},\"$:/language/MissingTiddler/Hint\":{\"title\":\"$:/language/MissingTiddler/Hint\",\"text\":\"Missing tiddler \\\"<$text text=<<currentTiddler>>/>\\\" -- click {{||$:/core/ui/Buttons/edit}} to create\"},\"$:/language/No\":{\"title\":\"$:/language/No\",\"text\":\"No\"},\"$:/language/OfficialPluginLibrary\":{\"title\":\"$:/language/OfficialPluginLibrary\",\"text\":\"Official ~TiddlyWiki Plugin Library\"},\"$:/language/OfficialPluginLibrary/Hint\":{\"title\":\"$:/language/OfficialPluginLibrary/Hint\",\"text\":\"The official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.\"},\"$:/language/PageTemplate/Description\":{\"title\":\"$:/language/PageTemplate/Description\",\"text\":\"the default ~TiddlyWiki layout\"},\"$:/language/PageTemplate/Name\":{\"title\":\"$:/language/PageTemplate/Name\",\"text\":\"Standard Layout\"},\"$:/language/PluginReloadWarning\":{\"title\":\"$:/language/PluginReloadWarning\",\"text\":\"Please save {{$:/core/ui/Buttons/save-wiki}} and reload {{$:/core/ui/Buttons/refresh}} to allow changes to ~JavaScript plugins to take effect\"},\"$:/language/RecentChanges/DateFormat\":{\"title\":\"$:/language/RecentChanges/DateFormat\",\"text\":\"DDth MMM YYYY\"},\"$:/language/Shortcuts/Input/AdvancedSearch/Hint\":{\"title\":\"$:/language/Shortcuts/Input/AdvancedSearch/Hint\",\"text\":\"Open the ~AdvancedSearch panel from within the sidebar search field\"},\"$:/language/Shortcuts/Input/Accept/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Accept/Hint\",\"text\":\"Accept the selected item\"},\"$:/language/Shortcuts/Input/AcceptVariant/Hint\":{\"title\":\"$:/language/Shortcuts/Input/AcceptVariant/Hint\",\"text\":\"Accept the selected item (variant)\"},\"$:/language/Shortcuts/Input/Cancel/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Cancel/Hint\",\"text\":\"Clear the input field\"},\"$:/language/Shortcuts/Input/Down/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Down/Hint\",\"text\":\"Select the next item\"},\"$:/language/Shortcuts/Input/Tab-Left/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Tab-Left/Hint\",\"text\":\"Select the previous Tab\"},\"$:/language/Shortcuts/Input/Tab-Right/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Tab-Right/Hint\",\"text\":\"Select the next Tab\"},\"$:/language/Shortcuts/Input/Up/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Up/Hint\",\"text\":\"Select the previous item\"},\"$:/language/Shortcuts/SidebarLayout/Hint\":{\"title\":\"$:/language/Shortcuts/SidebarLayout/Hint\",\"text\":\"Change the sidebar layout\"},\"$:/language/Switcher/Subtitle/theme\":{\"title\":\"$:/language/Switcher/Subtitle/theme\",\"text\":\"Switch Theme\"},\"$:/language/Switcher/Subtitle/layout\":{\"title\":\"$:/language/Switcher/Subtitle/layout\",\"text\":\"Switch Layout\"},\"$:/language/Switcher/Subtitle/language\":{\"title\":\"$:/language/Switcher/Subtitle/language\",\"text\":\"Switch Language\"},\"$:/language/Switcher/Subtitle/palette\":{\"title\":\"$:/language/Switcher/Subtitle/palette\",\"text\":\"Switch Palette\"},\"$:/language/SystemTiddler/Tooltip\":{\"title\":\"$:/language/SystemTiddler/Tooltip\",\"text\":\"This is a system tiddler\"},\"$:/language/SystemTiddlers/Include/Prompt\":{\"title\":\"$:/language/SystemTiddlers/Include/Prompt\",\"text\":\"Include system tiddlers\"},\"$:/language/TagManager/Colour/Heading\":{\"title\":\"$:/language/TagManager/Colour/Heading\",\"text\":\"Colour\"},\"$:/language/TagManager/Count/Heading\":{\"title\":\"$:/language/TagManager/Count/Heading\",\"text\":\"Count\"},\"$:/language/TagManager/Icon/Heading\":{\"title\":\"$:/language/TagManager/Icon/Heading\",\"text\":\"Icon\"},\"$:/language/TagManager/Icons/None\":{\"title\":\"$:/language/TagManager/Icons/None\",\"text\":\"None\"},\"$:/language/TagManager/Info/Heading\":{\"title\":\"$:/language/TagManager/Info/Heading\",\"text\":\"Info\"},\"$:/language/TagManager/Tag/Heading\":{\"title\":\"$:/language/TagManager/Tag/Heading\",\"text\":\"Tag\"},\"$:/language/Tiddler/DateFormat\":{\"title\":\"$:/language/Tiddler/DateFormat\",\"text\":\"DDth MMM YYYY at hh12:0mmam\"},\"$:/language/UnsavedChangesWarning\":{\"title\":\"$:/language/UnsavedChangesWarning\",\"text\":\"You have unsaved changes in TiddlyWiki\"},\"$:/language/Yes\":{\"title\":\"$:/language/Yes\",\"text\":\"Yes\"},\"$:/language/Modals/Download\":{\"title\":\"$:/language/Modals/Download\",\"subtitle\":\"Download changes\",\"footer\":\"<$button message=\\\"tm-close-tiddler\\\">Close</$button>\",\"help\":\"https://tiddlywiki.com/static/DownloadingChanges.html\",\"text\":\"Your browser only supports manual saving.\\n\\nTo save your modified wiki, right click on the download link below and select \\\"Download file\\\" or \\\"Save file\\\", and then choose the folder and filename.\\n\\n//You can marginally speed things up by clicking the link with the control key (Windows) or the options/alt key (Mac OS X). You will not be prompted for the folder or filename, but your browser is likely to give it an unrecognisable name -- you may need to rename the file to include an `.html` extension before you can do anything useful with it.//\\n\\nOn smartphones that do not allow files to be downloaded you can instead bookmark the link, and then sync your bookmarks to a desktop computer from where the wiki can be saved normally.\\n\"},\"$:/config/NewJournal/Title\":{\"title\":\"$:/config/NewJournal/Title\",\"text\":\"DDth MMM YYYY\"},\"$:/config/NewJournal/Text\":{\"title\":\"$:/config/NewJournal/Text\",\"text\":\"\"},\"$:/config/NewJournal/Tags\":{\"title\":\"$:/config/NewJournal/Tags\",\"text\":\"Journal\\n\"},\"$:/language/Notifications/Save/Done\":{\"title\":\"$:/language/Notifications/Save/Done\",\"text\":\"Saved wiki\"},\"$:/language/Notifications/Save/Starting\":{\"title\":\"$:/language/Notifications/Save/Starting\",\"text\":\"Starting to save wiki\"},\"$:/language/Notifications/CopiedToClipboard/Succeeded\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Succeeded\",\"text\":\"Copied to clipboard!\"},\"$:/language/Notifications/CopiedToClipboard/Failed\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Failed\",\"text\":\"Failed to copy to clipboard!\"},\"$:/language/Search/DefaultResults/Caption\":{\"title\":\"$:/language/Search/DefaultResults/Caption\",\"text\":\"List\"},\"$:/language/Search/Filter/Caption\":{\"title\":\"$:/language/Search/Filter/Caption\",\"text\":\"Filter\"},\"$:/language/Search/Filter/Hint\":{\"title\":\"$:/language/Search/Filter/Hint\",\"text\":\"Search via a [[filter expression|https://tiddlywiki.com/static/Filters.html]]\"},\"$:/language/Search/Filter/Matches\":{\"title\":\"$:/language/Search/Filter/Matches\",\"text\":\"//<small><<resultCount>> matches</small>//\"},\"$:/language/Search/Matches\":{\"title\":\"$:/language/Search/Matches\",\"text\":\"//<small><<resultCount>> matches</small>//\"},\"$:/language/Search/Matches/All\":{\"title\":\"$:/language/Search/Matches/All\",\"text\":\"All matches:\"},\"$:/language/Search/Matches/NoMatch\":{\"title\":\"$:/language/Search/Matches/NoMatch\",\"text\":\"//No match//\"},\"$:/language/Search/Matches/NoResult\":{\"title\":\"$:/language/Search/Matches/NoResult\",\"text\":\"//No search result//\"},\"$:/language/Search/Matches/Title\":{\"title\":\"$:/language/Search/Matches/Title\",\"text\":\"Title matches:\"},\"$:/language/Search/Search\":{\"title\":\"$:/language/Search/Search\",\"text\":\"Search\"},\"$:/language/Search/Search/TooShort\":{\"title\":\"$:/language/Search/Search/TooShort\",\"text\":\"Search text too short\"},\"$:/language/Search/Shadows/Caption\":{\"title\":\"$:/language/Search/Shadows/Caption\",\"text\":\"Shadows\"},\"$:/language/Search/Shadows/Hint\":{\"title\":\"$:/language/Search/Shadows/Hint\",\"text\":\"Search for shadow tiddlers\"},\"$:/language/Search/Shadows/Matches\":{\"title\":\"$:/language/Search/Shadows/Matches\",\"text\":\"//<small><<resultCount>> matches</small>//\"},\"$:/language/Search/Standard/Caption\":{\"title\":\"$:/language/Search/Standard/Caption\",\"text\":\"Standard\"},\"$:/language/Search/Standard/Hint\":{\"title\":\"$:/language/Search/Standard/Hint\",\"text\":\"Search for standard tiddlers\"},\"$:/language/Search/Standard/Matches\":{\"title\":\"$:/language/Search/Standard/Matches\",\"text\":\"//<small><<resultCount>> matches</small>//\"},\"$:/language/Search/System/Caption\":{\"title\":\"$:/language/Search/System/Caption\",\"text\":\"System\"},\"$:/language/Search/System/Hint\":{\"title\":\"$:/language/Search/System/Hint\",\"text\":\"Search for system tiddlers\"},\"$:/language/Search/System/Matches\":{\"title\":\"$:/language/Search/System/Matches\",\"text\":\"//<small><<resultCount>> matches</small>//\"},\"$:/language/SideBar/Caption\":{\"title\":\"$:/language/SideBar/Caption\",\"text\":\"Sidebar\"},\"$:/language/SideBar/All/Caption\":{\"title\":\"$:/language/SideBar/All/Caption\",\"text\":\"All\"},\"$:/language/SideBar/Contents/Caption\":{\"title\":\"$:/language/SideBar/Contents/Caption\",\"text\":\"Contents\"},\"$:/language/SideBar/Drafts/Caption\":{\"title\":\"$:/language/SideBar/Drafts/Caption\",\"text\":\"Drafts\"},\"$:/language/SideBar/Explorer/Caption\":{\"title\":\"$:/language/SideBar/Explorer/Caption\",\"text\":\"Explorer\"},\"$:/language/SideBar/Missing/Caption\":{\"title\":\"$:/language/SideBar/Missing/Caption\",\"text\":\"Missing\"},\"$:/language/SideBar/More/Caption\":{\"title\":\"$:/language/SideBar/More/Caption\",\"text\":\"More\"},\"$:/language/SideBar/Open/Caption\":{\"title\":\"$:/language/SideBar/Open/Caption\",\"text\":\"Open\"},\"$:/language/SideBar/Orphans/Caption\":{\"title\":\"$:/language/SideBar/Orphans/Caption\",\"text\":\"Orphans\"},\"$:/language/SideBar/Recent/Caption\":{\"title\":\"$:/language/SideBar/Recent/Caption\",\"text\":\"Recent\"},\"$:/language/SideBar/Shadows/Caption\":{\"title\":\"$:/language/SideBar/Shadows/Caption\",\"text\":\"Shadows\"},\"$:/language/SideBar/System/Caption\":{\"title\":\"$:/language/SideBar/System/Caption\",\"text\":\"System\"},\"$:/language/SideBar/Tags/Caption\":{\"title\":\"$:/language/SideBar/Tags/Caption\",\"text\":\"Tags\"},\"$:/language/SideBar/Tags/Untagged/Caption\":{\"title\":\"$:/language/SideBar/Tags/Untagged/Caption\",\"text\":\"untagged\"},\"$:/language/SideBar/Tools/Caption\":{\"title\":\"$:/language/SideBar/Tools/Caption\",\"text\":\"Tools\"},\"$:/language/SideBar/Types/Caption\":{\"title\":\"$:/language/SideBar/Types/Caption\",\"text\":\"Types\"},\"$:/SiteSubtitle\":{\"title\":\"$:/SiteSubtitle\",\"text\":\"a non-linear personal web notebook\"},\"$:/SiteTitle\":{\"title\":\"$:/SiteTitle\",\"text\":\"My TiddlyWiki\"},\"$:/language/Snippets/FunctionDefinition\":{\"title\":\"$:/language/Snippets/FunctionDefinition\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Function definition\",\"text\":\"\\\\function f.name(param1,param2:\\\"default value\\\") [<param1>!is[blank]else<param2>]\\n\\n<<f.name>>\\n\"},\"$:/language/Snippets/ListByTag\":{\"title\":\"$:/language/Snippets/ListByTag\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"List of tiddlers by tag\",\"text\":\"<<list-links \\\"[tag[task]sort[title]]\\\">>\\n\"},\"$:/language/Snippets/MacroDefinition\":{\"title\":\"$:/language/Snippets/MacroDefinition\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Macro definition\",\"text\":\"\\\\define macroName(param1:\\\"default value\\\",param2)\\nText of the macro\\n\\\\end\\n\"},\"$:/language/Snippets/ProcedureDefinition\":{\"title\":\"$:/language/Snippets/ProcedureDefinition\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Procedure definition\",\"text\":\"\\\\procedure procName(param1:\\\"default value\\\",param2)\\nYour text comes here.\\n\\\\end\\n\"},\"$:/language/Snippets/Table4x3\":{\"title\":\"$:/language/Snippets/Table4x3\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Table with 4 columns by 3 rows\",\"text\":\"|! |!Alpha |!Beta |!Gamma |!Delta |\\n|!One | | | | |\\n|!Two | | | | |\\n|!Three | | | | |\\n\"},\"$:/language/Snippets/TableOfContents\":{\"title\":\"$:/language/Snippets/TableOfContents\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Table of Contents\",\"text\":\"<div class=\\\"tc-table-of-contents\\\">\\n\\n<<toc-selective-expandable 'TableOfContents'>>\\n\\n</div>\"},\"$:/language/ThemeTweaks/ThemeTweaks\":{\"title\":\"$:/language/ThemeTweaks/ThemeTweaks\",\"text\":\"Theme Tweaks\"},\"$:/language/ThemeTweaks/ThemeTweaks/Hint\":{\"title\":\"$:/language/ThemeTweaks/ThemeTweaks/Hint\",\"text\":\"You can tweak certain aspects of the ''Vanilla'' theme.\"},\"$:/language/ThemeTweaks/Options\":{\"title\":\"$:/language/ThemeTweaks/Options\",\"text\":\"Options\"},\"$:/language/ThemeTweaks/Options/SidebarLayout\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout\",\"text\":\"Sidebar layout\"},\"$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid\",\"text\":\"Fixed story, fluid sidebar\"},\"$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed\",\"text\":\"Fluid story, fixed sidebar\"},\"$:/language/ThemeTweaks/Options/StickyTitles\":{\"title\":\"$:/language/ThemeTweaks/Options/StickyTitles\",\"text\":\"Sticky titles\"},\"$:/language/ThemeTweaks/Options/StickyTitles/Hint\":{\"title\":\"$:/language/ThemeTweaks/Options/StickyTitles/Hint\",\"text\":\"Causes tiddler titles to \\\"stick\\\" to the top of the browser window\"},\"$:/language/ThemeTweaks/Options/CodeWrapping\":{\"title\":\"$:/language/ThemeTweaks/Options/CodeWrapping\",\"text\":\"Wrap long lines in code blocks\"},\"$:/language/ThemeTweaks/Settings\":{\"title\":\"$:/language/ThemeTweaks/Settings\",\"text\":\"Settings\"},\"$:/language/ThemeTweaks/Settings/FontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/FontFamily\",\"text\":\"Font family\"},\"$:/language/ThemeTweaks/Settings/CodeFontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/CodeFontFamily\",\"text\":\"Code font family\"},\"$:/language/ThemeTweaks/Settings/EditorFontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/EditorFontFamily\",\"text\":\"Editor font family\"},\"$:/language/ThemeTweaks/Settings/BackgroundImage\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImage\",\"text\":\"Page background image\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment\",\"text\":\"Page background image attachment\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll\",\"text\":\"Scroll with tiddlers\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed\",\"text\":\"Fixed to window\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize\",\"text\":\"Page background image size\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Auto\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Auto\",\"text\":\"Auto\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover\",\"text\":\"Cover\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain\",\"text\":\"Contain\"},\"$:/language/ThemeTweaks/Metrics\":{\"title\":\"$:/language/ThemeTweaks/Metrics\",\"text\":\"Sizes\"},\"$:/language/ThemeTweaks/Metrics/FontSize\":{\"title\":\"$:/language/ThemeTweaks/Metrics/FontSize\",\"text\":\"Font size\"},\"$:/language/ThemeTweaks/Metrics/LineHeight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/LineHeight\",\"text\":\"Line height\"},\"$:/language/ThemeTweaks/Metrics/BodyFontSize\":{\"title\":\"$:/language/ThemeTweaks/Metrics/BodyFontSize\",\"text\":\"Font size for tiddler body\"},\"$:/language/ThemeTweaks/Metrics/BodyLineHeight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/BodyLineHeight\",\"text\":\"Line height for tiddler body\"},\"$:/language/ThemeTweaks/Metrics/StoryLeft\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryLeft\",\"text\":\"Story left position\"},\"$:/language/ThemeTweaks/Metrics/StoryLeft/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryLeft/Hint\",\"text\":\"how far the left margin of the story river<br>(tiddler area) is from the left of the page\"},\"$:/language/ThemeTweaks/Metrics/StoryTop\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryTop\",\"text\":\"Story top position\"},\"$:/language/ThemeTweaks/Metrics/StoryTop/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryTop/Hint\",\"text\":\"how far the top margin of the story river<br>is from the top of the page\"},\"$:/language/ThemeTweaks/Metrics/StoryRight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryRight\",\"text\":\"Story right\"},\"$:/language/ThemeTweaks/Metrics/StoryRight/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryRight/Hint\",\"text\":\"how far the left margin of the sidebar <br>is from the left of the page\"},\"$:/language/ThemeTweaks/Metrics/StoryWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryWidth\",\"text\":\"Story width\"},\"$:/language/ThemeTweaks/Metrics/StoryWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryWidth/Hint\",\"text\":\"the overall width of the story river\"},\"$:/language/ThemeTweaks/Metrics/TiddlerWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/TiddlerWidth\",\"text\":\"Tiddler width\"},\"$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint\",\"text\":\"within the story river\"},\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint\",\"text\":\"Sidebar breakpoint\"},\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint\",\"text\":\"the minimum page width at which the story<br>river and sidebar will appear side by side\"},\"$:/language/ThemeTweaks/Metrics/SidebarWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarWidth\",\"text\":\"Sidebar width\"},\"$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint\",\"text\":\"the width of the sidebar in fluid-fixed layout\"},\"$:/language/TiddlerInfo/Advanced/Caption\":{\"title\":\"$:/language/TiddlerInfo/Advanced/Caption\",\"text\":\"Advanced\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\",\"text\":\"none\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\",\"text\":\"Plugin Details\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\",\"text\":\"This plugin contains the following shadow tiddlers:\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\",\"text\":\"Shadow Status\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\",\"text\":\"The tiddler <$link to=<<infoTiddler>>><$text text=<<infoTiddler>>/></$link> is not a shadow tiddler\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\",\"text\":\"The tiddler <$link to=<<infoTiddler>>><$text text=<<infoTiddler>>/></$link> is a shadow tiddler\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\",\"text\":\"It is defined in the plugin <$link to=<<pluginTiddler>>><$text text=<<pluginTiddler>>/></$link>\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\",\"text\":\"It is overridden by an ordinary tiddler\"},\"$:/language/TiddlerInfo/Fields/Caption\":{\"title\":\"$:/language/TiddlerInfo/Fields/Caption\",\"text\":\"Fields\"},\"$:/language/TiddlerInfo/List/Caption\":{\"title\":\"$:/language/TiddlerInfo/List/Caption\",\"text\":\"List\"},\"$:/language/TiddlerInfo/List/Empty\":{\"title\":\"$:/language/TiddlerInfo/List/Empty\",\"text\":\"This tiddler does not have a list\"},\"$:/language/TiddlerInfo/Listed/Caption\":{\"title\":\"$:/language/TiddlerInfo/Listed/Caption\",\"text\":\"Listed\"},\"$:/language/TiddlerInfo/Listed/Empty\":{\"title\":\"$:/language/TiddlerInfo/Listed/Empty\",\"text\":\"This tiddler is not listed by any others\"},\"$:/language/TiddlerInfo/References/Caption\":{\"title\":\"$:/language/TiddlerInfo/References/Caption\",\"text\":\"Backlinks\"},\"$:/language/TiddlerInfo/References/Empty\":{\"title\":\"$:/language/TiddlerInfo/References/Empty\",\"text\":\"No tiddlers link to this one\"},\"$:/language/TiddlerInfo/Tagging/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Caption\",\"text\":\"Tagging\"},\"$:/language/TiddlerInfo/Tagging/Empty\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Empty\",\"text\":\"No tiddlers are tagged with this one\"},\"$:/language/TiddlerInfo/Tools/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tools/Caption\",\"text\":\"Tools\"},\"$:/language/Docs/Types/application/javascript\":{\"title\":\"$:/language/Docs/Types/application/javascript\",\"description\":\"JavaScript code\",\"name\":\"application/javascript\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/application/json\":{\"title\":\"$:/language/Docs/Types/application/json\",\"description\":\"JSON data\",\"name\":\"application/json\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/application/x-tiddler-dictionary\":{\"title\":\"$:/language/Docs/Types/application/x-tiddler-dictionary\",\"description\":\"Data dictionary\",\"name\":\"application/x-tiddler-dictionary\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/image/gif\":{\"title\":\"$:/language/Docs/Types/image/gif\",\"description\":\"GIF image\",\"name\":\"image/gif\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/jpeg\":{\"title\":\"$:/language/Docs/Types/image/jpeg\",\"description\":\"JPEG image\",\"name\":\"image/jpeg\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/png\":{\"title\":\"$:/language/Docs/Types/image/png\",\"description\":\"PNG image\",\"name\":\"image/png\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/svg+xml\":{\"title\":\"$:/language/Docs/Types/image/svg+xml\",\"description\":\"SVG image\",\"name\":\"image/svg+xml\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/text/css\":{\"title\":\"$:/language/Docs/Types/text/css\",\"description\":\"Static stylesheet\",\"name\":\"text/css\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/text/html\":{\"title\":\"$:/language/Docs/Types/text/html\",\"description\":\"HTML markup\",\"name\":\"text/html\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/language/Docs/Types/text/plain\":{\"title\":\"$:/language/Docs/Types/text/plain\",\"description\":\"Plain text\",\"name\":\"text/plain\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/language/Docs/Types/text/vnd.tiddlywiki\":{\"title\":\"$:/language/Docs/Types/text/vnd.tiddlywiki\",\"description\":\"TiddlyWiki 5\",\"name\":\"text/vnd.tiddlywiki\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/language/Docs/Types/text/vnd.tiddlywiki-multiple\":{\"title\":\"$:/language/Docs/Types/text/vnd.tiddlywiki-multiple\",\"description\":\"Compound tiddler\",\"name\":\"text/vnd.tiddlywiki-multiple\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/languages/en-GB\":{\"title\":\"$:/languages/en-GB\",\"name\":\"en-GB\",\"description\":\"English (British)\",\"author\":\"JeremyRuston\",\"core-version\":\">=5.0.0\\\"\",\"text\":\"Stub pseudo-plugin for the default language\"},\"$:/core/modules/commander.js\":{\"title\":\"$:/core/modules/commander.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commander.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe $tw.Commander class is a command interpreter\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nParse a sequence of commands\\n\\tcommandTokens: an array of command string tokens\\n\\twiki: reference to the wiki store object\\n\\tstreams: {output:, error:}, each of which has a write(string) method\\n\\tcallback: a callback invoked as callback(err) where err is null if there was no error\\n*/\\nvar Commander = function(commandTokens,callback,wiki,streams) {\\n\\tvar path = require(\\\"path\\\");\\n\\tthis.commandTokens = commandTokens;\\n\\tthis.nextToken = 0;\\n\\tthis.callback = callback;\\n\\tthis.wiki = wiki;\\n\\tthis.streams = streams;\\n\\tthis.outputPath = path.resolve($tw.boot.wikiPath,$tw.config.wikiOutputSubDir);\\n};\\n\\n/*\\nLog a string if verbose flag is set\\n*/\\nCommander.prototype.log = function(str) {\\n\\tif(this.verbose) {\\n\\t\\tthis.streams.output.write(str + \\\"\\\\n\\\");\\n\\t}\\n};\\n\\n/*\\nWrite a string if verbose flag is set\\n*/\\nCommander.prototype.write = function(str) {\\n\\tif(this.verbose) {\\n\\t\\tthis.streams.output.write(str);\\n\\t}\\n};\\n\\n/*\\nAdd a string of tokens to the command queue\\n*/\\nCommander.prototype.addCommandTokens = function(commandTokens) {\\n\\tvar params = commandTokens.slice(0);\\n\\tparams.unshift(0);\\n\\tparams.unshift(this.nextToken);\\n\\tArray.prototype.splice.apply(this.commandTokens,params);\\n};\\n\\n/*\\nExecute the sequence of commands and invoke a callback on completion\\n*/\\nCommander.prototype.execute = function() {\\n\\tthis.executeNextCommand();\\n};\\n\\n/*\\nExecute the next command in the sequence\\n*/\\nCommander.prototype.executeNextCommand = function() {\\n\\tvar self = this;\\n\\t// Invoke the callback if there are no more commands\\n\\tif(this.nextToken >= this.commandTokens.length) {\\n\\t\\tthis.callback(null);\\n\\t} else {\\n\\t\\t// Get and check the command token\\n\\t\\tvar commandName = this.commandTokens[this.nextToken++];\\n\\t\\tif(commandName.substr(0,2) !== \\\"--\\\") {\\n\\t\\t\\tthis.callback(\\\"Missing command: \\\" + commandName);\\n\\t\\t} else {\\n\\t\\t\\tcommandName = commandName.substr(2); // Trim off the --\\n\\t\\t\\t// Accumulate the parameters to the command\\n\\t\\t\\tvar params = [];\\n\\t\\t\\twhile(this.nextToken < this.commandTokens.length && \\n\\t\\t\\t\\tthis.commandTokens[this.nextToken].substr(0,2) !== \\\"--\\\") {\\n\\t\\t\\t\\tparams.push(this.commandTokens[this.nextToken++]);\\n\\t\\t\\t}\\n\\t\\t\\t// Get the command info\\n\\t\\t\\tvar command = $tw.commands[commandName],\\n\\t\\t\\t\\tc,err;\\n\\t\\t\\tif(!command) {\\n\\t\\t\\t\\tthis.callback(\\\"Unknown command: \\\" + commandName);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(this.verbose) {\\n\\t\\t\\t\\t\\tthis.streams.output.write(\\\"Executing command: \\\" + commandName + \\\" \\\" + params.join(\\\" \\\") + \\\"\\\\n\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Parse named parameters if required\\n\\t\\t\\t\\tif(command.info.namedParameterMode) {\\n\\t\\t\\t\\t\\tparams = this.extractNamedParameters(params,command.info.mandatoryParameters);\\n\\t\\t\\t\\t\\tif(typeof params === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\treturn this.callback(params);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(command.info.synchronous) {\\n\\t\\t\\t\\t\\t// Synchronous command\\n\\t\\t\\t\\t\\tc = new command.Command(params,this);\\n\\t\\t\\t\\t\\terr = c.execute();\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\tthis.callback(err);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tthis.executeNextCommand();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Asynchronous command\\n\\t\\t\\t\\t\\tc = new command.Command(params,this,function(err) {\\n\\t\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\t\\tself.callback(err);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tself.executeNextCommand();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\terr = c.execute();\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\tthis.callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nGiven an array of parameter strings `params` in name:value format, and an array of mandatory parameter names in `mandatoryParameters`, returns a hashmap of values or a string if error\\n*/\\nCommander.prototype.extractNamedParameters = function(params,mandatoryParameters) {\\n\\tmandatoryParameters = mandatoryParameters || [];\\n\\tvar errors = [],\\n\\t\\tparamsByName = Object.create(null);\\n\\t// Extract the parameters\\n\\t$tw.utils.each(params,function(param) {\\n\\t\\tvar index = param.indexOf(\\\"=\\\");\\n\\t\\tif(index < 1) {\\n\\t\\t\\terrors.push(\\\"malformed named parameter: '\\\" + param + \\\"'\\\");\\n\\t\\t}\\n\\t\\tparamsByName[param.slice(0,index)] = $tw.utils.trim(param.slice(index+1));\\n\\t});\\n\\t// Check the mandatory parameters are present\\n\\t$tw.utils.each(mandatoryParameters,function(mandatoryParameter) {\\n\\t\\tif(!$tw.utils.hop(paramsByName,mandatoryParameter)) {\\n\\t\\t\\terrors.push(\\\"missing mandatory parameter: '\\\" + mandatoryParameter + \\\"'\\\");\\n\\t\\t}\\n\\t});\\n\\t// Return any errors\\n\\tif(errors.length > 0) {\\n\\t\\treturn errors.join(\\\" and\\\\n\\\");\\n\\t} else {\\n\\t\\treturn paramsByName;\\n\\t}\\n};\\n\\nCommander.initCommands = function(moduleType) {\\n\\tmoduleType = moduleType || \\\"command\\\";\\n\\t$tw.commands = {};\\n\\t$tw.modules.forEachModuleOfType(moduleType,function(title,module) {\\n\\t\\tvar c = $tw.commands[module.info.name] = {};\\n\\t\\t// Add the methods defined by the module\\n\\t\\tfor(var f in module) {\\n\\t\\t\\tif($tw.utils.hop(module,f)) {\\n\\t\\t\\t\\tc[f] = module[f];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\nexports.Commander = Commander;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/commands/build.js\":{\"title\":\"$:/core/modules/commands/build.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/build.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to build a build target\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"build\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\t// Get the build targets defined in the wiki\\n\\tvar buildTargets = $tw.boot.wikiInfo && $tw.boot.wikiInfo.build;\\n\\tif(!buildTargets) {\\n\\t\\treturn \\\"No build targets defined\\\";\\n\\t}\\n\\t// Loop through each of the specified targets\\n\\tvar targets;\\n\\tif(this.params.length > 0) {\\n\\t\\ttargets = this.params;\\n\\t} else {\\n\\t\\ttargets = Object.keys(buildTargets);\\n\\t}\\n\\tfor(var targetIndex=0; targetIndex<targets.length; targetIndex++) {\\n\\t\\tvar target = targets[targetIndex],\\n\\t\\t\\tcommands = buildTargets[target];\\n\\t\\tif(!commands) {\\n\\t\\t\\treturn \\\"Build target '\\\" + target + \\\"' not found\\\";\\n\\t\\t}\\n\\t\\t// Add the commands to the queue\\n\\t\\tthis.commander.addCommandTokens(commands);\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/clearpassword.js\":{\"title\":\"$:/core/modules/commands/clearpassword.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/clearpassword.js\\ntype: application/javascript\\nmodule-type: command\\n\\nClear password for crypto operations\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"clearpassword\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\t$tw.crypto.setPassword(null);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/commands.js\":{\"title\":\"$:/core/modules/commands/commands.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/commands.js\\ntype: application/javascript\\nmodule-type: command\\n\\nRuns the commands returned from a filter\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"commands\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params, commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\t// Parse the filter\\n\\tvar filter = this.params[0];\\n\\tif(!filter) {\\n\\t\\treturn \\\"No filter specified\\\";\\n\\t}\\n\\tvar commands = this.commander.wiki.filterTiddlers(filter)\\n\\tif(commands.length === 0) {\\n\\t\\treturn \\\"No tiddlers found for filter '\\\" + filter + \\\"'\\\";\\n\\t}\\n\\tthis.commander.addCommandTokens(commands);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/deletetiddlers.js\":{\"title\":\"$:/core/modules/commands/deletetiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/deletetiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to delete tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"deletetiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing filter\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\twiki.deleteTiddler(title);\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/editions.js\":{\"title\":\"$:/core/modules/commands/editions.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/editions.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to list the available editions\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"editions\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Output the list\\n\\tthis.commander.streams.output.write(\\\"Available editions:\\\\n\\\\n\\\");\\n\\tvar editionInfo = $tw.utils.getEditionInfo();\\n\\t$tw.utils.each(editionInfo,function(info,name) {\\n\\t\\tself.commander.streams.output.write(\\\" \\\" + name + \\\": \\\" + info.description + \\\"\\\\n\\\");\\n\\t});\\n\\tthis.commander.streams.output.write(\\\"\\\\n\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/fetch.js\":{\"title\":\"$:/core/modules/commands/fetch.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/fetch.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommands to fetch external tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"fetch\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 2) {\\n\\t\\treturn \\\"Missing subcommand and url\\\";\\n\\t}\\n\\tswitch(this.params[0]) {\\n\\t\\tcase \\\"raw-file\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\traw: true,\\n\\t\\t\\t\\turl: this.params[1],\\n\\t\\t\\t\\ttransformFilter: this.params[2] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"file\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\turl: this.params[1],\\n\\t\\t\\t\\timportFilter: this.params[2],\\n\\t\\t\\t\\ttransformFilter: this.params[3] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"raw-files\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\traw: true,\\n\\t\\t\\t\\turlFilter: this.params[1],\\n\\t\\t\\t\\ttransformFilter: this.params[2] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"files\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\turlFilter: this.params[1],\\n\\t\\t\\t\\timportFilter: this.params[2],\\n\\t\\t\\t\\ttransformFilter: this.params[3] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t}\\n\\treturn null;\\n};\\n\\nCommand.prototype.fetchFiles = function(options) {\\n\\tvar self = this;\\n\\t// Get the list of URLs\\n\\tvar urls;\\n\\tif(options.url) {\\n\\t\\turls = [options.url]\\n\\t} else if(options.urlFilter) {\\n\\t\\turls = this.commander.wiki.filterTiddlers(options.urlFilter);\\n\\t} else {\\n\\t\\treturn \\\"Missing URL\\\";\\n\\t}\\n\\t// Process each URL in turn\\n\\tvar next = 0;\\n\\tvar getNextFile = function(err) {\\n\\t\\tif(err) {\\n\\t\\t\\treturn options.callback(err);\\n\\t\\t}\\n\\t\\tif(next < urls.length) {\\n\\t\\t\\tself.fetchFile(urls[next++],options,getNextFile);\\n\\t\\t} else {\\n\\t\\t\\toptions.callback(null);\\n\\t\\t}\\n\\t};\\n\\tgetNextFile(null);\\n\\t// Success\\n\\treturn null;\\n};\\n\\nCommand.prototype.fetchFile = function(url,options,callback,redirectCount) {\\n\\tif(redirectCount > 10) {\\n\\t\\treturn callback(\\\"Error too many redirects retrieving \\\" + url);\\n\\t}\\n\\tvar self = this,\\n\\t\\tlib = url.substr(0,8) === \\\"https://\\\" ? require(\\\"https\\\") : require(\\\"http\\\");\\n\\tlib.get(url).on(\\\"response\\\",function(response) {\\n\\t var type = (response.headers[\\\"content-type\\\"] || \\\"\\\").split(\\\";\\\")[0],\\n\\t \\tdata = [];\\n\\t self.commander.write(\\\"Reading \\\" + url + \\\": \\\");\\n\\t response.on(\\\"data\\\",function(chunk) {\\n\\t data.push(chunk);\\n\\t self.commander.write(\\\".\\\");\\n\\t });\\n\\t response.on(\\\"end\\\",function() {\\n\\t self.commander.write(\\\"\\\\n\\\");\\n\\t if(response.statusCode === 200) {\\n\\t\\t self.processBody(Buffer.concat(data),type,options,url);\\n\\t\\t callback(null);\\n\\t } else {\\n\\t \\tif(response.statusCode === 302 || response.statusCode === 303 || response.statusCode === 307) {\\n\\t \\t\\treturn self.fetchFile(response.headers.location,options,callback,redirectCount + 1);\\n\\t \\t} else {\\n\\t\\t \\treturn callback(\\\"Error \\\" + response.statusCode + \\\" retrieving \\\" + url)\\n\\t \\t}\\n\\t }\\n\\t \\t});\\n\\t \\tresponse.on(\\\"error\\\",function(e) {\\n\\t\\t\\tconsole.log(\\\"Error on GET request: \\\" + e);\\n\\t\\t\\tcallback(e);\\n\\t \\t});\\n\\t});\\n\\treturn null;\\n};\\n\\nCommand.prototype.processBody = function(body,type,options,url) {\\n\\tvar self = this;\\n\\t// Collect the tiddlers in a wiki\\n\\tvar incomingWiki = new $tw.Wiki();\\n\\tif(options.raw) {\\n\\t\\tvar typeInfo = type ? $tw.config.contentTypeInfo[type] : null,\\n\\t\\t\\tencoding = typeInfo ? typeInfo.encoding : \\\"utf8\\\";\\n\\t\\tincomingWiki.addTiddler(new $tw.Tiddler({\\n\\t\\t\\ttitle: url,\\n\\t\\t\\ttype: type,\\n\\t\\t\\ttext: body.toString(encoding)\\n\\t\\t}));\\n\\t} else {\\n\\t\\t// Deserialise the file to extract the tiddlers\\n\\t\\tvar tiddlers = this.commander.wiki.deserializeTiddlers(type || \\\"text/html\\\",body.toString(\\\"utf8\\\"),{});\\n\\t\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\t\\tincomingWiki.addTiddler(new $tw.Tiddler(tiddler));\\n\\t\\t});\\n\\t}\\n\\t// Filter the tiddlers to select the ones we want\\n\\tvar filteredTitles = incomingWiki.filterTiddlers(options.importFilter || \\\"[all[tiddlers]]\\\");\\n\\t// Import the selected tiddlers\\n\\tvar count = 0;\\n\\tincomingWiki.each(function(tiddler,title) {\\n\\t\\tif(filteredTitles.indexOf(title) !== -1) {\\n\\t\\t\\tvar newTiddler;\\n\\t\\t\\tif(options.transformFilter) {\\n\\t\\t\\t\\tvar transformedTitle = (incomingWiki.filterTiddlers(options.transformFilter,null,self.commander.wiki.makeTiddlerIterator([title])) || [\\\"\\\"])[0];\\n\\t\\t\\t\\tif(transformedTitle) {\\n\\t\\t\\t\\t\\tself.commander.log(\\\"Importing \\\" + title + \\\" as \\\" + transformedTitle)\\n\\t\\t\\t\\t\\tnewTiddler = new $tw.Tiddler(tiddler,{title: transformedTitle});\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.commander.log(\\\"Importing \\\" + title)\\n\\t\\t\\t\\tnewTiddler = tiddler;\\n\\t\\t\\t}\\n\\t\\t\\tself.commander.wiki.importTiddler(newTiddler);\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t});\\n\\tself.commander.log(\\\"Imported \\\" + count + \\\" tiddlers\\\")\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/help.js\":{\"title\":\"$:/core/modules/commands/help.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/help.js\\ntype: application/javascript\\nmodule-type: command\\n\\nHelp command\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"help\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar subhelp = this.params[0] || \\\"default\\\",\\n\\t\\thelpBase = \\\"$:/language/Help/\\\",\\n\\t\\ttext;\\n\\tif(!this.commander.wiki.getTiddler(helpBase + subhelp)) {\\n\\t\\tsubhelp = \\\"notfound\\\";\\n\\t}\\n\\t// Wikify the help as formatted text (ie block elements generate newlines)\\n\\ttext = this.commander.wiki.renderTiddler(\\\"text/plain-formatted\\\",helpBase + subhelp);\\n\\t// Remove any leading linebreaks\\n\\ttext = text.replace(/^(\\\\r?\\\\n)*/g,\\\"\\\");\\n\\tthis.commander.streams.output.write(text);\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/import.js\":{\"title\":\"$:/core/modules/commands/import.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/import.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to import tiddlers from a file\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"import\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\tif(this.params.length < 2) {\\n\\t\\treturn \\\"Missing parameters\\\";\\n\\t}\\n\\tvar filename = self.params[0],\\n\\t\\tdeserializer = self.params[1],\\n\\t\\ttitle = self.params[2] || filename,\\n\\t\\tencoding = self.params[3] || \\\"utf8\\\",\\n\\t\\ttext = fs.readFileSync(filename,encoding),\\n\\t\\ttiddlers = this.commander.wiki.deserializeTiddlers(null,text,{title: title},{deserializer: deserializer});\\n\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\tself.commander.wiki.importTiddler(new $tw.Tiddler(tiddler));\\n\\t});\\n\\tthis.commander.log(tiddlers.length + \\\" tiddler(s) imported\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/init.js\":{\"title\":\"$:/core/modules/commands/init.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/init.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to initialise an empty wiki folder\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"init\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar fs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\t// Check that we don't already have a valid wiki folder\\n\\tif($tw.boot.wikiTiddlersPath || ($tw.utils.isDirectory($tw.boot.wikiPath) && !$tw.utils.isDirectoryEmpty($tw.boot.wikiPath))) {\\n\\t\\treturn \\\"Wiki folder is not empty\\\";\\n\\t}\\n\\t// Loop through each of the specified editions\\n\\tvar editions = this.params.length > 0 ? this.params : [\\\"empty\\\"];\\n\\tfor(var editionIndex=0; editionIndex<editions.length; editionIndex++) {\\n\\t\\tvar editionName = editions[editionIndex];\\n\\t\\t// Check the edition exists\\n\\t\\tvar editionPath = $tw.findLibraryItem(editionName,$tw.getLibraryItemSearchPaths($tw.config.editionsPath,$tw.config.editionsEnvVar));\\n\\t\\tif(!$tw.utils.isDirectory(editionPath)) {\\n\\t\\t\\treturn \\\"Edition '\\\" + editionName + \\\"' not found\\\";\\n\\t\\t}\\n\\t\\t// Copy the edition content\\n\\t\\tvar err = $tw.utils.copyDirectory(editionPath,$tw.boot.wikiPath);\\n\\t\\tif(!err) {\\n\\t\\t\\tthis.commander.streams.output.write(\\\"Copied edition '\\\" + editionName + \\\"' to \\\" + $tw.boot.wikiPath + \\\"\\\\n\\\");\\n\\t\\t} else {\\n\\t\\t\\treturn err;\\n\\t\\t}\\n\\t}\\n\\t// Tweak the tiddlywiki.info to remove any included wikis\\n\\tvar packagePath = $tw.boot.wikiPath + \\\"/tiddlywiki.info\\\",\\n\\t\\tpackageJson = $tw.utils.parseJSONSafe(fs.readFileSync(packagePath));\\n\\tdelete packageJson.includeWikis;\\n\\tfs.writeFileSync(packagePath,JSON.stringify(packageJson,null,$tw.config.preferences.jsonSpaces));\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/listen.js\":{\"title\":\"$:/core/modules/commands/listen.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/listen.js\\ntype: application/javascript\\nmodule-type: command\\n\\nListen for HTTP requests and serve tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Server = require(\\\"$:/core/modules/server/server.js\\\").Server;\\n\\nexports.info = {\\n\\tname: \\\"listen\\\",\\n\\tsynchronous: true,\\n\\tnamedParameterMode: true,\\n\\tmandatoryParameters: []\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tvar self = this;\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this;\\n\\tif(!$tw.boot.wikiTiddlersPath) {\\n\\t\\t$tw.utils.warning(\\\"Warning: Wiki folder '\\\" + $tw.boot.wikiPath + \\\"' does not exist or is missing a tiddlywiki.info file\\\");\\n\\t}\\n\\t// Set up server\\n\\tthis.server = new Server({\\n\\t\\twiki: this.commander.wiki,\\n\\t\\tvariables: self.params\\n\\t});\\n\\tvar nodeServer = this.server.listen();\\n\\t$tw.hooks.invokeHook(\\\"th-server-command-post-start\\\",this.server,nodeServer,\\\"tiddlywiki\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/load.js\":{\"title\":\"$:/core/modules/commands/load.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/load.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to load tiddlers from a file or directory\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"load\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar tiddlers = $tw.loadTiddlersFromPath(self.params[0]),\\n\\t\\tcount = 0;\\n\\t$tw.utils.each(tiddlers,function(tiddlerInfo) {\\n\\t\\t$tw.utils.each(tiddlerInfo.tiddlers,function(tiddler) {\\n\\t\\t\\tself.commander.wiki.importTiddler(new $tw.Tiddler(tiddler));\\n\\t\\t\\tcount++;\\n\\t\\t});\\n\\t});\\n\\tif(!count && self.params[1] !== \\\"noerror\\\") {\\n\\t\\tself.callback(\\\"No tiddlers found in file \\\\\\\"\\\" + self.params[0] + \\\"\\\\\\\"\\\");\\n\\t} else {\\n\\t\\tself.callback(null);\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/makelibrary.js\":{\"title\":\"$:/core/modules/commands/makelibrary.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/makelibrary.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to pack all of the plugins in the library into a plugin tiddler of type \\\"library\\\"\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"makelibrary\\\",\\n\\tsynchronous: true\\n};\\n\\nvar UPGRADE_LIBRARY_TITLE = \\\"$:/UpgradeLibrary\\\";\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar wiki = this.commander.wiki,\\n\\t\\tupgradeLibraryTitle = this.params[0] || UPGRADE_LIBRARY_TITLE,\\n\\t\\ttiddlers = $tw.utils.getAllPlugins();\\n\\t// Save the upgrade library tiddler\\n\\tvar pluginFields = {\\n\\t\\ttitle: upgradeLibraryTitle,\\n\\t\\ttype: \\\"application/json\\\",\\n\\t\\t\\\"plugin-type\\\": \\\"library\\\",\\n\\t\\t\\\"text\\\": JSON.stringify({tiddlers: tiddlers})\\n\\t};\\n\\twiki.addTiddler(new $tw.Tiddler(pluginFields));\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/output.js\":{\"title\":\"$:/core/modules/commands/output.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/output.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to set the default output location (defaults to current working directory)\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"output\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar fs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing output path\\\";\\n\\t}\\n\\tthis.commander.outputPath = path.resolve(process.cwd(),this.params[0]);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/password.js\":{\"title\":\"$:/core/modules/commands/password.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/password.js\\ntype: application/javascript\\nmodule-type: command\\n\\nSave password for crypto operations\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"password\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing password\\\";\\n\\t}\\n\\t$tw.crypto.setPassword(this.params[0]);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/render.js\":{\"title\":\"$:/core/modules/commands/render.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/render.js\\ntype: application/javascript\\nmodule-type: command\\n\\nRender individual tiddlers and save the results to the specified files\\n\\n\\\\*/\\n\\n\\t\\\"use strict\\\";\\n\\t\\n\\tvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\t\\n\\texports.info = {\\n\\t\\tname: \\\"render\\\",\\n\\t\\tsynchronous: true\\n\\t};\\n\\t\\n\\tvar Command = function(params,commander,callback) {\\n\\t\\tthis.params = params;\\n\\t\\tthis.commander = commander;\\n\\t\\tthis.callback = callback;\\n\\t};\\n\\t\\n\\tCommand.prototype.execute = function() {\\n\\t\\tif(this.params.length < 1) {\\n\\t\\t\\treturn \\\"Missing tiddler filter\\\";\\n\\t\\t}\\n\\t\\tvar self = this,\\n\\t\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\t\\tpath = require(\\\"path\\\"),\\n\\t\\t\\twiki = this.commander.wiki,\\n\\t\\t\\ttiddlerFilter = this.params[0],\\n\\t\\t\\tfilenameFilter = this.params[1] || \\\"[is[tiddler]addsuffix[.html]]\\\",\\n\\t\\t\\ttype = this.params[2] || \\\"text/html\\\",\\n\\t\\t\\ttemplate = this.params[3],\\n\\t\\t\\tvariableList = this.params.slice(4),\\n\\t\\t\\ttiddlers = wiki.filterTiddlers(tiddlerFilter),\\n\\t\\t\\tvariables = Object.create(null);\\n\\t\\t\\twhile(variableList.length >= 2) {\\n\\t\\t\\t\\tvariables[variableList[0]] = variableList[1];\\n\\t\\t\\t\\tvariableList = variableList.slice(2);\\n\\t\\t\\t}\\n\\t\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\t\\tvar filenameResults = wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]));\\n\\t\\t\\tif(filenameResults.length > 0) {\\n\\t\\t\\t\\tvar filepath = path.resolve(self.commander.outputPath,filenameResults[0]);\\n\\t\\t\\t\\tif(self.commander.verbose) {\\n\\t\\t\\t\\t\\tconsole.log(\\\"Rendering \\\\\\\"\\\" + title + \\\"\\\\\\\" to \\\\\\\"\\\" + filepath + \\\"\\\\\\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar parser = wiki.parseTiddler(template || title),\\n\\t\\t\\t\\t\\twidgetNode = wiki.makeWidget(parser,{variables: $tw.utils.extend({},variables,{currentTiddler: title,storyTiddler: title})}),\\n\\t\\t\\t\\t\\tcontainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\t\\t\\twidgetNode.render(container,null);\\n\\t\\t\\t\\tvar text = type === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n\\t\\t\\t\\t$tw.utils.createFileDirectories(filepath);\\n\\t\\t\\t\\tfs.writeFileSync(filepath,text,\\\"utf8\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tconsole.log(\\\"Not rendering \\\\\\\"\\\" + title + \\\"\\\\\\\" because the filename filter returned an empty result\\\");\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn null;\\n\\t};\\n\\t\\n\\texports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/rendertiddler.js\":{\"title\":\"$:/core/modules/commands/rendertiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/rendertiddler.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to render a tiddler and save it to a file\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"rendertiddler\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\ttitle = this.params[0],\\n\\t\\tfilename = path.resolve(this.commander.outputPath,this.params[1]),\\n\\t\\ttype = this.params[2] || \\\"text/html\\\",\\n\\t\\ttemplate = this.params[3],\\n\\t\\tname = this.params[4],\\n\\t\\tvalue = this.params[5],\\n\\t\\tvariables = {};\\n\\t$tw.utils.createFileDirectories(filename);\\n\\tif(template) {\\n\\t\\tvariables.currentTiddler = title;\\n\\t\\tvariables.storyTiddler = title;\\n\\t\\ttitle = template;\\n\\t}\\n\\tif(name && value) {\\n\\t\\tvariables[name] = value;\\n\\t}\\n\\tfs.writeFile(filename,this.commander.wiki.renderTiddler(type,title,{variables: variables}),\\\"utf8\\\",function(err) {\\n\\t\\tself.callback(err);\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/rendertiddlers.js\":{\"title\":\"$:/core/modules/commands/rendertiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/rendertiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to render several tiddlers to a folder of files\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.info = {\\n\\tname: \\\"rendertiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\ttemplate = this.params[1],\\n\\t\\toutputPath = this.commander.outputPath,\\n\\t\\tpathname = path.resolve(outputPath,this.params[2]),\\n\\t\\ttype = this.params[3] || \\\"text/html\\\",\\n\\t\\textension = this.params[4] || \\\".html\\\",\\n\\t\\tdeleteDirectory = (this.params[5] || \\\"\\\").toLowerCase() !== \\\"noclean\\\",\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\tif(deleteDirectory) {\\n\\t\\t$tw.utils.deleteDirectory(pathname);\\n\\t}\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar parser = wiki.parseTiddler(template),\\n\\t\\t\\twidgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title, storyTiddler: title}}),\\n\\t\\t\\tcontainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\twidgetNode.render(container,null);\\n\\t\\tvar text = type === \\\"text/html\\\" ? container.innerHTML : container.textContent,\\n\\t\\t\\texportPath = null;\\n\\t\\tif($tw.utils.hop($tw.macros,\\\"tv-get-export-path\\\")) {\\n\\t\\t\\tvar macroPath = $tw.macros[\\\"tv-get-export-path\\\"].run.apply(self,[title]);\\n\\t\\t\\tif(macroPath) {\\n\\t\\t\\t\\texportPath = path.resolve(outputPath,macroPath + extension);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar finalPath = exportPath || path.resolve(pathname,$tw.utils.encodeURIComponentExtended(title) + extension);\\n\\t\\t$tw.utils.createFileDirectories(finalPath);\\n\\t\\tfs.writeFileSync(finalPath,text,\\\"utf8\\\");\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/save.js\":{\"title\":\"$:/core/modules/commands/save.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/save.js\\ntype: application/javascript\\nmodule-type: command\\n\\nSaves individual tiddlers in their raw text or binary format to the specified files\\n\\n\\\\*/\\n\\n\\t\\\"use strict\\\";\\n\\t\\n\\texports.info = {\\n\\t\\tname: \\\"save\\\",\\n\\t\\tsynchronous: true\\n\\t};\\n\\t\\n\\tvar Command = function(params,commander,callback) {\\n\\t\\tthis.params = params;\\n\\t\\tthis.commander = commander;\\n\\t\\tthis.callback = callback;\\n\\t};\\n\\t\\n\\tCommand.prototype.execute = function() {\\n\\t\\tif(this.params.length < 1) {\\n\\t\\t\\treturn \\\"Missing filename filter\\\";\\n\\t\\t}\\n\\t\\tvar self = this,\\n\\t\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\t\\tpath = require(\\\"path\\\"),\\n\\t\\t\\tresult = null,\\n\\t\\t\\twiki = this.commander.wiki,\\n\\t\\t\\ttiddlerFilter = this.params[0],\\n\\t\\t\\tfilenameFilter = this.params[1] || \\\"[is[tiddler]]\\\",\\n\\t\\t\\ttiddlers = wiki.filterTiddlers(tiddlerFilter);\\n\\t\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\t\\tif(!result) {\\n\\t\\t\\t\\tvar tiddler = self.commander.wiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar fileInfo = $tw.utils.generateTiddlerFileInfo(tiddler,{\\n\\t\\t\\t\\t\\t\\tdirectory: path.resolve(self.commander.outputPath),\\n\\t\\t\\t\\t\\t\\tpathFilters: [filenameFilter],\\n\\t\\t\\t\\t\\t\\twiki: wiki,\\n\\t\\t\\t\\t\\t\\tfileInfo: {\\n\\t\\t\\t\\t\\t\\t\\toverwrite: true\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tif(self.commander.verbose) {\\n\\t\\t\\t\\t\\t\\tconsole.log(\\\"Saving \\\\\\\"\\\" + title + \\\"\\\\\\\" to \\\\\\\"\\\" + fileInfo.filepath + \\\"\\\\\\\"\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\t$tw.utils.saveTiddlerToFileSync(tiddler,fileInfo);\\n\\t\\t\\t\\t\\t} catch (err) {\\n\\t\\t\\t\\t\\t\\tresult = \\\"Error saving tiddler \\\\\\\"\\\" + title + \\\"\\\\\\\", to file: \\\\\\\"\\\" + fileInfo.filepath + \\\"\\\\\\\"\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresult = \\\"Tiddler '\\\" + title + \\\"' not found\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n\\t\\n\\texports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savelibrarytiddlers.js\":{\"title\":\"$:/core/modules/commands/savelibrarytiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savelibrarytiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save the subtiddlers of a bundle tiddler as a series of JSON files\\n\\n--savelibrarytiddlers <tiddler> <tiddler-filter> <pathname> <skinnylisting>\\n\\nThe tiddler identifies the bundle tiddler that contains the subtiddlers.\\n\\nThe tiddler filter specifies the plugins to be included.\\n\\nThe pathname specifies the pathname to the folder in which the JSON files should be saved. The filename is the URL encoded title of the subtiddler.\\n\\nThe skinnylisting specifies the title of the tiddler to which a JSON catalogue of the subtiddlers will be saved. The JSON file contains the same data as the bundle tiddler but with the `text` field removed.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"savelibrarytiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\tcontainerTitle = this.params[0],\\n\\t\\tfilter = this.params[1],\\n\\t\\tbasepath = this.params[2],\\n\\t\\tskinnyListTitle = this.params[3];\\n\\t// Get the container tiddler as data\\n\\tvar containerData = self.commander.wiki.getTiddlerDataCached(containerTitle,undefined);\\n\\tif(!containerData) {\\n\\t\\treturn \\\"'\\\" + containerTitle + \\\"' is not a tiddler bundle\\\";\\n\\t}\\n\\t// Filter the list of plugins\\n\\tvar pluginList = [];\\n\\t$tw.utils.each(containerData.tiddlers,function(tiddler,title) {\\n\\t\\tpluginList.push(title);\\n\\t});\\n\\tvar filteredPluginList;\\n\\tif(filter) {\\n\\t\\tfilteredPluginList = self.commander.wiki.filterTiddlers(filter,null,self.commander.wiki.makeTiddlerIterator(pluginList));\\n\\t} else {\\n\\t\\tfilteredPluginList = pluginList;\\n\\t}\\n\\t// Iterate through the plugins\\n\\tvar skinnyList = [];\\n\\t$tw.utils.each(filteredPluginList,function(title) {\\n\\t\\tvar tiddler = containerData.tiddlers[title];\\n\\t\\t// Save each JSON file and collect the skinny data\\n\\t\\tvar pathname = path.resolve(self.commander.outputPath,basepath + $tw.utils.encodeURIComponentExtended(title) + \\\".json\\\");\\n\\t\\t$tw.utils.createFileDirectories(pathname);\\n\\t\\tfs.writeFileSync(pathname,JSON.stringify(tiddler),\\\"utf8\\\");\\n\\t\\t// Collect the skinny list data\\n\\t\\tvar pluginTiddlers = $tw.utils.parseJSONSafe(tiddler.text),\\n\\t\\t\\treadmeContent = (pluginTiddlers.tiddlers[title + \\\"/readme\\\"] || {}).text,\\n\\t\\t\\tdoesRequireReload = !!self.commander.wiki.doesPluginInfoRequireReload(pluginTiddlers),\\n\\t\\t\\ticonTiddler = pluginTiddlers.tiddlers[title + \\\"/icon\\\"] || {},\\n\\t\\t\\ticonType = iconTiddler.type,\\n\\t\\t\\ticonText = iconTiddler.text,\\n\\t\\t\\ticonContent;\\n\\t\\tif(iconType && iconText) {\\n\\t\\t\\ticonContent = $tw.utils.makeDataUri(iconText,iconType);\\n\\t\\t}\\n\\t\\tskinnyList.push($tw.utils.extend({},tiddler,{\\n\\t\\t\\ttext: undefined,\\n\\t\\t\\treadme: readmeContent,\\n\\t\\t\\t\\\"requires-reload\\\": doesRequireReload ? \\\"yes\\\" : \\\"no\\\",\\n\\t\\t\\ticon: iconContent\\n\\t\\t}));\\n\\t});\\n\\t// Save the catalogue tiddler\\n\\tif(skinnyListTitle) {\\n\\t\\tself.commander.wiki.setTiddlerData(skinnyListTitle,skinnyList);\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savetiddler.js\":{\"title\":\"$:/core/modules/commands/savetiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savetiddler.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save the content of a tiddler to a file\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"savetiddler\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\ttitle = this.params[0],\\n\\t\\tfilename = path.resolve(this.commander.outputPath,this.params[1]),\\n\\t\\ttiddler = this.commander.wiki.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar type = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\",\\n\\t\\t\\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \\\"utf8\\\"};\\n\\t\\t$tw.utils.createFileDirectories(filename);\\n\\t\\tfs.writeFile(filename,tiddler.fields.text,contentTypeInfo.encoding,function(err) {\\n\\t\\t\\tself.callback(err);\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn \\\"Missing tiddler: \\\" + title;\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savetiddlers.js\":{\"title\":\"$:/core/modules/commands/savetiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savetiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save several tiddlers to a folder of files\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.info = {\\n\\tname: \\\"savetiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\tpathname = path.resolve(this.commander.outputPath,this.params[1]),\\n\\t\\tdeleteDirectory = (this.params[2] || \\\"\\\").toLowerCase() !== \\\"noclean\\\",\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\tif(deleteDirectory) {\\n\\t\\t$tw.utils.deleteDirectory(pathname);\\n\\t}\\n\\t$tw.utils.createDirectory(pathname);\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = self.commander.wiki.getTiddler(title),\\n\\t\\t\\ttype = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\",\\n\\t\\t\\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \\\"utf8\\\"},\\n\\t\\t\\tfilename = path.resolve(pathname,$tw.utils.encodeURIComponentExtended(title));\\n\\t\\tfs.writeFileSync(filename,tiddler.fields.text || \\\"\\\",contentTypeInfo.encoding);\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savewikifolder.js\":{\"title\":\"$:/core/modules/commands/savewikifolder.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savewikifolder.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save the current wiki as a wiki folder\\n\\n--savewikifolder <wikifolderpath> [ [<name>=<value>] ]*\\n\\nThe following options are supported:\\n\\n* ''filter'': a filter expression defining the tiddlers to be included in the output\\n* ''explodePlugins'': set to \\\"no\\\" to suppress exploding plugins into their constituent shadow tiddlers (defaults to \\\"yes\\\")\\n\\nSupports backward compatibility with --savewikifolder <wikifolderpath> [<filter>] [ [<name>=<value>] ]*\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"savewikifolder\\\",\\n\\tsynchronous: true\\n};\\n\\nvar fs,path;\\nif($tw.node) {\\n\\tfs = require(\\\"fs\\\");\\n\\tpath = require(\\\"path\\\");\\n}\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing wiki folder path\\\";\\n\\t}\\n\\tvar regFilter = /^[a-zA-Z0-9\\\\.\\\\-_]+=/g, // dynamic parameters\\n\\t\\tnamedParames,\\n\\t\\ttiddlerFilter,\\n\\t\\toptions = {};\\n\\tif (regFilter.test(this.params[1])) { \\n\\t\\tnamedParames = this.commander.extractNamedParameters(this.params.slice(1));\\n\\t\\ttiddlerFilter = namedParames.filter || \\\"[all[tiddlers]]\\\";\\n\\t} else {\\n\\t\\tnamedParames = this.commander.extractNamedParameters(this.params.slice(2));\\n\\t\\ttiddlerFilter = this.params[1];\\n\\t}\\n\\ttiddlerFilter = tiddlerFilter || \\\"[all[tiddlers]]\\\";\\n\\toptions.explodePlugins = namedParames.explodePlugins || \\\"yes\\\";\\n\\tvar wikifoldermaker = new WikiFolderMaker(this.params[0],tiddlerFilter,this.commander,options);\\n\\treturn wikifoldermaker.save();\\n};\\n\\nfunction WikiFolderMaker(wikiFolderPath,wikiFilter,commander,options) {\\n\\tthis.wikiFolderPath = wikiFolderPath;\\n\\tthis.wikiFilter = wikiFilter;\\n\\tthis.commander = commander;\\n\\tthis.explodePlugins = options.explodePlugins;\\n\\tthis.wiki = commander.wiki;\\n\\tthis.savedPaths = []; // So that we can detect filename clashes\\n}\\n\\nWikiFolderMaker.prototype.log = function(str) {\\n\\tif(this.commander.verbose) {\\n\\t\\tconsole.log(str);\\n\\t}\\n};\\n\\nWikiFolderMaker.prototype.tiddlersToIgnore = [\\n\\t\\\"$:/boot/boot.css\\\",\\n\\t\\\"$:/boot/boot.js\\\",\\n\\t\\\"$:/boot/bootprefix.js\\\",\\n\\t\\\"$:/core\\\",\\n\\t\\\"$:/library/sjcl.js\\\",\\n\\t\\\"$:/temp/info-plugin\\\"\\n];\\n\\n/*\\nReturns null if successful, or an error string if there was an error\\n*/\\nWikiFolderMaker.prototype.save = function() {\\n\\tvar self = this;\\n\\t// Check that the output directory doesn't exist\\n\\tif(fs.existsSync(this.wikiFolderPath) && !$tw.utils.isDirectoryEmpty(this.wikiFolderPath)) {\\n\\t\\treturn \\\"The unpackwiki command requires that the output wiki folder be empty\\\";\\n\\t}\\n\\t// Get the tiddlers from the source wiki\\n\\tvar tiddlerTitles = this.wiki.filterTiddlers(this.wikiFilter);\\n\\t// Initialise a new tiddlwiki.info file\\n\\tvar newWikiInfo = {};\\n\\t// Process each incoming tiddler in turn\\n\\t$tw.utils.each(tiddlerTitles,function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(self.tiddlersToIgnore.indexOf(title) !== -1) {\\n\\t\\t\\t\\t// Ignore the core plugin and the ephemeral info plugin\\n\\t\\t\\t\\tself.log(\\\"Ignoring tiddler: \\\" + title);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar type = tiddler.fields.type,\\n\\t\\t\\t\\t\\tpluginType = tiddler.fields[\\\"plugin-type\\\"];\\n\\t\\t\\t\\tif(type === \\\"application/json\\\" && pluginType) {\\n\\t\\t\\t\\t\\t// Plugin tiddler\\n\\t\\t\\t\\t\\tvar libraryDetails = self.findPluginInLibrary(title);\\n\\t\\t\\t\\t\\tif(libraryDetails) {\\n\\t\\t\\t\\t\\t\\t// A plugin from the core library\\n\\t\\t\\t\\t\\t\\tself.log(\\\"Adding built-in plugin: \\\" + libraryDetails.name);\\n\\t\\t\\t\\t\\t\\tnewWikiInfo[libraryDetails.type] = newWikiInfo[libraryDetails.type] || [];\\n\\t\\t\\t\\t\\t\\t$tw.utils.pushTop(newWikiInfo[libraryDetails.type],libraryDetails.name);\\n\\t\\t\\t\\t\\t} else if(self.explodePlugins !== \\\"no\\\") {\\n\\t\\t\\t\\t\\t\\t// A custom plugin\\n\\t\\t\\t\\t\\t\\tself.log(\\\"Processing custom plugin: \\\" + title);\\n\\t\\t\\t\\t\\t\\tself.saveCustomPlugin(tiddler);\\n\\t\\t\\t\\t\\t} else if(self.explodePlugins === \\\"no\\\") {\\n\\t\\t\\t\\t\\t\\tself.log(\\\"Processing custom plugin to tiddlders folder: \\\" + title);\\n\\t\\t\\t\\t\\t\\tself.saveTiddler(\\\"tiddlers\\\", tiddler);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Ordinary tiddler\\n\\t\\t\\t\\t\\tself.saveTiddler(\\\"tiddlers\\\",tiddler);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Save the tiddlywiki.info file\\n\\tthis.saveJSONFile(\\\"tiddlywiki.info\\\",newWikiInfo);\\n\\tself.log(\\\"Writing tiddlywiki.info: \\\" + JSON.stringify(newWikiInfo,null,$tw.config.preferences.jsonSpaces));\\n\\treturn null;\\n};\\n\\n/*\\nTest whether the specified tiddler is a plugin in the plugin library\\n*/\\nWikiFolderMaker.prototype.findPluginInLibrary = function(title) {\\n\\tvar parts = title.split(\\\"/\\\"),\\n\\t\\tpluginPath, type, name;\\n\\tif(parts[0] === \\\"$:\\\") {\\n\\t\\tif(parts[1] === \\\"languages\\\" && parts.length === 3) {\\n\\t\\t\\tpluginPath = \\\"languages\\\" + path.sep + parts[2];\\n\\t\\t\\ttype = parts[1];\\n\\t\\t\\tname = parts[2];\\n\\t\\t} else if(parts[1] === \\\"plugins\\\" || parts[1] === \\\"themes\\\" && parts.length === 4) {\\n\\t\\t\\tpluginPath = parts[1] + path.sep + parts[2] + path.sep + parts[3];\\n\\t\\t\\ttype = parts[1];\\n\\t\\t\\tname = parts[2] + \\\"/\\\" + parts[3];\\n\\t\\t}\\n\\t}\\n\\tif(pluginPath && type && name) {\\n\\t\\tpluginPath = path.resolve($tw.boot.bootPath,\\\"..\\\",pluginPath);\\n\\t\\tif(fs.existsSync(pluginPath)) {\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tpluginPath: pluginPath,\\n\\t\\t\\t\\ttype: type,\\n\\t\\t\\t\\tname: name\\n\\t\\t\\t};\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nWikiFolderMaker.prototype.saveCustomPlugin = function(pluginTiddler) {\\n\\tvar self = this,\\n\\t\\tpluginTitle = pluginTiddler.fields.title,\\n\\t\\ttitleParts = pluginTitle.split(\\\"/\\\"),\\n\\t\\tdirectory = $tw.utils.generateTiddlerFilepath(titleParts[titleParts.length - 1],{\\n\\t\\t\\tdirectory: path.resolve(this.wikiFolderPath,pluginTiddler.fields[\\\"plugin-type\\\"] + \\\"s\\\")\\n\\t\\t}),\\n\\t\\tpluginInfo = pluginTiddler.getFieldStrings({exclude: [\\\"text\\\",\\\"type\\\"]});\\n\\tthis.saveJSONFile(directory + path.sep + \\\"plugin.info\\\",pluginInfo);\\n\\tself.log(\\\"Writing \\\" + directory + path.sep + \\\"plugin.info: \\\" + JSON.stringify(pluginInfo,null,$tw.config.preferences.jsonSpaces));\\n\\tvar pluginTiddlers = $tw.utils.parseJSONSafe(pluginTiddler.fields.text).tiddlers; // A hashmap of tiddlers in the plugin\\n\\t$tw.utils.each(pluginTiddlers,function(tiddler,title) {\\n\\t\\tif(!tiddler.title) {\\n\\t\\t\\ttiddler.title = title;\\n\\t\\t }\\n\\t\\tself.saveTiddler(directory,new $tw.Tiddler(tiddler));\\n\\t});\\n};\\n\\nWikiFolderMaker.prototype.saveTiddler = function(directory,tiddler) {\\n\\tvar title = tiddler.fields.title, fileInfo, pathFilters, extFilters;\\n\\tif(this.wiki.tiddlerExists(\\\"$:/config/FileSystemPaths\\\")) {\\n\\t\\tpathFilters = this.wiki.getTiddlerText(\\\"$:/config/FileSystemPaths\\\",\\\"\\\").split(\\\"\\\\n\\\");\\n\\t}\\n\\tif(this.wiki.tiddlerExists(\\\"$:/config/FileSystemExtensions\\\")) {\\n\\t\\textFilters = this.wiki.getTiddlerText(\\\"$:/config/FileSystemExtensions\\\",\\\"\\\").split(\\\"\\\\n\\\");\\n\\t}\\n\\tvar fileInfo = $tw.utils.generateTiddlerFileInfo(tiddler,{\\n\\t\\tdirectory: path.resolve(this.wikiFolderPath,directory),\\n\\t\\tpathFilters: pathFilters,\\n\\t\\textFilters: extFilters,\\n\\t\\twiki: this.wiki,\\n\\t\\tfileInfo: {}\\n\\t});\\n\\ttry {\\n\\t\\t$tw.utils.saveTiddlerToFileSync(tiddler,fileInfo);\\n\\t} catch (err) {\\n\\t\\tconsole.log(\\\"SaveWikiFolder: Error saving file '\\\" + fileInfo.filepath + \\\"', tiddler: '\\\" + tiddler.fields.title);\\n\\t}\\n};\\n\\nWikiFolderMaker.prototype.saveJSONFile = function(filename,json) {\\n\\tthis.saveTextFile(filename,JSON.stringify(json,null,$tw.config.preferences.jsonSpaces));\\n};\\n\\nWikiFolderMaker.prototype.saveTextFile = function(filename,data) {\\n\\tthis.saveFile(filename,\\\"utf8\\\",data);\\n};\\n\\nWikiFolderMaker.prototype.saveFile = function(filename,encoding,data) {\\n\\tvar filepath = path.resolve(this.wikiFolderPath,filename);\\n\\t$tw.utils.createFileDirectories(filepath);\\n\\tfs.writeFileSync(filepath,data,encoding);\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/server.js\":{\"title\":\"$:/core/modules/commands/server.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/server.js\\ntype: application/javascript\\nmodule-type: command\\n\\nDeprecated legacy command for serving tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Server = require(\\\"$:/core/modules/server/server.js\\\").Server;\\n\\nexports.info = {\\n\\tname: \\\"server\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tvar self = this;\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(!$tw.boot.wikiTiddlersPath) {\\n\\t\\t$tw.utils.warning(\\\"Warning: Wiki folder '\\\" + $tw.boot.wikiPath + \\\"' does not exist or is missing a tiddlywiki.info file\\\");\\n\\t}\\n\\t// Set up server\\n\\tthis.server = new Server({\\n\\t\\twiki: this.commander.wiki,\\n\\t\\tvariables: {\\n\\t\\t\\tport: this.params[0],\\n\\t\\t\\thost: this.params[6],\\n\\t\\t\\t\\\"root-tiddler\\\": this.params[1],\\n\\t\\t\\t\\\"root-render-type\\\": this.params[2],\\n\\t\\t\\t\\\"root-serve-type\\\": this.params[3],\\n\\t\\t\\tusername: this.params[4],\\n\\t\\t\\tpassword: this.params[5],\\n\\t\\t\\t\\\"path-prefix\\\": this.params[7],\\n\\t\\t\\t\\\"debug-level\\\": this.params[8]\\n\\t\\t}\\n\\t});\\n\\tvar nodeServer = this.server.listen();\\n\\t$tw.hooks.invokeHook(\\\"th-server-command-post-start\\\",this.server,nodeServer,\\\"tiddlywiki\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/setfield.js\":{\"title\":\"$:/core/modules/commands/setfield.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/setfield.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to modify selected tiddlers to set a field to the text of a template tiddler that has been wikified with the selected tiddler as the current tiddler.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.info = {\\n\\tname: \\\"setfield\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 4) {\\n\\t\\treturn \\\"Missing parameters\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\tfieldname = this.params[1] || \\\"text\\\",\\n\\t\\ttemplatetitle = this.params[2],\\n\\t\\trendertype = this.params[3] || \\\"text/plain\\\",\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar parser = wiki.parseTiddler(templatetitle),\\n\\t\\t\\tnewFields = {},\\n\\t\\t\\ttiddler = wiki.getTiddler(title);\\n\\t\\tif(parser) {\\n\\t\\t\\tvar widgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title}});\\n\\t\\t\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\t\\twidgetNode.render(container,null);\\n\\t\\t\\tnewFields[fieldname] = rendertype === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n\\t\\t} else {\\n\\t\\t\\tnewFields[fieldname] = undefined;\\n\\t\\t}\\n\\t\\twiki.addTiddler(new $tw.Tiddler(tiddler,newFields));\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/unpackplugin.js\":{\"title\":\"$:/core/modules/commands/unpackplugin.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/unpackplugin.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to extract the shadow tiddlers from within a plugin\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"unpackplugin\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length < 1) {\\n\\t\\treturn \\\"Missing plugin name\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\ttitle = this.params[0],\\n\\t\\tpluginData = this.commander.wiki.getTiddlerDataCached(title);\\n\\tif(!pluginData) {\\n\\t\\treturn \\\"Plugin '\\\" + title + \\\"' not found\\\";\\n\\t}\\n\\t$tw.utils.each(pluginData.tiddlers,function(tiddler) {\\n\\t\\tself.commander.wiki.addTiddler(new $tw.Tiddler(tiddler));\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/verbose.js\":{\"title\":\"$:/core/modules/commands/verbose.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/verbose.js\\ntype: application/javascript\\nmodule-type: command\\n\\nVerbose command\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"verbose\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tthis.commander.verbose = true;\\n\\t// Output the boot message log\\n\\tthis.commander.streams.output.write(\\\"Boot log:\\\\n \\\" + $tw.boot.logMessages.join(\\\"\\\\n \\\") + \\\"\\\\n\\\");\\n\\treturn null; // No error\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/version.js\":{\"title\":\"$:/core/modules/commands/version.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/version.js\\ntype: application/javascript\\nmodule-type: command\\n\\nVersion command\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"version\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tthis.commander.streams.output.write($tw.version + \\\"\\\\n\\\");\\n\\treturn null; // No error\\n};\\n\\nexports.Command = Command;\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/config.js\":{\"title\":\"$:/core/modules/config.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/config.js\\ntype: application/javascript\\nmodule-type: config\\n\\nCore configuration constants\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.preferences = {};\\n\\nexports.preferences.notificationDuration = 3 * 1000;\\nexports.preferences.jsonSpaces = 4;\\n\\nexports.textPrimitives = {\\n\\tupperLetter: \\\"[A-Z\\\\u00c0-\\\\u00d6\\\\u00d8-\\\\u00de\\\\u0150\\\\u0170]\\\",\\n\\tlowerLetter: \\\"[a-z\\\\u00df-\\\\u00f6\\\\u00f8-\\\\u00ff\\\\u0151\\\\u0171]\\\",\\n\\tanyLetter: \\\"[A-Za-z0-9\\\\u00c0-\\\\u00d6\\\\u00d8-\\\\u00de\\\\u00df-\\\\u00f6\\\\u00f8-\\\\u00ff\\\\u0150\\\\u0170\\\\u0151\\\\u0171]\\\",\\n\\tblockPrefixLetters:\\t\\\"[A-Za-z0-9-_\\\\u00c0-\\\\u00d6\\\\u00d8-\\\\u00de\\\\u00df-\\\\u00f6\\\\u00f8-\\\\u00ff\\\\u0150\\\\u0170\\\\u0151\\\\u0171]\\\"\\n};\\n\\nexports.textPrimitives.unWikiLink = \\\"~\\\";\\nexports.textPrimitives.wikiLink = exports.textPrimitives.upperLetter + \\\"+\\\" +\\n\\texports.textPrimitives.lowerLetter + \\\"+\\\" +\\n\\texports.textPrimitives.upperLetter +\\n\\texports.textPrimitives.anyLetter + \\\"*\\\";\\n\\nexports.htmlEntities = {quot:34, dollar:36, amp:38, apos:39, lt:60, gt:62, nbsp:160, iexcl:161, cent:162, pound:163, curren:164, yen:165, brvbar:166, sect:167, uml:168, copy:169, ordf:170, laquo:171, not:172, shy:173, reg:174, macr:175, deg:176, plusmn:177, sup2:178, sup3:179, acute:180, micro:181, para:182, middot:183, cedil:184, sup1:185, ordm:186, raquo:187, frac14:188, frac12:189, frac34:190, iquest:191, Agrave:192, Aacute:193, Acirc:194, Atilde:195, Auml:196, Aring:197, AElig:198, Ccedil:199, Egrave:200, Eacute:201, Ecirc:202, Euml:203, Igrave:204, Iacute:205, Icirc:206, Iuml:207, ETH:208, Ntilde:209, Ograve:210, Oacute:211, Ocirc:212, Otilde:213, Ouml:214, times:215, Oslash:216, Ugrave:217, Uacute:218, Ucirc:219, Uuml:220, Yacute:221, THORN:222, szlig:223, agrave:224, aacute:225, acirc:226, atilde:227, auml:228, aring:229, aelig:230, ccedil:231, egrave:232, eacute:233, ecirc:234, euml:235, igrave:236, iacute:237, icirc:238, iuml:239, eth:240, ntilde:241, ograve:242, oacute:243, ocirc:244, otilde:245, ouml:246, divide:247, oslash:248, ugrave:249, uacute:250, ucirc:251, uuml:252, yacute:253, thorn:254, yuml:255, OElig:338, oelig:339, Scaron:352, scaron:353, Yuml:376, fnof:402, circ:710, tilde:732, Alpha:913, Beta:914, Gamma:915, Delta:916, Epsilon:917, Zeta:918, Eta:919, Theta:920, Iota:921, Kappa:922, Lambda:923, Mu:924, Nu:925, Xi:926, Omicron:927, Pi:928, Rho:929, Sigma:931, Tau:932, Upsilon:933, Phi:934, Chi:935, Psi:936, Omega:937, alpha:945, beta:946, gamma:947, delta:948, epsilon:949, zeta:950, eta:951, theta:952, iota:953, kappa:954, lambda:955, mu:956, nu:957, xi:958, omicron:959, pi:960, rho:961, sigmaf:962, sigma:963, tau:964, upsilon:965, phi:966, chi:967, psi:968, omega:969, thetasym:977, upsih:978, piv:982, ensp:8194, emsp:8195, thinsp:8201, zwnj:8204, zwj:8205, lrm:8206, rlm:8207, ndash:8211, mdash:8212, lsquo:8216, rsquo:8217, sbquo:8218, ldquo:8220, rdquo:8221, bdquo:8222, dagger:8224, Dagger:8225, bull:8226, hellip:8230, permil:8240, prime:8242, Prime:8243, lsaquo:8249, rsaquo:8250, oline:8254, frasl:8260, nobreak:8288, NoBreak:8288, euro:8364, image:8465, weierp:8472, real:8476, trade:8482, alefsym:8501, larr:8592, uarr:8593, rarr:8594, darr:8595, harr:8596, crarr:8629, lArr:8656, uArr:8657, rArr:8658, dArr:8659, hArr:8660, forall:8704, part:8706, exist:8707, empty:8709, nabla:8711, isin:8712, notin:8713, ni:8715, prod:8719, sum:8721, minus:8722, lowast:8727, radic:8730, prop:8733, infin:8734, ang:8736, and:8743, or:8744, cap:8745, cup:8746, int:8747, there4:8756, sim:8764, cong:8773, asymp:8776, ne:8800, equiv:8801, le:8804, ge:8805, sub:8834, sup:8835, nsub:8836, sube:8838, supe:8839, oplus:8853, otimes:8855, perp:8869, sdot:8901, lceil:8968, rceil:8969, lfloor:8970, rfloor:8971, lang:9001, rang:9002, loz:9674, spades:9824, clubs:9827, hearts:9829, diams:9830 };\\n\\nexports.htmlVoidElements = \\\"area,base,br,col,command,embed,hr,img,input,keygen,link,meta,param,source,track,wbr\\\".split(\\\",\\\");\\n\\nexports.htmlBlockElements = \\\"address,article,aside,audio,blockquote,canvas,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,li,nav,ol,p,pre,section,summary,table,tfoot,ul,video\\\".split(\\\",\\\");\\n\\nexports.htmlUnsafeElements = \\\"script\\\".split(\\\",\\\");\\n\",\"type\":\"application/javascript\",\"module-type\":\"config\"},\"$:/core/modules/deserializers.js\":{\"title\":\"$:/core/modules/deserializers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/deserializers.js\\ntype: application/javascript\\nmodule-type: tiddlerdeserializer\\n\\nFunctions to deserialise tiddlers from a block of text\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"application/x-tiddler-html-div\\\"] = function(text,fields) {\\n\\treturn [deserializeTiddlerDiv(text,fields)];\\n};\\n\\nexports[\\\"application/json\\\"] = function(text,fields) {\\n\\tvar results = [],\\n\\t\\tincoming = $tw.utils.parseJSONSafe(text,function(err) {\\n\\t\\t\\treturn [{\\n\\t\\t\\t\\ttitle: \\\"JSON error: \\\" + err,\\n\\t\\t\\t\\ttext: \\\"\\\"\\n\\t\\t\\t}];\\n\\t\\t});\\n\\tif(!$tw.utils.isArray(incoming)) {\\n\\t\\tincoming = [incoming];\\n\\t}\\n\\tfor(var t=0; t<incoming.length; t++) {\\n\\t\\tvar incomingFields = incoming[t],\\n\\t\\t\\tfields = {};\\n\\t\\tfor(var f in incomingFields) {\\n\\t\\t\\tif(typeof incomingFields[f] === \\\"string\\\") {\\n\\t\\t\\t\\tfields[f] = incomingFields[f];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tresults.push(fields);\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nParse an HTML file into tiddlers. There are three possibilities:\\n# A TiddlyWiki classic HTML file containing `text/x-tiddlywiki` tiddlers\\n# A TiddlyWiki5 HTML file containing `text/vnd.tiddlywiki` tiddlers\\n# An ordinary HTML file\\n*/\\nexports[\\\"text/html\\\"] = function(text,fields) {\\n\\tvar results = [];\\n\\t// Check if we've got an old-style store area\\n\\tvar storeAreaMarkerRegExp = /<div id=[\\\"']?storeArea['\\\"]?( style=[\\\"']?display:none;[\\\"']?)?>/gi,\\n\\t\\tstoreAreaMatch = storeAreaMarkerRegExp.exec(text);\\n\\tif(storeAreaMatch) {\\n\\t\\t// If so, we've got tiddlers in classic TiddlyWiki format or unencrypted old-style TW5 format\\n\\t\\tresults.push.apply(results,deserializeStoreArea(text,storeAreaMarkerRegExp.lastIndex,!!storeAreaMatch[1],fields));\\n\\t}\\n\\t// Check for new-style store areas\\n\\tvar newStoreAreaMarkerRegExp = /<script class=\\\"tiddlywiki-tiddler-store\\\" type=\\\"([^\\\"]*)\\\">/gi,\\n\\t\\tnewStoreAreaMatch = newStoreAreaMarkerRegExp.exec(text),\\n\\t\\thaveHadNewStoreArea = !!newStoreAreaMatch;\\n\\twhile(newStoreAreaMatch) {\\n\\t\\tresults.push.apply(results,deserializeNewStoreArea(text,newStoreAreaMarkerRegExp.lastIndex,newStoreAreaMatch[1],fields));\\n\\t\\tnewStoreAreaMatch = newStoreAreaMarkerRegExp.exec(text);\\n\\t}\\n\\t// Return if we had either an old-style or a new-style store area\\n\\tif(storeAreaMatch || haveHadNewStoreArea) {\\n\\t\\treturn results;\\n\\t}\\n\\t// Otherwise, check whether we've got an encrypted file\\n\\tvar encryptedStoreArea = $tw.utils.extractEncryptedStoreArea(text);\\n\\tif(encryptedStoreArea) {\\n\\t\\t// If so, attempt to decrypt it using the current password\\n\\t\\treturn $tw.utils.decryptStoreArea(encryptedStoreArea);\\n\\t} else {\\n\\t\\t// It's not a TiddlyWiki so we'll return the entire HTML file as a tiddler\\n\\t\\treturn deserializeHtmlFile(text,fields);\\n\\t}\\n};\\n\\nfunction deserializeHtmlFile(text,fields) {\\n\\tvar result = {};\\n\\t$tw.utils.each(fields,function(value,name) {\\n\\t\\tresult[name] = value;\\n\\t});\\n\\tresult.text = text;\\n\\tresult.type = \\\"text/html\\\";\\n\\treturn [result];\\n}\\n\\nfunction deserializeNewStoreArea(text,storeAreaEnd,type,fields) {\\n\\tvar endOfScriptRegExp = /<\\\\/script>/gi;\\n\\tendOfScriptRegExp.lastIndex = storeAreaEnd;\\n\\tvar match = endOfScriptRegExp.exec(text);\\n\\tif(match) {\\n\\t\\tvar scriptContent = text.substring(storeAreaEnd,match.index);\\n\\t\\treturn $tw.wiki.deserializeTiddlers(type,scriptContent);\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n}\\n\\nfunction deserializeStoreArea(text,storeAreaEnd,isTiddlyWiki5,fields) {\\n\\tvar results = [],\\n\\t\\tendOfDivRegExp = /(<\\\\/div>\\\\s*)/gi,\\n\\t\\tstartPos = storeAreaEnd,\\n\\t\\tdefaultType = isTiddlyWiki5 ? undefined : \\\"text/x-tiddlywiki\\\";\\n\\tendOfDivRegExp.lastIndex = startPos;\\n\\tvar match = endOfDivRegExp.exec(text);\\n\\twhile(match) {\\n\\t\\tvar endPos = endOfDivRegExp.lastIndex,\\n\\t\\t\\ttiddlerFields = deserializeTiddlerDiv(text.substring(startPos,endPos),fields,{type: defaultType});\\n\\t\\tif(!tiddlerFields) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t$tw.utils.each(tiddlerFields,function(value,name) {\\n\\t\\t\\tif(typeof value === \\\"string\\\") {\\n\\t\\t\\t\\ttiddlerFields[name] = $tw.utils.htmlDecode(value);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(tiddlerFields.text !== null) {\\n\\t\\t\\tresults.push(tiddlerFields);\\n\\t\\t}\\n\\t\\tstartPos = endPos;\\n\\t\\tmatch = endOfDivRegExp.exec(text);\\n\\t}\\n\\treturn results;\\n}\\n\\n/*\\nUtility function to parse an old-style tiddler DIV in a *.tid file. It looks like this:\\n\\n<div title=\\\"Title\\\" creator=\\\"JoeBloggs\\\" modifier=\\\"JoeBloggs\\\" created=\\\"201102111106\\\" modified=\\\"201102111310\\\" tags=\\\"myTag [[my long tag]]\\\">\\n<pre>The text of the tiddler (without the expected HTML encoding).\\n</pre>\\n</div>\\n\\nNote that the field attributes are HTML encoded, but that the body of the <PRE> tag is not encoded.\\n\\nWhen these tiddler DIVs are encountered within a TiddlyWiki HTML file then the body is encoded in the usual way.\\n*/\\nvar deserializeTiddlerDiv = function(text /* [,fields] */) {\\n\\t// Slot together the default results\\n\\tvar result = {};\\n\\tif(arguments.length > 1) {\\n\\t\\tfor(var f=1; f<arguments.length; f++) {\\n\\t\\t\\tvar fields = arguments[f];\\n\\t\\t\\tfor(var t in fields) {\\n\\t\\t\\t\\tresult[t] = fields[t];\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Parse the DIV body\\n\\tvar startRegExp = /^\\\\s*<div\\\\s+([^>]*)>(\\\\s*<pre>)?/gi,\\n\\t\\tendRegExp,\\n\\t\\tmatch = startRegExp.exec(text);\\n\\tif(match) {\\n\\t\\t// Old-style DIVs don't have the <pre> tag\\n\\t\\tif(match[2]) {\\n\\t\\t\\tendRegExp = /<\\\\/pre>\\\\s*<\\\\/div>\\\\s*$/gi;\\n\\t\\t} else {\\n\\t\\t\\tendRegExp = /<\\\\/div>\\\\s*$/gi;\\n\\t\\t}\\n\\t\\tvar endMatch = endRegExp.exec(text);\\n\\t\\tif(endMatch) {\\n\\t\\t\\t// Extract the text\\n\\t\\t\\tresult.text = text.substring(match.index + match[0].length,endMatch.index);\\n\\t\\t\\t// Process the attributes\\n\\t\\t\\tvar attrRegExp = /\\\\s*([^=\\\\s]+)\\\\s*=\\\\s*(?:\\\"([^\\\"]*)\\\"|'([^']*)')/gi,\\n\\t\\t\\t\\tattrMatch;\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tattrMatch = attrRegExp.exec(match[1]);\\n\\t\\t\\t\\tif(attrMatch) {\\n\\t\\t\\t\\t\\tvar name = attrMatch[1];\\n\\t\\t\\t\\t\\tvar value = attrMatch[2] !== undefined ? attrMatch[2] : attrMatch[3];\\n\\t\\t\\t\\t\\tresult[name] = value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} while(attrMatch);\\n\\t\\t\\treturn result;\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"tiddlerdeserializer\"},\"$:/core/modules/editor/engines/framed.js\":{\"title\":\"$:/core/modules/editor/engines/framed.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/engines/framed.js\\ntype: application/javascript\\nmodule-type: library\\n\\nText editor engine based on a simple input or textarea within an iframe. This is done so that the selection is preserved even when clicking away from the textarea\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar HEIGHT_VALUE_TITLE = \\\"$:/config/TextEditor/EditorHeight/Height\\\";\\n\\nfunction FramedEngine(options) {\\n\\t// Save our options\\n\\toptions = options || {};\\n\\tthis.widget = options.widget;\\n\\tthis.value = options.value;\\n\\tthis.parentNode = options.parentNode;\\n\\tthis.nextSibling = options.nextSibling;\\n\\t// Create our hidden dummy text area for reading styles\\n\\tthis.dummyTextArea = this.widget.document.createElement(\\\"textarea\\\");\\n\\tif(this.widget.editClass) {\\n\\t\\tthis.dummyTextArea.className = this.widget.editClass;\\n\\t}\\n\\tthis.dummyTextArea.setAttribute(\\\"hidden\\\",\\\"true\\\");\\n\\tthis.parentNode.insertBefore(this.dummyTextArea,this.nextSibling);\\n\\tthis.widget.domNodes.push(this.dummyTextArea);\\n\\t// Create the iframe\\n\\tthis.iframeNode = this.widget.document.createElement(\\\"iframe\\\");\\n\\tthis.parentNode.insertBefore(this.iframeNode,this.nextSibling);\\n\\tthis.iframeDoc = this.iframeNode.contentWindow.document;\\n\\t// (Firefox requires us to put some empty content in the iframe)\\n\\tvar paletteTitle = this.widget.wiki.getTiddlerText(\\\"$:/palette\\\");\\n\\tvar colorScheme = (this.widget.wiki.getTiddler(paletteTitle) || {fields: {}}).fields[\\\"color-scheme\\\"] || \\\"light\\\";\\n\\tthis.iframeDoc.open();\\n\\tthis.iframeDoc.write(\\\"<meta name='color-scheme' content='\\\" + colorScheme + \\\"'>\\\");\\n\\tthis.iframeDoc.close();\\n\\t// Style the iframe\\n\\tthis.iframeNode.className = this.dummyTextArea.className;\\n\\tthis.iframeNode.style.border = \\\"none\\\";\\n\\tthis.iframeNode.style.padding = \\\"0\\\";\\n\\tthis.iframeNode.style.resize = \\\"none\\\";\\n\\tthis.iframeDoc.body.style.margin = \\\"0\\\";\\n\\tthis.iframeDoc.body.style.padding = \\\"0\\\";\\n\\tthis.widget.domNodes.push(this.iframeNode);\\n\\t// Construct the textarea or input node\\n\\tvar tag = this.widget.editTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"input\\\";\\n\\t}\\n\\tthis.domNode = this.iframeDoc.createElement(tag);\\n\\t// Set the text\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tthis.domNode.appendChild(this.iframeDoc.createTextNode(this.value));\\n\\t} else {\\n\\t\\tthis.domNode.value = this.value;\\n\\t}\\n\\t// Set the attributes\\n\\tif(this.widget.editType && this.widget.editTag !== \\\"textarea\\\") {\\n\\t\\tthis.domNode.setAttribute(\\\"type\\\",this.widget.editType);\\n\\t}\\n\\tif(this.widget.editPlaceholder) {\\n\\t\\tthis.domNode.setAttribute(\\\"placeholder\\\",this.widget.editPlaceholder);\\n\\t}\\n\\tif(this.widget.editSize) {\\n\\t\\tthis.domNode.setAttribute(\\\"size\\\",this.widget.editSize);\\n\\t}\\n\\tif(this.widget.editRows) {\\n\\t\\tthis.domNode.setAttribute(\\\"rows\\\",this.widget.editRows);\\n\\t}\\n\\tif(this.widget.editTabIndex) {\\n\\t\\tthis.iframeNode.setAttribute(\\\"tabindex\\\",this.widget.editTabIndex);\\n\\t}\\n\\tif(this.widget.editAutoComplete) {\\n\\t\\tthis.domNode.setAttribute(\\\"autocomplete\\\",this.widget.editAutoComplete);\\n\\t}\\n\\tif(this.widget.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.domNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\t// Copy the styles from the dummy textarea\\n\\tthis.copyStyles();\\n\\t// Add event listeners\\n\\t$tw.utils.addEventListeners(this.domNode,[\\n\\t\\t{name: \\\"click\\\",handlerObject: this,handlerMethod: \\\"handleClickEvent\\\"},\\n\\t\\t{name: \\\"input\\\",handlerObject: this,handlerMethod: \\\"handleInputEvent\\\"},\\n\\t\\t{name: \\\"keydown\\\",handlerObject: this,handlerMethod: \\\"handleKeydownEvent\\\"},\\n\\t\\t{name: \\\"focus\\\",handlerObject: this,handlerMethod: \\\"handleFocusEvent\\\"}\\n\\t]);\\n\\t// Add drag and drop event listeners if fileDrop is enabled\\n\\tif(this.widget.isFileDropEnabled) {\\n\\t\\t$tw.utils.addEventListeners(this.domNode,[\\n\\t\\t\\t{name: \\\"dragenter\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragEnterEvent\\\"},\\n\\t\\t\\t{name: \\\"dragover\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragOverEvent\\\"},\\n\\t\\t\\t{name: \\\"dragleave\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragLeaveEvent\\\"},\\n\\t\\t\\t{name: \\\"dragend\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragEndEvent\\\"},\\n\\t\\t\\t{name: \\\"drop\\\", handlerObject: this.widget,handlerMethod: \\\"handleDropEvent\\\"},\\n\\t\\t\\t{name: \\\"paste\\\", handlerObject: this.widget,handlerMethod: \\\"handlePasteEvent\\\"},\\n\\t\\t\\t{name: \\\"click\\\",handlerObject: this.widget,handlerMethod: \\\"handleClickEvent\\\"}\\n\\t\\t]);\\n\\t}\\n\\t// Insert the element into the DOM\\n\\tthis.iframeDoc.body.appendChild(this.domNode);\\n}\\n\\n/*\\nCopy styles from the dummy text area to the textarea in the iframe\\n*/\\nFramedEngine.prototype.copyStyles = function() {\\n\\t// Copy all styles\\n\\t$tw.utils.copyStyles(this.dummyTextArea,this.domNode);\\n\\t// Override the ones that should not be set the same as the dummy textarea\\n\\tthis.domNode.style.display = \\\"block\\\";\\n\\tthis.domNode.style.width = \\\"100%\\\";\\n\\tthis.domNode.style.margin = \\\"0\\\";\\n\\t// In Chrome setting -webkit-text-fill-color overrides the placeholder text colour\\n\\tthis.domNode.style[\\\"-webkit-text-fill-color\\\"] = \\\"currentcolor\\\";\\n\\t// Ensure we don't force text direction to LTR\\n\\tthis.domNode.style.removeProperty(\\\"direction\\\");\\n};\\n\\n/*\\nSet the text of the engine if it doesn't currently have focus\\n*/\\nFramedEngine.prototype.setText = function(text,type) {\\n\\tif(!this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\tif(this.domNode.ownerDocument.activeElement !== this.domNode) {\\n\\t\\t\\tthis.updateDomNodeText(text);\\n\\t\\t}\\n\\t\\t// Fix the height if needed\\n\\t\\tthis.fixHeight();\\n\\t}\\n};\\n\\n/*\\nUpdate the DomNode with the new text\\n*/\\nFramedEngine.prototype.updateDomNodeText = function(text) {\\n\\ttry {\\n\\t\\tthis.domNode.value = text;\\n\\t} catch(e) {\\n\\t\\t// Ignore\\n\\t}\\n};\\n\\n/*\\nGet the text of the engine\\n*/\\nFramedEngine.prototype.getText = function() {\\n\\treturn this.domNode.value;\\n};\\n\\n/*\\nFix the height of textarea to fit content\\n*/\\nFramedEngine.prototype.fixHeight = function() {\\n\\t// Make sure styles are updated\\n\\tthis.copyStyles();\\n\\t// Adjust height\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tif(this.widget.editAutoHeight) {\\n\\t\\t\\tif(this.domNode && !this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\t\\t\\tvar newHeight = $tw.utils.resizeTextAreaToFit(this.domNode,this.widget.editMinHeight);\\n\\t\\t\\t\\tthis.iframeNode.style.height = newHeight + \\\"px\\\";\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar fixedHeight = parseInt(this.widget.wiki.getTiddlerText(HEIGHT_VALUE_TITLE,\\\"400px\\\"),10);\\n\\t\\t\\tfixedHeight = Math.max(fixedHeight,20);\\n\\t\\t\\tthis.domNode.style.height = fixedHeight + \\\"px\\\";\\n\\t\\t\\tthis.iframeNode.style.height = fixedHeight + \\\"px\\\";\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nFocus the engine node\\n*/\\nFramedEngine.prototype.focus = function() {\\n\\tif(this.domNode.focus) {\\n\\t\\tthis.domNode.focus();\\n\\t}\\n\\tif(this.domNode.select) {\\n\\t\\t$tw.utils.setSelectionByPosition(this.domNode,this.widget.editFocusSelectFromStart,this.widget.editFocusSelectFromEnd);\\n\\t}\\n};\\n\\n/*\\nHandle a focus event\\n*/\\nFramedEngine.prototype.handleFocusEvent = function(event) {\\n\\tif(this.widget.editCancelPopups) {\\n\\t\\t$tw.popup.cancel(0);\\n\\t}\\n};\\n\\n/*\\nHandle a keydown event\\n */\\nFramedEngine.prototype.handleKeydownEvent = function(event) {\\n\\tif ($tw.keyboardManager.handleKeydownEvent(event, {onlyPriority: true})) {\\n\\t\\treturn true;\\n\\t}\\n\\n\\treturn this.widget.handleKeydownEvent(event);\\n};\\n\\n/*\\nHandle a click\\n*/\\nFramedEngine.prototype.handleClickEvent = function(event) {\\n\\tthis.fixHeight();\\n\\treturn true;\\n};\\n\\n/*\\nHandle a dom \\\"input\\\" event which occurs when the text has changed\\n*/\\nFramedEngine.prototype.handleInputEvent = function(event) {\\n\\tthis.widget.saveChanges(this.getText());\\n\\tthis.fixHeight();\\n\\tif(this.widget.editInputActions) {\\n\\t\\tthis.widget.invokeActionString(this.widget.editInputActions,this,event,{actionValue: this.getText()});\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nCreate a blank structure representing a text operation\\n*/\\nFramedEngine.prototype.createTextOperation = function() {\\n\\tvar operation = {\\n\\t\\ttext: this.domNode.value,\\n\\t\\tselStart: this.domNode.selectionStart,\\n\\t\\tselEnd: this.domNode.selectionEnd,\\n\\t\\tcutStart: null,\\n\\t\\tcutEnd: null,\\n\\t\\treplacement: null,\\n\\t\\tnewSelStart: null,\\n\\t\\tnewSelEnd: null\\n\\t};\\n\\toperation.selection = operation.text.substring(operation.selStart,operation.selEnd);\\n\\treturn operation;\\n};\\n\\n/*\\nExecute a text operation\\n*/\\nFramedEngine.prototype.executeTextOperation = function(operation) {\\n\\t// Perform the required changes to the text area and the underlying tiddler\\n\\tvar newText = operation.text;\\n\\tif(operation.replacement !== null) {\\n\\t\\tnewText = operation.text.substring(0,operation.cutStart) + operation.replacement + operation.text.substring(operation.cutEnd);\\n\\t\\t// Attempt to use a execCommand to modify the value of the control\\n\\t\\tif(this.iframeDoc.queryCommandSupported(\\\"insertText\\\") && this.iframeDoc.queryCommandSupported(\\\"delete\\\") && !$tw.browser.isFirefox) {\\n\\t\\t\\tthis.domNode.focus();\\n\\t\\t\\tthis.domNode.setSelectionRange(operation.cutStart,operation.cutEnd);\\n\\t\\t\\tif(operation.replacement === \\\"\\\") {\\n\\t\\t\\t\\tthis.iframeDoc.execCommand(\\\"delete\\\",false,\\\"\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.iframeDoc.execCommand(\\\"insertText\\\",false,operation.replacement);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tthis.domNode.value = newText;\\n\\t\\t}\\n\\t\\tthis.domNode.focus();\\n\\t\\tthis.domNode.setSelectionRange(operation.newSelStart,operation.newSelEnd);\\n\\t}\\n\\tthis.domNode.focus();\\n\\treturn newText;\\n};\\n\\nexports.FramedEngine = FramedEngine;\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/editor/engines/simple.js\":{\"title\":\"$:/core/modules/editor/engines/simple.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/engines/simple.js\\ntype: application/javascript\\nmodule-type: library\\n\\nText editor engine based on a simple input or textarea tag\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar HEIGHT_VALUE_TITLE = \\\"$:/config/TextEditor/EditorHeight/Height\\\";\\n\\nfunction SimpleEngine(options) {\\n\\t// Save our options\\n\\toptions = options || {};\\n\\tthis.widget = options.widget;\\n\\tthis.value = options.value;\\n\\tthis.parentNode = options.parentNode;\\n\\tthis.nextSibling = options.nextSibling;\\n\\t// Construct the textarea or input node\\n\\tvar tag = this.widget.editTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"input\\\";\\n\\t}\\n\\tthis.domNode = this.widget.document.createElement(tag);\\n\\t// Set the text\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tthis.domNode.appendChild(this.widget.document.createTextNode(this.value));\\n\\t} else {\\n\\t\\tthis.domNode.value = this.value;\\n\\t}\\n\\t// Set the attributes\\n\\tif(this.widget.editType && this.widget.editTag !== \\\"textarea\\\") {\\n\\t\\tthis.domNode.setAttribute(\\\"type\\\",this.widget.editType);\\n\\t}\\n\\tif(this.widget.editPlaceholder) {\\n\\t\\tthis.domNode.setAttribute(\\\"placeholder\\\",this.widget.editPlaceholder);\\n\\t}\\n\\tif(this.widget.editSize) {\\n\\t\\tthis.domNode.setAttribute(\\\"size\\\",this.widget.editSize);\\n\\t}\\n\\tif(this.widget.editRows) {\\n\\t\\tthis.domNode.setAttribute(\\\"rows\\\",this.widget.editRows);\\n\\t}\\n\\tif(this.widget.editClass) {\\n\\t\\tthis.domNode.className = this.widget.editClass;\\n\\t}\\n\\tif(this.widget.editTabIndex) {\\n\\t\\tthis.domNode.setAttribute(\\\"tabindex\\\",this.widget.editTabIndex);\\n\\t}\\n\\tif(this.widget.editAutoComplete) {\\n\\t\\tthis.domNode.setAttribute(\\\"autocomplete\\\",this.widget.editAutoComplete);\\n\\t}\\n\\tif(this.widget.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.domNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\t// Add an input event handler\\n\\t$tw.utils.addEventListeners(this.domNode,[\\n\\t\\t{name: \\\"focus\\\", handlerObject: this, handlerMethod: \\\"handleFocusEvent\\\"},\\n\\t\\t{name: \\\"input\\\", handlerObject: this, handlerMethod: \\\"handleInputEvent\\\"}\\n\\t]);\\n\\t// Insert the element into the DOM\\n\\tthis.parentNode.insertBefore(this.domNode,this.nextSibling);\\n\\tthis.widget.domNodes.push(this.domNode);\\n}\\n\\n/*\\nSet the text of the engine if it doesn't currently have focus\\n*/\\nSimpleEngine.prototype.setText = function(text,type) {\\n\\tif(!this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\tif(this.domNode.ownerDocument.activeElement !== this.domNode || text === \\\"\\\") {\\n\\t\\t\\tthis.updateDomNodeText(text);\\n\\t\\t}\\n\\t\\t// Fix the height if needed\\n\\t\\tthis.fixHeight();\\n\\t}\\n};\\n\\n/*\\nUpdate the DomNode with the new text\\n*/\\nSimpleEngine.prototype.updateDomNodeText = function(text) {\\n\\ttry {\\n\\t\\tthis.domNode.value = text;\\n\\t} catch(e) {\\n\\t\\t// Ignore\\n\\t}\\n};\\n\\n/*\\nGet the text of the engine\\n*/\\nSimpleEngine.prototype.getText = function() {\\n\\treturn this.domNode.value;\\n};\\n\\n/*\\nFix the height of textarea to fit content\\n*/\\nSimpleEngine.prototype.fixHeight = function() {\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tif(this.widget.editAutoHeight) {\\n\\t\\t\\tif(this.domNode && !this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\t\\t\\t$tw.utils.resizeTextAreaToFit(this.domNode,this.widget.editMinHeight);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar fixedHeight = parseInt(this.widget.wiki.getTiddlerText(HEIGHT_VALUE_TITLE,\\\"400px\\\"),10);\\n\\t\\t\\tfixedHeight = Math.max(fixedHeight,20);\\n\\t\\t\\tthis.domNode.style.height = fixedHeight + \\\"px\\\";\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nFocus the engine node\\n*/\\nSimpleEngine.prototype.focus = function() {\\n\\tif(this.domNode.focus) {\\n\\t\\tthis.domNode.focus();\\n\\t}\\n\\tif(this.domNode.select) {\\n\\t\\t$tw.utils.setSelectionByPosition(this.domNode,this.widget.editFocusSelectFromStart,this.widget.editFocusSelectFromEnd);\\n\\t}\\n};\\n\\n/*\\nHandle a dom \\\"input\\\" event which occurs when the text has changed\\n*/\\nSimpleEngine.prototype.handleInputEvent = function(event) {\\n\\tthis.widget.saveChanges(this.getText());\\n\\tthis.fixHeight();\\n\\tif(this.widget.editInputActions) {\\n\\t\\tthis.widget.invokeActionString(this.widget.editInputActions,this,event,{actionValue: this.getText()});\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nHandle a dom \\\"focus\\\" event\\n*/\\nSimpleEngine.prototype.handleFocusEvent = function(event) {\\n\\tif(this.widget.editCancelPopups) {\\n\\t\\t$tw.popup.cancel(0);\\n\\t}\\n\\tif(this.widget.editFocusPopup) {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: this.domNode,\\n\\t\\t\\ttitle: this.widget.editFocusPopup,\\n\\t\\t\\twiki: this.widget.wiki,\\n\\t\\t\\tforce: true\\n\\t\\t});\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nCreate a blank structure representing a text operation\\n*/\\nSimpleEngine.prototype.createTextOperation = function() {\\n\\treturn null;\\n};\\n\\n/*\\nExecute a text operation\\n*/\\nSimpleEngine.prototype.executeTextOperation = function(operation) {\\n};\\n\\nexports.SimpleEngine = SimpleEngine;\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/editor/factory.js\":{\"title\":\"$:/core/modules/editor/factory.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/factory.js\\ntype: application/javascript\\nmodule-type: library\\n\\nFactory for constructing text editor widgets with specified engines for the toolbar and non-toolbar cases\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar DEFAULT_MIN_TEXT_AREA_HEIGHT = \\\"100px\\\"; // Minimum height of textareas in pixels\\n\\n// Configuration tiddlers\\nvar HEIGHT_MODE_TITLE = \\\"$:/config/TextEditor/EditorHeight/Mode\\\";\\nvar ENABLE_TOOLBAR_TITLE = \\\"$:/config/TextEditor/EnableToolbar\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nfunction editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {\\n\\n\\tvar EditTextWidget = function(parseTreeNode,options) {\\n\\t\\t// Initialise the editor operations if they've not been done already\\n\\t\\tif(!this.editorOperations) {\\n\\t\\t\\tEditTextWidget.prototype.editorOperations = {};\\n\\t\\t\\t$tw.modules.applyMethods(\\\"texteditoroperation\\\",this.editorOperations);\\n\\t\\t}\\n\\t\\tthis.initialise(parseTreeNode,options);\\n\\t};\\n\\n\\t/*\\n\\tInherit from the base widget class\\n\\t*/\\n\\tEditTextWidget.prototype = new Widget();\\n\\n\\t/*\\n\\tRender this widget into the DOM\\n\\t*/\\n\\tEditTextWidget.prototype.render = function(parent,nextSibling) {\\n\\t\\t// Save the parent dom node\\n\\t\\tthis.parentDomNode = parent;\\n\\t\\t// Compute our attributes\\n\\t\\tthis.computeAttributes();\\n\\t\\t// Execute our logic\\n\\t\\tthis.execute();\\n\\t\\t// Create the wrapper for the toolbar and render its content\\n\\t\\tif(this.editShowToolbar) {\\n\\t\\t\\tthis.toolbarNode = this.document.createElement(\\\"div\\\");\\n\\t\\t\\tthis.toolbarNode.className = \\\"tc-editor-toolbar\\\";\\n\\t\\t\\tparent.insertBefore(this.toolbarNode,nextSibling);\\n\\t\\t\\tthis.renderChildren(this.toolbarNode,null);\\n\\t\\t\\tthis.domNodes.push(this.toolbarNode);\\n\\t\\t}\\n\\t\\t// Create our element\\n\\t\\tvar editInfo = this.getEditInfo(),\\n\\t\\t\\tEngine = this.editShowToolbar ? toolbarEngine : nonToolbarEngine;\\n\\t\\tthis.engine = new Engine({\\n\\t\\t\\t\\twidget: this,\\n\\t\\t\\t\\tvalue: editInfo.value,\\n\\t\\t\\t\\ttype: editInfo.type,\\n\\t\\t\\t\\tparentNode: parent,\\n\\t\\t\\t\\tnextSibling: nextSibling\\n\\t\\t\\t});\\n\\t\\t// Call the postRender hook\\n\\t\\tif(this.postRender) {\\n\\t\\t\\tthis.postRender();\\n\\t\\t}\\n\\t\\t// Fix height\\n\\t\\tthis.engine.fixHeight();\\n\\t\\t// Focus if required\\n\\t\\tif(this.editFocus === \\\"true\\\" || this.editFocus === \\\"yes\\\") {\\n\\t\\t\\tthis.engine.focus();\\n\\t\\t}\\n\\t\\t// Add widget message listeners\\n\\t\\tthis.addEventListeners([\\n\\t\\t\\t{type: \\\"tm-edit-text-operation\\\", handler: \\\"handleEditTextOperationMessage\\\"}\\n\\t\\t]);\\n\\t};\\n\\n\\t/*\\n\\tGet the tiddler being edited and current value\\n\\t*/\\n\\tEditTextWidget.prototype.getEditInfo = function() {\\n\\t\\t// Get the edit value\\n\\t\\tvar self = this,\\n\\t\\t\\tvalue,\\n\\t\\t\\ttype = \\\"text/plain\\\",\\n\\t\\t\\tupdate;\\n\\t\\tif(this.editIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);\\n\\t\\t\\tupdate = function(value) {\\n\\t\\t\\t\\tvar data = self.wiki.getTiddlerData(self.editTitle,{});\\n\\t\\t\\t\\tif(data[self.editIndex] !== value) {\\n\\t\\t\\t\\t\\tdata[self.editIndex] = value;\\n\\t\\t\\t\\t\\tself.wiki.setTiddlerData(self.editTitle,data);\\n\\t\\t\\t\\t}\\n\\t\\t\\t};\\n\\t\\t} else {\\n\\t\\t\\t// Get the current tiddler and the field name\\n\\t\\t\\tvar tiddler = this.wiki.getTiddler(this.editTitle);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t// If we've got a tiddler, the value to display is the field string value\\n\\t\\t\\t\\tif(tiddler.hasField(this.editField)) {\\n\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(this.editField);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tvalue = this.editDefault || \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(this.editField === \\\"text\\\") {\\n\\t\\t\\t\\t\\ttype = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Otherwise, we need to construct a default value for the editor\\n\\t\\t\\t\\tswitch(this.editField) {\\n\\t\\t\\t\\t\\tcase \\\"text\\\":\\n\\t\\t\\t\\t\\t\\tvalue = \\\"\\\";\\n\\t\\t\\t\\t\\t\\ttype = \\\"text/vnd.tiddlywiki\\\";\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"title\\\":\\n\\t\\t\\t\\t\\t\\tvalue = this.editTitle;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\tvalue = \\\"\\\";\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(this.editDefault !== undefined) {\\n\\t\\t\\t\\t\\tvalue = this.editDefault;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tupdate = function(value) {\\n\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(self.editTitle),\\n\\t\\t\\t\\t\\tupdateFields = {\\n\\t\\t\\t\\t\\t\\ttitle: self.editTitle\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\tupdateFields[self.editField] = value;\\n\\t\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler(self.wiki.getCreationFields(),tiddler,updateFields,self.wiki.getModificationFields()));\\n\\t\\t\\t};\\n\\t\\t}\\n\\t\\tif(this.editType) {\\n\\t\\t\\ttype = this.editType;\\n\\t\\t}\\n\\t\\treturn {value: value || \\\"\\\", type: type, update: update};\\n\\t};\\n\\n\\t/*\\n\\tHandle an edit text operation message from the toolbar\\n\\t*/\\n\\tEditTextWidget.prototype.handleEditTextOperationMessage = function(event) {\\n\\t\\t// Prepare information about the operation\\n\\t\\tvar operation = this.engine.createTextOperation();\\n\\t\\t// Invoke the handler for the selected operation\\n\\t\\tvar handler = this.editorOperations[event.param];\\n\\t\\tif(handler) {\\n\\t\\t\\thandler.call(this,event,operation);\\n\\t\\t}\\n\\t\\t// Execute the operation via the engine\\n\\t\\tvar newText = this.engine.executeTextOperation(operation);\\n\\t\\t// Fix the tiddler height and save changes\\n\\t\\tthis.engine.fixHeight();\\n\\t\\tthis.saveChanges(newText);\\n\\t};\\n\\n\\t/*\\n\\tCompute the internal state of the widget\\n\\t*/\\n\\tEditTextWidget.prototype.execute = function() {\\n\\t\\t// Get our parameters\\n\\t\\tthis.editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\tthis.editField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\t\\tthis.editIndex = this.getAttribute(\\\"index\\\");\\n\\t\\tthis.editDefault = this.getAttribute(\\\"default\\\");\\n\\t\\tthis.editClass = this.getAttribute(\\\"class\\\");\\n\\t\\tthis.editPlaceholder = this.getAttribute(\\\"placeholder\\\");\\n\\t\\tthis.editSize = this.getAttribute(\\\"size\\\");\\n\\t\\tthis.editRows = this.getAttribute(\\\"rows\\\");\\n\\t\\tthis.editAutoHeight = this.wiki.getTiddlerText(HEIGHT_MODE_TITLE,\\\"auto\\\");\\n\\t\\tthis.editAutoHeight = this.getAttribute(\\\"autoHeight\\\",this.editAutoHeight === \\\"auto\\\" ? \\\"yes\\\" : \\\"no\\\") === \\\"yes\\\";\\n\\t\\tthis.editMinHeight = this.getAttribute(\\\"minHeight\\\",DEFAULT_MIN_TEXT_AREA_HEIGHT);\\n\\t\\tthis.editFocusPopup = this.getAttribute(\\\"focusPopup\\\");\\n\\t\\tthis.editFocus = this.getAttribute(\\\"focus\\\");\\n\\t\\tthis.editFocusSelectFromStart = $tw.utils.parseNumber(this.getAttribute(\\\"focusSelectFromStart\\\",\\\"0\\\"));\\n\\t\\tthis.editFocusSelectFromEnd = $tw.utils.parseNumber(this.getAttribute(\\\"focusSelectFromEnd\\\",\\\"0\\\"));\\n\\t\\tthis.editTabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\t\\tthis.editCancelPopups = this.getAttribute(\\\"cancelPopups\\\",\\\"\\\") === \\\"yes\\\";\\n\\t\\tthis.editInputActions = this.getAttribute(\\\"inputActions\\\");\\n\\t\\tthis.editRefreshTitle = this.getAttribute(\\\"refreshTitle\\\");\\n\\t\\tthis.editAutoComplete = this.getAttribute(\\\"autocomplete\\\");\\n\\t\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t\\tthis.isFileDropEnabled = this.getAttribute(\\\"fileDrop\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t\\t// Get the default editor element tag and type\\n\\t\\tvar tag,type;\\n\\t\\tif(this.editField === \\\"text\\\") {\\n\\t\\t\\ttag = \\\"textarea\\\";\\n\\t\\t} else {\\n\\t\\t\\ttag = \\\"input\\\";\\n\\t\\t\\tvar fieldModule = $tw.Tiddler.fieldModules[this.editField];\\n\\t\\t\\tif(fieldModule && fieldModule.editTag) {\\n\\t\\t\\t\\ttag = fieldModule.editTag;\\n\\t\\t\\t}\\n\\t\\t\\tif(fieldModule && fieldModule.editType) {\\n\\t\\t\\t\\ttype = fieldModule.editType;\\n\\t\\t\\t}\\n\\t\\t\\ttype = type || \\\"text\\\";\\n\\t\\t}\\n\\t\\t// Get the rest of our parameters\\n\\t\\tthis.editTag = this.getAttribute(\\\"tag\\\",tag) || \\\"input\\\";\\n\\t\\tthis.editType = this.getAttribute(\\\"type\\\",type);\\n\\t\\t// Make the child widgets\\n\\t\\tthis.makeChildWidgets();\\n\\t\\t// Determine whether to show the toolbar\\n\\t\\tthis.editShowToolbar = this.wiki.getTiddlerText(ENABLE_TOOLBAR_TITLE,\\\"yes\\\");\\n\\t\\tthis.editShowToolbar = (this.editShowToolbar === \\\"yes\\\") && !!(this.children && this.children.length > 0) && (!this.document.isTiddlyWikiFakeDom);\\n\\t};\\n\\n\\t/*\\n\\tSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n\\t*/\\n\\tEditTextWidget.prototype.refresh = function(changedTiddlers) {\\n\\t\\tvar changedAttributes = this.computeAttributes();\\n\\t\\t// Completely rerender if any of our attributes have changed\\n\\t\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes[\\\"default\\\"] || changedAttributes[\\\"class\\\"] || changedAttributes.placeholder || changedAttributes.size || changedAttributes.autoHeight || changedAttributes.minHeight || changedAttributes.focusPopup || changedAttributes.rows || changedAttributes.tabindex || changedAttributes.cancelPopups || changedAttributes.inputActions || changedAttributes.refreshTitle || changedAttributes.autocomplete || changedTiddlers[HEIGHT_MODE_TITLE] || changedTiddlers[ENABLE_TOOLBAR_TITLE] || changedTiddlers[\\\"$:/palette\\\"] || changedAttributes.disabled || changedAttributes.fileDrop) {\\n\\t\\t\\tthis.refreshSelf();\\n\\t\\t\\treturn true;\\n\\t\\t} else if (changedTiddlers[this.editRefreshTitle]) {\\n\\t\\t\\tthis.engine.updateDomNodeText(this.getEditInfo().value);\\n\\t\\t} else if(changedTiddlers[this.editTitle]) {\\n\\t\\t\\tvar editInfo = this.getEditInfo();\\n\\t\\t\\tthis.updateEditor(editInfo.value,editInfo.type);\\n\\t\\t}\\n\\t\\tthis.engine.fixHeight();\\n\\t\\tif(this.editShowToolbar) {\\n\\t\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t\\t} else {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t};\\n\\n\\t/*\\n\\tUpdate the editor with new text. This method is separate from updateEditorDomNode()\\n\\tso that subclasses can override updateEditor() and still use updateEditorDomNode()\\n\\t*/\\n\\tEditTextWidget.prototype.updateEditor = function(text,type) {\\n\\t\\tthis.updateEditorDomNode(text,type);\\n\\t};\\n\\n\\t/*\\n\\tUpdate the editor dom node with new text\\n\\t*/\\n\\tEditTextWidget.prototype.updateEditorDomNode = function(text,type) {\\n\\t\\tthis.engine.setText(text,type);\\n\\t};\\n\\n\\t/*\\n\\tSave changes back to the tiddler store\\n\\t*/\\n\\tEditTextWidget.prototype.saveChanges = function(text) {\\n\\t\\tvar editInfo = this.getEditInfo();\\n\\t\\tif(text !== editInfo.value) {\\n\\t\\t\\teditInfo.update(text);\\n\\t\\t}\\n\\t};\\n\\n\\t/*\\n\\tHandle a dom \\\"keydown\\\" event, which we'll bubble up to our container for the keyboard widgets benefit\\n\\t*/\\n\\tEditTextWidget.prototype.handleKeydownEvent = function(event) {\\n\\t\\t// Check for a keyboard shortcut\\n\\t\\tif(this.toolbarNode) {\\n\\t\\t\\tvar shortcutElements = this.toolbarNode.querySelectorAll(\\\"[data-tw-keyboard-shortcut]\\\");\\n\\t\\t\\tfor(var index=0; index<shortcutElements.length; index++) {\\n\\t\\t\\t\\tvar el = shortcutElements[index],\\n\\t\\t\\t\\t\\tshortcutData = el.getAttribute(\\\"data-tw-keyboard-shortcut\\\"),\\n\\t\\t\\t\\t\\tkeyInfoArray = $tw.keyboardManager.parseKeyDescriptors(shortcutData,{\\n\\t\\t\\t\\t\\t\\twiki: this.wiki\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\tif($tw.keyboardManager.checkKeyDescriptors(event,keyInfoArray)) {\\n\\t\\t\\t\\t\\tvar clickEvent = this.document.createEvent(\\\"Events\\\");\\n\\t\\t\\t\\t clickEvent.initEvent(\\\"click\\\",true,false);\\n\\t\\t\\t\\t el.dispatchEvent(clickEvent);\\n\\t\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Propogate the event to the container\\n\\t\\tif(this.propogateKeydownEvent(event)) {\\n\\t\\t\\t// Ignore the keydown if it was already handled\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\t// Otherwise, process the keydown normally\\n\\t\\treturn false;\\n\\t};\\n\\n\\t/*\\n\\tPropogate keydown events to our container for the keyboard widgets benefit\\n\\t*/\\n\\tEditTextWidget.prototype.propogateKeydownEvent = function(event) {\\n\\t\\tvar newEvent = this.cloneEvent(event,[\\\"keyCode\\\",\\\"code\\\",\\\"which\\\",\\\"key\\\",\\\"metaKey\\\",\\\"ctrlKey\\\",\\\"altKey\\\",\\\"shiftKey\\\"]);\\n\\t\\treturn !this.parentDomNode.dispatchEvent(newEvent);\\n\\t};\\n\\n\\tEditTextWidget.prototype.cloneEvent = function(event,propertiesToCopy) {\\n\\t\\tvar propertiesToCopy = propertiesToCopy || [],\\n\\t\\t\\tnewEvent = this.document.createEventObject ? this.document.createEventObject() : this.document.createEvent(\\\"Events\\\");\\n\\t\\tif(newEvent.initEvent) {\\n\\t\\t\\tnewEvent.initEvent(event.type, true, true);\\n\\t\\t}\\n\\t\\t$tw.utils.each(propertiesToCopy,function(prop){\\n\\t\\t\\tnewEvent[prop] = event[prop];\\n\\t\\t});\\n\\t\\treturn newEvent;\\n\\t};\\n\\n\\tEditTextWidget.prototype.dispatchDOMEvent = function(newEvent) {\\n\\t\\tvar dispatchNode = this.engine.iframeNode || this.engine.parentNode;\\n\\t\\treturn dispatchNode.dispatchEvent(newEvent);\\n\\t};\\n\\n\\t/*\\n\\tPropogate drag and drop events with File data to our container for the dropzone widgets benefit.\\n\\tIf there are no Files, let the browser handle it.\\n\\t*/\\n\\tEditTextWidget.prototype.handleDropEvent = function(event) {\\n\\t\\tif($tw.utils.dragEventContainsFiles(event)) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t\\t} \\n\\t};\\n\\n\\tEditTextWidget.prototype.handlePasteEvent = function(event) {\\n\\t\\tif(event.clipboardData && event.clipboardData.files && event.clipboardData.files.length) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event,[\\\"clipboardData\\\"]));\\n\\t\\t}\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragEnterEvent = function(event) {\\n\\t\\tif($tw.utils.dragEventContainsFiles(event)) {\\n\\t\\t\\t// Ignore excessive events fired by FF when entering and leaving text nodes in a text area.\\n\\t\\t\\tif( event.relatedTarget && (event.relatedTarget.nodeType === 3 || event.target === event.relatedTarget)) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\treturn this.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t\\t}\\n\\t\\treturn true;\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragOverEvent = function(event) {\\n\\t\\tif($tw.utils.dragEventContainsFiles(event)) {\\n\\t\\t\\t// Call preventDefault() in browsers that default to not allowing drop events on textarea\\n\\t\\t\\tif($tw.browser.isFirefox || $tw.browser.isIE) {\\n\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t}\\n\\t\\t\\tevent.dataTransfer.dropEffect = \\\"copy\\\";\\n\\t\\t\\treturn this.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t\\t}\\n\\t\\treturn true;\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragLeaveEvent = function(event) {\\n\\t\\t// Ignore excessive events fired by FF when entering and leaving text nodes in a text area.\\n\\t\\tif(event.relatedTarget && ((event.relatedTarget.nodeType === 3) || (event.target === event.relatedTarget))) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tevent.preventDefault();\\n\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragEndEvent = function(event) {\\n\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event));\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleClickEvent = function(event) {\\n\\t\\treturn !this.dispatchDOMEvent(this.cloneEvent(event));\\n\\t};\\n\\n\\treturn EditTextWidget;\\n}\\n\\nexports.editTextWidgetFactory = editTextWidgetFactory;\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/editor/operations/bitmap/clear.js\":{\"title\":\"$:/core/modules/editor/operations/bitmap/clear.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/bitmap/clear.js\\ntype: application/javascript\\nmodule-type: bitmapeditoroperation\\n\\nBitmap editor operation to clear the image\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"clear\\\"] = function(event) {\\n\\tvar ctx = this.canvasDomNode.getContext(\\\"2d\\\");\\n\\tctx.globalAlpha = 1;\\n\\tctx.fillStyle = event.paramObject.colour || \\\"white\\\";\\n\\tctx.fillRect(0,0,this.canvasDomNode.width,this.canvasDomNode.height);\\n\\t// Save changes\\n\\tthis.strokeEnd();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"bitmapeditoroperation\"},\"$:/core/modules/editor/operations/bitmap/resize.js\":{\"title\":\"$:/core/modules/editor/operations/bitmap/resize.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/bitmap/resize.js\\ntype: application/javascript\\nmodule-type: bitmapeditoroperation\\n\\nBitmap editor operation to resize the image\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"resize\\\"] = function(event) {\\n\\t// Get the new width\\n\\tvar newWidth = parseInt(event.paramObject.width || this.canvasDomNode.width,10),\\n\\t\\tnewHeight = parseInt(event.paramObject.height || this.canvasDomNode.height,10);\\n\\t// Update if necessary\\n\\tif(newWidth > 0 && newHeight > 0 && !(newWidth === this.currCanvas.width && newHeight === this.currCanvas.height)) {\\n\\t\\tthis.changeCanvasSize(newWidth,newHeight);\\n\\t}\\n\\t// Update the input controls\\n\\tthis.refreshToolbar();\\n\\t// Save the image into the tiddler\\n\\tthis.saveChanges();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"bitmapeditoroperation\"},\"$:/core/modules/editor/operations/bitmap/rotate-left.js\":{\"title\":\"$:/core/modules/editor/operations/bitmap/rotate-left.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/bitmap/rotate-left.js\\ntype: application/javascript\\nmodule-type: bitmapeditoroperation\\n\\nBitmap editor operation to rotate the image left by 90 degrees\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"rotate-left\\\"] = function(event) {\\n\\t// Rotate the canvas left by 90 degrees\\n\\tthis.rotateCanvasLeft();\\n\\t// Update the input controls\\n\\tthis.refreshToolbar();\\n\\t// Save the image into the tiddler\\n\\tthis.saveChanges();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"bitmapeditoroperation\"},\"$:/core/modules/editor/operations/text/excise.js\":{\"title\":\"$:/core/modules/editor/operations/text/excise.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/excise.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to excise the selection to a new tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction isMarkdown(mediaType) {\\n\\treturn mediaType === 'text/markdown' || mediaType === 'text/x-markdown';\\n}\\n\\nexports[\\\"excise\\\"] = function(event,operation) {\\n\\tvar editTiddler = this.wiki.getTiddler(this.editTitle),\\n\\t\\teditTiddlerTitle = this.editTitle,\\n\\t\\twikiLinks = !isMarkdown(editTiddler.fields.type),\\n\\t\\texcisionBaseTitle = $tw.language.getString(\\\"Buttons/Excise/DefaultTitle\\\");\\n\\tif(editTiddler && editTiddler.fields[\\\"draft.of\\\"]) {\\n\\t\\teditTiddlerTitle = editTiddler.fields[\\\"draft.of\\\"];\\n\\t}\\n\\tvar excisionTitle = event.paramObject.title || this.wiki.generateNewTitle(excisionBaseTitle);\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(\\n\\t\\tthis.wiki.getCreationFields(),\\n\\t\\tthis.wiki.getModificationFields(),\\n\\t\\t{\\n\\t\\t\\ttitle: excisionTitle,\\n\\t\\t\\ttext: operation.selection,\\n\\t\\t\\ttags: event.paramObject.tagnew === \\\"yes\\\" ? [editTiddlerTitle] : [],\\n\\t\\t\\ttype: editTiddler.fields.type\\n\\t\\t}\\n\\t));\\n\\toperation.replacement = excisionTitle;\\n\\tswitch(event.paramObject.type || \\\"transclude\\\") {\\n\\t\\tcase \\\"transclude\\\":\\n\\t\\t\\toperation.replacement = \\\"{{\\\" + operation.replacement+ \\\"}}\\\";\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"link\\\":\\n\\t\\t\\toperation.replacement = wikiLinks ? \\\"[[\\\" + operation.replacement+ \\\"]]\\\"\\n\\t\\t\\t\\t: (\\\"[\\\" + operation.replacement + \\\"](<#\\\" + operation.replacement + \\\">)\\\");\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"macro\\\":\\n\\t\\t\\toperation.replacement = \\\"<<\\\" + (event.paramObject.macro || \\\"translink\\\") + \\\" \\\\\\\"\\\\\\\"\\\\\\\"\\\" + operation.replacement + \\\"\\\\\\\"\\\\\\\"\\\\\\\">>\\\";\\n\\t\\t\\tbreak;\\n\\t}\\n\\toperation.cutStart = operation.selStart;\\n\\toperation.cutEnd = operation.selEnd;\\n\\toperation.newSelStart = operation.selStart;\\n\\toperation.newSelEnd = operation.selStart + operation.replacement.length;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/focus-editor.js\":{\"title\":\"$:/core/modules/editor/operations/text/focus-editor.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/focus-editor.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\nSimply focus the Text editor\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"focus-editor\\\"] = function(event,operation) {\\n\\toperation = null;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/insert-text.js\":{\"title\":\"$:/core/modules/editor/operations/text/insert-text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/insert-text.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation insert text at the caret position. If there is a selection it is replaced.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"insert-text\\\"] = function(event,operation) {\\n\\toperation.replacement = event.paramObject.text;\\n\\toperation.cutStart = operation.selStart;\\n\\toperation.cutEnd = operation.selEnd;\\n\\toperation.newSelStart = operation.selStart + operation.replacement.length;\\n\\toperation.newSelEnd = operation.newSelStart;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/make-link.js\":{\"title\":\"$:/core/modules/editor/operations/text/make-link.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/make-link.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to make a link\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"make-link\\\"] = function(event,operation) {\\n\\tif(operation.selection) {\\n\\t\\toperation.replacement = \\\"[[\\\" + operation.selection + \\\"|\\\" + event.paramObject.text + \\\"]]\\\";\\n\\t\\toperation.cutStart = operation.selStart;\\n\\t\\toperation.cutEnd = operation.selEnd;\\n\\t} else {\\n\\t\\toperation.replacement = \\\"[[\\\" + event.paramObject.text + \\\"]]\\\";\\n\\t\\toperation.cutStart = operation.selStart;\\n\\t\\toperation.cutEnd = operation.selEnd;\\n\\t}\\n\\toperation.newSelStart = operation.selStart + operation.replacement.length;\\n\\toperation.newSelEnd = operation.newSelStart;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/prefix-lines.js\":{\"title\":\"$:/core/modules/editor/operations/text/prefix-lines.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/prefix-lines.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to add a prefix to the selected lines\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"prefix-lines\\\"] = function(event,operation) {\\n\\tvar targetCount = parseInt(event.paramObject.count + \\\"\\\",10);\\n\\t// Cut just past the preceding line break, or the start of the text\\n\\toperation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);\\n\\t// Cut to just past the following line break, or to the end of the text\\n\\toperation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);\\n\\t// Compose the required prefix\\n\\tvar prefix = $tw.utils.repeat(event.paramObject.character,targetCount);\\n\\t// Process each line\\n\\tvar lines = operation.text.substring(operation.cutStart,operation.cutEnd).split(/\\\\r?\\\\n/mg);\\n\\t$tw.utils.each(lines,function(line,index) {\\n\\t\\t// Remove and count any existing prefix characters\\n\\t\\tvar count = 0;\\n\\t\\twhile($tw.utils.startsWith(line,event.paramObject.character)) {\\n\\t\\t\\tline = line.substring(event.paramObject.character.length);\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t\\t// Remove any whitespace\\n\\t\\twhile(line.charAt(0) === \\\" \\\") {\\n\\t\\t\\tline = line.substring(1);\\n\\t\\t}\\n\\t\\t// We're done if we removed the exact required prefix, otherwise add it\\n\\t\\tif(count !== targetCount) {\\n\\t\\t\\t// Apply the prefix\\n\\t\\t\\tline = prefix + \\\" \\\" + line;\\n\\t\\t}\\n\\t\\t// Save the modified line\\n\\t\\tlines[index] = line;\\n\\t});\\n\\t// Stitch the replacement text together and set the selection\\n\\toperation.replacement = lines.join(\\\"\\\\n\\\");\\n\\tif(lines.length === 1) {\\n\\t\\toperation.newSelStart = operation.cutStart + operation.replacement.length;\\n\\t\\toperation.newSelEnd = operation.newSelStart;\\n\\t} else {\\n\\t\\toperation.newSelStart = operation.cutStart;\\n\\t\\toperation.newSelEnd = operation.newSelStart + operation.replacement.length;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/replace-all.js\":{\"title\":\"$:/core/modules/editor/operations/text/replace-all.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/replace-all.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to replace the entire text\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"replace-all\\\"] = function(event,operation) {\\n\\toperation.cutStart = 0;\\n\\toperation.cutEnd = operation.text.length;\\n\\toperation.replacement = event.paramObject.text;\\n\\toperation.newSelStart = 0;\\n\\toperation.newSelEnd = operation.replacement.length;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/replace-selection.js\":{\"title\":\"$:/core/modules/editor/operations/text/replace-selection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/replace-selection.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to replace the selection\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"replace-selection\\\"] = function(event,operation) {\\n\\toperation.replacement = event.paramObject.text;\\n\\toperation.cutStart = operation.selStart;\\n\\toperation.cutEnd = operation.selEnd;\\n\\toperation.newSelStart = operation.selStart;\\n\\toperation.newSelEnd = operation.selStart + operation.replacement.length;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/save-selection.js\":{\"title\":\"$:/core/modules/editor/operations/text/save-selection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/save-selection.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to save the current selection in a specified tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"save-selection\\\"] = function(event,operation) {\\n\\tvar tiddler = event.paramObject.tiddler,\\n\\t\\tfield = event.paramObject.field || \\\"text\\\";\\n\\tif(tiddler && field) {\\n\\t\\tthis.wiki.setText(tiddler,field,null,operation.text.substring(operation.selStart,operation.selEnd));\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/wrap-lines.js\":{\"title\":\"$:/core/modules/editor/operations/text/wrap-lines.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/wrap-lines.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to wrap the selected lines with a prefix and suffix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"wrap-lines\\\"] = function(event,operation) {\\n\\tvar prefix = event.paramObject.prefix || \\\"\\\",\\n\\t\\tsuffix = event.paramObject.suffix || \\\"\\\";\\n\\tif($tw.utils.endsWith(operation.text.substring(0,operation.selStart), prefix + \\\"\\\\n\\\") &&\\n\\t\\t\\t$tw.utils.startsWith(operation.text.substring(operation.selEnd), \\\"\\\\n\\\" + suffix)) {\\n\\t\\t// Selected text is already surrounded by prefix and suffix: Remove them\\n\\t\\t// Cut selected text plus prefix and suffix\\n\\t\\toperation.cutStart = operation.selStart - (prefix.length + 1);\\n\\t\\toperation.cutEnd = operation.selEnd + suffix.length + 1;\\n\\t\\t// Also cut the following newline (if there is any)\\n\\t\\tif (operation.text[operation.cutEnd] === \\\"\\\\n\\\") {\\n\\t\\t\\toperation.cutEnd++;\\n\\t\\t}\\n\\t\\t// Replace with selection\\n\\t\\toperation.replacement = operation.text.substring(operation.selStart,operation.selEnd);\\n\\t\\t// Select text that was in between prefix and suffix\\n\\t\\toperation.newSelStart = operation.cutStart;\\n\\t\\toperation.newSelEnd = operation.selEnd - (prefix.length + 1);\\n\\t} else {\\n\\t\\t// Cut just past the preceding line break, or the start of the text\\n\\t\\toperation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);\\n\\t\\t// Cut to just past the following line break, or to the end of the text\\n\\t\\toperation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);\\n\\t\\t// Add the prefix and suffix\\n\\t\\toperation.replacement = prefix + \\\"\\\\n\\\" +\\n\\t\\t\\t\\t\\toperation.text.substring(operation.cutStart,operation.cutEnd) + \\\"\\\\n\\\" +\\n\\t\\t\\t\\t\\tsuffix + \\\"\\\\n\\\";\\n\\t\\toperation.newSelStart = operation.cutStart + prefix.length + 1;\\n\\t\\toperation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/wrap-selection.js\":{\"title\":\"$:/core/modules/editor/operations/text/wrap-selection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/wrap-selection.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to wrap the selection with the specified prefix and suffix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"wrap-selection\\\"] = function(event,operation) {\\n\\tvar o = operation,\\n\\t\\tprefix = event.paramObject.prefix,\\n\\t\\tsuffix = event.paramObject.suffix,\\n\\t\\ttrimSelection = event.paramObject.trimSelection || \\\"no\\\",\\n\\t\\tselLength = o.selEnd - o.selStart;\\n\\n\\t// This function detects, if trailing spaces are part of the selection __and__ if the user wants to handle them\\n\\t// Returns \\\"yes\\\", \\\"start\\\", \\\"end\\\", \\\"no\\\" (default)\\n\\t//\\tyes .. there are trailing spaces at both ends\\n\\t//\\tstart .. there are trailing spaces at the start\\n\\t//\\tend .. there are trailing spaces at the end\\n\\t//\\tno .. no trailing spaces are taken into account\\n\\tvar trailingSpaceAt = function(sel) {\\n\\t\\tvar _start,\\n\\t\\t\\t_end,\\n\\t\\t\\tresult;\\n\\t\\t// trimSelection is a user parameter, which this evaluations takes into account\\n\\t\\tswitch(trimSelection) {\\n\\t\\t\\tcase \\\"end\\\":\\n\\t\\t\\t\\tresult = (sel.trimEnd().length !== selLength) ? \\\"end\\\" : \\\"no\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"yes\\\":\\n\\t\\t\\t\\t_start = sel.trimStart().length !== selLength;\\n\\t\\t\\t\\t_end = sel.trimEnd().length !== selLength;\\n\\t\\t\\t\\tresult = (_start && _end) ? \\\"yes\\\" : (_start) ? \\\"start\\\" : (_end) ? \\\"end\\\" : \\\"no\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"start\\\":\\n\\t\\t\\t\\tresult = (sel.trimStart().length !== selLength) ? \\\"start\\\" : \\\"no\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tresult = \\\"no\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\treturn result;\\n\\t}\\n\\n\\tfunction togglePrefixSuffix() {\\n\\t\\tif(o.text.substring(o.selStart - prefix.length, o.selStart + suffix.length) === prefix + suffix) {\\n\\t\\t\\t// Remove the prefix and suffix\\n\\t\\t\\to.cutStart = o.selStart - prefix.length;\\n\\t\\t\\to.cutEnd = o.selEnd + suffix.length;\\n\\t\\t\\to.replacement = \\\"\\\";\\n\\t\\t\\to.newSelStart = o.cutStart;\\n\\t\\t\\to.newSelEnd = o.newSelStart;\\n\\t\\t} else {\\n\\t\\t\\t// Wrap the cursor instead\\n\\t\\t\\to.cutStart = o.selStart;\\n\\t\\t\\to.cutEnd = o.selEnd;\\n\\t\\t\\to.replacement = prefix + suffix;\\n\\t\\t\\to.newSelStart = o.selStart + prefix.length;\\n\\t\\t\\to.newSelEnd = o.newSelStart;\\n\\t\\t}\\n\\t}\\n\\n\\t// options: lenPrefix, lenSuffix\\n\\tfunction removePrefixSuffix(options) {\\n\\t\\toptions = options || {};\\n\\t\\tvar _lenPrefix = options.lenPrefix || 0;\\n\\t\\tvar _lenSuffix = options.lenSuffix || 0;\\n\\n\\t\\to.cutStart = o.selStart - _lenPrefix;\\n\\t\\to.cutEnd = o.selEnd + _lenSuffix;\\n\\t\\to.replacement = (_lenPrefix || _lenSuffix) ? o.selection : o.selection.substring(prefix.length, o.selection.length - suffix.length);\\n\\t\\to.newSelStart = o.cutStart;\\n\\t\\to.newSelEnd = o.cutStart + o.replacement.length;\\n\\t}\\n\\n\\tfunction addPrefixSuffix() {\\n\\t\\t// remove trailing space if requested\\n\\t\\tswitch(trailingSpaceAt(o.selection)) {\\n\\t\\t\\tcase \\\"no\\\":\\n\\t\\t\\t\\t// has no trailing spaces\\n\\t\\t\\t\\to.cutStart = o.selStart;\\n\\t\\t\\t\\to.cutEnd = o.selEnd;\\n\\t\\t\\t\\to.replacement = prefix + o.selection + suffix;\\n\\t\\t\\t\\to.newSelStart = o.selStart;\\n\\t\\t\\t\\to.newSelEnd = o.selStart + o.replacement.length;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"yes\\\":\\n\\t\\t\\t\\t// handle both ends\\n\\t\\t\\t\\to.cutStart = o.selEnd - (o.selection.trimStart().length);\\n\\t\\t\\t\\to.cutEnd = o.selection.trimEnd().length + o.selStart;\\n\\t\\t\\t\\to.replacement = prefix + o.selection.trim() + suffix;\\n\\t\\t\\t\\to.newSelStart = o.cutStart;\\n\\t\\t\\t\\to.newSelEnd = o.cutStart + o.replacement.length;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"start\\\":\\n\\t\\t\\t\\t// handle leading\\n\\t\\t\\t\\to.cutStart = o.selEnd - (o.selection.trimStart().length);\\n\\t\\t\\t\\to.cutEnd = o.selEnd;\\n\\t\\t\\t\\to.replacement = prefix + o.selection.trimStart() + suffix;\\n\\t\\t\\t\\to.newSelStart = o.cutStart;\\n\\t\\t\\t\\to.newSelEnd = o.cutStart + o.replacement.length;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"end\\\":\\n\\t\\t\\t\\t// handle trailing\\n\\t\\t\\t\\to.cutStart = o.selStart;\\n\\t\\t\\t\\to.cutEnd = o.selection.trimEnd().length + o.selStart;\\n\\t\\t\\t\\to.replacement = prefix + o.selection.trimEnd() + suffix;\\n\\t\\t\\t\\to.newSelStart = o.selStart;\\n\\t\\t\\t\\to.newSelEnd = o.selStart + o.replacement.length;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\n\\tif(o.selStart === o.selEnd) {\\n\\t\\t// No selection; Create prefix and suffix. Set cursor in between them: \\\"\\\"|\\\"\\\"\\n\\t\\ttogglePrefixSuffix();\\n\\t} else if(o.text.substring(o.selStart, o.selStart + prefix.length) === prefix &&\\n\\t\\t\\t\\to.text.substring(o.selEnd - suffix.length,o.selEnd) === suffix) {\\n\\t\\t// Prefix and suffix are already present, so remove them\\n\\t\\tremovePrefixSuffix();\\n\\t} else if(o.text.substring(o.selStart - prefix.length, o.selStart) === prefix &&\\n\\t\\t\\t\\to.text.substring(o.selEnd, o.selEnd + suffix.length) === suffix) {\\n\\t\\t// Prefix and suffix are present BUT not selected -> remove them\\n\\t\\tremovePrefixSuffix({\\\"lenPrefix\\\": prefix.length, \\\"lenSuffix\\\": suffix.length});\\n\\t} else {\\n\\t\\t// Add the prefix and suffix\\n\\t\\taddPrefixSuffix();\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/filterrunprefixes/all.js\":{\"title\":\"$:/core/modules/filterrunprefixes/all.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/all.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nUnion of sets without de-duplication.\\nEquivalent to = filter run prefix.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.all = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tresults.push.apply(results, operationSubFunction(source,widget));\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/and.js\":{\"title\":\"$:/core/modules/filterrunprefixes/and.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/and.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nIntersection of sets.\\nEquivalent to + filter run prefix.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.and = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\t// This replaces all the elements of the array, but keeps the actual array so that references to it are preserved\\n\\t\\tsource = options.wiki.makeTiddlerIterator(results.toArray());\\n\\t\\tresults.clear();\\n\\t\\tresults.pushTop(operationSubFunction(source,widget));\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/cascade.js\":{\"title\":\"$:/core/modules/filterrunprefixes/cascade.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/cascade.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.cascade = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length !== 0) {\\n\\t\\t\\tvar filterList = operationSubFunction(source,widget),\\n\\t\\t\\t\\tfilterFnList = [];\\n\\t\\t\\tvar inputResults = results.toArray();\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t$tw.utils.each(inputResults,function(title) {\\n\\t\\t\\t\\tvar result = \\\"\\\"; // If no filter matches, we return an empty string\\n\\t\\t\\t\\t$tw.utils.each(filterList,function(filter,index) {\\n\\t\\t\\t\\t\\tif(!filterFnList[index]) {\\n\\t\\t\\t\\t\\t\\tfilterFnList[index] = options.wiki.compileFilter(filter);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar output = filterFnList[index](options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\",\\\"\\\")\\n\\t\\t\\t\\t\\t}));\\n\\t\\t\\t\\t\\tif(output.length !== 0) {\\n\\t\\t\\t\\t\\t\\tresult = output[0];\\n\\t\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tresults.push(result);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/else.js\":{\"title\":\"$:/core/modules/filterrunprefixes/else.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/else.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nEquivalent to ~ filter run prefix.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.else = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length === 0) {\\n\\t\\t\\t// Main result so far is empty\\n\\t\\t\\tresults.pushTop(operationSubFunction(source,widget));\\n\\t\\t}\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/except.js\":{\"title\":\"$:/core/modules/filterrunprefixes/except.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/except.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nDifference of sets.\\nEquivalent to - filter run prefix.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.except = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tresults.remove(operationSubFunction(source,widget));\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/filter.js\":{\"title\":\"$:/core/modules/filterrunprefixes/filter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/filter.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.filter = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar resultsToRemove = [],\\n\\t\\t\\t\\tindex = 0;\\n\\t\\t\\tresults.each(function(title) {\\n\\t\\t\\t\\tvar filtered = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\",\\\"\\\"),\\n\\t\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (results.length - 1 - index),\\n\\t\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + results.length\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tif(filtered.length === 0) {\\n\\t\\t\\t\\t\\tresultsToRemove.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t++index;\\n\\t\\t\\t});\\n\\t\\t\\tresults.remove(resultsToRemove);\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/intersection.js\":{\"title\":\"$:/core/modules/filterrunprefixes/intersection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/intersection.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.intersection = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length !== 0) {\\n\\t\\t\\tvar secondRunResults = operationSubFunction(source,widget);\\n\\t\\t\\tvar firstRunResults = results.toArray();\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t$tw.utils.each(firstRunResults,function(title) {\\n\\t\\t\\t\\tif(secondRunResults.indexOf(title) !== -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/map.js\":{\"title\":\"$:/core/modules/filterrunprefixes/map.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/map.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.map = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar inputTitles = results.toArray(),\\n\\t\\t\\t\\tindex = 0,\\n\\t\\t\\t\\tsuffixes = options.suffixes,\\n\\t\\t\\t\\tflatten = (suffixes[0] && suffixes[0][0] === \\\"flat\\\") ? true : false;\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t$tw.utils.each(inputTitles,function(title) {\\n\\t\\t\\t\\tvar filtered = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\",\\\"\\\"),\\n\\t\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (inputTitles.length - 1 - index),\\n\\t\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + inputTitles.length\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tif(filtered.length && flatten) {\\n\\t\\t\\t\\t\\t$tw.utils.each(filtered,function(value) {\\n\\t\\t\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresults.push(filtered[0]||\\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t++index;\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/or.js\":{\"title\":\"$:/core/modules/filterrunprefixes/or.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/or.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nEquivalent to a filter run with no prefix.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.or = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tresults.pushTop(operationSubFunction(source,widget));\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/reduce.js\":{\"title\":\"$:/core/modules/filterrunprefixes/reduce.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/reduce.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.reduce = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar accumulator = \\\"\\\",\\n\\t\\t\\t\\tindex = 0;\\n\\t\\t\\tresults.each(function(title) {\\n\\t\\t\\t\\tvar list = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (results.length - 1 - index),\\n\\t\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + results.length,\\n\\t\\t\\t\\t\\t\\\"accumulator\\\": \\\"\\\" + accumulator\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tif(list.length > 0) {\\n\\t\\t\\t\\t\\taccumulator = \\\"\\\" + list[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t++index;\\n\\t\\t\\t});\\n\\t\\t\\tresults.clear();\\n\\t\\t\\tresults.push(accumulator);\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/sort.js\":{\"title\":\"$:/core/modules/filterrunprefixes/sort.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/sort.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.sort = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar suffixes = options.suffixes,\\n\\t\\t\\t\\tsortType = (suffixes[0] && suffixes[0][0]) ? suffixes[0][0] : \\\"string\\\",\\n\\t\\t\\t\\tinvert = suffixes[1] ? (suffixes[1].indexOf(\\\"reverse\\\") !== -1) : false,\\n\\t\\t\\t\\tisCaseSensitive = suffixes[1] ? (suffixes[1].indexOf(\\\"casesensitive\\\") !== -1) : false,\\n\\t\\t\\t\\tinputTitles = results.toArray(),\\n\\t\\t\\t\\tsortKeys = [],\\n\\t\\t\\t\\tindexes = new Array(inputTitles.length),\\n\\t\\t\\t\\tcompareFn;\\n\\t\\t\\tresults.each(function(title) {\\n\\t\\t\\t\\tvar key = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\")\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tsortKeys.push(key[0] || \\\"\\\");\\n\\t\\t\\t});\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t// Prepare an array of indexes to sort\\n\\t\\t\\tfor(var t=0; t<inputTitles.length; t++) {\\n\\t\\t\\t\\tindexes[t] = t;\\n\\t\\t\\t}\\n\\t\\t\\t// Sort the indexes\\n\\t\\t\\tcompareFn = $tw.utils.makeCompareFunction(sortType,{defaultType: \\\"string\\\", invert:invert, isCaseSensitive:isCaseSensitive});\\n\\t\\t\\tindexes = indexes.sort(function(a,b) {\\n\\t\\t\\t\\t\\treturn compareFn(sortKeys[a],sortKeys[b]);\\n\\t\\t\\t});\\n\\t\\t\\t// Add to results in correct order\\n\\t\\t\\t$tw.utils.each(indexes,function(index) {\\n\\t\\t\\t\\tresults.push(inputTitles[index]);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/then.js\":{\"title\":\"$:/core/modules/filterrunprefixes/then.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/then.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nReplace results of previous runs unless empty\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.then = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length !== 0) {\\n\\t\\t\\t// Only run if previous run(s) produced results\\n\\t\\t\\tvar thisRunResult = operationSubFunction(source,widget);\\n\\t\\t\\tif(thisRunResult.length !== 0) {\\n\\t\\t\\t\\t// Replace results only if this run actually produces a result\\n\\t\\t\\t\\tresults.clear();\\n\\t\\t\\t\\tresults.pushTop(thisRunResult);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filters/addprefix.js\":{\"title\":\"$:/core/modules/filters/addprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/addprefix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for adding a prefix to each title in the list. This is\\nespecially useful in contexts where only a filter expression is allowed\\nand macro substitution isn't available.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.addprefix = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(operator.operand + title);\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/addsuffix.js\":{\"title\":\"$:/core/modules/filters/addsuffix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/addsuffix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for adding a suffix to each title in the list. This is\\nespecially useful in contexts where only a filter expression is allowed\\nand macro substitution isn't available.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.addsuffix = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title + operator.operand);\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/after.js\":{\"title\":\"$:/core/modules/filters/after.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/after.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler from the current list that is after the tiddler named in the operand.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.after = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar index = results.indexOf(operator.operand);\\n\\tif(index === -1 || index > (results.length - 2)) {\\n\\t\\treturn [];\\n\\t} else {\\n\\t\\treturn [results[index + 1]];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/all/current.js\":{\"title\":\"$:/core/modules/filters/all/current.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/current.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[current]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.current = function(source,prefix,options) {\\n\\tvar currTiddlerTitle = options.widget && options.widget.getVariable(\\\"currentTiddler\\\");\\n\\tif(currTiddlerTitle) {\\n\\t\\treturn [currTiddlerTitle];\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/missing.js\":{\"title\":\"$:/core/modules/filters/all/missing.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/missing.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[missing]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.missing = function(source,prefix,options) {\\n\\treturn options.wiki.getMissingTitles();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/orphans.js\":{\"title\":\"$:/core/modules/filters/all/orphans.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/orphans.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[orphans]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.orphans = function(source,prefix,options) {\\n\\treturn options.wiki.getOrphanTitles();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/shadows.js\":{\"title\":\"$:/core/modules/filters/all/shadows.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/shadows.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[shadows]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.shadows = function(source,prefix,options) {\\n\\treturn options.wiki.allShadowTitles();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/tags.js\":{\"title\":\"$:/core/modules/filters/all/tags.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/tags.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[tags]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tags = function(source,prefix,options) {\\n\\treturn Object.keys(options.wiki.getTagMap());\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/tiddlers.js\":{\"title\":\"$:/core/modules/filters/all/tiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/tiddlers.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[tiddlers]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tiddlers = function(source,prefix,options) {\\n\\treturn options.wiki.allTitles();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all.js\":{\"title\":\"$:/core/modules/filters/all.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for selecting tiddlers\\n\\n[all[shadows+tiddlers]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar allFilterOperators;\\n\\nfunction getAllFilterOperators() {\\n\\tif(!allFilterOperators) {\\n\\t\\tallFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"allfilteroperator\\\",allFilterOperators);\\n\\t}\\n\\treturn allFilterOperators;\\n}\\n\\n/*\\nExport our filter function\\n*/\\nexports.all = function(source,operator,options) {\\n\\t// Check for common optimisations\\n\\tvar subops = operator.operand.split(\\\"+\\\");\\n\\tif(subops.length === 1 && subops[0] === \\\"\\\") {\\n\\t\\treturn source;\\n\\t} else if(subops.length === 1 && subops[0] === \\\"tiddlers\\\") {\\n\\t\\treturn options.wiki.each;\\n\\t} else if(subops.length === 1 && subops[0] === \\\"shadows\\\") {\\n\\t\\treturn options.wiki.eachShadow;\\n\\t} else if(subops.length === 2 && subops[0] === \\\"tiddlers\\\" && subops[1] === \\\"shadows\\\") {\\n\\t\\treturn options.wiki.eachTiddlerPlusShadows;\\n\\t} else if(subops.length === 2 && subops[0] === \\\"shadows\\\" && subops[1] === \\\"tiddlers\\\") {\\n\\t\\treturn options.wiki.eachShadowPlusTiddlers;\\n\\t}\\n\\t// Do it the hard way\\n\\t// Get our suboperators\\n\\tvar allFilterOperators = getAllFilterOperators();\\n\\t// Cycle through the suboperators accumulating their results\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tfor(var t=0; t<subops.length; t++) {\\n\\t\\tvar subop = allFilterOperators[subops[t]];\\n\\t\\tif(subop) {\\n\\t\\t\\tresults.pushTop(subop(source,operator.prefix,options));\\n\\t\\t}\\n\\t}\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/backlinks.js\":{\"title\":\"$:/core/modules/filters/backlinks.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/backlinks.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning all the backlinks from a tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.backlinks = function(source,operator,options) {\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(options.wiki.getTiddlerBacklinks(title));\\n\\t});\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/backtranscludes.js\":{\"title\":\"$:/core/modules/filters/backtranscludes.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/backtranscludes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning all the backtranscludes from a tiddler\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.backtranscludes = function(source,operator,options) {\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(options.wiki.getTiddlerBacktranscludes(title));\\n\\t});\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/before.js\":{\"title\":\"$:/core/modules/filters/before.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/before.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler from the current list that is before the tiddler named in the operand.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.before = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar index = results.indexOf(operator.operand);\\n\\tif(index <= 0) {\\n\\t\\treturn [];\\n\\t} else {\\n\\t\\treturn [results[index - 1]];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/commands.js\":{\"title\":\"$:/core/modules/filters/commands.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/commands.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the commands available in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.commands = function(source,operator,options) {\\n\\tvar results = [];\\n\\t$tw.utils.each($tw.commands,function(commandInfo,name) {\\n\\t\\tresults.push(name);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/compare.js\":{\"title\":\"$:/core/modules/filters/compare.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/compare.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nGeneral purpose comparison operator\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.compare = function(source,operator,options) {\\n\\tvar suffixes = operator.suffixes || [],\\n\\t\\ttype = (suffixes[0] || [])[0],\\n\\t\\tmode = (suffixes[1] || [])[0],\\n\\t\\ttypeFn = $tw.utils.makeCompareFunction(type,{defaultType: \\\"number\\\"}),\\n\\t\\tmodeFn = modes[mode] || modes.eq,\\n\\t\\tinvert = operator.prefix === \\\"!\\\",\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(modeFn(typeFn(title,operator.operand)) !== invert) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nvar modes = {\\n\\t\\\"eq\\\": function(value) {return value === 0;},\\n\\t\\\"ne\\\": function(value) {return value !== 0;},\\n\\t\\\"gteq\\\": function(value) {return value >= 0;},\\n\\t\\\"gt\\\": function(value) {return value > 0;},\\n\\t\\\"lteq\\\": function(value) {return value <= 0;},\\n\\t\\\"lt\\\": function(value) {return value < 0;}\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/contains.js\":{\"title\":\"$:/core/modules/filters/contains.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/contains.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for finding values in array fields\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.contains = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldname = operator.suffix || \\\"list\\\";\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tvar list = tiddler.getFieldList(fieldname);\\n\\t\\t\\t\\tif(list.indexOf(operator.operand) === -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tvar list = tiddler.getFieldList(fieldname);\\n\\t\\t\\t\\tif(list.indexOf(operator.operand) !== -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/count.js\":{\"title\":\"$:/core/modules/filters/count.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/count.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the number of entries in the current list.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.count = function(source,operator,options) {\\n\\tvar count = 0;\\n\\tsource(function(tiddler,title) {\\n\\t\\tcount++;\\n\\t});\\n\\treturn [count + \\\"\\\"];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/crypto.js\":{\"title\":\"$:/core/modules/filters/crypto.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/crypto.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for cryptography, using the Stanford JavaScript library\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.sha256 = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tlength = parseInt(operator.operand,10) || 20;\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.sha256(title,{length: length}));\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/days.js\":{\"title\":\"$:/core/modules/filters/days.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/days.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects tiddlers with a specified date field within a specified date interval.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.days = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldName = operator.suffix || \\\"modified\\\",\\n\\t\\tdayInterval = (parseInt(operator.operand,10)||0),\\n\\t\\tdayIntervalSign = $tw.utils.sign(dayInterval),\\n\\t\\ttargetTimeStamp = (new Date()).setHours(0,0,0,0) + 1000*60*60*24*dayInterval,\\n\\t\\tisWithinDays = function(dateField) {\\n\\t\\t\\tvar sign = $tw.utils.sign(targetTimeStamp - (new Date(dateField)).setHours(0,0,0,0));\\n\\t\\t\\treturn sign === 0 || sign === dayIntervalSign;\\n\\t\\t};\\n\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\ttargetTimeStamp = targetTimeStamp - 1000*60*60*24*dayIntervalSign;\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.fields[fieldName]) {\\n\\t\\t\\t\\tif(!isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.fields[fieldName]) {\\n\\t\\t\\t\\tif(isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/deserialize.js\":{\"title\":\"$:/core/modules/filters/deserialize.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/deserialize.js\\ntype: application/javascript\\nmodule-type: filteroperator\\nFilter operator for deserializing string data into JSON representing tiddlers\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"deserialize\\\"] = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tdeserializer;\\n\\tif(operator.operand) {\\n\\t\\t// Get the deserializer identified by the operand\\n\\t\\tdeserializer = $tw.Wiki.tiddlerDeserializerModules[operator.operand];\\n\\t\\tif(deserializer) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tvar tiddlers;\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\ttiddlers = deserializer(title);\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\t// Return an empty array if we could not extract any tiddlers\\n\\t\\t\\t\\t\\ttiddlers = [];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tresults.push(JSON.stringify(tiddlers));\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/DeserializeOperator/UnknownDeserializer\\\")];\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn [$tw.language.getString(\\\"Error/DeserializeOperator/MissingOperand\\\")];\\n\\t}\\n\\treturn results;\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/deserializers.js\":{\"title\":\"$:/core/modules/filters/deserializers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/deserializers.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the deserializers in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.deserializers = function(source,operator,options) {\\n\\tvar results = [];\\n\\t$tw.utils.each($tw.Wiki.tiddlerDeserializerModules,function(deserializer,type) {\\n\\t\\tresults.push(type);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/duplicateslugs.js\":{\"title\":\"$:/core/modules/filters/duplicateslugs.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/duplicateslugs.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter function for [duplicateslugs[]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.duplicateslugs = function(source,operator,options) {\\n\\tvar slugs = Object.create(null), // Hashmap by slug of title, replaced with \\\"true\\\" if the duplicate title has already been output\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar slug = options.wiki.slugify(title);\\n\\t\\tif(slug in slugs) {\\n\\t\\t\\tif(slugs[slug] !== true) {\\n\\t\\t\\t\\tresults.push(slugs[slug]);\\n\\t\\t\\t\\tslugs[slug] = true;\\n\\t\\t\\t}\\n\\t\\t\\tresults.push(title);\\n\\t\\t} else {\\n\\t\\t\\tslugs[slug] = title;\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/each.js\":{\"title\":\"$:/core/modules/filters/each.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/each.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects one tiddler for each unique value of the specified field.\\nWith suffix \\\"list\\\", selects all tiddlers that are values in a specified list field.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.each = function(source,operator,options) {\\n\\tvar results =[] ,\\n\\tvalue,values = {},\\n\\tfield = operator.operand || \\\"title\\\";\\n\\tif(operator.suffix === \\\"value\\\" && field === \\\"title\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!$tw.utils.hop(values,title)) {\\n\\t\\t\\t\\tvalues[title] = true;\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else if(operator.suffix !== \\\"list-item\\\") {\\n\\t\\tif(field === \\\"title\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && !$tw.utils.hop(values,title)) {\\n\\t\\t\\t\\t\\tvalues[title] = true;\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(field);\\n\\t\\t\\t\\t\\tif(!$tw.utils.hop(values,value)) {\\n\\t\\t\\t\\t\\t\\tvalues[value] = true;\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t$tw.utils.each(\\n\\t\\t\\t\\t\\toptions.wiki.getTiddlerList(title,field),\\n\\t\\t\\t\\t\\tfunction(value) {\\n\\t\\t\\t\\t\\t\\tif(!$tw.utils.hop(values,value)) {\\n\\t\\t\\t\\t\\t\\t\\tvalues[value] = true;\\n\\t\\t\\t\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/eachday.js\":{\"title\":\"$:/core/modules/filters/eachday.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/eachday.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects one tiddler for each unique day covered by the specified date field\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.eachday = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tvalues = [],\\n\\t\\tfieldName = operator.operand || \\\"modified\\\";\\n\\t// Function to convert a date/time to a date integer\\n\\tvar toDate = function(value) {\\n\\t\\tvalue = (new Date(value)).setHours(0,0,0,0);\\n\\t\\treturn value+0;\\n\\t};\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler && tiddler.fields[fieldName]) {\\n\\t\\t\\tvar value = toDate($tw.utils.parseDate(tiddler.fields[fieldName]));\\n\\t\\t\\tif(values.indexOf(value) === -1) {\\n\\t\\t\\t\\tvalues.push(value);\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/editiondescription.js\":{\"title\":\"$:/core/modules/filters/editiondescription.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/editiondescription.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the descriptions of the specified edition names\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.editiondescription = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif($tw.node) {\\n\\t\\tvar editionInfo = $tw.utils.getEditionInfo();\\n\\t\\tif(editionInfo) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif($tw.utils.hop(editionInfo,title)) {\\n\\t\\t\\t\\t\\tresults.push(editionInfo[title].description || \\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/editions.js\":{\"title\":\"$:/core/modules/filters/editions.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/editions.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the available editions in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.editions = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif($tw.node) {\\n\\t\\tvar editionInfo = $tw.utils.getEditionInfo();\\n\\t\\tif(editionInfo) {\\n\\t\\t\\t$tw.utils.each(editionInfo,function(info,name) {\\n\\t\\t\\t\\tresults.push(name);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\tresults.sort();\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/else.js\":{\"title\":\"$:/core/modules/filters/else.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/else.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing an empty input list with a constant, passing a non-empty input list straight through\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.else = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tif(results.length === 0) {\\n\\t\\treturn [operator.operand];\\n\\t} else {\\n\\t\\treturn results;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/decodeuricomponent.js\":{\"title\":\"$:/core/modules/filters/decodeuricomponent.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/decodeuricomponent.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for applying decodeURIComponent() to each item.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter functions\\n*/\\n\\nexports.decodebase64 = function(source,operator,options) {\\n\\tvar results = [];\\n\\tvar binary = operator.suffixes && operator.suffixes[0].indexOf(\\\"binary\\\") !== -1;\\n\\tvar urlsafe = operator.suffixes && operator.suffixes[0].indexOf(\\\"urlsafe\\\") !== -1;\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.base64Decode(title,binary,urlsafe));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodebase64 = function(source,operator,options) {\\n\\tvar results = [];\\n\\tvar binary = operator.suffixes && operator.suffixes[0].indexOf(\\\"binary\\\") !== -1;\\n\\tvar urlsafe = operator.suffixes && operator.suffixes[0].indexOf(\\\"urlsafe\\\") !== -1;\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.base64Encode(title,binary,urlsafe));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.decodeuricomponent = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.decodeURIComponentSafe(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodeuricomponent = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.encodeURIComponentExtended(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.decodeuri = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.decodeURISafe(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodeuri = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(encodeURI(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.decodehtml = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.htmlDecode(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodehtml = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.htmlEncode(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.stringify = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.stringify(title,(operator.suffix === \\\"rawunicode\\\")));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.jsonstringify = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.jsonStringify(title,(operator.suffix === \\\"rawunicode\\\")));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.escaperegexp = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.escapeRegExp(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.escapecss = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\t// escape any character with a special meaning in CSS using CSS.escape()\\n\\t\\tresults.push($tw.utils.escapeCSS(title));\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/enlist.js\":{\"title\":\"$:/core/modules/filters/enlist.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/enlist.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning its operand parsed as a list\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.enlist = function(source,operator,options) {\\n\\tvar allowDuplicates = false;\\n\\tswitch(operator.suffix) {\\n\\t\\tcase \\\"raw\\\":\\n\\t\\t\\tallowDuplicates = true;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"dedupe\\\":\\n\\t\\t\\tallowDuplicates = false;\\n\\t\\t\\tbreak;\\n\\t}\\n\\tvar list = $tw.utils.parseStringArray(operator.operand,allowDuplicates);\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn results;\\n\\t} else {\\n\\t\\treturn list;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/field.js\":{\"title\":\"$:/core/modules/filters/field.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/field.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for comparing fields for equality\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.field = function(source,operator,options) {\\n\\tvar results = [],indexedResults,\\n\\t\\tfieldname = operator.suffix || operator.operator || \\\"title\\\";\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tif(operator.regexp) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && !operator.regexp.exec(text)) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && text !== operator.operand) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.regexp) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && !!operator.regexp.exec(text)) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tif(source.byField && operator.operand) {\\n\\t\\t\\t\\tindexedResults = source.byField(fieldname,operator.operand);\\n\\t\\t\\t\\tif(indexedResults) {\\n\\t\\t\\t\\t\\treturn indexedResults\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && text === operator.operand) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/fields.js\":{\"title\":\"$:/core/modules/filters/fields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/fields.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the fields on the selected tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.fields = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldName,\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [],\\n\\t\\toperand = $tw.utils.parseStringArray(operator.operand);\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(suffixes.indexOf(\\\"include\\\") !== -1) {\\n\\t\\t\\t\\tfor(fieldName in tiddler.fields) {\\n\\t\\t\\t\\t\\t(operand.indexOf(fieldName) !== -1) ? $tw.utils.pushTop(results,fieldName) : \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if (suffixes.indexOf(\\\"exclude\\\") !== -1) {\\n\\t\\t\\t\\tfor(fieldName in tiddler.fields) {\\n\\t\\t\\t\\t\\t(operand.indexOf(fieldName) !== -1) ? \\\"\\\" : $tw.utils.pushTop(results,fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} // else if\\n\\t\\t\\telse {\\n\\t\\t\\t\\tfor(fieldName in tiddler.fields) {\\n\\t\\t\\t\\t\\t$tw.utils.pushTop(results,fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} // else\\n\\t\\t} // if (tiddler)\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/filter.js\":{\"title\":\"$:/core/modules/filters/filter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/filter.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning those input titles that pass a subfilter\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.filter = function(source,operator,options) {\\n\\tvar filterFn = options.wiki.compileFilter(operator.operand),\\n\\t\\tresults = [],\\n\\t\\ttarget = operator.prefix !== \\\"!\\\";\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar list = filterFn.call(options.wiki,options.wiki.makeTiddlerIterator([title]),options.widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\\"..currentTiddler\\\": options.widget.getVariable(\\\"currentTiddler\\\",\\\"\\\")\\n\\t\\t}));\\n\\t\\tif((list.length > 0) === target) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/format/date.js\":{\"title\":\"$:/core/modules/filters/format/date.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/date.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.date = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar value = $tw.utils.parseDate(title);\\n\\t\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\t\\tresults.push($tw.utils.formatDateString(value,operand || \\\"YYYY MM DD 0hh:0mm\\\"));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/json.js\":{\"title\":\"$:/core/modules/filters/format/json.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/json.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.json = function(source,operand,options) {\\n\\tvar results = [],\\n\\t\\tspaces = null;\\n\\tif(operand) {\\n\\t\\tspaces = /^\\\\d+$/.test(operand) ? parseInt(operand,10) : operand;\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title);\\n\\t\\ttry {\\n\\t\\t\\tdata = JSON.parse(title);\\n\\t\\t} catch(e) {\\n\\t\\t\\tdata = undefined;\\n\\t\\t}\\n\\t\\tif(data !== undefined) {\\n\\t\\t\\tresults.push(JSON.stringify(data,null,spaces));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/relativedate.js\":{\"title\":\"$:/core/modules/filters/format/relativedate.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/relativedate.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.relativedate = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar value = $tw.utils.parseDate(title);\\n\\t\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\t\\tresults.push($tw.utils.getRelativeDate((new Date()) - (new Date(value))).description);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/timestamp.js\":{\"title\":\"$:/core/modules/filters/format/timestamp.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/timestamp.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.timestamp = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif (title.match(/^-?\\\\d+$/)) {\\n\\t\\t\\tvar value = new Date(Number(title));\\n\\t\\t\\tresults.push($tw.utils.formatDateString(value,operand || \\\"[UTC]YYYY0MM0DD0hh0mm0ss0XXX\\\"));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/titlelist.js\":{\"title\":\"$:/core/modules/filters/format/titlelist.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/titlelist.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.titlelist = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title && title.length) {\\n\\t\\t\\tresults.push($tw.utils.stringifyList([title]));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format.js\":{\"title\":\"$:/core/modules/filters/format.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format.js\\ntype: application/javascript\\nmodule-type: filteroperator\\nFilter operator for formatting strings\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar formatFilterOperators;\\n\\nfunction getFormatFilterOperators() {\\n\\tif(!formatFilterOperators) {\\n\\t\\tformatFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"formatfilteroperator\\\",formatFilterOperators);\\n\\t}\\n\\treturn formatFilterOperators;\\n}\\n\\n/*\\nExport our filter function\\n*/\\nexports.format = function(source,operator,options) {\\n\\t// Dispatch to the correct formatfilteroperator\\n\\tvar formatFilterOperators = getFormatFilterOperators();\\n\\tif(operator.suffix) {\\n\\t\\tvar formatFilterOperator = formatFilterOperators[operator.suffix];\\n\\t\\tif(formatFilterOperator) {\\n\\t\\t\\treturn formatFilterOperator(source,operator.operand,options);\\n\\t\\t} else {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/FormatFilterOperator\\\")];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Return all unchanged if the suffix is missing\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/function.js\":{\"title\":\"$:/core/modules/filters/function.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/function.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning those input titles that are returned from a function\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.function = function(source,operator,options) {\\n\\tvar functionName = operator.operands[0],\\n\\t\\tparams = [],\\n\\t\\tresults;\\n\\t$tw.utils.each(operator.operands.slice(1),function(param) {\\n\\t\\tparams.push({value: param});\\n\\t});\\n\\t// console.log(`Calling ${functionName} with params ${JSON.stringify(params)}`);\\n\\tvar variableInfo = options.widget && options.widget.getVariableInfo && options.widget.getVariableInfo(functionName,{params: params, source: source});\\n\\tif(variableInfo && variableInfo.srcVariable && variableInfo.srcVariable.isFunctionDefinition) {\\n\\t\\tresults = variableInfo.resultList ? variableInfo.resultList : [variableInfo.text];\\n\\t}\\n\\t// Return the input list if the function wasn't found\\n\\tif(!results) {\\n\\t\\tresults = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\t\\n\\t}\\n\\t// console.log(`function ${functionName} with params ${JSON.stringify(params)} results: ${JSON.stringify(results)}`);\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/get.js\":{\"title\":\"$:/core/modules/filters/get.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/get.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing tiddler titles by the value of the field specified in the operand.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.get = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler) {\\n\\t\\t\\tvar value = tiddler.getFieldString(operator.operand);\\n\\t\\t\\tif(value) {\\n\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/getindex.js\":{\"title\":\"$:/core/modules/filters/getindex.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/getindex.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nreturns the value at a given index of datatiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.getindex = function(source,operator,options) {\\n\\tvar data,title,results = [];\\n\\tif(operator.operand){\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\ttitle = tiddler ? tiddler.fields.title : title;\\n\\t\\t\\tdata = options.wiki.extractTiddlerDataItem(tiddler,operator.operand);\\n\\t\\t\\tif(data) {\\n\\t\\t\\t\\tresults.push(data);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/getvariable.js\":{\"title\":\"$:/core/modules/filters/getvariable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/getvariable.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing input values by the value of the variable with the same name, or blank if the variable is missing\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.getvariable = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(options.widget.getVariable(title) || \\\"\\\");\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/has.js\":{\"title\":\"$:/core/modules/filters/has.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/has.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a tiddler has the specified field or index\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.has = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tinvert = operator.prefix === \\\"!\\\";\\n\\n\\tif(operator.suffix === \\\"field\\\") {\\n\\t\\tif(invert) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(!tiddler || (tiddler && (!$tw.utils.hop(tiddler.fields,operator.operand)))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,operator.operand)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\telse if(operator.suffix === \\\"index\\\") {\\n\\t\\tif(invert) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(!tiddler || (tiddler && (!$tw.utils.hop(options.wiki.getTiddlerDataCached(tiddler,Object.create(null)),operator.operand)))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && $tw.utils.hop(options.wiki.getTiddlerDataCached(tiddler,Object.create(null)),operator.operand)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\telse {\\n\\t\\tif(invert) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(!tiddler || !$tw.utils.hop(tiddler.fields,operator.operand) || (tiddler.fields[operator.operand].length === 0)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,operator.operand) && (tiddler.fields[operator.operand].length !== 0)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/haschanged.js\":{\"title\":\"$:/core/modules/filters/haschanged.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/haschanged.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returns tiddlers from the list that have a non-zero changecount.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.haschanged = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.getChangeCount(title) === 0) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.getChangeCount(title) > 0) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/indexes.js\":{\"title\":\"$:/core/modules/filters/indexes.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/indexes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the indexes of a data tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.indexes = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = options.wiki.getTiddlerDataCached(title);\\n\\t\\tif(data) {\\n\\t\\t\\t$tw.utils.pushTop(results,Object.keys(data));\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/insertafter.js\":{\"title\":\"$:/core/modules/filters/insertafter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/insertafter.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nInsert an item after another item in a list\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nOrder a list\\n*/\\nexports.insertafter = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar target = operator.operands[1] || (options.widget && options.widget.getVariable(operator.suffix || \\\"currentTiddler\\\"));\\n\\tif(target !== operator.operand) {\\n\\t\\t// Remove the entry from the list if it is present\\n\\t\\tvar pos = results.indexOf(operator.operand);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos,1);\\n\\t\\t}\\n\\t\\t// Insert the entry after the target marker\\n\\t\\tpos = results.indexOf(target);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos+1,0,operator.operand);\\n\\t\\t} else {\\n\\t\\t\\tvar suffix = operator.operands.length > 1 ? operator.suffix : \\\"\\\";\\n\\t\\t\\tif(suffix === \\\"start\\\") {\\n\\t\\t\\t\\tresults.splice(0,0,operator.operand);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(operator.operand);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/insertbefore.js\":{\"title\":\"$:/core/modules/filters/insertbefore.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/insertbefore.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nInsert an item before another item in a list\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nOrder a list\\n*/\\nexports.insertbefore = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar target = operator.operands[1] || (options.widget && options.widget.getVariable(operator.suffix || \\\"currentTiddler\\\"));\\n\\tif(target !== operator.operand) {\\n\\t\\t// Remove the entry from the list if it is present\\n\\t\\tvar pos = results.indexOf(operator.operand);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos,1);\\n\\t\\t}\\n\\t\\t// Insert the entry before the target marker\\n\\t\\tpos = results.indexOf(target);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos,0,operator.operand);\\n\\t\\t} else {\\n\\t\\t\\tvar suffix = operator.operands.length > 1 ? operator.suffix : \\\"\\\";\\n\\t\\t\\tif(suffix == \\\"start\\\") {\\n\\t\\t\\t\\tresults.splice(0,0,operator.operand);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(operator.operand);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/is/binary.js\":{\"title\":\"$:/core/modules/filters/is/binary.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/binary.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[binary]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.binary = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isBinaryTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isBinaryTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/blank.js\":{\"title\":\"$:/core/modules/filters/is/blank.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/blank.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[blank]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.blank = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!title) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/current.js\":{\"title\":\"$:/core/modules/filters/is/current.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/current.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[current]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.current = function(source,prefix,options) {\\n\\tvar results = [],\\n\\t\\tcurrTiddlerTitle = options.widget && options.widget.getVariable(\\\"currentTiddler\\\");\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title !== currTiddlerTitle) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title === currTiddlerTitle) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/draft.js\":{\"title\":\"$:/core/modules/filters/is/draft.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/draft.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[draft]] analagous to [has[draft.of]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.draft = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!tiddler || !tiddler.isDraft()) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.isDraft()) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/image.js\":{\"title\":\"$:/core/modules/filters/is/image.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/image.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[image]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.image = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isImageTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isImageTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/missing.js\":{\"title\":\"$:/core/modules/filters/is/missing.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/missing.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[missing]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.missing = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/orphan.js\":{\"title\":\"$:/core/modules/filters/is/orphan.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/orphan.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[orphan]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.orphan = function(source,prefix,options) {\\n\\tvar results = [],\\n\\t\\torphanTitles = options.wiki.getOrphanTitles();\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(orphanTitles.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(orphanTitles.indexOf(title) !== -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/shadow.js\":{\"title\":\"$:/core/modules/filters/is/shadow.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/shadow.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[shadow]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.shadow = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isShadowTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isShadowTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/system.js\":{\"title\":\"$:/core/modules/filters/is/system.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/system.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[system]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.system = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/tag.js\":{\"title\":\"$:/core/modules/filters/is/tag.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/tag.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[tag]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tag = function(source,prefix,options) {\\n\\tvar results = [],\\n\\t\\ttagMap = options.wiki.getTagMap();\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!$tw.utils.hop(tagMap,title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif($tw.utils.hop(tagMap,title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/tiddler.js\":{\"title\":\"$:/core/modules/filters/is/tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/tiddler.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[tiddler]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tiddler = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/variable.js\":{\"title\":\"$:/core/modules/filters/is/variable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/variable.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[variable]]\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.variable = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.widget.getVariable(title) === undefined) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.widget.getVariable(title) !== undefined) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is.js\":{\"title\":\"$:/core/modules/filters/is.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking tiddler properties\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar isFilterOperators;\\n\\nfunction getIsFilterOperators() {\\n\\tif(!isFilterOperators) {\\n\\t\\tisFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"isfilteroperator\\\",isFilterOperators);\\n\\t}\\n\\treturn isFilterOperators;\\n}\\n\\n/*\\nExport our filter function\\n*/\\nexports.is = function(source,operator,options) {\\n\\t// Dispatch to the correct isfilteroperator\\n\\tvar isFilterOperators = getIsFilterOperators();\\n\\tif(operator.operand) {\\n\\t\\tvar isFilterOperator = isFilterOperators[operator.operand];\\n\\t\\tif(isFilterOperator) {\\n\\t\\t\\treturn isFilterOperator(source,operator.prefix,options);\\n\\t\\t} else {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/IsFilterOperator\\\")];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Return all tiddlers if the operand is missing\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/json-ops.js\":{\"title\":\"$:/core/modules/filters/json-ops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/json-ops.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for JSON operations\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports[\\\"jsonget\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar items = getDataItemValueAsStrings(data,operator.operands);\\n\\t\\t\\tif(items !== undefined) {\\n\\t\\t\\t\\tresults.push.apply(results,items);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsonextract\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar item = getDataItem(data,operator.operands);\\n\\t\\t\\tif(item !== undefined) {\\n\\t\\t\\t\\tresults.push(JSON.stringify(item));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsonindexes\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar items = getDataItemKeysAsStrings(data,operator.operands);\\n\\t\\t\\tif(items !== undefined) {\\n\\t\\t\\t\\tresults.push.apply(results,items);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsontype\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar item = getDataItemType(data,operator.operands);\\n\\t\\t\\tif(item !== undefined) {\\n\\t\\t\\t\\tresults.push(item);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsonset\\\"] = function(source,operator,options) {\\n\\tvar suffixes = operator.suffixes || [],\\n\\t\\ttype = suffixes[0] && suffixes[0][0],\\n\\t\\tindexes = operator.operands.slice(0,-1),\\n\\t\\tvalue = operator.operands[operator.operands.length - 1],\\n\\t\\tresults = [];\\n\\tif(operator.operands.length === 1 && operator.operands[0] === \\\"\\\") {\\n\\t\\tvalue = undefined; // Prevents the value from being assigned\\n\\t}\\n\\tswitch(type) {\\n\\t\\tcase \\\"string\\\":\\n\\t\\t\\t// Use value unchanged\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"boolean\\\":\\n\\t\\t\\tvalue = (value === \\\"true\\\" ? true : (value === \\\"false\\\" ? false : undefined));\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"number\\\":\\n\\t\\t\\tvalue = $tw.utils.parseNumber(value);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"array\\\":\\n\\t\\t\\tindexes = operator.operands;\\n\\t\\t\\tvalue = [];\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"object\\\":\\n\\t\\t\\tindexes = operator.operands;\\n\\t\\t\\tvalue = {};\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"null\\\":\\n\\t\\t\\tindexes = operator.operands;\\n\\t\\t\\tvalue = null;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"json\\\":\\n\\t\\t\\tvalue = $tw.utils.parseJSONSafe(value,function() {return undefined;});\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\t// Use value unchanged\\n\\t\\t\\tbreak;\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tdata = setDataItem(data,indexes,value);\\n\\t\\t\\tresults.push(JSON.stringify(data));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n/*\\nGiven a JSON data structure and an array of index strings, return an array of the string representation of the values at the end of the index chain, or \\\"undefined\\\" if any of the index strings are invalid\\n*/\\nfunction getDataItemValueAsStrings(data,indexes) {\\n\\t// Get the item\\n\\tvar item = getDataItem(data,indexes);\\n\\t// Return the item as a string list\\n\\treturn convertDataItemValueToStrings(item);\\n}\\n\\n/*\\nGiven a JSON data structure and an array of index strings, return an array of the string representation of the keys of the item at the end of the index chain, or \\\"undefined\\\" if any of the index strings are invalid\\n*/\\nfunction getDataItemKeysAsStrings(data,indexes) {\\n\\t// Get the item\\n\\tvar item = getDataItem(data,indexes);\\n\\t// Return the item keys as a string\\n\\treturn convertDataItemKeysToStrings(item);\\n}\\n\\n/*\\nReturn an array of the string representation of the values of a data item, or \\\"undefined\\\" if the item is undefined\\n*/\\nfunction convertDataItemValueToStrings(item) {\\n\\t// Return the item as a string\\n\\tif(item === undefined) {\\n\\t\\treturn undefined;\\n\\t} else if(item === null) {\\n\\t\\treturn [\\\"null\\\"]\\n\\t} else if(typeof item === \\\"object\\\") {\\n\\t\\tvar results = [],i,t;\\n\\t\\tif($tw.utils.isArray(item)) {\\n\\t\\t\\t// Return all the items in arrays recursively\\n\\t\\t\\tfor(i=0; i<item.length; i++) {\\n\\t\\t\\t\\tt = convertDataItemValueToStrings(item[i])\\n\\t\\t\\t\\tif(t !== undefined) {\\n\\t\\t\\t\\t\\tresults.push.apply(results,t);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// Return all the values in objects recursively\\n\\t\\t\\t$tw.utils.each(Object.keys(item).sort(),function(key) {\\n\\t\\t\\t\\tt = convertDataItemValueToStrings(item[key]);\\n\\t\\t\\t\\tif(t !== undefined) {\\n\\t\\t\\t\\t\\tresults.push.apply(results,t);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\\n\\treturn [item.toString()];\\n}\\n\\n/*\\nReturn an array of the string representation of the keys of a data item, or \\\"undefined\\\" if the item is undefined\\n*/\\nfunction convertDataItemKeysToStrings(item) {\\n\\t// Return the item as a string\\n\\tif(item === undefined) {\\n\\t\\treturn item;\\n\\t} else if(typeof item === \\\"object\\\") {\\n\\t\\tif(item === null) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t\\tvar results = [];\\n\\t\\tif($tw.utils.isArray(item)) {\\n\\t\\t\\tfor(var i=0; i<item.length; i++) {\\n\\t\\t\\t\\tresults.push(i.toString());\\n\\t\\t\\t}\\n\\t\\t\\treturn results;\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.each(Object.keys(item).sort(),function(key) {\\n\\t\\t\\t\\tresults.push(key);\\n\\t\\t\\t});\\n\\t\\t\\treturn results;\\n\\t\\t}\\n\\t}\\n\\treturn [];\\n}\\n\\nfunction getDataItemType(data,indexes) {\\n\\t// Get the item\\n\\tvar item = getDataItem(data,indexes);\\n\\t// Return the item type\\n\\tif(item === undefined) {\\n\\t\\treturn item;\\n\\t} else if(item === null) {\\n\\t\\treturn \\\"null\\\";\\n\\t} else if($tw.utils.isArray(item)) {\\n\\t\\treturn \\\"array\\\";\\n\\t} else if(typeof item === \\\"object\\\") {\\n\\t\\treturn \\\"object\\\";\\n\\t} else {\\n\\t\\treturn typeof item;\\n\\t}\\n}\\n\\nfunction getItemAtIndex(item,index) {\\n\\tif($tw.utils.hop(item,index)) {\\n\\t\\treturn item[index];\\n\\t} else if($tw.utils.isArray(item)) {\\n\\t\\tindex = $tw.utils.parseInt(index);\\n\\t\\tif(index < 0) { index = index + item.length };\\n\\t\\treturn item[index]; // Will be undefined if index was out-of-bounds\\n\\t} else {\\n\\t\\treturn undefined;\\n\\t}\\n}\\n\\n/*\\nGiven a JSON data structure and an array of index strings, return the value at the end of the index chain, or \\\"undefined\\\" if any of the index strings are invalid\\n*/\\nfunction getDataItem(data,indexes) {\\n\\tif(indexes.length === 0 || (indexes.length === 1 && indexes[0] === \\\"\\\")) {\\n\\t\\treturn data;\\n\\t}\\n\\t// Get the item\\n\\tvar item = data;\\n\\tfor(var i=0; i<indexes.length; i++) {\\n\\t\\tif(item !== undefined) {\\n\\t\\t\\tif(item !== null && [\\\"number\\\",\\\"string\\\",\\\"boolean\\\"].indexOf(typeof item) === -1) {\\n\\t\\t\\t\\titem = getItemAtIndex(item,indexes[i]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\titem = undefined;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn item;\\n}\\n\\n/*\\nGiven a JSON data structure, an array of index strings and a value, return the data structure with the value added at the end of the index chain. If any of the index strings are invalid then the JSON data structure is returned unmodified. If the root item is targetted then a different data object will be returned\\n*/\\nfunction setDataItem(data,indexes,value) {\\n\\t// Ignore attempts to assign undefined\\n\\tif(value === undefined) {\\n\\t\\treturn data;\\n\\t}\\n\\t// Check for the root item\\n\\tif(indexes.length === 0 || (indexes.length === 1 && indexes[0] === \\\"\\\")) {\\n\\t\\treturn value;\\n\\t}\\n\\t// Traverse the JSON data structure using the index chain\\n\\tvar current = data;\\n\\tfor(var i = 0; i < indexes.length - 1; i++) {\\n\\t\\tcurrent = getItemAtIndex(current,indexes[i]);\\n\\t\\tif(current === undefined) {\\n\\t\\t\\t// Return the original JSON data structure if any of the index strings are invalid\\n\\t\\t\\treturn data;\\n\\t\\t}\\n\\t}\\n\\t// Add the value to the end of the index chain\\n\\tvar lastIndex = indexes[indexes.length - 1];\\n\\tif($tw.utils.isArray(current)) {\\n\\t\\tlastIndex = $tw.utils.parseInt(lastIndex);\\n\\t\\tif(lastIndex < 0) { lastIndex = lastIndex + current.length };\\n\\t}\\n\\t// Only set indexes on objects and arrays\\n\\tif(typeof current === \\\"object\\\") {\\n\\t\\tcurrent[lastIndex] = value;\\n\\t}\\n\\treturn data;\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/limit.js\":{\"title\":\"$:/core/modules/filters/limit.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/limit.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for chopping the results to a specified maximum number of entries\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.limit = function(source,operator,options) {\\n\\tvar results = [];\\n\\t// Convert to an array\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\t// Slice the array if necessary\\n\\tvar limit = Math.min(results.length,parseInt(operator.operand,10));\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tresults = results.slice(-limit);\\n\\t} else {\\n\\t\\tresults = results.slice(0,limit);\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/links.js\":{\"title\":\"$:/core/modules/filters/links.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/links.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning all the links from a tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.links = function(source,operator,options) {\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(options.wiki.getTiddlerLinks(title));\\n\\t});\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/list.js\":{\"title\":\"$:/core/modules/filters/list.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/list.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddlers whose title is listed in the operand tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.list = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\ttr = $tw.utils.parseTextReference(operator.operand),\\n\\t\\tcurrTiddlerTitle = options.widget && options.widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\tlist = options.wiki.getTiddlerList(tr.title || currTiddlerTitle,tr.field,tr.index);\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tresults = list;\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/listed.js\":{\"title\":\"$:/core/modules/filters/listed.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/listed.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all tiddlers that have the selected tiddlers in a list\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.listed = function(source,operator,options) {\\n\\tvar field = operator.operand || \\\"list\\\",\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\t$tw.utils.pushTop(results,options.wiki.findListingsOfTiddler(title,field));\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/listops.js\":{\"title\":\"$:/core/modules/filters/listops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/listops.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for manipulating the current selection list\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nOrder a list\\n*/\\nexports.order = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.operand.toLowerCase() === \\\"reverse\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.unshift(title);\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nReverse list\\n*/\\nexports.reverse = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.unshift(title);\\n\\t});\\n\\treturn results;\\n};\\n\\n/*\\nFirst entry/entries in list\\n*/\\nexports.first = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(0,count);\\n};\\n\\n/*\\nLast entry/entries in list\\n*/\\nexports.last = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tif(count === 0) return results;\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(-count);\\n};\\n\\n/*\\nAll but the first entry/entries of the list\\n*/\\nexports.rest = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(count);\\n};\\nexports.butfirst = exports.rest;\\nexports.bf = exports.rest;\\n\\n/*\\nAll but the last entry/entries of the list\\n*/\\nexports.butlast = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar index = count === 0 ? results.length : -count;\\n\\treturn results.slice(0,index);\\n};\\nexports.bl = exports.butlast;\\n\\n/*\\nThe nth member of the list\\n*/\\nexports.nth = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(count - 1,count);\\n};\\n\\n/*\\nThe zero based nth member of the list\\n*/\\nexports.zth = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,0),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(count,count + 1);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/lookup.js\":{\"title\":\"$:/core/modules/filters/lookup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/lookup.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that looks up values via a title prefix\\n\\n[lookup:<defaultvalue>:<field OR index>[<prefix>],[<field-name OR index-name>]]\\n\\nPrepends the prefix to the selected items and returns the specified \\nfield or index value. If the 2nd suffix does not exist, it defaults to field.\\nIf the second operand is missing it defaults to \\\"text\\\" for fields, and \\\"0\\\" for indexes\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.lookup = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = operator.suffixes || [],\\n\\t\\tdefaultSuffix = suffixes[0] ? (suffixes[0][0] || \\\"\\\") : \\\"\\\",\\n\\t\\tindexSuffix = (suffixes[1] && suffixes[1][0] === \\\"index\\\") ? true : false,\\n\\t\\ttarget;\\n\\tif(operator.operands.length == 2) {\\n\\t\\ttarget = operator.operands[1]\\n\\t} else {\\n\\t\\ttarget = indexSuffix ? \\\"0\\\": \\\"text\\\";\\n\\t}\\n\\tif(indexSuffix) {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar data = options.wiki.extractTiddlerDataItem(operator.operands[0]+title,target,defaultSuffix);\\n\\t\\t\\tresults.push(data);\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar value = defaultSuffix;\\n\\t\\t\\tvar targetTiddler = options.wiki.getTiddler(operator.operands[0]+title);\\n\\t\\t\\tif(targetTiddler && targetTiddler.getFieldString(target)) {\\n\\t\\t\\t\\tvalue = targetTiddler.getFieldString(target);\\n\\t\\t\\t}\\n\\t\\t\\tresults.push(value);\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/match.js\":{\"title\":\"$:/core/modules/filters/match.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/match.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a title matches a string\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.match = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase() !== (operator.operand || \\\"\\\").toLowerCase()) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase() === (operator.operand || \\\"\\\").toLowerCase()) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title !== operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title === operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/math.js\":{\"title\":\"$:/core/modules/filters/math.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/math.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for math. Unary/binary operators work on each item in turn, and return a new item list.\\n\\nSum/product/maxall/minall operate on the entire list, returning a single item.\\n\\nNote that strings are converted to numbers automatically. Trailing non-digits are ignored.\\n\\n* \\\"\\\" converts to 0\\n* \\\"12kk\\\" converts to 12\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.negate = makeNumericBinaryOperator(\\n\\tfunction(a) {return -a}\\n);\\n\\nexports.abs = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.abs(a)}\\n);\\n\\nexports.ceil = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.ceil(a)}\\n);\\n\\nexports.floor = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.floor(a)}\\n);\\n\\nexports.round = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.round(a)}\\n);\\n\\nexports.trunc = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.trunc(a)}\\n);\\n\\nexports.untrunc = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.ceil(Math.abs(a)) * Math.sign(a)}\\n);\\n\\nexports.sign = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.sign(a)}\\n);\\n\\nexports.add = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a + b;}\\n);\\n\\nexports.subtract = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a - b;}\\n);\\n\\nexports.multiply = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a * b;}\\n);\\n\\nexports.divide = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a / b;}\\n);\\n\\nexports.remainder = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a % b;}\\n);\\n\\nexports.max = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.max(a,b);}\\n);\\n\\nexports.min = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.min(a,b);}\\n);\\n\\nexports.fixed = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Number.prototype.toFixed.call(a,Math.min(Math.max(b,0),100));}\\n);\\n\\nexports.precision = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Number.prototype.toPrecision.call(a,Math.min(Math.max(b,1),100));}\\n);\\n\\nexports.exponential = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Number.prototype.toExponential.call(a,Math.min(Math.max(b,0),100));}\\n);\\n\\nexports.power = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.pow(a,b);}\\n);\\n\\nexports.log = makeNumericBinaryOperator(\\n\\tfunction(a,b) {\\n\\t\\tif(b) {\\n\\t\\t\\treturn Math.log(a)/Math.log(b);\\n\\t\\t} else {\\n\\t\\t\\treturn Math.log(a);\\n\\t\\t}\\n\\t}\\n);\\n\\nexports.sum = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0 // Initial value\\n);\\n\\nexports.product = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator * value},\\n\\t1 // Initial value\\n);\\n\\nexports.maxall = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return Math.max(accumulator,value)},\\n\\t-Infinity // Initial value\\n);\\n\\nexports.minall = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return Math.min(accumulator,value)},\\n\\tInfinity // Initial value\\n);\\n\\nexports.median = makeNumericArrayOperator(\\n\\tfunction(values) {\\n\\t\\tvar len = values.length, median;\\n\\t\\tvalues.sort(function(a,b) {return a-b});\\n\\t\\tif(len % 2) { \\n\\t\\t\\t// Odd, return the middle number\\n\\t\\t\\tmedian = values[(len - 1) / 2];\\n\\t\\t} else {\\n\\t\\t\\t// Even, return average of two middle numbers\\n\\t\\t\\tmedian = (values[len / 2 - 1] + values[len / 2]) / 2;\\n\\t\\t}\\n\\t\\treturn [median];\\n\\t}\\n);\\n\\nexports.average = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0, // Initial value\\n\\tfunction(finalValue,numberOfValues) {\\n\\t\\treturn finalValue/numberOfValues;\\n\\t}\\n);\\n\\nexports.variance = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0,\\n\\tfunction(finalValue,numberOfValues,originalValues) {\\n\\t\\treturn getVarianceFromArray(originalValues,finalValue/numberOfValues);\\n\\t}\\n);\\n\\nexports[\\\"standard-deviation\\\"] = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0,\\n\\tfunction(finalValue,numberOfValues,originalValues) {\\n\\t\\tvar variance = getVarianceFromArray(originalValues,finalValue/numberOfValues);\\n\\t\\treturn Math.sqrt(variance);\\n\\t}\\n);\\n\\n//trigonometry\\nexports.cos = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.cos(a)}\\n);\\n\\nexports.sin = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.sin(a)}\\n);\\n\\nexports.tan = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.tan(a)}\\n);\\n\\nexports.acos = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.acos(a)}\\n);\\n\\nexports.asin = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.asin(a)}\\n);\\n\\nexports.atan = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.atan(a)}\\n);\\n\\nexports.atan2 = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.atan2(a,b)}\\n);\\n\\n//Calculate the variance of a population of numbers in an array given its mean\\nfunction getVarianceFromArray(values,mean) {\\n\\tvar deviationTotal = values.reduce(function(accumulator,value) {\\n\\t\\treturn accumulator + Math.pow(value - mean, 2);\\n\\t},0);\\n\\treturn deviationTotal/values.length;\\n};\\n\\nfunction makeNumericBinaryOperator(fnCalc) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [],\\n\\t\\t\\tnumOperand = $tw.utils.parseNumber(operator.operand);\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresult.push($tw.utils.stringifyNumber(fnCalc($tw.utils.parseNumber(title),numOperand)));\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n};\\n\\nfunction makeNumericReducingOperator(fnCalc,initialValue,fnFinal) {\\n\\tinitialValue = initialValue || 0;\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresult.push($tw.utils.parseNumber(title));\\n\\t\\t});\\n\\t\\tvar value = result.reduce(function(accumulator,currentValue) {\\n\\t\\t\\t\\treturn fnCalc(accumulator,currentValue);\\n\\t\\t\\t},initialValue);\\n\\t\\tif(fnFinal) {\\n\\t\\t\\tvalue = fnFinal(value,result.length,result);\\n\\t\\t}\\n\\t\\treturn [$tw.utils.stringifyNumber(value)];\\n\\t};\\n};\\n\\nfunction makeNumericArrayOperator(fnCalc) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push($tw.utils.parseNumber(title));\\n\\t\\t});\\n\\t\\tresults = fnCalc(results);\\n\\t\\t$tw.utils.each(results,function(value,index) {\\n\\t\\t\\tresults[index] = $tw.utils.stringifyNumber(value);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t};\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/minlength.js\":{\"title\":\"$:/core/modules/filters/minlength.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/minlength.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for filtering out titles that don't meet the minimum length in the operand\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.minlength = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tminLength = parseInt(operator.operand || \\\"\\\",10) || 0;\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title.length >= minLength) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/moduleproperty.js\":{\"title\":\"$:/core/modules/filters/moduleproperty.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/moduleproperty.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter [[module-name]moduleproperty[name]] retrieve a module property\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.moduleproperty = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\ttry {\\n\\t\\t\\tvar value = require(title)[operator.operand || \\\"\\\"];\\n\\t\\t\\tif(value !== undefined) {\\n\\t\\t\\t\\tif(typeof value !== \\\"string\\\") {\\n\\t\\t\\t\\t\\tvalue = JSON.stringify(value);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t}\\n\\t\\t} catch(e) {\\n\\t\\t\\t// Do nothing. It probably wasn't a module.\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/modules.js\":{\"title\":\"$:/core/modules/filters/modules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/modules.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the titles of the modules of a given type in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.modules = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.operands.length >= 2) {\\n\\t\\t// Return the modules that have the module property specified in the first operand with the value in the second operand\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t$tw.utils.each($tw.modules.types[title],function(moduleInfo,moduleName) {\\n\\t\\t\\t\\tif(require(moduleName)[operator.operands[0]] === operator.operands[1]) {\\n\\t\\t\\t\\t\\tresults.push(moduleName);\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t});\\n\\t} else {\\n\\t\\t// Return all the module names without filtering\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t$tw.utils.each($tw.modules.types[title],function(moduleInfo,moduleName) {\\n\\t\\t\\t\\tresults.push(moduleName);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/moduletypes.js\":{\"title\":\"$:/core/modules/filters/moduletypes.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/moduletypes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the module types in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.moduletypes = function(source,operator,options) {\\n\\tvar results = [];\\n\\t$tw.utils.each($tw.modules.types,function(moduleInfo,type) {\\n\\t\\tresults.push(type);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/next.js\":{\"title\":\"$:/core/modules/filters/next.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/next.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler whose title occurs next in the list supplied in the operand tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.next = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tlist = options.wiki.getTiddlerList(operator.operand);\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar match = list.indexOf(title);\\n\\t\\t// increment match and then test if result is in range\\n\\t\\tmatch++;\\n\\t\\tif(match > 0 && match < list.length) {\\n\\t\\t\\tresults.push(list[match]);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/plugintiddlers.js\":{\"title\":\"$:/core/modules/filters/plugintiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/plugintiddlers.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the titles of the shadow tiddlers within a plugin\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.plugintiddlers = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar pluginInfo = options.wiki.getPluginInfo(title) || options.wiki.getTiddlerDataCached(title,{tiddlers:[]});\\n\\t\\tif(pluginInfo && pluginInfo.tiddlers) {\\n\\t\\t\\t$tw.utils.each(pluginInfo.tiddlers,function(fields,title) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/prefix.js\":{\"title\":\"$:/core/modules/filters/prefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/prefix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a title starts with a prefix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.prefix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(0,operand.length) !== operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(0,operand.length) === operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(0,operator.operand.length) !== operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(0,operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/previous.js\":{\"title\":\"$:/core/modules/filters/previous.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/previous.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler whose title occurs immediately prior in the list supplied in the operand tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.previous = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tlist = options.wiki.getTiddlerList(operator.operand);\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar match = list.indexOf(title);\\n\\t\\t// increment match and then test if result is in range\\n\\t\\tmatch--;\\n\\t\\tif(match >= 0) {\\n\\t\\t\\tresults.push(list[match]);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/range.js\":{\"title\":\"$:/core/modules/filters/range.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/range.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for generating a numeric range.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.range = function(source,operator,options) {\\n\\tvar results = [];\\n\\t// For backwards compatibility, if there is only one operand, try to split it using one of the delimiters\\n\\tvar parts = operator.operands || [];\\n\\tif(parts.length === 1) {\\n\\t\\tparts = operator.operand.split(/[,:;]/g);\\n\\t}\\n\\t// Process the parts\\n\\tvar beg, end, inc, i, fixed = 0;\\n\\tfor (i=0; i<parts.length; i++) {\\n\\t\\t// Validate real number\\n\\t\\tif(!/^\\\\s*[+-]?((\\\\d+(\\\\.\\\\d*)?)|(\\\\.\\\\d+))\\\\s*$/.test(parts[i])) {\\n\\t\\t\\treturn [\\\"range: bad number \\\\\\\"\\\" + parts[i] + \\\"\\\\\\\"\\\"];\\n\\t\\t}\\n\\t\\t// Count digits; the most precise number determines decimal places in output.\\n\\t\\tvar frac = /\\\\.\\\\d+/.exec(parts[i]);\\n\\t\\tif(frac) {\\n\\t\\t\\tfixed = Math.max(fixed,frac[0].length-1);\\n\\t\\t}\\n\\t\\tparts[i] = parseFloat(parts[i]);\\n\\t}\\n\\tswitch(parts.length) {\\n\\t\\tcase 1:\\n\\t\\t\\tend = parts[0];\\n\\t\\t\\tif (end >= 1) {\\n\\t\\t\\t\\tbeg = 1;\\n\\t\\t\\t}\\n\\t\\t\\telse if (end <= -1) {\\n\\t\\t\\t\\tbeg = -1;\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\treturn [];\\n\\t\\t\\t}\\n\\t\\t\\tinc = 1;\\n\\t\\t\\tbreak;\\n\\t\\tcase 2:\\n\\t\\t\\tbeg = parts[0];\\n\\t\\t\\tend = parts[1];\\n\\t\\t\\tinc = 1;\\n\\t\\t\\tbreak;\\n\\t\\tcase 3:\\n\\t\\t\\tbeg = parts[0];\\n\\t\\t\\tend = parts[1];\\n\\t\\t\\tinc = Math.abs(parts[2]);\\n\\t\\t\\tbreak;\\n\\t}\\n\\tif(inc === 0) {\\n\\t\\treturn [\\\"range: increment 0 causes infinite loop\\\"];\\n\\t}\\n\\t// May need to count backwards\\n\\tvar direction = ((end < beg) ? -1 : 1);\\n\\tinc *= direction;\\n\\t// Estimate number of resulting elements\\n\\tif((end - beg) / inc > 10000) {\\n\\t\\treturn [\\\"range: too many steps (over 10K)\\\"];\\n\\t}\\n\\t// Avoid rounding error on last step\\n\\tend += direction * 0.5 * Math.pow(0.1,fixed);\\n\\tvar safety = 10010;\\n\\t// Enumerate the range\\n\\tif (end<beg) {\\n\\t\\tfor(i=beg; i>end; i+=inc) {\\n\\t\\t\\tresults.push(i.toFixed(fixed));\\n\\t\\t\\tif(--safety<0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tfor(i=beg; i<end; i+=inc) {\\n\\t\\t\\tresults.push(i.toFixed(fixed));\\n\\t\\t\\tif(--safety<0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif(safety<0) {\\n\\t\\treturn [\\\"range: unexpectedly large output\\\"];\\n\\t}\\n\\t// Reverse?\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tresults.reverse();\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/reduce.js\":{\"title\":\"$:/core/modules/filters/reduce.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/reduce.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator evaluates a subfilter for each item, making the running total available in the variable `accumulator`, and the current index available in the variable `index`\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.reduce = function(source,operator,options) {\\n\\t// Accumulate the list\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\t// Run the filter over each item\\n\\tvar filterFn = options.wiki.compileFilter(operator.operand),\\n\\t\\taccumulator = operator.operands[1] || \\\"\\\";\\n\\tfor(var index=0; index<results.length; index++) {\\n\\t\\tvar title = results[index],\\n\\t\\t\\tlist = filterFn.call(options.wiki,options.wiki.makeTiddlerIterator([title]),options.widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\\"..currentTiddler\\\": options.widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\t\\t\\t\\\"accumulator\\\": \\\"\\\" + accumulator,\\n\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (results.length - 1 - index),\\n\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + results.length\\n\\t\\t\\t}));\\n\\t\\tif(list.length > 0) {\\n\\t\\t\\taccumulator = \\\"\\\" + list[0];\\n\\t\\t}\\n\\t}\\n\\tif(results.length > 0) {\\n\\t\\treturn [accumulator];\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/regexp.js\":{\"title\":\"$:/core/modules/filters/regexp.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/regexp.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for regexp matching\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.regexp = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldname = operator.suffix || \\\"title\\\",\\n\\t\\tregexpString, regexp, flags = \\\"\\\", match,\\n\\t\\tgetFieldString = function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\treturn tiddler.getFieldString(fieldname);\\n\\t\\t\\t} else if(fieldname === \\\"title\\\") {\\n\\t\\t\\t\\treturn title;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Process flags and construct regexp\\n\\tregexpString = operator.operand;\\n\\tmatch = /^\\\\(\\\\?([gim]+)\\\\)/.exec(regexpString);\\n\\tif(match) {\\n\\t\\tflags = match[1];\\n\\t\\tregexpString = regexpString.substr(match[0].length);\\n\\t} else {\\n\\t\\tmatch = /\\\\(\\\\?([gim]+)\\\\)$/.exec(regexpString);\\n\\t\\tif(match) {\\n\\t\\t\\tflags = match[1];\\n\\t\\t\\tregexpString = regexpString.substr(0,regexpString.length - match[0].length);\\n\\t\\t}\\n\\t}\\n\\ttry {\\n\\t\\tregexp = new RegExp(regexpString,flags);\\n\\t} catch(e) {\\n\\t\\treturn [\\\"\\\" + e];\\n\\t}\\n\\t// Process the incoming tiddlers\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar text = getFieldString(tiddler,title);\\n\\t\\t\\tif(text !== null) {\\n\\t\\t\\t\\tif(!regexp.exec(text)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar text = getFieldString(tiddler,title);\\n\\t\\t\\tif(text !== null) {\\n\\t\\t\\t\\tif(!!regexp.exec(text)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/removeprefix.js\":{\"title\":\"$:/core/modules/filters/removeprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/removeprefix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for removing a prefix from each title in the list. Titles that do not start with the prefix are removed.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.removeprefix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title.toLowerCase().substr(0,operand.length) === operand) {\\n\\t\\t\\t\\tresults.push(title.substr(operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title.substr(0,operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\tresults.push(title.substr(operator.operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/removesuffix.js\":{\"title\":\"$:/core/modules/filters/removesuffix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/removesuffix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for removing a suffix from each title in the list. Titles that do not end with the suffix are removed.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.removesuffix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif (!operator.operand) {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t} else if(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title && title.toLowerCase().substr(-operand.length) === operand) {\\n\\t\\t\\t\\tresults.push(title.substr(0,title.length - operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title && title.substr(-operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\tresults.push(title.substr(0,title.length - operator.operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/sameday.js\":{\"title\":\"$:/core/modules/filters/sameday.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/sameday.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects tiddlers with a modified date field on the same day as the provided value.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.sameday = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldName = operator.suffix || \\\"modified\\\",\\n\\t\\ttargetDate = (new Date($tw.utils.parseDate(operator.operand))).setHours(0,0,0,0);\\n\\t// Function to convert a date/time to a date integer\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(tiddler.getFieldDay(fieldName) === targetDate) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/search.js\":{\"title\":\"$:/core/modules/filters/search.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/search.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for searching for the text in the operand tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.search = function(source,operator,options) {\\n\\tvar invert = operator.prefix === \\\"!\\\";\\n\\tif(operator.suffixes) {\\n\\t\\tvar hasFlag = function(flag) {\\n\\t\\t\\t\\treturn (operator.suffixes[1] || []).indexOf(flag) !== -1;\\n\\t\\t\\t},\\n\\t\\t\\texcludeFields = false,\\n\\t\\t\\tfieldList = operator.suffixes[0] || [],\\n\\t\\t\\tfirstField = fieldList[0] || \\\"\\\", \\n\\t\\t\\tfirstChar = firstField.charAt(0),\\n\\t\\t\\tfields;\\n\\t\\tif(firstChar === \\\"-\\\") {\\n\\t\\t\\tfields = [firstField.slice(1)].concat(fieldList.slice(1));\\n\\t\\t\\texcludeFields = true;\\n\\t\\t} else if(fieldList[0] === \\\"*\\\"){\\n\\t\\t\\tfields = [];\\n\\t\\t\\texcludeFields = true;\\n\\t\\t} else {\\n\\t\\t\\tfields = fieldList.slice(0);\\n\\t\\t}\\n\\t\\treturn options.wiki.search(operator.operand,{\\n\\t\\t\\tsource: source,\\n\\t\\t\\tinvert: invert,\\n\\t\\t\\tfield: fields,\\n\\t\\t\\texcludeField: excludeFields,\\n\\t\\t\\tsome: hasFlag(\\\"some\\\"),\\n\\t\\t\\tcaseSensitive: hasFlag(\\\"casesensitive\\\"),\\n\\t\\t\\tliteral: hasFlag(\\\"literal\\\"),\\n\\t\\t\\twhitespace: hasFlag(\\\"whitespace\\\"),\\n\\t\\t\\tanchored: hasFlag(\\\"anchored\\\"),\\n\\t\\t\\tregexp: hasFlag(\\\"regexp\\\"),\\n\\t\\t\\twords: hasFlag(\\\"words\\\")\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn options.wiki.search(operator.operand,{\\n\\t\\t\\tsource: source,\\n\\t\\t\\tinvert: invert\\n\\t\\t});\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/shadowsource.js\":{\"title\":\"$:/core/modules/filters/shadowsource.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/shadowsource.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the source plugins for shadow tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.shadowsource = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar source = options.wiki.getShadowSource(title);\\n\\t\\tif(source) {\\n\\t\\t\\t$tw.utils.pushTop(results,source);\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/slugify.js\":{\"title\":\"$:/core/modules/filters/slugify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/slugify.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for slugifying a tiddler title\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.slugify = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(options.wiki.slugify(title));\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/sort.js\":{\"title\":\"$:/core/modules/filters/sort.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/sort.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for sorting\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.sort = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",false,false);\\n\\treturn results;\\n};\\n\\nexports.nsort = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",false,true);\\n\\treturn results;\\n};\\n\\nexports.sortan = function(source, operator, options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results, operator.operand || \\\"title\\\", operator.prefix === \\\"!\\\",false,false,true);\\n\\treturn results;\\n};\\n\\nexports.sortcs = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",true,false);\\n\\treturn results;\\n};\\n\\nexports.nsortcs = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",true,true);\\n\\treturn results;\\n};\\n\\nvar prepare_results = function (source) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/sortsub.js\":{\"title\":\"$:/core/modules/filters/sortsub.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/sortsub.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for sorting by a subfilter\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.sortsub = function(source,operator,options) {\\n\\t// Compile the subfilter\\n\\tvar filterFn = options.wiki.compileFilter(operator.operand);\\n\\t// Collect the input titles and the corresponding sort keys\\n\\tvar inputTitles = [],\\n\\t\\tsortKeys = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tinputTitles.push(title);\\n\\t\\tvar r = filterFn.call(options.wiki,function(iterator) {\\n\\t\\t\\titerator(options.wiki.getTiddler(title),title);\\n\\t\\t},options.widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\\"..currentTiddler\\\": options.widget.getVariable(\\\"currentTiddler\\\")\\n\\t\\t}));\\n\\t\\tsortKeys.push(r[0] || \\\"\\\");\\n\\t});\\n\\t// Rather than sorting the titles array, we'll sort the indexes so that we can consult both arrays\\n\\tvar indexes = new Array(inputTitles.length);\\n\\tfor(var t=0; t<inputTitles.length; t++) {\\n\\t\\tindexes[t] = t;\\n\\t}\\n\\t// Sort the indexes\\n\\tvar compareFn = $tw.utils.makeCompareFunction(operator.suffix,{defaultType: \\\"string\\\",invert: operator.prefix === \\\"!\\\"});\\n\\tindexes = indexes.sort(function(a,b) {\\n\\t\\treturn compareFn(sortKeys[a],sortKeys[b]);\\n\\t});\\n\\t// Make the results array in order\\n\\tvar results = [];\\n\\t$tw.utils.each(indexes,function(index) {\\n\\t\\tresults.push(inputTitles[index]);\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/splitbefore.js\":{\"title\":\"$:/core/modules/filters/splitbefore.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/splitbefore.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that splits each result on the first occurance of the specified separator and returns the unique values.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.splitbefore = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar parts = title.split(operator.operand);\\n\\t\\tif(parts.length === 1) {\\n\\t\\t\\t$tw.utils.pushTop(results,parts[0]);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.pushTop(results,parts[0] + operator.operand);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/storyviews.js\":{\"title\":\"$:/core/modules/filters/storyviews.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/storyviews.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the story views in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.storyviews = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tstoryviews = {};\\n\\t$tw.modules.applyMethods(\\\"storyview\\\",storyviews);\\n\\t$tw.utils.each(storyviews,function(info,name) {\\n\\t\\tresults.push(name);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/strings.js\":{\"title\":\"$:/core/modules/filters/strings.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/strings.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for strings. Unary/binary operators work on each item in turn, and return a new item list.\\n\\nSum/product/maxall/minall operate on the entire list, returning a single item.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.length = makeStringBinaryOperator(\\n\\tfunction(a) {return [\\\"\\\" + (\\\"\\\" + a).length];}\\n);\\n\\nexports.uppercase = makeStringBinaryOperator(\\n\\tfunction(a) {return [(\\\"\\\" + a).toUpperCase()];}\\n);\\n\\nexports.lowercase = makeStringBinaryOperator(\\n\\tfunction(a) {return [(\\\"\\\" + a).toLowerCase()];}\\n);\\n\\nexports.sentencecase = makeStringBinaryOperator(\\n\\tfunction(a) {return [$tw.utils.toSentenceCase(a)];}\\n);\\n\\nexports.titlecase = makeStringBinaryOperator(\\n\\tfunction(a) {return [$tw.utils.toTitleCase(a)];}\\n);\\n\\nexports.trim = function(source,operator,options) {\\n\\tvar result = [],\\n\\t\\tsuffix = operator.suffix || \\\"\\\",\\n\\t\\toperand = (operator.operand || \\\"\\\"),\\n\\t\\tfnCalc;\\n\\tif(suffix === \\\"prefix\\\") {\\n\\t\\tfnCalc = function(a,b) {return [$tw.utils.trimPrefix(a,b)];}\\n\\t} else if(suffix === \\\"suffix\\\") {\\n\\t\\tfnCalc = function(a,b) {return [$tw.utils.trimSuffix(a,b)];}\\n\\t} else {\\n\\t\\tif(operand === \\\"\\\") {\\n\\t\\t\\tfnCalc = function(a) {return [$tw.utils.trim(a)];}\\n\\t\\t} else {\\n\\t\\t\\tfnCalc = function(a,b) {return [$tw.utils.trimSuffix($tw.utils.trimPrefix(a,b),b)];}\\n\\t\\t}\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tArray.prototype.push.apply(result,fnCalc(title,operand));\\n\\t});\\n\\treturn result;\\n};\\n\\nexports.split = makeStringBinaryOperator(\\n\\tfunction(a,b) {return (\\\"\\\" + a).split(b);}\\n);\\n\\nexports[\\\"enlist-input\\\"] = makeStringBinaryOperator(\\n\\tfunction(a,o,s) {return $tw.utils.parseStringArray(\\\"\\\" + a,(s === \\\"raw\\\"));}\\n);\\n\\nexports.join = makeStringReducingOperator(\\n\\tfunction(accumulator,value,operand) {\\n\\t\\tif(accumulator === null) {\\n\\t\\t\\treturn value;\\n\\t\\t} else {\\n\\t\\t\\treturn accumulator + operand + value;\\n\\t\\t}\\n\\t},null\\n);\\n\\nvar dmp = require(\\\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\\\");\\n\\nexports.levenshtein = makeStringBinaryOperator(\\n\\tfunction(a,b) {\\n\\t\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\t\\tdiffs = dmpObject.diff_main(a,b);\\n\\t\\treturn [dmpObject.diff_levenshtein(diffs) + \\\"\\\"];\\n\\t}\\n);\\n\\n// these two functions are adapted from https://github.com/google/diff-match-patch/wiki/Line-or-Word-Diffs\\nfunction diffLineWordMode(text1,text2,mode) {\\n\\tvar dmpObject = new dmp.diff_match_patch();\\n\\tvar a = diffPartsToChars(text1,text2,mode);\\n\\tvar lineText1 = a.chars1;\\n\\tvar lineText2 = a.chars2;\\n\\tvar lineArray = a.lineArray;\\n\\tvar diffs = dmpObject.diff_main(lineText1,lineText2,false);\\n\\tdmpObject.diff_charsToLines_(diffs,lineArray);\\n\\treturn diffs;\\n}\\n\\nfunction diffPartsToChars(text1,text2,mode) {\\n\\tvar lineArray = [];\\n\\tvar lineHash = {};\\n\\tlineArray[0] = '';\\n\\n function diff_linesToPartsMunge_(text,mode) {\\n var chars = '';\\n var lineStart = 0;\\n var lineEnd = -1;\\n var lineArrayLength = lineArray.length,\\n regexpResult;\\n var searchRegexp = /\\\\W+/g;\\n while(lineEnd < text.length - 1) {\\n\\t if(mode === \\\"words\\\") {\\n regexpResult = searchRegexp.exec(text);\\n lineEnd = searchRegexp.lastIndex;\\n if(regexpResult === null) {\\n lineEnd = text.length;\\n }\\n lineEnd = --lineEnd;\\n } else {\\n lineEnd = text.indexOf('\\\\n', lineStart);\\n if(lineEnd == -1) {\\n lineEnd = text.length - 1;\\n }\\n }\\n var line = text.substring(lineStart, lineEnd + 1);\\n\\n if(lineHash.hasOwnProperty ? lineHash.hasOwnProperty(line) : (lineHash[line] !== undefined)) {\\n\\t\\t\\t\\tchars += String.fromCharCode(lineHash[line]);\\n } else {\\n if(lineArrayLength == maxLines) {\\n line = text.substring(lineStart);\\n lineEnd = text.length;\\n }\\n chars += String.fromCharCode(lineArrayLength);\\n lineHash[line] = lineArrayLength;\\n lineArray[lineArrayLength++] = line;\\n }\\n lineStart = lineEnd + 1;\\n }\\n return chars;\\n }\\n var maxLines = 40000;\\n var chars1 = diff_linesToPartsMunge_(text1,mode);\\n maxLines = 65535;\\n var chars2 = diff_linesToPartsMunge_(text2,mode);\\n return {chars1: chars1, chars2: chars2, lineArray: lineArray};\\n};\\n\\nexports.makepatches = function(source,operator,options) {\\n\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\tsuffix = operator.suffix || \\\"\\\",\\n\\t\\tresult = [];\\n\\t\\t\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar diffs, patches;\\n\\t\\t\\tif(suffix === \\\"lines\\\" || suffix === \\\"words\\\") {\\n\\t\\t\\t\\tdiffs = diffLineWordMode(title,operator.operand,suffix);\\n\\t\\t\\t\\tpatches = dmpObject.patch_make(title,diffs);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tpatches = dmpObject.patch_make(title,operator.operand);\\n\\t\\t\\t}\\n\\t\\t\\tArray.prototype.push.apply(result,[dmpObject.patch_toText(patches)]);\\n\\t\\t});\\n\\n\\treturn result;\\n};\\n\\nexports.applypatches = makeStringBinaryOperator(\\n\\tfunction(a,b) {\\n\\t\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\t\\tpatches;\\n\\t\\ttry {\\n\\t\\t\\tpatches = dmpObject.patch_fromText(b);\\n\\t\\t} catch(e) {\\n\\t\\t}\\n\\t\\tif(patches) {\\n\\t\\t\\treturn [dmpObject.patch_apply(patches,a)[0]];\\n\\t\\t} else {\\n\\t\\t\\treturn [a];\\n\\t\\t}\\n\\t}\\n);\\n\\nfunction makeStringBinaryOperator(fnCalc) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tArray.prototype.push.apply(result,fnCalc(title,operator.operand || \\\"\\\",operator.suffix || \\\"\\\"));\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n}\\n\\nfunction makeStringReducingOperator(fnCalc,initialValue) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresult.push(title);\\n\\t\\t});\\n\\t\\tif(result.length === 0) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t\\treturn [result.reduce(function(accumulator,currentValue) {\\n\\t\\t\\treturn fnCalc(accumulator,currentValue,operator.operand || \\\"\\\");\\n\\t\\t},initialValue) || \\\"\\\"];\\n\\t};\\n}\\n\\nexports.splitregexp = function(source,operator,options) {\\n\\tvar result = [],\\n\\t\\tsuffix = operator.suffix || \\\"\\\",\\n\\t\\tflags = (suffix.indexOf(\\\"m\\\") !== -1 ? \\\"m\\\" : \\\"\\\") + (suffix.indexOf(\\\"i\\\") !== -1 ? \\\"i\\\" : \\\"\\\"),\\n\\t\\tregExp;\\n\\ttry {\\n\\t\\tregExp = new RegExp(operator.operand || \\\"\\\",flags);\\n\\t} catch(ex) {\\n\\t\\treturn [\\\"RegExp error: \\\" + ex];\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar parts = title.split(regExp).map(function(part){\\n\\t\\t\\treturn part || \\\"\\\";\\t// make sure it's a string\\n\\t\\t});\\n\\t\\tArray.prototype.push.apply(result,parts);\\n\\t});\\n\\treturn result;\\n};\\n\\nexports[\\\"search-replace\\\"] = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = operator.suffixes || [],\\n\\t\\tflagSuffix = (suffixes[0] ? (suffixes[0][0] || \\\"\\\") : \\\"\\\"),\\n\\t\\tflags = (flagSuffix.indexOf(\\\"g\\\") !== -1 ? \\\"g\\\" : \\\"\\\") + (flagSuffix.indexOf(\\\"i\\\") !== -1 ? \\\"i\\\" : \\\"\\\") + (flagSuffix.indexOf(\\\"m\\\") !== -1 ? \\\"m\\\" : \\\"\\\"),\\n\\t\\tisRegExp = (suffixes[1] && suffixes[1][0] === \\\"regexp\\\") ? true : false,\\n\\t\\t//Escape regexp characters if the operand is not a regular expression\\n\\t\\tsearchTerm = isRegExp ? operator.operand : $tw.utils.escapeRegExp(operator.operand),\\n\\t\\t//Escape $ character in replacement string if not in regular expression mode\\n\\t\\treplacement = isRegExp ? operator.operands[1] : (operator.operands[1]||\\\"\\\").replace(/\\\\$/g,\\\"$$$$\\\"),\\n\\t\\tregExp;\\n\\ttry {\\n\\t\\tregExp = new RegExp(searchTerm,flags);\\n\\t} catch(ex) {\\n\\t\\treturn [\\\"RegExp error: \\\" + ex];\\n\\t}\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title && (operator.operands.length > 1)) {\\n\\t\\t\\tresults.push(\\n\\t\\t\\t\\ttitle.replace(regExp,replacement)\\n\\t\\t\\t);\\n\\t\\t\\tregExp.lastIndex = 0;\\n\\t\\t} else {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.pad = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\ttargetLength = operator.operand ? parseInt(operator.operand) : 0,\\n\\t\\tfill = operator.operands[1] || \\\"0\\\";\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title && title.length) {\\n\\t\\t\\tif(title.length >= targetLength) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar padString = \\\"\\\",\\n\\t\\t\\t\\t\\tpadStringLength = targetLength - title.length;\\n\\t\\t\\t\\twhile(padStringLength > padString.length) {\\n\\t\\t\\t\\t\\tpadString += fill;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t//make sure we do not exceed the specified length\\n\\t\\t\\t\\tpadString = padString.slice(0,padStringLength);\\n\\t\\t\\t\\tif(operator.suffix && (operator.suffix === \\\"suffix\\\")) {\\n\\t\\t\\t\\t\\ttitle = title + padString;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttitle = padString + title;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n}\\n\\nexports.charcode = function(source,operator,options) {\\n\\tvar chars = [];\\n\\t$tw.utils.each(operator.operands,function(operand) {\\n\\t\\tif(operand !== \\\"\\\") {\\n\\t\\t\\tchars.push(String.fromCharCode($tw.utils.parseInt(operand)));\\n\\t\\t}\\n\\t});\\n\\treturn [chars.join(\\\"\\\")];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/subfilter.js\":{\"title\":\"$:/core/modules/filters/subfilter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/subfilter.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning its operand evaluated as a filter\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.subfilter = function(source,operator,options) {\\n\\tvar list = options.wiki.filterTiddlers(operator.operand,options.widget,source);\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn results;\\n\\t} else {\\n\\t\\treturn list;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/substitute.js\":{\"title\":\"$:/core/modules/filters/substitute.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/substitute.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for substituting variables and embedded filter expressions with their corresponding values\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.substitute = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\toperands = [];\\n\\t$tw.utils.each(operator.operands,function(operand,index){\\n\\t\\toperands.push({\\n\\t\\t\\tname: (index + 1).toString(),\\n\\t\\t\\tvalue: operand\\n\\t\\t});\\n\\t});\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title) {\\n\\t\\t\\tresults.push(options.wiki.getSubstitutedText(title,options.widget,{substitutions:operands}));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/subtiddlerfields.js\":{\"title\":\"$:/core/modules/filters/subtiddlerfields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/subtiddlerfields.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the fields on the selected subtiddlers of the plugin named in the operand\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.subtiddlerfields = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar subtiddler = options.wiki.getSubTiddler(operator.operand,title);\\n\\t\\tif(subtiddler) {\\n\\t\\t\\tfor(var fieldName in subtiddler.fields) {\\n\\t\\t\\t\\t$tw.utils.pushTop(results,fieldName);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/suffix.js\":{\"title\":\"$:/core/modules/filters/suffix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/suffix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a title ends with a suffix\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.suffix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif (!operator.operand) {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t} else if(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(-operand.length) !== operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(-operand.length) === operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(-operator.operand.length) !== operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(-operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/tag.js\":{\"title\":\"$:/core/modules/filters/tag.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/tag.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking for the presence of a tag\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tag = function(source,operator,options) {\\n\\tvar results = [],indexedResults;\\n\\tif((operator.suffix || \\\"\\\").toLowerCase() === \\\"strict\\\" && !operator.operand) {\\n\\t\\t// New semantics:\\n\\t\\t// Always return copy of input if operator.operand is missing\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t} else {\\n\\t\\t// Old semantics:\\n\\t\\tvar tiddlers;\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\t// Returns a copy of the input if operator.operand is missing\\n\\t\\t\\ttiddlers = options.wiki.getTiddlersWithTag(operator.operand);\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddlers.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\t// Returns empty results if operator.operand is missing\\n\\t\\t\\tif(source.byTag) {\\n\\t\\t\\t\\tindexedResults = source.byTag(operator.operand);\\n\\t\\t\\t\\tif(indexedResults) {\\n\\t\\t\\t\\t\\treturn indexedResults;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttiddlers = options.wiki.getTiddlersWithTag(operator.operand);\\n\\t\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\t\\tif(tiddlers.indexOf(title) !== -1) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tresults = options.wiki.sortByList(results,operator.operand);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/tagging.js\":{\"title\":\"$:/core/modules/filters/tagging.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/tagging.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all tiddlers that are tagged with the selected tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tagging = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\t$tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/tags.js\":{\"title\":\"$:/core/modules/filters/tags.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/tags.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all the tags of the selected tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tags = function(source,operator,options) {\\n\\tvar tags = {};\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar t, length;\\n\\t\\tif(tiddler && tiddler.fields.tags) {\\n\\t\\t\\tfor(t=0, length=tiddler.fields.tags.length; t<length; t++) {\\n\\t\\t\\t\\ttags[tiddler.fields.tags[t]] = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn Object.keys(tags);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/then.js\":{\"title\":\"$:/core/modules/filters/then.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/then.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing any titles with a constant\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.then = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(operator.operand);\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/title.js\":{\"title\":\"$:/core/modules/filters/title.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/title.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for comparing title fields for equality\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.title = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.fields.title !== operator.operand) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tresults.push(operator.operand);\\n\\t}\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/transcludes.js\":{\"title\":\"$:/core/modules/filters/transcludes.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/transcludes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning all the transcludes from a tiddler\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.transcludes = function(source,operator,options) {\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(options.wiki.getTiddlerTranscludes(title));\\n\\t});\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/unknown.js\":{\"title\":\"$:/core/modules/filters/unknown.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/unknown.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for handling unknown filter operators.\\n\\nNot intended to be used directly by end users, hence the square brackets around the name.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar fieldFilterOperatorFn = require(\\\"$:/core/modules/filters/field.js\\\").field;\\n\\n/*\\nExport our filter function\\n*/\\nexports[\\\"[unknown]\\\"] = function(source,operator,options) {\\n\\t// Check for a user defined filter operator\\n\\tif(operator.operator.indexOf(\\\".\\\") !== -1) {\\n\\t\\tvar params = [];\\n\\t\\t$tw.utils.each(operator.operands,function(param) {\\n\\t\\t\\tparams.push({value: param});\\n\\t\\t});\\t\\n\\t\\tvar variableInfo = options.widget && options.widget.getVariableInfo && options.widget.getVariableInfo(operator.operator,{params: params, source: source});\\n\\t\\tif(variableInfo && variableInfo.srcVariable) {\\n\\t\\t\\tvar list = variableInfo.resultList ? variableInfo.resultList : [variableInfo.text];\\n\\t\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\t\\tvar results = [];\\n\\t\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn results;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn list;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Otherwise, use the \\\"field\\\" operator\\n\\treturn fieldFilterOperatorFn(source,operator,options);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/untagged.js\":{\"title\":\"$:/core/modules/filters/untagged.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/untagged.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all the selected tiddlers that are untagged\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.untagged = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\texpected = (operator.prefix === \\\"!\\\");\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(((tiddler && $tw.utils.isArray(tiddler.fields.tags) && tiddler.fields.tags.length > 0) === expected) || (!tiddler && !expected)) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/variables.js\":{\"title\":\"$:/core/modules/filters/variables.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/variables.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the active variables\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.variables = function(source,operator,options) {\\n\\tvar names = [],\\n\\t\\twidget = options.widget;\\n\\twhile(widget && !widget.hasOwnProperty(\\\"variables\\\")) {\\n\\t\\twidget = widget.parentWidget;\\n\\t}\\n\\tif(widget && widget.variables) {\\n\\t\\tfor(var variable in widget.variables) {\\n\\t\\t\\tnames.push(variable);\\n\\t\\t}\\n\\t}\\n\\treturn names.sort();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/wikiparserrules.js\":{\"title\":\"$:/core/modules/filters/wikiparserrules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/wikiparserrules.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the wiki parser rules in this wiki\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.wikiparserrules = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\toperand = operator.operand;\\n\\t$tw.utils.each($tw.modules.types.wikirule,function(mod) {\\n\\t\\tvar exp = mod.exports;\\n\\t\\tif(!operand || exp.types[operand]) {\\n\\t\\t\\tresults.push(exp.name);\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/x-listops.js\":{\"title\":\"$:/core/modules/filters/x-listops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/x-listops.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nExtended filter operators to manipulate the current list.\\n\\n\\\\*/\\n\\n\\t\\\"use strict\\\";\\n\\n\\t/*\\n\\tFetch titles from the current list\\n\\t*/\\n\\tvar prepare_results = function (source) {\\n\\tvar results = [];\\n\\t\\tsource(function (tiddler, title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the tail of the current list before the item named in the operand\\n\\t*/\\n\\texports.putbefore = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn (index === -1) ?\\n\\t\\t\\tresults.slice(0, -1) :\\n\\t\\t\\tresults.slice(0, index).concat(results.slice(-count)).concat(results.slice(index, -count));\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the tail of the current list after the item named in the operand\\n\\t*/\\n\\texports.putafter = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn (index === -1) ?\\n\\t\\t\\tresults.slice(0, -1) :\\n\\t\\t\\tresults.slice(0, index + 1).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\\n\\t};\\n\\n\\t/*\\n\\tReplaces the item named in the operand with a number of items from the tail of the current list\\n\\t*/\\n\\texports.replace = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn (index === -1) ?\\n\\t\\t\\tresults.slice(0, -count) :\\n\\t\\t\\tresults.slice(0, index).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the tail of the current list to the head of the list\\n\\t*/\\n\\texports.putfirst = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn results.slice(-count).concat(results.slice(0, -count));\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the head of the current list to the tail of the list\\n\\t*/\\n\\texports.putlast = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn results.slice(count).concat(results.slice(0, count));\\n\\t};\\n\\n\\t/*\\n\\tMoves the item named in the operand a number of places forward or backward in the list\\n\\t*/\\n\\texports.move = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1),\\n\\t\\t\\tmarker = results.splice(index, 1),\\n\\t\\t\\toffset = (index + count) > 0 ? index + count : 0;\\n\\t\\treturn results.slice(0, offset).concat(marker).concat(results.slice(offset));\\n\\t};\\n\\n\\t/*\\n\\tReturns the items from the current list that are after the item named in the operand\\n\\t*/\\n\\texports.allafter = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand);\\n\\t\\treturn (index === -1) ? [] :\\n\\t\\t\\t(operator.suffix) ? results.slice(index) :\\n\\t\\t\\tresults.slice(index + 1);\\n\\t};\\n\\n\\t/*\\n\\tReturns the items from the current list that are before the item named in the operand\\n\\t*/\\n\\texports.allbefore = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand);\\n\\t\\treturn (index === -1) ? [] :\\n\\t\\t\\t(operator.suffix) ? results.slice(0, index + 1) :\\n\\t\\t\\tresults.slice(0, index);\\n\\t};\\n\\n\\t/*\\n\\tAppends the items listed in the operand array to the tail of the current list\\n\\t*/\\n\\texports.append = function (source, operator) {\\n\\t\\tvar append = $tw.utils.parseStringArray(operator.operand, \\\"true\\\"),\\n\\t\\t\\tresults = prepare_results(source),\\n\\t\\t\\tcount = parseInt(operator.suffix) || append.length;\\n\\t\\treturn (append.length === 0) ? results :\\n\\t\\t\\t(operator.prefix) ? results.concat(append.slice(-count)) :\\n\\t\\t\\tresults.concat(append.slice(0, count));\\n\\t};\\n\\n\\t/*\\n\\tPrepends the items listed in the operand array to the head of the current list\\n\\t*/\\n\\texports.prepend = function (source, operator) {\\n\\t\\tvar prepend = $tw.utils.parseStringArray(operator.operand, \\\"true\\\"),\\n\\t\\t\\tresults = prepare_results(source),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,prepend.length);\\n\\t\\treturn (prepend.length === 0) ? results :\\n\\t\\t\\t(operator.prefix) ? prepend.slice(-count).concat(results) :\\n\\t\\t\\tprepend.slice(0, count).concat(results);\\n\\t};\\n\\n\\t/*\\n\\tReturns all items from the current list except the items listed in the operand array\\n\\t*/\\n\\texports.remove = function (source, operator) {\\n\\t\\tvar array = $tw.utils.parseStringArray(operator.operand, \\\"true\\\"),\\n\\t\\t\\tresults = prepare_results(source),\\n\\t\\t\\tcount = parseInt(operator.suffix) || array.length,\\n\\t\\t\\tp,\\n\\t\\t\\tlen,\\n\\t\\t\\tindex;\\n\\t\\tlen = array.length - 1;\\n\\t\\tfor (p = 0; p < count; ++p) {\\n\\t\\t\\tif (operator.prefix) {\\n\\t\\t\\t\\tindex = results.indexOf(array[len - p]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tindex = results.indexOf(array[p]);\\n\\t\\t\\t}\\n\\t\\t\\tif (index !== -1) {\\n\\t\\t\\t\\tresults.splice(index, 1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn results;\\n\\t};\\n\\n\\t/*\\n\\tReturns all items from the current list sorted in the order of the items in the operand array\\n\\t*/\\n\\texports.sortby = function (source, operator) {\\n\\t\\tvar results = prepare_results(source);\\n\\t\\tif (!results || results.length < 2) {\\n\\t\\t\\treturn results;\\n\\t\\t}\\n\\t\\tvar lookup = $tw.utils.parseStringArray(operator.operand, \\\"true\\\");\\n\\t\\tresults.sort(function (a, b) {\\n\\t\\t\\treturn lookup.indexOf(a) - lookup.indexOf(b);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t};\\n\\n\\t/*\\n\\tRemoves all duplicate items from the current list\\n\\t*/\\n\\texports.unique = function (source, operator) {\\n\\t\\tvar results = prepare_results(source);\\n\\t\\tvar set = results.reduce(function (a, b) {\\n\\t\\t\\tif (a.indexOf(b) < 0) {\\n\\t\\t\\t\\ta.push(b);\\n\\t\\t\\t}\\n\\t\\t\\treturn a;\\n\\t\\t}, []);\\n\\t\\treturn set;\\n\\t};\\n\\n\\tvar cycleValueInArray = function(results,operands,stepSize) {\\n\\t\\tvar resultsIndex,\\n\\t\\t\\tstep = stepSize || 1,\\n\\t\\t\\ti = 0,\\n\\t\\t\\topLength = operands.length,\\n\\t\\t\\tnextOperandIndex;\\n\\t\\tfor(i; i < opLength; i++) {\\n\\t\\t\\tresultsIndex = results.indexOf(operands[i]);\\n\\t\\t\\tif(resultsIndex !== -1) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(resultsIndex !== -1) {\\n\\t\\t\\ti = i + step;\\n\\t\\t\\tnextOperandIndex = (i < opLength ? i : i % opLength);\\n\\t\\t\\tif(operands.length > 1) {\\n\\t\\t\\t\\tresults.splice(resultsIndex,1,operands[nextOperandIndex]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.splice(resultsIndex,1);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tresults.push(operands[0]);\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\\n\\n\\t/*\\n\\tToggles an item in the current list.\\n\\t*/\\n\\texports.toggle = function(source,operator) {\\n\\t\\treturn cycleValueInArray(prepare_results(source),operator.operands);\\n\\t}\\n\\n\\texports.cycle = function(source,operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\toperands = (operator.operand.length ? $tw.utils.parseStringArray(operator.operand, \\\"true\\\") : [\\\"\\\"]),\\n\\t\\t\\tstep = $tw.utils.getInt(operator.operands[1]||\\\"\\\",1);\\n\\t\\tif(step < 0) {\\n\\t\\t\\toperands.reverse();\\n\\t\\t\\tstep = Math.abs(step);\\n\\t\\t}\\n\\t\\treturn cycleValueInArray(results,operands,step);\\n\\t}\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters.js\":{\"title\":\"$:/core/modules/filters.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters.js\\ntype: application/javascript\\nmodule-type: wikimethod\\n\\nAdds tiddler filtering methods to the $tw.Wiki object.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widgetClass = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n/* Maximum permitted filter recursion depth */\\nvar MAX_FILTER_DEPTH = 300;\\n\\n/*\\nParses an operation (i.e. a run) within a filter string\\n\\toperators: Array of array of operator nodes into which results should be inserted\\n\\tfilterString: filter string\\n\\tp: start position within the string\\nReturns the new start position, after the parsed operation\\n*/\\nfunction parseFilterOperation(operators,filterString,p) {\\n\\tvar nextBracketPos, operator;\\n\\t// Skip the starting square bracket\\n\\tif(filterString.charAt(p++) !== \\\"[\\\") {\\n\\t\\tthrow \\\"Missing [ in filter expression\\\";\\n\\t}\\n\\t// Process each operator in turn\\n\\tdo {\\n\\t\\toperator = {};\\n\\t\\t// Check for an operator prefix\\n\\t\\tif(filterString.charAt(p) === \\\"!\\\") {\\n\\t\\t\\toperator.prefix = filterString.charAt(p++);\\n\\t\\t}\\n\\t\\t// Get the operator name\\n\\t\\tnextBracketPos = filterString.substring(p).search(/[\\\\[\\\\{<\\\\/]/);\\n\\t\\tif(nextBracketPos === -1) {\\n\\t\\t\\tthrow \\\"Missing [ in filter expression\\\";\\n\\t\\t}\\n\\t\\tnextBracketPos += p;\\n\\t\\tvar bracket = filterString.charAt(nextBracketPos);\\n\\t\\toperator.operator = filterString.substring(p,nextBracketPos);\\n\\t\\t// Any suffix?\\n\\t\\tvar colon = operator.operator.indexOf(':');\\n\\t\\tif(colon > -1) {\\n\\t\\t\\t// The raw suffix for older filters\\n\\t\\t\\toperator.suffix = operator.operator.substring(colon + 1);\\n\\t\\t\\toperator.operator = operator.operator.substring(0,colon) || \\\"field\\\";\\n\\t\\t\\t// The processed suffix for newer filters\\n\\t\\t\\toperator.suffixes = [];\\n\\t\\t\\t$tw.utils.each(operator.suffix.split(\\\":\\\"),function(subsuffix) {\\n\\t\\t\\t\\toperator.suffixes.push([]);\\n\\t\\t\\t\\t$tw.utils.each(subsuffix.split(\\\",\\\"),function(entry) {\\n\\t\\t\\t\\t\\tentry = $tw.utils.trim(entry);\\n\\t\\t\\t\\t\\tif(entry) {\\n\\t\\t\\t\\t\\t\\toperator.suffixes[operator.suffixes.length - 1].push(entry); \\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\t// Empty operator means: title\\n\\t\\telse if(operator.operator === \\\"\\\") {\\n\\t\\t\\toperator.operator = \\\"title\\\";\\n\\t\\t}\\n\\t\\toperator.operands = [];\\n\\t\\tvar parseOperand = function(bracketType) {\\n\\t\\t\\tvar operand = {};\\n\\t\\t\\tswitch (bracketType) {\\n\\t\\t\\t\\tcase \\\"{\\\": // Curly brackets\\n\\t\\t\\t\\t\\toperand.indirect = true;\\n\\t\\t\\t\\t\\tnextBracketPos = filterString.indexOf(\\\"}\\\",p);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"[\\\": // Square brackets\\n\\t\\t\\t\\t\\tnextBracketPos = filterString.indexOf(\\\"]\\\",p);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"<\\\": // Angle brackets\\n\\t\\t\\t\\t\\toperand.variable = true;\\n\\t\\t\\t\\t\\tnextBracketPos = filterString.indexOf(\\\">\\\",p);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"/\\\": // regexp brackets\\n\\t\\t\\t\\t\\tvar rex = /^((?:[^\\\\\\\\\\\\/]|\\\\\\\\.)*)\\\\/(?:\\\\(([mygi]+)\\\\))?/g,\\n\\t\\t\\t\\t\\t\\trexMatch = rex.exec(filterString.substring(p));\\n\\t\\t\\t\\t\\tif(rexMatch) {\\n\\t\\t\\t\\t\\t\\toperator.regexp = new RegExp(rexMatch[1], rexMatch[2]);\\n\\t// DEPRECATION WARNING\\n\\tconsole.log(\\\"WARNING: Filter\\\",operator.operator,\\\"has a deprecated regexp operand\\\",operator.regexp);\\n\\t\\t\\t\\t\\t\\tnextBracketPos = p + rex.lastIndex - 1;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t\\tthrow \\\"Unterminated regular expression in filter expression\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\n\\t\\t\\tif(nextBracketPos === -1) {\\n\\t\\t\\t\\tthrow \\\"Missing closing bracket in filter expression\\\";\\n\\t\\t\\t}\\n\\t\\t\\tif(operator.regexp) {\\n\\t\\t\\t\\toperand.text = \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\toperand.text = filterString.substring(p,nextBracketPos);\\n\\t\\t\\t}\\n\\t\\t\\toperator.operands.push(operand);\\n\\t\\t\\tp = nextBracketPos + 1;\\n\\t\\t}\\n\\n\\t\\tp = nextBracketPos + 1;\\n\\t\\tparseOperand(bracket);\\n\\n\\t\\t// Check for multiple operands\\n\\t\\twhile(filterString.charAt(p) === \\\",\\\") {\\n\\t\\t\\tp++;\\n\\t\\t\\tif(/^[\\\\[\\\\{<\\\\/]/.test(filterString.substring(p))) {\\n\\t\\t\\t\\tnextBracketPos = p;\\n\\t\\t\\t\\tp++;\\n\\t\\t\\t\\tparseOperand(filterString.charAt(nextBracketPos));\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthrow \\\"Missing [ in filter expression\\\";\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t// Push this operator\\n\\t\\toperators.push(operator);\\n\\t} while(filterString.charAt(p) !== \\\"]\\\");\\n\\t// Skip the ending square bracket\\n\\tif(filterString.charAt(p++) !== \\\"]\\\") {\\n\\t\\tthrow \\\"Missing ] in filter expression\\\";\\n\\t}\\n\\t// Return the parsing position\\n\\treturn p;\\n}\\n\\n/*\\nParse a filter string\\n*/\\nexports.parseFilter = function(filterString) {\\n\\tfilterString = filterString || \\\"\\\";\\n\\tvar results = [], // Array of arrays of operator nodes {operator:,operand:}\\n\\t\\tp = 0, // Current position in the filter string\\n\\t\\tmatch;\\n\\tvar whitespaceRegExp = /(\\\\s+)/mg,\\n\\t\\toperandRegExp = /((?:\\\\+|\\\\-|~|=|\\\\:(\\\\w+)(?:\\\\:([\\\\w\\\\:, ]*))?)?)(?:(\\\\[)|(?:\\\"([^\\\"]*)\\\")|(?:'([^']*)')|([^\\\\s\\\\[\\\\]]+))/mg;\\n\\twhile(p < filterString.length) {\\n\\t\\t// Skip any whitespace\\n\\t\\twhitespaceRegExp.lastIndex = p;\\n\\t\\tmatch = whitespaceRegExp.exec(filterString);\\n\\t\\tif(match && match.index === p) {\\n\\t\\t\\tp = p + match[0].length;\\n\\t\\t}\\n\\t\\t// Match the start of the operation\\n\\t\\tif(p < filterString.length) {\\n\\t\\t\\toperandRegExp.lastIndex = p;\\n\\t\\t\\tmatch = operandRegExp.exec(filterString);\\n\\t\\t\\tif(!match || match.index !== p) {\\n\\t\\t\\t\\tthrow $tw.language.getString(\\\"Error/FilterSyntax\\\");\\n\\t\\t\\t}\\n\\t\\t\\tvar operation = {\\n\\t\\t\\t\\tprefix: \\\"\\\",\\n\\t\\t\\t\\toperators: []\\n\\t\\t\\t};\\n\\t\\t\\tif(match[1]) {\\n\\t\\t\\t\\toperation.prefix = match[1];\\n\\t\\t\\t\\tp = p + operation.prefix.length;\\n\\t\\t\\t\\tif(match[2]) {\\n\\t\\t\\t\\t\\toperation.namedPrefix = match[2];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(match[3]) {\\n\\t\\t\\t\\t\\toperation.suffixes = [];\\n\\t\\t\\t\\t\\t $tw.utils.each(match[3].split(\\\":\\\"),function(subsuffix) {\\n\\t\\t\\t\\t\\t\\toperation.suffixes.push([]);\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(subsuffix.split(\\\",\\\"),function(entry) {\\n\\t\\t\\t\\t\\t\\t\\tentry = $tw.utils.trim(entry);\\n\\t\\t\\t\\t\\t\\t\\tif(entry) {\\n\\t\\t\\t\\t\\t\\t\\t\\toperation.suffixes[operation.suffixes.length -1].push(entry);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t });\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(match[4]) { // Opening square bracket\\n\\t\\t\\t\\tp = parseFilterOperation(operation.operators,filterString,p);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tp = match.index + match[0].length;\\n\\t\\t\\t}\\n\\t\\t\\tif(match[5] || match[6] || match[7]) { // Double quoted string, single quoted string or unquoted title\\n\\t\\t\\t\\toperation.operators.push(\\n\\t\\t\\t\\t\\t{operator: \\\"title\\\", operands: [{text: match[5] || match[6] || match[7]}]}\\n\\t\\t\\t\\t);\\n\\t\\t\\t}\\n\\t\\t\\tresults.push(operation);\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\nexports.getFilterOperators = function() {\\n\\tif(!this.filterOperators) {\\n\\t\\t$tw.Wiki.prototype.filterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"filteroperator\\\",this.filterOperators);\\n\\t}\\n\\treturn this.filterOperators;\\n};\\n\\nexports.getFilterRunPrefixes = function() {\\n\\tif(!this.filterRunPrefixes) {\\n\\t\\t$tw.Wiki.prototype.filterRunPrefixes = {};\\n\\t\\t$tw.modules.applyMethods(\\\"filterrunprefix\\\",this.filterRunPrefixes);\\n\\t}\\n\\treturn this.filterRunPrefixes;\\n}\\n\\nexports.filterTiddlers = function(filterString,widget,source) {\\n\\tvar fn = this.compileFilter(filterString);\\n\\treturn fn.call(this,source,widget);\\n};\\n\\n/*\\nCompile a filter into a function with the signature fn(source,widget) where:\\nsource: an iterator function for the source tiddlers, called source(iterator), where iterator is called as iterator(tiddler,title)\\nwidget: an optional widget node for retrieving the current tiddler etc.\\n*/\\nexports.compileFilter = function(filterString) {\\n\\tif(!this.filterCache) {\\n\\t\\tthis.filterCache = Object.create(null);\\n\\t\\tthis.filterCacheCount = 0;\\n\\t}\\n\\tif(this.filterCache[filterString] !== undefined) {\\n\\t\\treturn this.filterCache[filterString];\\n\\t}\\n\\tvar filterParseTree;\\n\\ttry {\\n\\t\\tfilterParseTree = this.parseFilter(filterString);\\n\\t} catch(e) {\\n\\t\\t// We do not cache this result, so it adjusts along with localization changes\\n\\t\\treturn function(source,widget) {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/Filter\\\") + \\\": \\\" + e];\\n\\t\\t};\\n\\t}\\n\\t// Get the hashmap of filter operator functions\\n\\tvar filterOperators = this.getFilterOperators();\\n\\t// Assemble array of functions, one for each operation\\n\\tvar operationFunctions = [];\\n\\t// Step through the operations\\n\\tvar self = this;\\n\\t$tw.utils.each(filterParseTree,function(operation) {\\n\\t\\t// Create a function for the chain of operators in the operation\\n\\t\\tvar operationSubFunction = function(source,widget) {\\n\\t\\t\\tvar accumulator = source,\\n\\t\\t\\t\\tresults = [];\\n\\t\\t\\t$tw.utils.each(operation.operators,function(operator) {\\n\\t\\t\\t\\tvar operands = [],\\n\\t\\t\\t\\t\\toperatorFunction;\\n\\t\\t\\t\\tif(!operator.operator) {\\n\\t\\t\\t\\t\\t// Use the \\\"title\\\" operator if no operator is specified\\n\\t\\t\\t\\t\\toperatorFunction = filterOperators.title;\\n\\t\\t\\t\\t} else if(!filterOperators[operator.operator]) {\\n\\t\\t\\t\\t\\t// Unknown operators treated as \\\"[unknown]\\\" - at run time we can distinguish between a custom operator and falling back to the default \\\"field\\\" operator\\n\\t\\t\\t\\t\\toperatorFunction = filterOperators[\\\"[unknown]\\\"];\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Use the operator function\\n\\t\\t\\t\\t\\toperatorFunction = filterOperators[operator.operator];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.utils.each(operator.operands,function(operand) {\\n\\t\\t\\t\\t\\tif(operand.indirect) {\\n\\t\\t\\t\\t\\t\\tvar currTiddlerTitle = widget && widget.getVariable(\\\"currentTiddler\\\");\\n\\t\\t\\t\\t\\t\\toperand.value = self.getTextReference(operand.text,\\\"\\\",currTiddlerTitle);\\n\\t\\t\\t\\t\\t} else if(operand.variable) {\\n\\t\\t\\t\\t\\t\\tvar varTree = $tw.utils.parseFilterVariable(operand.text);\\n\\t\\t\\t\\t\\t\\toperand.value = widgetClass.evaluateVariable(widget,varTree.name,{params: varTree.params, source: source})[0] || \\\"\\\";\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\toperand.value = operand.text;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\toperands.push(operand.value);\\n\\t\\t\\t\\t});\\n\\n\\t\\t\\t\\t// Invoke the appropriate filteroperator module\\n\\t\\t\\t\\tresults = operatorFunction(accumulator,{\\n\\t\\t\\t\\t\\t\\t\\toperator: operator.operator,\\n\\t\\t\\t\\t\\t\\t\\toperand: operands.length > 0 ? operands[0] : undefined,\\n\\t\\t\\t\\t\\t\\t\\toperands: operands,\\n\\t\\t\\t\\t\\t\\t\\tprefix: operator.prefix,\\n\\t\\t\\t\\t\\t\\t\\tsuffix: operator.suffix,\\n\\t\\t\\t\\t\\t\\t\\tsuffixes: operator.suffixes,\\n\\t\\t\\t\\t\\t\\t\\tregexp: operator.regexp\\n\\t\\t\\t\\t\\t\\t},{\\n\\t\\t\\t\\t\\t\\t\\twiki: self,\\n\\t\\t\\t\\t\\t\\t\\twidget: widget\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\tif($tw.utils.isArray(results)) {\\n\\t\\t\\t\\t\\taccumulator = self.makeTiddlerIterator(results);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\taccumulator = results;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tif($tw.utils.isArray(results)) {\\n\\t\\t\\t\\treturn results;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar resultArray = [];\\n\\t\\t\\t\\tresults(function(tiddler,title) {\\n\\t\\t\\t\\t\\tresultArray.push(title);\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn resultArray;\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tvar filterRunPrefixes = self.getFilterRunPrefixes();\\n\\t\\t// Wrap the operator functions in a wrapper function that depends on the prefix\\n\\t\\toperationFunctions.push((function() {\\n\\t\\t\\tvar options = {wiki: self, suffixes: operation.suffixes || []};\\n\\t\\t\\tswitch(operation.prefix || \\\"\\\") {\\n\\t\\t\\t\\tcase \\\"\\\": // No prefix means that the operation is unioned into the result\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"or\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"=\\\": // The results of the operation are pushed into the result without deduplication\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"all\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"-\\\": // The results of this operation are removed from the main result\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"except\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"+\\\": // This operation is applied to the main results so far\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"and\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"~\\\": // This operation is unioned into the result only if the main result so far is empty\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"else\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tdefault: \\n\\t\\t\\t\\t\\tif(operation.namedPrefix && filterRunPrefixes[operation.namedPrefix]) {\\n\\t\\t\\t\\t\\t\\treturn filterRunPrefixes[operation.namedPrefix](operationSubFunction, options);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn function(results,source,widget) {\\n\\t\\t\\t\\t\\t\\t\\tresults.clear();\\n\\t\\t\\t\\t\\t\\t\\tresults.push($tw.language.getString(\\\"Error/FilterRunPrefix\\\"));\\n\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t})());\\n\\t});\\n\\t// Return a function that applies the operations to a source iterator of tiddler titles\\n\\tvar fnMeasured = $tw.perf.measure(\\\"filter: \\\" + filterString,function filterFunction(source,widget) {\\n\\t\\tif(!source) {\\n\\t\\t\\tsource = self.each;\\n\\t\\t} else if(typeof source === \\\"object\\\") { // Array or hashmap\\n\\t\\t\\tsource = self.makeTiddlerIterator(source);\\n\\t\\t}\\n\\t\\tif(!widget) {\\n\\t\\t\\twidget = $tw.rootWidget;\\n\\t\\t}\\n\\t\\tvar results = new $tw.utils.LinkedList();\\n\\t\\tself.filterRecursionCount = (self.filterRecursionCount || 0) + 1;\\n\\t\\tif(self.filterRecursionCount < MAX_FILTER_DEPTH) {\\n\\t\\t\\t$tw.utils.each(operationFunctions,function(operationFunction) {\\n\\t\\t\\t\\toperationFunction(results,source,widget);\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tresults.push(\\\"/**-- Excessive filter recursion --**/\\\");\\n\\t\\t}\\n\\t\\tself.filterRecursionCount = self.filterRecursionCount - 1;\\n\\t\\treturn results.toArray();\\n\\t});\\n\\tif(this.filterCacheCount >= 2000) {\\n\\t\\t// To prevent memory leak, we maintain an upper limit for cache size.\\n\\t\\t// Reset if exceeded. This should give us 95% of the benefit\\n\\t\\t// that no cache limit would give us.\\n\\t\\tthis.filterCache = Object.create(null);\\n\\t\\tthis.filterCacheCount = 0;\\n\\t}\\n\\tthis.filterCache[filterString] = fnMeasured;\\n\\tthis.filterCacheCount++;\\n\\treturn fnMeasured;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikimethod\"},\"$:/core/modules/indexers/back-indexer.js\":{\"title\":\"$:/core/modules/indexers/back-indexer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/indexers/back-indexer.js\\ntype: application/javascript\\nmodule-type: indexer\\n\\nBy parsing the tiddler text, indexes the tiddlers' back links, back transclusions, block level back links.\\n\\n\\\\*/\\nfunction BackIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n}\\n\\nBackIndexer.prototype.init = function() {\\n\\tthis.subIndexers = {\\n\\t\\tlink: new BackSubIndexer(this,\\\"extractLinks\\\"),\\n\\t\\ttransclude: new BackSubIndexer(this,\\\"extractTranscludes\\\"),\\n\\t};\\n};\\n\\nBackIndexer.prototype.rebuild = function() {\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.rebuild();\\n\\t});\\n};\\n\\nBackIndexer.prototype.update = function(updateDescriptor) {\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.update(updateDescriptor);\\n\\t});\\n};\\nfunction BackSubIndexer(indexer,extractor) {\\n\\tthis.wiki = indexer.wiki;\\n\\tthis.indexer = indexer;\\n\\tthis.extractor = extractor;\\n\\t/**\\n\\t * {\\n\\t * [target title, e.g. tiddler title being linked to]:\\n\\t * {\\n\\t * \\t\\t [source title, e.g. tiddler title that has link syntax in its text]: true\\n\\t * \\t }\\n\\t * }\\n\\t */\\n\\tthis.index = null;\\n}\\n\\nBackSubIndexer.prototype.init = function() {\\n\\t// lazy init until first lookup\\n\\tthis.index = null;\\n}\\n\\nBackSubIndexer.prototype._init = function() {\\n\\tthis.index = Object.create(null);\\n\\tvar self = this;\\n\\tthis.wiki.forEachTiddler(function(sourceTitle,tiddler) {\\n\\t\\tvar newTargets = self._getTarget(tiddler);\\n\\t\\t$tw.utils.each(newTargets, function(target) {\\n\\t\\t\\tif(!self.index[target]) {\\n\\t\\t\\t\\tself.index[target] = Object.create(null);\\n\\t\\t\\t}\\n\\t\\t\\tself.index[target][sourceTitle] = true;\\n\\t\\t});\\n\\t});\\n}\\n\\nBackSubIndexer.prototype.rebuild = function() {\\n\\tthis.index = null;\\n}\\n\\n/*\\n* Get things that is being referenced in the text, e.g. tiddler names in the link syntax.\\n*/\\nBackSubIndexer.prototype._getTarget = function(tiddler) {\\n\\tif(this.wiki.isBinaryTiddler(tiddler.fields.text)) {\\n\\t\\treturn [];\\n\\t}\\n\\tvar parser = this.wiki.parseText(tiddler.fields.type, tiddler.fields.text, {});\\n\\tif(parser) {\\n\\t\\treturn this.wiki[this.extractor](parser.tree, tiddler.fields.title);\\n\\t}\\n\\treturn [];\\n}\\n\\nBackSubIndexer.prototype.update = function(updateDescriptor) {\\n\\t// lazy init/update until first lookup\\n\\tif(!this.index) {\\n\\t\\treturn;\\n\\t}\\n\\tvar newTargets = [],\\n\\t oldTargets = [],\\n\\t self = this;\\n\\tif(updateDescriptor.old.exists) {\\n\\t\\toldTargets = this._getTarget(updateDescriptor.old.tiddler);\\n\\t}\\n\\tif(updateDescriptor.new.exists) {\\n\\t\\tnewTargets = this._getTarget(updateDescriptor.new.tiddler);\\n\\t}\\n\\n\\t$tw.utils.each(oldTargets,function(target) {\\n\\t\\tif(self.index[target]) {\\n\\t\\t\\tdelete self.index[target][updateDescriptor.old.tiddler.fields.title];\\n\\t\\t}\\n\\t});\\n\\t$tw.utils.each(newTargets,function(target) {\\n\\t\\tif(!self.index[target]) {\\n\\t\\t\\tself.index[target] = Object.create(null);\\n\\t\\t}\\n\\t\\tself.index[target][updateDescriptor.new.tiddler.fields.title] = true;\\n\\t});\\n}\\n\\nBackSubIndexer.prototype.lookup = function(title) {\\n\\tif(!this.index) {\\n\\t\\tthis._init();\\n\\t}\\n\\tif(this.index[title]) {\\n\\t\\treturn Object.keys(this.index[title]);\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n}\\n\\nexports.BackIndexer = BackIndexer;\\n\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/core/modules/indexers/field-indexer.js\":{\"title\":\"$:/core/modules/indexers/field-indexer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/indexers/field-indexer.js\\ntype: application/javascript\\nmodule-type: indexer\\n\\nIndexes the tiddlers with each field value\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar DEFAULT_MAXIMUM_INDEXED_VALUE_LENGTH = 128;\\n\\nfunction FieldIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n}\\n\\nFieldIndexer.prototype.init = function() {\\n\\tthis.index = null;\\n\\tthis.maxIndexedValueLength = DEFAULT_MAXIMUM_INDEXED_VALUE_LENGTH;\\n\\tthis.addIndexMethods();\\n}\\n\\n// Provided for testing\\nFieldIndexer.prototype.setMaxIndexedValueLength = function(length) {\\n\\tthis.index = null;\\n\\tthis.maxIndexedValueLength = length;\\n};\\n\\nFieldIndexer.prototype.addIndexMethods = function() {\\n\\tvar self = this;\\n\\t// get all tiddlers, including those overwrite shadow tiddlers\\n\\tthis.wiki.each.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup && lookup.filter(function(title) {\\n\\t\\t\\treturn self.wiki.tiddlerExists(title)\\n\\t\\t});\\n\\t};\\n\\t// get shadow tiddlers, including shadow tiddlers that is overwritten\\n\\tthis.wiki.eachShadow.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup && lookup.filter(function(title) {\\n\\t\\t\\treturn self.wiki.isShadowTiddler(title)\\n\\t\\t});\\n\\t};\\n\\tthis.wiki.eachTiddlerPlusShadows.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup ? lookup.slice(0) : null;\\n\\t};\\n\\tthis.wiki.eachShadowPlusTiddlers.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup ? lookup.slice(0) : null;\\n\\t};\\n};\\n\\n/*\\nTear down and then rebuild the index as if all tiddlers have changed\\n*/\\nFieldIndexer.prototype.rebuild = function() {\\n\\t// Invalidate the index so that it will be rebuilt when it is next used\\n\\tthis.index = null;\\n};\\n\\n/*\\nBuild the index for a particular field\\n*/\\nFieldIndexer.prototype.buildIndexForField = function(name) {\\n\\tvar self = this;\\n\\t// Hashmap by field name of hashmap by field value of array of tiddler titles\\n\\tthis.index = this.index || Object.create(null);\\n\\tthis.index[name] = Object.create(null);\\n\\tvar baseIndex = this.index[name];\\n\\t// Update the index for each tiddler\\n\\tthis.wiki.eachTiddlerPlusShadows(function(tiddler,title) {\\n\\t\\tif(name in tiddler.fields) {\\n\\t\\t\\tvar value = tiddler.getFieldString(name);\\n\\t\\t\\t// Skip any values above the maximum length\\n\\t\\t\\tif(value.length < self.maxIndexedValueLength) {\\n\\t\\t\\t\\tbaseIndex[value] = baseIndex[value] || [];\\n\\t\\t\\t\\tbaseIndex[value].push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nUpdate the index in the light of a tiddler value changing; note that the title must be identical. (Renames are handled as a separate delete and create)\\nupdateDescriptor: {old: {tiddler: <tiddler>, shadow: <boolean>, exists: <boolean>},new: {tiddler: <tiddler>, shadow: <boolean>, exists: <boolean>}}\\n*/\\nFieldIndexer.prototype.update = function(updateDescriptor) {\\n\\tvar self = this;\\n\\t// Don't do anything if the index hasn't been built yet\\n\\tif(this.index === null) {\\n\\t\\treturn;\\n\\t}\\n\\t// Remove the old tiddler from the index\\n\\tif(updateDescriptor.old.tiddler) {\\n\\t\\t$tw.utils.each(this.index,function(indexEntry,name) {\\n\\t\\t\\tif(name in updateDescriptor.old.tiddler.fields) {\\n\\t\\t\\t\\tvar value = updateDescriptor.old.tiddler.getFieldString(name),\\n\\t\\t\\t\\t\\ttiddlerList = indexEntry[value];\\n\\t\\t\\t\\tif(tiddlerList) {\\n\\t\\t\\t\\t\\tvar index = tiddlerList.indexOf(updateDescriptor.old.tiddler.fields.title);\\n\\t\\t\\t\\t\\tif(index !== -1) {\\n\\t\\t\\t\\t\\t\\ttiddlerList.splice(index,1);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\t// Add the new tiddler to the index\\n\\tif(updateDescriptor[\\\"new\\\"].tiddler) {\\n\\t\\t$tw.utils.each(this.index,function(indexEntry,name) {\\n\\t\\t\\tif(name in updateDescriptor[\\\"new\\\"].tiddler.fields) {\\n\\t\\t\\t\\tvar value = updateDescriptor[\\\"new\\\"].tiddler.getFieldString(name);\\n\\t\\t\\t\\tif(value.length < self.maxIndexedValueLength) {\\n\\t\\t\\t\\t\\tindexEntry[value] = indexEntry[value] || [];\\n\\t\\t\\t\\t\\tindexEntry[value].push(updateDescriptor[\\\"new\\\"].tiddler.fields.title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n// Lookup the given field returning a list of tiddler titles\\nFieldIndexer.prototype.lookup = function(name,value) {\\n\\t// Fail the lookup if the value is too long\\n\\tif(value.length >= this.maxIndexedValueLength) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Update the index if it has yet to be built\\n\\tif(this.index === null || !this.index[name]) {\\n\\t\\tthis.buildIndexForField(name);\\n\\t}\\n\\treturn this.index[name][value] || [];\\n};\\n\\nexports.FieldIndexer = FieldIndexer;\\n\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/core/modules/indexers/tag-indexer.js\":{\"title\":\"$:/core/modules/indexers/tag-indexer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/indexers/tag-indexer.js\\ntype: application/javascript\\nmodule-type: indexer\\n\\nIndexes the tiddlers with each tag\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction TagIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n}\\n\\nTagIndexer.prototype.init = function() {\\n\\tthis.subIndexers = [\\n\\t\\tnew TagSubIndexer(this,\\\"each\\\"),\\n\\t\\tnew TagSubIndexer(this,\\\"eachShadow\\\"),\\n\\t\\tnew TagSubIndexer(this,\\\"eachTiddlerPlusShadows\\\"),\\n\\t\\tnew TagSubIndexer(this,\\\"eachShadowPlusTiddlers\\\")\\n\\t];\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.addIndexMethod();\\n\\t});\\n};\\n\\nTagIndexer.prototype.rebuild = function() {\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.rebuild();\\n\\t});\\n};\\n\\nTagIndexer.prototype.update = function(updateDescriptor) {\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.update(updateDescriptor);\\n\\t});\\n};\\n\\nfunction TagSubIndexer(indexer,iteratorMethod) {\\n\\tthis.indexer = indexer;\\n\\tthis.iteratorMethod = iteratorMethod;\\n\\tthis.index = null; // Hashmap of tag title to {isSorted: bool, titles: [array]} or null if not yet initialised\\n}\\n\\nTagSubIndexer.prototype.addIndexMethod = function() {\\n\\tvar self = this;\\n\\tthis.indexer.wiki[this.iteratorMethod].byTag = function(tag) {\\n\\t\\treturn self.lookup(tag).slice(0);\\n\\t};\\n};\\n\\nTagSubIndexer.prototype.rebuild = function() {\\n\\tvar self = this;\\n\\t// Hashmap by tag of array of {isSorted:, titles:[]}\\n\\tthis.index = Object.create(null);\\n\\t// Add all the tags\\n\\tthis.indexer.wiki[this.iteratorMethod](function(tiddler,title) {\\n\\t\\t$tw.utils.each(tiddler.fields.tags,function(tag) {\\n\\t\\t\\tif(!self.index[tag]) {\\n\\t\\t\\t\\tself.index[tag] = {isSorted: false, titles: [title]};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.index[tag].titles.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n};\\n\\nTagSubIndexer.prototype.update = function(updateDescriptor) {\\n\\tthis.index = null;\\n};\\n\\nTagSubIndexer.prototype.lookup = function(tag) {\\n\\t// Update the index if it has yet to be built\\n\\tif(this.index === null) {\\n\\t\\tthis.rebuild();\\n\\t}\\n\\tvar indexRecord = this.index[tag];\\n\\tif(indexRecord) {\\n\\t\\tif(!indexRecord.isSorted) {\\n\\t\\t\\tif(this.indexer.wiki.sortByList) {\\n\\t\\t\\t\\tindexRecord.titles = this.indexer.wiki.sortByList(indexRecord.titles,tag);\\n\\t\\t\\t}\\n\\t\\t\\tindexRecord.isSorted = true;\\n\\t\\t}\\n\\t\\treturn indexRecord.titles;\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n\\nexports.TagIndexer = TagIndexer;\\n\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/core/modules/info/platform.js\":{\"title\":\"$:/core/modules/info/platform.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/info/platform.js\\ntype: application/javascript\\nmodule-type: info\\n\\nInitialise basic platform $:/info/ tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.getInfoTiddlerFields = function(updateInfoTiddlersCallback) {\\n\\tvar mapBoolean = function(value) {return value ? \\\"yes\\\" : \\\"no\\\";},\\n\\t\\tinfoTiddlerFields = [];\\n\\t// Basics\\n\\tinfoTiddlerFields.push({title: \\\"$:/info/browser\\\", text: mapBoolean(!!$tw.browser)});\\n\\tinfoTiddlerFields.push({title: \\\"$:/info/node\\\", text: mapBoolean(!!$tw.node)});\\n\\tinfoTiddlerFields.push({title: \\\"$:/info/startup-timestamp\\\", text: $tw.utils.stringifyDate(new Date())});\\n\\tif($tw.browser) {\\n\\t\\t// Document location\\n\\t\\tvar setLocationProperty = function(name,value) {\\n\\t\\t\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/url/\\\" + name, text: value});\\n\\t\\t\\t},\\n\\t\\t\\tlocation = document.location;\\n\\t\\tsetLocationProperty(\\\"full\\\", (location.toString()).split(\\\"#\\\")[0]);\\n\\t\\tsetLocationProperty(\\\"host\\\", location.host);\\n\\t\\tsetLocationProperty(\\\"hostname\\\", location.hostname);\\n\\t\\tsetLocationProperty(\\\"protocol\\\", location.protocol);\\n\\t\\tsetLocationProperty(\\\"port\\\", location.port);\\n\\t\\tsetLocationProperty(\\\"pathname\\\", location.pathname);\\n\\t\\tsetLocationProperty(\\\"search\\\", location.search);\\n\\t\\tsetLocationProperty(\\\"origin\\\", location.origin);\\n\\t\\t// Screen size\\n\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/browser/screen/width\\\", text: window.screen.width.toString()});\\n\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/browser/screen/height\\\", text: window.screen.height.toString()});\\n \\t\\t// Dark mode through event listener on MediaQueryList\\n \\t\\tvar mqList = window.matchMedia(\\\"(prefers-color-scheme: dark)\\\"),\\n \\t\\t\\tgetDarkModeTiddler = function() {return {title: \\\"$:/info/darkmode\\\", text: mqList.matches ? \\\"yes\\\" : \\\"no\\\"};};\\n \\t\\tinfoTiddlerFields.push(getDarkModeTiddler());\\n \\t\\tmqList.addListener(function(event) {\\n \\t\\t\\tupdateInfoTiddlersCallback([getDarkModeTiddler()]);\\n \\t\\t});\\n\\t\\t// Language\\n\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/browser/language\\\", text: navigator.language || \\\"\\\"});\\n\\t}\\n\\treturn infoTiddlerFields;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"info\"},\"$:/core/modules/keyboard.js\":{\"title\":\"$:/core/modules/keyboard.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/keyboard.js\\ntype: application/javascript\\nmodule-type: global\\n\\nKeyboard handling utilities\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar namedKeys = {\\n\\t\\\"cancel\\\": 3,\\n\\t\\\"help\\\": 6,\\n\\t\\\"backspace\\\": 8,\\n\\t\\\"tab\\\": 9,\\n\\t\\\"clear\\\": 12,\\n\\t\\\"return\\\": 13,\\n\\t\\\"enter\\\": 13,\\n\\t\\\"pause\\\": 19,\\n\\t\\\"escape\\\": 27,\\n\\t\\\"space\\\": 32,\\n\\t\\\"page_up\\\": 33,\\n\\t\\\"page_down\\\": 34,\\n\\t\\\"end\\\": 35,\\n\\t\\\"home\\\": 36,\\n\\t\\\"left\\\": 37,\\n\\t\\\"up\\\": 38,\\n\\t\\\"right\\\": 39,\\n\\t\\\"down\\\": 40,\\n\\t\\\"printscreen\\\": 44,\\n\\t\\\"insert\\\": 45,\\n\\t\\\"delete\\\": 46,\\n\\t\\\"0\\\": 48,\\n\\t\\\"1\\\": 49,\\n\\t\\\"2\\\": 50,\\n\\t\\\"3\\\": 51,\\n\\t\\\"4\\\": 52,\\n\\t\\\"5\\\": 53,\\n\\t\\\"6\\\": 54,\\n\\t\\\"7\\\": 55,\\n\\t\\\"8\\\": 56,\\n\\t\\\"9\\\": 57,\\n\\t\\\"firefoxsemicolon\\\": 59,\\n\\t\\\"firefoxequals\\\": 61,\\n\\t\\\"a\\\": 65,\\n\\t\\\"b\\\": 66,\\n\\t\\\"c\\\": 67,\\n\\t\\\"d\\\": 68,\\n\\t\\\"e\\\": 69,\\n\\t\\\"f\\\": 70,\\n\\t\\\"g\\\": 71,\\n\\t\\\"h\\\": 72,\\n\\t\\\"i\\\": 73,\\n\\t\\\"j\\\": 74,\\n\\t\\\"k\\\": 75,\\n\\t\\\"l\\\": 76,\\n\\t\\\"m\\\": 77,\\n\\t\\\"n\\\": 78,\\n\\t\\\"o\\\": 79,\\n\\t\\\"p\\\": 80,\\n\\t\\\"q\\\": 81,\\n\\t\\\"r\\\": 82,\\n\\t\\\"s\\\": 83,\\n\\t\\\"t\\\": 84,\\n\\t\\\"u\\\": 85,\\n\\t\\\"v\\\": 86,\\n\\t\\\"w\\\": 87,\\n\\t\\\"x\\\": 88,\\n\\t\\\"y\\\": 89,\\n\\t\\\"z\\\": 90,\\n\\t\\\"numpad0\\\": 96,\\n\\t\\\"numpad1\\\": 97,\\n\\t\\\"numpad2\\\": 98,\\n\\t\\\"numpad3\\\": 99,\\n\\t\\\"numpad4\\\": 100,\\n\\t\\\"numpad5\\\": 101,\\n\\t\\\"numpad6\\\": 102,\\n\\t\\\"numpad7\\\": 103,\\n\\t\\\"numpad8\\\": 104,\\n\\t\\\"numpad9\\\": 105,\\n\\t\\\"multiply\\\": 106,\\n\\t\\\"add\\\": 107,\\n\\t\\\"separator\\\": 108,\\n\\t\\\"subtract\\\": 109,\\n\\t\\\"decimal\\\": 110,\\n\\t\\\"divide\\\": 111,\\n\\t\\\"f1\\\": 112,\\n\\t\\\"f2\\\": 113,\\n\\t\\\"f3\\\": 114,\\n\\t\\\"f4\\\": 115,\\n\\t\\\"f5\\\": 116,\\n\\t\\\"f6\\\": 117,\\n\\t\\\"f7\\\": 118,\\n\\t\\\"f8\\\": 119,\\n\\t\\\"f9\\\": 120,\\n\\t\\\"f10\\\": 121,\\n\\t\\\"f11\\\": 122,\\n\\t\\\"f12\\\": 123,\\n\\t\\\"f13\\\": 124,\\n\\t\\\"f14\\\": 125,\\n\\t\\\"f15\\\": 126,\\n\\t\\\"f16\\\": 127,\\n\\t\\\"f17\\\": 128,\\n\\t\\\"f18\\\": 129,\\n\\t\\\"f19\\\": 130,\\n\\t\\\"f20\\\": 131,\\n\\t\\\"f21\\\": 132,\\n\\t\\\"f22\\\": 133,\\n\\t\\\"f23\\\": 134,\\n\\t\\\"f24\\\": 135,\\n\\t\\\"firefoxminus\\\": 173,\\n\\t\\\"semicolon\\\": 186,\\n\\t\\\"equals\\\": 187,\\n\\t\\\"comma\\\": 188,\\n\\t\\\"dash\\\": 189,\\n\\t\\\"period\\\": 190,\\n\\t\\\"slash\\\": 191,\\n\\t\\\"backquote\\\": 192,\\n\\t\\\"openbracket\\\": 219,\\n\\t\\\"backslash\\\": 220,\\n\\t\\\"closebracket\\\": 221,\\n\\t\\\"quote\\\": 222\\n};\\n\\nfunction KeyboardManager(options) {\\n\\tvar self = this;\\n\\toptions = options || \\\"\\\";\\n\\t// Save the named key hashmap\\n\\tthis.namedKeys = namedKeys;\\n\\t// Create a reverse mapping of code to keyname\\n\\tthis.keyNames = [];\\n\\t$tw.utils.each(namedKeys,function(keyCode,name) {\\n\\t\\tself.keyNames[keyCode] = name.substr(0,1).toUpperCase() + name.substr(1);\\n\\t});\\n\\t// Save the platform-specific name of the \\\"meta\\\" key\\n\\tthis.metaKeyName = $tw.platform.isMac ? \\\"cmd-\\\" : \\\"win-\\\";\\n\\tthis.shortcutKeysList = [], // Stores the shortcut-key descriptors\\n\\tthis.shortcutActionList = [], // Stores the corresponding action strings\\n\\tthis.shortcutParsedList = []; // Stores the parsed key descriptors\\n\\tthis.shortcutPriorityList = []; // Stores the parsed shortcut priority\\n\\tthis.lookupNames = [\\\"shortcuts\\\"];\\n\\tthis.lookupNames.push($tw.platform.isMac ? \\\"shortcuts-mac\\\" : \\\"shortcuts-not-mac\\\")\\n\\tthis.lookupNames.push($tw.platform.isWindows ? \\\"shortcuts-windows\\\" : \\\"shortcuts-not-windows\\\");\\n\\tthis.lookupNames.push($tw.platform.isLinux ? \\\"shortcuts-linux\\\" : \\\"shortcuts-not-linux\\\");\\n\\tthis.updateShortcutLists(this.getShortcutTiddlerList());\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tself.handleShortcutChanges(changes);\\n\\t});\\n}\\n\\n/*\\nReturn an array of keycodes for the modifier keys ctrl, shift, alt, meta\\n*/\\nKeyboardManager.prototype.getModifierKeys = function() {\\n\\treturn [\\n\\t\\t16, // Shift\\n\\t\\t17, // Ctrl\\n\\t\\t18, // Alt\\n\\t\\t20, // CAPS LOCK\\n\\t\\t91, // Meta (left)\\n\\t\\t93, // Meta (right)\\n\\t\\t224 // Meta (Firefox)\\n\\t]\\n};\\n\\n/*\\nParses a key descriptor into the structure:\\n{\\n\\tkeyCode: numeric keycode\\n\\tshiftKey: boolean\\n\\taltKey: boolean\\n\\tctrlKey: boolean\\n\\tmetaKey: boolean\\n}\\nKey descriptors have the following format:\\n\\tctrl+enter\\n\\tctrl+shift+alt+A\\n*/\\nKeyboardManager.prototype.parseKeyDescriptor = function(keyDescriptor,options) {\\n\\tvar components = keyDescriptor.split(/\\\\+|\\\\-/),\\n\\t\\tinfo = {\\n\\t\\t\\tkeyCode: 0,\\n\\t\\t\\tshiftKey: false,\\n\\t\\t\\taltKey: false,\\n\\t\\t\\tctrlKey: false,\\n\\t\\t\\tmetaKey: false\\n\\t\\t};\\n\\tfor(var t=0; t<components.length; t++) {\\n\\t\\tvar s = components[t].toLowerCase(),\\n\\t\\t\\tc = s.charCodeAt(0);\\n\\t\\t// Look for modifier keys\\n\\t\\tif(s === \\\"ctrl\\\") {\\n\\t\\t\\tinfo.ctrlKey = true;\\n\\t\\t} else if(s === \\\"shift\\\") {\\n\\t\\t\\tinfo.shiftKey = true;\\n\\t\\t} else if(s === \\\"alt\\\") {\\n\\t\\t\\tinfo.altKey = true;\\n\\t\\t} else if(s === \\\"meta\\\" || s === \\\"cmd\\\" || s === \\\"win\\\") {\\n\\t\\t\\tinfo.metaKey = true;\\n\\t\\t}\\n\\t\\t// Replace named keys with their code\\n\\t\\tif(this.namedKeys[s]) {\\n\\t\\t\\tinfo.keyCode = this.namedKeys[s];\\n\\t\\t}\\n\\t}\\n\\tif(options.keyDescriptor) {\\n\\t\\tinfo.keyDescriptor = options.keyDescriptor;\\n\\t}\\n\\tif(info.keyCode) {\\n\\t\\treturn info;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nParse a list of key descriptors into an array of keyInfo objects. The key descriptors can be passed as an array of strings or a space separated string\\n*/\\nKeyboardManager.prototype.parseKeyDescriptors = function(keyDescriptors,options) {\\n\\tvar self = this;\\n\\toptions = options || {};\\n\\toptions.stack = options.stack || [];\\n\\tvar wiki = options.wiki || $tw.wiki;\\n\\tif(typeof keyDescriptors === \\\"string\\\" && keyDescriptors === \\\"\\\") {\\n\\t\\treturn [];\\n\\t}\\n\\tif(!$tw.utils.isArray(keyDescriptors)) {\\n\\t\\tkeyDescriptors = keyDescriptors.split(\\\" \\\");\\n\\t}\\n\\tvar result = [];\\n\\t$tw.utils.each(keyDescriptors,function(keyDescriptor) {\\n\\t\\t// Look for a named shortcut\\n\\t\\tif(keyDescriptor.substr(0,2) === \\\"((\\\" && keyDescriptor.substr(-2,2) === \\\"))\\\") {\\n\\t\\t\\tif(options.stack.indexOf(keyDescriptor) === -1) {\\n\\t\\t\\t\\toptions.stack.push(keyDescriptor);\\n\\t\\t\\t\\tvar name = keyDescriptor.substring(2,keyDescriptor.length - 2),\\n\\t\\t\\t\\t\\tlookupName = function(configName) {\\n\\t\\t\\t\\t\\t\\tvar keyDescriptors = wiki.getTiddlerText(\\\"$:/config/\\\" + configName + \\\"/\\\" + name);\\n\\t\\t\\t\\t\\t\\tif(keyDescriptors) {\\n\\t\\t\\t\\t\\t\\t\\toptions.keyDescriptor = keyDescriptor;\\n\\t\\t\\t\\t\\t\\t\\tresult.push.apply(result,self.parseKeyDescriptors(keyDescriptors,options));\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t$tw.utils.each(self.lookupNames,function(platformDescriptor) {\\n\\t\\t\\t\\t\\tlookupName(platformDescriptor);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tresult.push(self.parseKeyDescriptor(keyDescriptor,options));\\n\\t\\t}\\n\\t});\\n\\treturn result;\\n};\\n\\nKeyboardManager.prototype.getPrintableShortcuts = function(keyInfoArray) {\\n\\tvar self = this,\\n\\t\\tresult = [];\\n\\t$tw.utils.each(keyInfoArray,function(keyInfo) {\\n\\t\\tif(keyInfo) {\\n\\t\\t\\tresult.push((keyInfo.ctrlKey ? \\\"ctrl-\\\" : \\\"\\\") + \\n\\t\\t\\t\\t (keyInfo.shiftKey ? \\\"shift-\\\" : \\\"\\\") + \\n\\t\\t\\t\\t (keyInfo.altKey ? \\\"alt-\\\" : \\\"\\\") + \\n\\t\\t\\t\\t (keyInfo.metaKey ? self.metaKeyName : \\\"\\\") + \\n\\t\\t\\t\\t (self.keyNames[keyInfo.keyCode]));\\n\\t\\t}\\n\\t});\\n\\treturn result;\\n}\\n\\nKeyboardManager.prototype.checkKeyDescriptor = function(event,keyInfo) {\\n\\treturn keyInfo &&\\n\\t\\t\\tevent.keyCode === keyInfo.keyCode && \\n\\t\\t\\tevent.shiftKey === keyInfo.shiftKey && \\n\\t\\t\\tevent.altKey === keyInfo.altKey && \\n\\t\\t\\tevent.ctrlKey === keyInfo.ctrlKey && \\n\\t\\t\\tevent.metaKey === keyInfo.metaKey;\\n};\\n\\nKeyboardManager.prototype.checkKeyDescriptors = function(event,keyInfoArray) {\\n\\treturn (this.getMatchingKeyDescriptor(event,keyInfoArray) !== null);\\n};\\n\\nKeyboardManager.prototype.getMatchingKeyDescriptor = function(event,keyInfoArray) {\\n\\tfor(var t=0; t<keyInfoArray.length; t++) {\\n\\t\\tif(this.checkKeyDescriptor(event,keyInfoArray[t])) {\\n\\t\\t\\treturn keyInfoArray[t];\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\nKeyboardManager.prototype.getEventModifierKeyDescriptor = function(event) {\\n\\treturn event.ctrlKey && !event.shiftKey\\t&& !event.altKey && !event.metaKey ? \\\"ctrl\\\" : \\n\\t\\tevent.shiftKey && !event.ctrlKey && !event.altKey && !event.metaKey ? \\\"shift\\\" : \\n\\t\\tevent.ctrlKey && event.shiftKey && !event.altKey && !event.metaKey ? \\\"ctrl-shift\\\" : \\n\\t\\tevent.altKey && !event.shiftKey && !event.ctrlKey && !event.metaKey ? \\\"alt\\\" : \\n\\t\\tevent.altKey && event.shiftKey && !event.ctrlKey && !event.metaKey ? \\\"alt-shift\\\" : \\n\\t\\tevent.altKey && event.ctrlKey && !event.shiftKey && !event.metaKey ? \\\"ctrl-alt\\\" : \\n\\t\\tevent.altKey && event.shiftKey && event.ctrlKey && !event.metaKey ? \\\"ctrl-alt-shift\\\" : \\n\\t\\tevent.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ? \\\"meta\\\" : \\n\\t\\tevent.metaKey && event.ctrlKey && !event.shiftKey && !event.altKey ? \\\"meta-ctrl\\\" :\\n\\t\\tevent.metaKey && event.ctrlKey && event.shiftKey && !event.altKey ? \\\"meta-ctrl-shift\\\" :\\n\\t\\tevent.metaKey && event.ctrlKey && event.shiftKey && event.altKey ? \\\"meta-ctrl-alt-shift\\\" : \\\"normal\\\";\\n};\\n\\nKeyboardManager.prototype.getShortcutTiddlerList = function() {\\n\\treturn $tw.wiki.getTiddlersWithTag(\\\"$:/tags/KeyboardShortcut\\\");\\n};\\n\\nKeyboardManager.prototype.updateShortcutLists = function(tiddlerList) {\\n\\tthis.shortcutTiddlers = tiddlerList;\\n\\tfor(var i=0; i<tiddlerList.length; i++) {\\n\\t\\tvar title = tiddlerList[i],\\n\\t\\t\\ttiddlerFields = $tw.wiki.getTiddler(title).fields;\\n\\t\\tthis.shortcutKeysList[i] = tiddlerFields.key !== undefined ? tiddlerFields.key : undefined;\\n\\t\\tthis.shortcutActionList[i] = tiddlerFields.text;\\n\\t\\tthis.shortcutParsedList[i] = this.shortcutKeysList[i] !== undefined ? this.parseKeyDescriptors(this.shortcutKeysList[i]) : undefined;\\n\\t\\tthis.shortcutPriorityList[i] = tiddlerFields.priority === \\\"yes\\\" ? true : false;\\n\\t}\\n};\\n\\n/*\\nevent: the keyboard event object\\noptions:\\n\\tonlyPriority: true if only priority global shortcuts should be invoked\\n*/\\nKeyboardManager.prototype.handleKeydownEvent = function(event, options) {\\n\\toptions = options || {};\\n\\tvar key, action;\\n\\tfor(var i=0; i<this.shortcutTiddlers.length; i++) {\\n\\t\\tif(options.onlyPriority && this.shortcutPriorityList[i] !== true) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\n\\t\\tif(this.shortcutParsedList[i] !== undefined && this.checkKeyDescriptors(event,this.shortcutParsedList[i])) {\\n\\t\\t\\tkey = this.shortcutParsedList[i];\\n\\t\\t\\taction = this.shortcutActionList[i];\\n\\t\\t}\\n\\t}\\n\\tif(key !== undefined) {\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\t$tw.rootWidget.invokeActionString(action,$tw.rootWidget,event);\\n\\t\\treturn true;\\n\\t}\\n\\treturn false;\\n};\\n\\nKeyboardManager.prototype.detectNewShortcuts = function(changedTiddlers) {\\n\\tvar shortcutConfigTiddlers = [],\\n\\t\\thandled = false;\\n\\t$tw.utils.each(this.lookupNames,function(platformDescriptor) {\\n\\t\\tvar descriptorString = \\\"$:/config/\\\" + platformDescriptor + \\\"/\\\";\\n\\t\\tObject.keys(changedTiddlers).forEach(function(configTiddler) {\\n\\t\\t\\tvar configString = configTiddler.substr(0, configTiddler.lastIndexOf(\\\"/\\\") + 1);\\n\\t\\t\\tif(configString === descriptorString) {\\n\\t\\t\\t\\tshortcutConfigTiddlers.push(configTiddler);\\n\\t\\t\\t\\thandled = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\tif(handled) {\\n\\t\\treturn $tw.utils.hopArray(changedTiddlers,shortcutConfigTiddlers);\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nKeyboardManager.prototype.handleShortcutChanges = function(changedTiddlers) {\\n\\tvar newList = this.getShortcutTiddlerList();\\n\\tvar hasChanged = $tw.utils.hopArray(changedTiddlers,this.shortcutTiddlers) ? true :\\n\\t\\t($tw.utils.hopArray(changedTiddlers,newList) ? true :\\n\\t\\t(this.detectNewShortcuts(changedTiddlers))\\n\\t);\\n\\t// Re-cache shortcuts if something changed\\n\\tif(hasChanged) {\\n\\t\\tthis.updateShortcutLists(newList);\\n\\t}\\n};\\n\\nexports.KeyboardManager = KeyboardManager;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/language.js\":{\"title\":\"$:/core/modules/language.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/language.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe $tw.Language() manages translateable strings\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nCreate an instance of the language manager. Options include:\\nwiki: wiki from which to retrieve translation tiddlers\\n*/\\nfunction Language(options) {\\n\\toptions = options || \\\"\\\";\\n\\tthis.wiki = options.wiki || $tw.wiki;\\n}\\n\\n/*\\nReturn a wikified translateable string. The title is automatically prefixed with \\\"$:/language/\\\"\\nOptions include:\\nvariables: optional hashmap of variables to supply to the language wikification\\n*/\\nLanguage.prototype.getString = function(title,options) {\\n\\toptions = options || {};\\n\\ttitle = \\\"$:/language/\\\" + title;\\n\\treturn this.wiki.renderTiddler(\\\"text/plain\\\",title,{variables: options.variables});\\n};\\n\\n/*\\nReturn a raw, unwikified translateable string. The title is automatically prefixed with \\\"$:/language/\\\"\\n*/\\nLanguage.prototype.getRawString = function(title) {\\n\\ttitle = \\\"$:/language/\\\" + title;\\n\\treturn this.wiki.getTiddlerText(title);\\n};\\n\\nexports.Language = Language;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/macros/changecount.js\":{\"title\":\"$:/core/modules/macros/changecount.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/changecount.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return the changecount for the current tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"changecount\\\";\\n\\nexports.params = [];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function() {\\n\\treturn this.wiki.getChangeCount(this.getVariable(\\\"currentTiddler\\\")) + \\\"\\\";\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/contrastcolour.js\":{\"title\":\"$:/core/modules/macros/contrastcolour.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/contrastcolour.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to choose which of two colours has the highest contrast with a base colour\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"contrastcolour\\\";\\n\\nexports.params = [\\n\\t{name: \\\"target\\\"},\\n\\t{name: \\\"fallbackTarget\\\"},\\n\\t{name: \\\"colourA\\\"},\\n\\t{name: \\\"colourB\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(target,fallbackTarget,colourA,colourB) {\\n\\tvar rgbTarget = $tw.utils.parseCSSColor(target) || $tw.utils.parseCSSColor(fallbackTarget);\\n\\tif(!rgbTarget) {\\n\\t\\treturn colourA;\\n\\t}\\n\\tvar rgbColourA = $tw.utils.parseCSSColor(colourA),\\n\\t\\trgbColourB = $tw.utils.parseCSSColor(colourB);\\n\\tif(rgbColourA && !rgbColourB) {\\n\\t\\treturn rgbColourA;\\n\\t}\\n\\tif(rgbColourB && !rgbColourA) {\\n\\t\\treturn rgbColourB;\\n\\t}\\n\\tif(!rgbColourA && !rgbColourB) {\\n\\t\\t// If neither colour is readable, return a crude inverse of the target\\n\\t\\treturn [255 - rgbTarget[0],255 - rgbTarget[1],255 - rgbTarget[2],rgbTarget[3]];\\n\\t}\\n\\t// Colour brightness formula derived from http://www.w3.org/WAI/ER/WD-AERT/#color-contrast\\n\\tvar brightnessTarget = rgbTarget[0] * 0.299 + rgbTarget[1] * 0.587 + rgbTarget[2] * 0.114,\\n\\t\\tbrightnessA = rgbColourA[0] * 0.299 + rgbColourA[1] * 0.587 + rgbColourA[2] * 0.114,\\n\\t\\tbrightnessB = rgbColourB[0] * 0.299 + rgbColourB[1] * 0.587 + rgbColourB[2] * 0.114;\\n\\treturn Math.abs(brightnessTarget - brightnessA) > Math.abs(brightnessTarget - brightnessB) ? colourA : colourB;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/csvtiddlers.js\":{\"title\":\"$:/core/modules/macros/csvtiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/csvtiddlers.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to output tiddlers matching a filter to CSV\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"csvtiddlers\\\";\\n\\nexports.params = [\\n\\t{name: \\\"filter\\\"},\\n\\t{name: \\\"format\\\"},\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(filter,format) {\\n\\tvar self = this,\\n\\t\\ttiddlers = this.wiki.filterTiddlers(filter),\\n\\t\\ttiddler,\\n\\t\\tfields = [],\\n\\t\\tt,f;\\n\\t// Collect all the fields\\n\\tfor(t=0;t<tiddlers.length; t++) {\\n\\t\\ttiddler = this.wiki.getTiddler(tiddlers[t]);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tfor(f in tiddler.fields) {\\n\\t\\t\\t\\tif(fields.indexOf(f) === -1) {\\n\\t\\t\\t\\t\\tfields.push(f);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Sort the fields and bring the standard ones to the front\\n\\tfields.sort();\\n\\t\\\"title text modified modifier created creator\\\".split(\\\" \\\").reverse().forEach(function(value,index) {\\n\\t\\tvar p = fields.indexOf(value);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tfields.splice(p,1);\\n\\t\\t\\tfields.unshift(value)\\n\\t\\t}\\n\\t});\\n\\t// Output the column headings\\n\\tvar output = [], row = [];\\n\\tfields.forEach(function(value) {\\n\\t\\trow.push(quoteAndEscape(value))\\n\\t});\\n\\toutput.push(row.join(\\\",\\\"));\\n\\t// Output each tiddler\\n\\tfor(var t=0;t<tiddlers.length; t++) {\\n\\t\\trow = [];\\n\\t\\ttiddler = this.wiki.getTiddler(tiddlers[t]);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tfor(f=0; f<fields.length; f++) {\\n\\t\\t\\t\\t\\trow.push(quoteAndEscape(tiddler ? tiddler.getFieldString(fields[f]) || \\\"\\\" : \\\"\\\"));\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t}\\n\\t\\toutput.push(row.join(\\\",\\\"));\\n\\t}\\n\\treturn output.join(\\\"\\\\n\\\");\\n};\\n\\nfunction quoteAndEscape(value) {\\n\\treturn \\\"\\\\\\\"\\\" + value.replace(/\\\"/mg,\\\"\\\\\\\"\\\\\\\"\\\") + \\\"\\\\\\\"\\\";\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/displayshortcuts.js\":{\"title\":\"$:/core/modules/macros/displayshortcuts.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/displayshortcuts.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to display a list of keyboard shortcuts in human readable form. Notably, it resolves named shortcuts like `((bold))` to the underlying keystrokes.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"displayshortcuts\\\";\\n\\nexports.params = [\\n\\t{name: \\\"shortcuts\\\"},\\n\\t{name: \\\"prefix\\\"},\\n\\t{name: \\\"separator\\\"},\\n\\t{name: \\\"suffix\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(shortcuts,prefix,separator,suffix) {\\n\\tvar shortcutArray = $tw.keyboardManager.getPrintableShortcuts($tw.keyboardManager.parseKeyDescriptors(shortcuts,{\\n\\t\\twiki: this.wiki\\n\\t}));\\n\\tif(shortcutArray.length > 0) {\\n\\t\\tshortcutArray.sort(function(a,b) {\\n\\t\\t return a.toLowerCase().localeCompare(b.toLowerCase());\\n\\t\\t})\\n\\t\\treturn prefix + shortcutArray.join(separator) + suffix;\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/jsontiddler.js\":{\"title\":\"$:/core/modules/macros/jsontiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/jsontiddler.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to output a single tiddler to JSON\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"jsontiddler\\\";\\n\\nexports.params = [\\n\\t{name: \\\"title\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(title) {\\n\\ttitle = title || this.getVariable(\\\"currentTiddler\\\");\\n\\tvar tiddler = !!title && this.wiki.getTiddler(title),\\n\\t\\tfields = new Object();\\n\\tif(tiddler) {\\n\\t\\tfor(var field in tiddler.fields) {\\n\\t\\t\\tfields[field] = tiddler.getFieldString(field);\\n\\t\\t}\\n\\t}\\n\\treturn JSON.stringify(fields,null,$tw.config.preferences.jsonSpaces);\\n};\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/jsontiddlers.js\":{\"title\":\"$:/core/modules/macros/jsontiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/jsontiddlers.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to output tiddlers matching a filter to JSON\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"jsontiddlers\\\";\\n\\nexports.params = [\\n\\t{name: \\\"filter\\\"},\\n\\t{name: \\\"spaces\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(filter,spaces) {\\n\\treturn this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/makedatauri.js\":{\"title\":\"$:/core/modules/macros/makedatauri.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/makedatauri.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to convert a string of text to a data URI\\n\\n<<makedatauri text:\\\"Text to be converted\\\" type:\\\"text/vnd.tiddlywiki\\\">>\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"makedatauri\\\";\\n\\nexports.params = [\\n\\t{name: \\\"text\\\"},\\n\\t{name: \\\"type\\\"},\\n\\t{name: \\\"_canonical_uri\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(text,type,_canonical_uri) {\\n\\treturn $tw.utils.makeDataUri(text,type,_canonical_uri);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/now.js\":{\"title\":\"$:/core/modules/macros/now.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/now.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return a formatted version of the current time\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"now\\\";\\n\\nexports.params = [\\n\\t{name: \\\"format\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(format) {\\n\\treturn $tw.utils.formatDateString(new Date(),format || \\\"0hh:0mm, DDth MMM YYYY\\\");\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/qualify.js\":{\"title\":\"$:/core/modules/macros/qualify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/qualify.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to qualify a state tiddler title according\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"qualify\\\";\\n\\nexports.params = [\\n\\t{name: \\\"title\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(title) {\\n\\treturn title + \\\"-\\\" + this.getStateQualifier();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/resolvepath.js\":{\"title\":\"$:/core/modules/macros/resolvepath.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/resolvepath.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nResolves a relative path for an absolute rootpath.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"resolvepath\\\";\\n\\nexports.params = [\\n\\t{name: \\\"source\\\"},\\n\\t{name: \\\"root\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(source, root) {\\n\\treturn $tw.utils.resolvePath(source, root);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/unusedtitle.js\":{\"title\":\"$:/core/modules/macros/unusedtitle.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/unusedtitle.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return a new title that is unused in the wiki. It can be given a name as a base.\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"unusedtitle\\\";\\n\\nexports.params = [\\n\\t{name: \\\"baseName\\\"},\\n\\t{name: \\\"separator\\\"},\\n\\t{name: \\\"template\\\"},\\n\\t{name: \\\"startCount\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(baseName,separator,template,startCount) {\\n\\tseparator = separator || \\\" \\\";\\n\\tstartCount = startCount || 0;\\n\\tif(!baseName) {\\n\\t\\tbaseName = $tw.language.getString(\\\"DefaultNewTiddlerTitle\\\");\\n\\t}\\n\\t// $tw.wiki.generateNewTitle = function(baseTitle,options)\\n\\t// options.prefix must be a string!\\n\\treturn this.wiki.generateNewTitle(baseName, {\\\"prefix\\\": separator, \\\"template\\\": template, \\\"startCount\\\": startCount}).trim();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/version.js\":{\"title\":\"$:/core/modules/macros/version.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/version.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return the TiddlyWiki core version number\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"version\\\";\\n\\nexports.params = [];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function() {\\n\\treturn $tw.version;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/parsers/audioparser.js\":{\"title\":\"$:/core/modules/parsers/audioparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/audioparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe audio parser parses an audio tiddler into an embeddable HTML element\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar AudioParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"audio\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tcontrols: {type: \\\"string\\\", value: \\\"controls\\\"},\\n\\t\\t\\t\\tstyle: {type: \\\"string\\\", value: \\\"width: 100%; object-fit: contain\\\"}\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tsrc;\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:\\\" + type + \\\";base64,\\\" + text};\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"audio/ogg\\\"] = AudioParser;\\nexports[\\\"audio/mpeg\\\"] = AudioParser;\\nexports[\\\"audio/mp3\\\"] = AudioParser;\\nexports[\\\"audio/mp4\\\"] = AudioParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/binaryparser.js\":{\"title\":\"$:/core/modules/parsers/binaryparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/binaryparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe binary parser parses a binary tiddler into a warning message and download link\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar BINARY_WARNING_MESSAGE = \\\"$:/core/ui/BinaryWarning\\\";\\nvar EXPORT_BUTTON_IMAGE = \\\"$:/core/images/export-button\\\";\\n\\nvar BinaryParser = function(type,text,options) {\\n\\t// Transclude the binary data tiddler warning message\\n\\tvar warn = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"p\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\\"$tiddler\\\": {type: \\\"string\\\", value: BINARY_WARNING_MESSAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Create download link based on binary tiddler title\\n\\tvar link = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"a\\\",\\n\\t\\tattributes: {\\n\\t\\t\\ttitle: {type: \\\"indirect\\\", textReference: \\\"!!title\\\"},\\n\\t\\t\\tdownload: {type: \\\"indirect\\\", textReference: \\\"!!title\\\"}\\n\\t\\t},\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\\"$tiddler\\\": {type: \\\"string\\\", value: EXPORT_BUTTON_IMAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Set the link href to external or internal data URI\\n\\tif(options._canonical_uri) {\\n\\t\\tlink.attributes.href = {\\n\\t\\t\\ttype: \\\"string\\\", \\n\\t\\t\\tvalue: options._canonical_uri\\n\\t\\t};\\n\\t} else if(text) {\\n\\t\\tlink.attributes.href = {\\n\\t\\t\\ttype: \\\"string\\\", \\n\\t\\t\\tvalue: \\\"data:\\\" + type + \\\";base64,\\\" + text\\n\\t\\t};\\n\\t}\\n\\t// Combine warning message and download link in a div\\n\\tvar element = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"div\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tclass: {type: \\\"string\\\", value: \\\"tc-binary-warning\\\"}\\n\\t\\t},\\n\\t\\tchildren: [warn, link]\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"application/octet-stream\\\"] = BinaryParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/csvparser.js\":{\"title\":\"$:/core/modules/parsers/csvparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/csvparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe CSV text parser processes CSV files into a table wrapped in a scrollable widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar CsvParser = function(type,text,options) {\\n\\t// Special handler for tab-delimited files\\n\\tif (type === 'text/tab-delimited-values' && !options.separator) {\\n\\t\\toptions.separator = \\\"\\\\t\\\";\\n\\t}\\n\\t\\n\\t// Table framework\\n\\tthis.tree = [{\\n\\t\\t\\\"type\\\": \\\"scrollable\\\", \\\"children\\\": [{\\n\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": \\\"table\\\", \\\"children\\\": [{\\n\\t\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": \\\"tbody\\\", \\\"children\\\": []\\n\\t\\t\\t}], \\\"attributes\\\": {\\n\\t\\t\\t\\t\\\"class\\\": {\\\"type\\\": \\\"string\\\", \\\"value\\\": \\\"tc-csv-table\\\"}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t}];\\n\\t// Split the text into lines\\n\\tvar lines = $tw.utils.parseCsvString(text, options),\\n\\t\\ttag = \\\"th\\\";\\n\\tvar maxColumns = 0;\\n\\t$tw.utils.each(lines, function(columns) {\\n\\t\\tmaxColumns = Math.max(columns.length, maxColumns);\\n\\t});\\n\\t\\n\\tfor(var line=0; line<lines.length; line++) {\\n\\t\\tvar columns = lines[line];\\n\\t\\tvar row = {\\n\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": \\\"tr\\\", \\\"children\\\": []\\n\\t\\t};\\n\\t\\tfor(var column=0; column<maxColumns; column++) {\\n\\t\\t\\trow.children.push({\\n\\t\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": tag, \\\"children\\\": [{\\n\\t\\t\\t\\t\\t\\\"type\\\": \\\"text\\\",\\n\\t\\t\\t\\t\\t\\\"text\\\": columns[column] || ''\\n\\t\\t\\t\\t}]\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\ttag = \\\"td\\\";\\n\\t\\tthis.tree[0].children[0].children[0].children.push(row);\\n\\t}\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"text/csv\\\"] = CsvParser;\\nexports[\\\"text/tab-delimited-values\\\"] = CsvParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/htmlparser.js\":{\"title\":\"$:/core/modules/parsers/htmlparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/htmlparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe HTML parser displays text as raw HTML\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar HtmlParser = function(type,text,options) {\\n\\tvar src;\\n\\tif(options._canonical_uri) {\\n\\t\\tsrc = options._canonical_uri;\\n\\t} else if(text) {\\n\\t\\tsrc = \\\"data:text/html;charset=utf-8,\\\" + encodeURIComponent(text);\\n\\t}\\n\\tthis.tree = [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"iframe\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tsrc: {type: \\\"string\\\", value: src}\\n\\t\\t}\\n\\t}];\\n\\tif($tw.wiki.getTiddlerText(\\\"$:/config/HtmlParser/DisableSandbox\\\",\\\"no\\\") !== \\\"yes\\\") {\\n\\t\\tthis.tree[0].attributes.sandbox = {type: \\\"string\\\", value: $tw.wiki.getTiddlerText(\\\"$:/config/HtmlParser/SandboxTokens\\\",\\\"\\\")};\\n\\t}\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"text/html\\\"] = HtmlParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/imageparser.js\":{\"title\":\"$:/core/modules/parsers/imageparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/imageparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe image parser parses an image into an embeddable HTML element\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar ImageParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"img\\\",\\n\\t\\t\\tattributes: {}\\n\\t\\t};\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\tif(type === \\\"image/svg+xml\\\" || type === \\\".svg\\\") {\\n\\t\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:image/svg+xml,\\\" + encodeURIComponent(text)};\\n\\t\\t} else {\\n\\t\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:\\\" + type + \\\";base64,\\\" + text};\\n\\t\\t}\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"image/svg+xml\\\"] = ImageParser;\\nexports[\\\"image/jpg\\\"] = ImageParser;\\nexports[\\\"image/jpeg\\\"] = ImageParser;\\nexports[\\\"image/png\\\"] = ImageParser;\\nexports[\\\"image/gif\\\"] = ImageParser;\\nexports[\\\"image/webp\\\"] = ImageParser;\\nexports[\\\"image/heic\\\"] = ImageParser;\\nexports[\\\"image/heif\\\"] = ImageParser;\\nexports[\\\"image/avif\\\"] = ImageParser;\\nexports[\\\"image/x-icon\\\"] = ImageParser;\\nexports[\\\"image/vnd.microsoft.icon\\\"] = ImageParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/utils/parseutils.js\":{\"title\":\"$:/core/modules/utils/parseutils.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/parseutils.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nUtility functions concerned with parsing text into tokens.\\n\\nMost functions have the following pattern:\\n\\n* The parameters are:\\n** `source`: the source string being parsed\\n** `pos`: the current parse position within the string\\n** Any further parameters are used to identify the token that is being parsed\\n* The return value is:\\n** null if the token was not found at the specified position\\n** an object representing the token with the following standard fields:\\n*** `type`: string indicating the type of the token\\n*** `start`: start position of the token in the source string\\n*** `end`: end position of the token in the source string\\n*** Any further fields required to describe the token\\n\\nThe exception is `skipWhiteSpace`, which just returns the position after the whitespace.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nLook for a whitespace token. Returns null if not found, otherwise returns {type: \\\"whitespace\\\", start:, end:,}\\n*/\\nexports.parseWhiteSpace = function(source,pos) {\\n\\tvar p = pos,c;\\n\\twhile(true) {\\n\\t\\tc = source.charAt(p);\\n\\t\\tif((c === \\\" \\\") || (c === \\\"\\\\f\\\") || (c === \\\"\\\\n\\\") || (c === \\\"\\\\r\\\") || (c === \\\"\\\\t\\\") || (c === \\\"\\\\v\\\") || (c === \\\"\\\\u00a0\\\")) { // Ignores some obscure unicode spaces\\n\\t\\t\\tp++;\\n\\t\\t} else {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\tif(p === pos) {\\n\\t\\treturn null;\\n\\t} else {\\n\\t\\treturn {\\n\\t\\t\\ttype: \\\"whitespace\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tend: p\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nConvenience wrapper for parseWhiteSpace. Returns the position after the whitespace\\n*/\\nexports.skipWhiteSpace = function(source,pos) {\\n\\tvar c;\\n\\twhile(true) {\\n\\t\\tc = source.charAt(pos);\\n\\t\\tif((c === \\\" \\\") || (c === \\\"\\\\f\\\") || (c === \\\"\\\\n\\\") || (c === \\\"\\\\r\\\") || (c === \\\"\\\\t\\\") || (c === \\\"\\\\v\\\") || (c === \\\"\\\\u00a0\\\")) { // Ignores some obscure unicode spaces\\n\\t\\t\\tpos++;\\n\\t\\t} else {\\n\\t\\t\\treturn pos;\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nLook for a given string token. Returns null if not found, otherwise returns {type: \\\"token\\\", value:, start:, end:,}\\n*/\\nexports.parseTokenString = function(source,pos,token) {\\n\\tvar match = source.indexOf(token,pos) === pos;\\n\\tif(match) {\\n\\t\\treturn {\\n\\t\\t\\ttype: \\\"token\\\",\\n\\t\\t\\tvalue: token,\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tend: pos + token.length\\n\\t\\t};\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nLook for a token matching a regex. Returns null if not found, otherwise returns {type: \\\"regexp\\\", match:, start:, end:,}\\n*/\\nexports.parseTokenRegExp = function(source,pos,reToken) {\\n\\tvar node = {\\n\\t\\ttype: \\\"regexp\\\",\\n\\t\\tstart: pos\\n\\t};\\n\\treToken.lastIndex = pos;\\n\\tnode.match = reToken.exec(source);\\n\\tif(node.match && node.match.index === pos) {\\n\\t\\tnode.end = pos + node.match[0].length;\\n\\t\\treturn node;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nLook for a string literal. Returns null if not found, otherwise returns {type: \\\"string\\\", value:, start:, end:,}\\n*/\\nexports.parseStringLiteral = function(source,pos) {\\n\\tvar node = {\\n\\t\\ttype: \\\"string\\\",\\n\\t\\tstart: pos\\n\\t};\\n\\tvar reString = /(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\")|(?:'([^']*)')/g;\\n\\treString.lastIndex = pos;\\n\\tvar match = reString.exec(source);\\n\\tif(match && match.index === pos) {\\n\\t\\tnode.value = match[1] !== undefined ? match[1] :(\\n\\t\\t\\tmatch[2] !== undefined ? match[2] : match[3]\\n\\t\\t\\t\\t\\t);\\n\\t\\tnode.end = pos + match[0].length;\\n\\t\\treturn node;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nReturns an array of {name:} with an optional \\\"default\\\" property. Options include:\\nrequireParenthesis: require the parameter definition to be wrapped in parenthesis\\n*/\\nexports.parseParameterDefinition = function(paramString,options) {\\n\\toptions = options || {};\\n\\tif(options.requireParenthesis) {\\n\\t\\tvar parenMatch = /^\\\\s*\\\\((.*)\\\\)\\\\s*$/g.exec(paramString);\\n\\t\\tif(!parenMatch) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t\\tparamString = parenMatch[1];\\n\\t}\\n\\tvar params = [],\\n\\t\\treParam = /\\\\s*([^:),\\\\s]+)(?:\\\\s*:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|([^,\\\"'\\\\s]+)))?/mg,\\n\\t\\tparamMatch = reParam.exec(paramString);\\n\\twhile(paramMatch) {\\n\\t\\t// Save the parameter details\\n\\t\\tvar paramInfo = {name: paramMatch[1]},\\n\\t\\t\\tdefaultValue = paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5];\\n\\t\\tif(defaultValue !== undefined) {\\n\\t\\t\\tparamInfo[\\\"default\\\"] = defaultValue;\\n\\t\\t}\\n\\t\\tparams.push(paramInfo);\\n\\t\\t// Look for the next parameter\\n\\t\\tparamMatch = reParam.exec(paramString);\\n\\t}\\n\\treturn params;\\n};\\n\\nexports.parseMacroParameters = function(node,source,pos) {\\n\\t// Process parameters\\n\\tvar parameter = $tw.utils.parseMacroParameter(source,pos);\\n\\twhile(parameter) {\\n\\t\\tnode.params.push(parameter);\\n\\t\\tpos = parameter.end;\\n\\t\\t// Get the next parameter\\n\\t\\tparameter = $tw.utils.parseMacroParameter(source,pos);\\n\\t}\\n\\tnode.end = pos;\\n\\treturn node;\\n}\\n\\n/*\\nLook for a macro invocation parameter. Returns null if not found, or {type: \\\"macro-parameter\\\", name:, value:, start:, end:}\\n*/\\nexports.parseMacroParameter = function(source,pos) {\\n\\tvar node = {\\n\\t\\ttype: \\\"macro-parameter\\\",\\n\\t\\tstart: pos\\n\\t};\\n\\t// Define our regexp\\n\\tvar reMacroParameter = /(?:([A-Za-z0-9\\\\-_]+)\\\\s*:)?(?:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|\\\\[\\\\[([^\\\\]]*)\\\\]\\\\]|((?:(?:>(?!>))|[^\\\\s>\\\"'])+)))/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the parameter\\n\\tvar token = $tw.utils.parseTokenRegExp(source,pos,reMacroParameter);\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Get the parameter details\\n\\tnode.value = token.match[2] !== undefined ? token.match[2] : (\\n\\t\\t\\t\\t\\ttoken.match[3] !== undefined ? token.match[3] : (\\n\\t\\t\\t\\t\\t\\ttoken.match[4] !== undefined ? token.match[4] : (\\n\\t\\t\\t\\t\\t\\t\\ttoken.match[5] !== undefined ? token.match[5] : (\\n\\t\\t\\t\\t\\t\\t\\t\\ttoken.match[6] !== undefined ? token.match[6] : (\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t);\\n\\tif(token.match[1]) {\\n\\t\\tnode.name = token.match[1];\\n\\t}\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\n/*\\nLook for a macro invocation. Returns null if not found, or {type: \\\"transclude\\\", attributes:, start:, end:}\\n*/\\nexports.parseMacroInvocationAsTransclusion = function(source,pos) {\\n\\tvar node = $tw.utils.parseMacroInvocation(source,pos);\\n\\tif(node) {\\n\\t\\tvar positionalName = 0,\\n\\t\\t\\ttransclusion = {\\n\\t\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\t\\tstart: node.start,\\n\\t\\t\\t\\tend: node.end\\n\\t\\t\\t};\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(transclusion,\\\"$variable\\\",node.name);\\n\\t\\t$tw.utils.each(node.params,function(param) {\\n\\t\\t\\tvar name = param.name;\\n\\t\\t\\tif(name) {\\n\\t\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(transclusion,{name: name,type: \\\"string\\\", value: param.value, start: param.start, end: param.end});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(transclusion,{name: (positionalName++) + \\\"\\\",type: \\\"string\\\", value: param.value, start: param.start, end: param.end});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn transclusion;\\n\\t}\\n\\treturn node;\\n};\\n\\n/*\\nLook for a macro invocation. Returns null if not found, or {type: \\\"macrocall\\\", name:, params:, start:, end:}\\n*/\\nexports.parseMacroInvocation = function(source,pos) {\\n\\tvar node = {\\n\\t\\ttype: \\\"macrocall\\\",\\n\\t\\tstart: pos,\\n\\t\\tparams: []\\n\\t};\\n\\t// Define our regexps\\n\\tvar reMacroName = /([^\\\\s>\\\"'=]+)/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a double less than sign\\n\\tvar token = $tw.utils.parseTokenString(source,pos,\\\"<<\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Get the macro name\\n\\tvar name = $tw.utils.parseTokenRegExp(source,pos,reMacroName);\\n\\tif(!name) {\\n\\t\\treturn null;\\n\\t}\\n\\tnode.name = name.match[1];\\n\\tpos = name.end;\\n\\tnode = $tw.utils.parseMacroParameters(node,source,pos);\\n\\tpos = node.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a double greater than sign\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\">>\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\nexports.parseFilterVariable = function(source) {\\n\\tvar node = {\\n\\t\\t\\tname: \\\"\\\",\\n\\t\\t\\tparams: [],\\n\\t\\t},\\n\\t\\tpos = 0,\\n\\t\\treName = /([^\\\\s\\\"']+)/g;\\n\\t// If there is no whitespace or it is an empty string then there are no macro parameters\\n\\tif(/^\\\\S*$/.test(source)) {\\n\\t\\tnode.name = source;\\n\\t\\treturn node;\\n\\t}\\n\\t// Get the variable name\\n\\tvar nameMatch = $tw.utils.parseTokenRegExp(source,pos,reName);\\n\\tif(nameMatch) {\\n\\t\\tnode.name = nameMatch.match[1];\\n\\t\\tpos = nameMatch.end;\\n\\t\\tnode = $tw.utils.parseMacroParameters(node,source,pos);\\n\\t\\tdelete node.end;\\n\\t}\\n\\treturn node;\\n};\\n\\n/*\\nLook for an HTML attribute definition. Returns null if not found, otherwise returns {type: \\\"attribute\\\", name:, type: \\\"filtered|string|indirect|macro\\\", value|filter|textReference:, start:, end:,}\\n*/\\nexports.parseAttribute = function(source,pos) {\\n\\tvar node = {\\n\\t\\tstart: pos\\n\\t};\\n\\t// Define our regexps\\n\\tvar reAttributeName = /([^\\\\/\\\\s>\\\"'`=]+)/g,\\n\\t\\treUnquotedAttribute = /([^\\\\/\\\\s<>\\\"'`=]+)/g,\\n\\t\\treFilteredValue = /\\\\{\\\\{\\\\{([\\\\S\\\\s]+?)\\\\}\\\\}\\\\}/g,\\n\\t\\treIndirectValue = /\\\\{\\\\{([^\\\\}]+)\\\\}\\\\}/g,\\n\\t\\treSubstitutedValue = /(?:```([\\\\s\\\\S]*?)```|`([^`]|[\\\\S\\\\s]*?)`)/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Get the attribute name\\n\\tvar name = $tw.utils.parseTokenRegExp(source,pos,reAttributeName);\\n\\tif(!name) {\\n\\t\\treturn null;\\n\\t}\\n\\tnode.name = name.match[1];\\n\\tpos = name.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for an equals sign\\n\\tvar token = $tw.utils.parseTokenString(source,pos,\\\"=\\\");\\n\\tif(token) {\\n\\t\\tpos = token.end;\\n\\t\\t// Skip whitespace\\n\\t\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t\\t// Look for a string literal\\n\\t\\tvar stringLiteral = $tw.utils.parseStringLiteral(source,pos);\\n\\t\\tif(stringLiteral) {\\n\\t\\t\\tpos = stringLiteral.end;\\n\\t\\t\\tnode.type = \\\"string\\\";\\n\\t\\t\\tnode.value = stringLiteral.value;\\n\\t\\t} else {\\n\\t\\t\\t// Look for a filtered value\\n\\t\\t\\tvar filteredValue = $tw.utils.parseTokenRegExp(source,pos,reFilteredValue);\\n\\t\\t\\tif(filteredValue) {\\n\\t\\t\\t\\tpos = filteredValue.end;\\n\\t\\t\\t\\tnode.type = \\\"filtered\\\";\\n\\t\\t\\t\\tnode.filter = filteredValue.match[1];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Look for an indirect value\\n\\t\\t\\t\\tvar indirectValue = $tw.utils.parseTokenRegExp(source,pos,reIndirectValue);\\n\\t\\t\\t\\tif(indirectValue) {\\n\\t\\t\\t\\t\\tpos = indirectValue.end;\\n\\t\\t\\t\\t\\tnode.type = \\\"indirect\\\";\\n\\t\\t\\t\\t\\tnode.textReference = indirectValue.match[1];\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Look for a unquoted value\\n\\t\\t\\t\\t\\tvar unquotedValue = $tw.utils.parseTokenRegExp(source,pos,reUnquotedAttribute);\\n\\t\\t\\t\\t\\tif(unquotedValue) {\\n\\t\\t\\t\\t\\t\\tpos = unquotedValue.end;\\n\\t\\t\\t\\t\\t\\tnode.type = \\\"string\\\";\\n\\t\\t\\t\\t\\t\\tnode.value = unquotedValue.match[1];\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t// Look for a macro invocation value\\n\\t\\t\\t\\t\\t\\tvar macroInvocation = $tw.utils.parseMacroInvocation(source,pos);\\n\\t\\t\\t\\t\\t\\tif(macroInvocation) {\\n\\t\\t\\t\\t\\t\\t\\tpos = macroInvocation.end;\\n\\t\\t\\t\\t\\t\\t\\tnode.type = \\\"macro\\\";\\n\\t\\t\\t\\t\\t\\t\\tnode.value = macroInvocation;\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tvar substitutedValue = $tw.utils.parseTokenRegExp(source,pos,reSubstitutedValue);\\n\\t\\t\\t\\t\\t\\t\\tif(substitutedValue) {\\n\\t\\t\\t\\t\\t\\t\\t\\tpos = substitutedValue.end;\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.type = \\\"substituted\\\";\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.rawValue = substitutedValue.match[1] || substitutedValue.match[2];\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.type = \\\"string\\\";\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.value = \\\"true\\\";\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tnode.type = \\\"string\\\";\\n\\t\\tnode.value = \\\"true\\\";\\n\\t}\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/parsers/pdfparser.js\":{\"title\":\"$:/core/modules/parsers/pdfparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/pdfparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe PDF parser embeds a PDF viewer\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar ImageParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"iframe\\\",\\n\\t\\t\\tattributes: {}\\n\\t\\t},\\n\\t\\tsrc;\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:application/pdf;base64,\\\" + text};\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"application/pdf\\\"] = ImageParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/textparser.js\":{\"title\":\"$:/core/modules/parsers/textparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/textparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe plain text parser processes blocks of source text into a degenerate parse tree consisting of a single text node\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar TextParser = function(type,text,options) {\\n\\tthis.tree = [{\\n\\t\\ttype: \\\"genesis\\\",\\n\\t\\tattributes: {\\n\\t\\t\\t$type: {name: \\\"$type\\\", type: \\\"string\\\", value: \\\"$codeblock\\\"},\\n\\t\\t\\tcode: {name: \\\"code\\\", type: \\\"string\\\", value: text},\\n\\t\\t\\tlanguage: {name: \\\"language\\\", type: \\\"string\\\", value: type},\\n\\t\\t\\t$remappable: {name: \\\"$remappable\\\", type:\\\"string\\\", value: \\\"no\\\"}\\n\\t\\t}\\n\\t}];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"text/plain\\\"] = TextParser;\\nexports[\\\"text/x-tiddlywiki\\\"] = TextParser;\\nexports[\\\"application/javascript\\\"] = TextParser;\\nexports[\\\"application/json\\\"] = TextParser;\\nexports[\\\"text/css\\\"] = TextParser;\\nexports[\\\"application/x-tiddler-dictionary\\\"] = TextParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/videoparser.js\":{\"title\":\"$:/core/modules/parsers/videoparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/videoparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe video parser parses a video tiddler into an embeddable HTML element\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar VideoParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"video\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tcontrols: {type: \\\"string\\\", value: \\\"controls\\\"},\\n\\t\\t\\t\\tstyle: {type: \\\"string\\\", value: \\\"width: 100%; object-fit: contain\\\"}\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tsrc;\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:\\\" + type + \\\";base64,\\\" + text};\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"video/ogg\\\"] = VideoParser;\\nexports[\\\"video/webm\\\"] = VideoParser;\\nexports[\\\"video/mp4\\\"] = VideoParser;\\nexports[\\\"video/quicktime\\\"] = VideoParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/wikiparser/rules/codeblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/codeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/codeblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for code blocks. For example:\\n\\n```\\n\\t```\\n\\tThis text will not be //wikified//\\n\\t```\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"codeblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match and get language if defined\\n\\tthis.matchRegExp = /```([\\\\w-]*)\\\\r?\\\\n/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /(\\\\r?\\\\n```$)/mg;\\n\\tvar languageStart = this.parser.pos + 3,\\n\\t\\tlanguageEnd = languageStart + this.match[1].length;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Look for the end of the block\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext,\\n\\t\\tcodeStart = this.parser.pos;\\n\\t// Process the block\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\t// Return the $codeblock widget\\n\\treturn [{\\n\\t\\t\\ttype: \\\"codeblock\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\tcode: {type: \\\"string\\\", value: text, start: codeStart, end: this.parser.pos},\\n\\t\\t\\t\\t\\tlanguage: {type: \\\"string\\\", value: this.match[1], start: languageStart, end: languageEnd}\\n\\t\\t\\t}\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/codeinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/codeinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/codeinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for code runs. For example:\\n\\n```\\n\\tThis is a `code run`.\\n\\tThis is another ``code run``\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"codeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(``?)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar reEnd = new RegExp(this.match[1], \\\"mg\\\");\\n\\t// Look for the end marker\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext,\\n\\t\\tstart = this.parser.pos;\\n\\t// Process the text\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"code\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\ttext: text,\\n\\t\\t\\tstart: start,\\n\\t\\t\\tend: this.parser.pos\\n\\t\\t}]\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/commentblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/commentblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/commentblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for HTML comments. For example:\\n\\n```\\n<!-- This is a comment -->\\n\\\\define macroX()\\n<!-- This is a comment -->\\nxxxx\\n\\\\end\\n<!-- This is a comment -->\\n\\n```\\n\\nNote that the syntax for comments is simplified to an opening \\\"<!--\\\" sequence and a closing \\\"-->\\\" sequence -- HTML itself implements a more complex format (see http://ostermiller.org/findhtmlcomment.html)\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"commentblock\\\";\\nexports.types = {block:true, pragma:true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /<!--/mg;\\n\\tthis.endMatchRegExp = /-->/mg;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\tif(this.match) {\\n\\t\\tthis.endMatchRegExp.lastIndex = this.match.index + this.match[0].length;\\n\\t\\tthis.endMatch = this.endMatchRegExp.exec(this.parser.source);\\n\\t\\tif(this.endMatch) {\\n\\t\\t\\treturn this.match.index;\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.endMatchRegExp.lastIndex;\\n\\t// Don't return any elements\\n\\treturn [];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/commentinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/commentinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/commentinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for HTML comments. For example:\\n\\n```\\n<!-- This is a comment -->\\n```\\n\\nNote that the syntax for comments is simplified to an opening \\\"<!--\\\" sequence and a closing \\\"-->\\\" sequence -- HTML itself implements a more complex format (see http://ostermiller.org/findhtmlcomment.html)\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"commentinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /<!--/mg;\\n\\tthis.endMatchRegExp = /-->/mg;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\tif(this.match) {\\n\\t\\tthis.endMatchRegExp.lastIndex = this.match.index + this.match[0].length;\\n\\t\\tthis.endMatch = this.endMatchRegExp.exec(this.parser.source);\\n\\t\\tif(this.endMatch) {\\n\\t\\t\\treturn this.match.index;\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.endMatchRegExp.lastIndex;\\n\\t// Don't return any elements\\n\\treturn [];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/conditional.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/conditional.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/conditional.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nConditional shortcut syntax\\n\\n```\\nThis is a <%if [{something}] %>Elephant<%elseif [{else}] %>Pelican<%else%>Crocodile<%endif%>\\n```\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.name = \\\"conditional\\\";\\nexports.types = {inline: true, block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\<\\\\%\\\\s*if\\\\s+/mg;\\n\\tthis.terminateIfRegExp = /\\\\%\\\\>/mg;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Look for the next <%if shortcut\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\t// If not found then return no match\\n\\tif(!this.match) {\\n\\t\\treturn undefined;\\n\\t}\\n\\t// Check for the next %>\\n\\tthis.terminateIfRegExp.lastIndex = this.match.index;\\n\\tthis.terminateIfMatch = this.terminateIfRegExp.exec(this.parser.source);\\n\\t// If not found then return no match\\n\\tif(!this.terminateIfMatch) {\\n\\t\\treturn undefined;\\n\\t}\\n\\t// Return the position at which the construction was found\\n\\treturn this.match.index;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get the filter condition\\n\\tvar filterCondition = this.parser.source.substring(this.match.index + this.match[0].length,this.terminateIfMatch.index);\\n\\t// Advance the parser position to past the %>\\n\\tthis.parser.pos = this.terminateIfMatch.index + this.terminateIfMatch[0].length;\\n\\t// Parse the if clause\\n\\treturn this.parseIfClause(filterCondition);\\n};\\n\\nexports.parseIfClause = function(filterCondition) {\\n\\t// Create the list widget\\n\\tvar listWidget = {\\n\\t\\ttype: \\\"list\\\",\\n\\t\\ttag: \\\"$list\\\",\\n\\t\\tisBlock: this.is.block,\\n\\t\\tchildren: [\\n\\t\\t\\t{\\n\\t\\t\\t\\ttype: \\\"list-template\\\",\\n\\t\\t\\t\\ttag: \\\"$list-template\\\"\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\ttype: \\\"list-empty\\\",\\n\\t\\t\\t\\ttag: \\\"$list-empty\\\"\\n\\t\\t\\t}\\n\\t\\t]\\n\\t};\\n\\t$tw.utils.addAttributeToParseTreeNode(listWidget,\\\"filter\\\",filterCondition);\\n\\t$tw.utils.addAttributeToParseTreeNode(listWidget,\\\"variable\\\",\\\"condition\\\");\\n\\t$tw.utils.addAttributeToParseTreeNode(listWidget,\\\"limit\\\",\\\"1\\\");\\n\\t// Check for an immediately following double linebreak\\n\\tvar hasLineBreak = !!$tw.utils.parseTokenRegExp(this.parser.source,this.parser.pos,/([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n\\t// Parse the body looking for else or endif\\n\\tvar reEndString = \\\"\\\\\\\\<\\\\\\\\%\\\\\\\\s*(endif)\\\\\\\\s*\\\\\\\\%\\\\\\\\>|\\\\\\\\<\\\\\\\\%\\\\\\\\s*(else)\\\\\\\\s*\\\\\\\\%\\\\\\\\>|\\\\\\\\<\\\\\\\\%\\\\\\\\s*(elseif)\\\\\\\\s+([\\\\\\\\s\\\\\\\\S]+?)\\\\\\\\%\\\\\\\\>\\\",\\n\\t\\tex;\\n\\tif(hasLineBreak) {\\n\\t\\tex = this.parser.parseBlocksTerminatedExtended(reEndString);\\n\\t} else {\\n\\t\\tvar reEnd = new RegExp(reEndString,\\\"mg\\\");\\n\\t\\tex = this.parser.parseInlineRunTerminatedExtended(reEnd,{eatTerminator: true});\\n\\t}\\n\\t// Put the body into the list template\\n\\tlistWidget.children[0].children = ex.tree;\\n\\t// Check for an else or elseif\\n\\tif(ex.match) {\\n\\t\\tif(ex.match[1] === \\\"endif\\\") {\\n\\t\\t\\t// Nothing to do if we just found an endif\\n\\t\\t} else if(ex.match[2] === \\\"else\\\") {\\n\\t\\t\\t// Check for an immediately following double linebreak\\n\\t\\t\\thasLineBreak = !!$tw.utils.parseTokenRegExp(this.parser.source,this.parser.pos,/([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n\\t\\t\\t// If we found an else then we need to parse the body looking for the endif\\n\\t\\t\\tvar reEndString = \\\"\\\\\\\\<\\\\\\\\%\\\\\\\\s*(endif)\\\\\\\\s*\\\\\\\\%\\\\\\\\>\\\",\\n\\t\\t\\tex;\\n\\t\\t\\tif(hasLineBreak) {\\n\\t\\t\\t\\tex = this.parser.parseBlocksTerminatedExtended(reEndString);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar reEnd = new RegExp(reEndString,\\\"mg\\\");\\n\\t\\t\\t\\tex = this.parser.parseInlineRunTerminatedExtended(reEnd,{eatTerminator: true});\\n\\t\\t\\t}\\n\\t\\t\\t// Put the parsed content inside the list empty template\\n\\t\\t\\tlistWidget.children[1].children = ex.tree;\\n\\t\\t} else if(ex.match[3] === \\\"elseif\\\") {\\n\\t\\t\\t// Parse the elseif clause by reusing this parser, passing the new filter condition\\n\\t\\t\\tlistWidget.children[1].children = this.parseIfClause(ex.match[4]);\\n\\t\\t}\\n\\t}\\n\\t// Return the parse tree node\\n\\treturn [listWidget];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/dash.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/dash.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/dash.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for dashes. For example:\\n\\n```\\nThis is an en-dash: --\\n\\nThis is an em-dash: ---\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"dash\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /-{2,3}(?!-)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar dash = this.match[0].length === 2 ? \\\"&ndash;\\\" : \\\"&mdash;\\\";\\n\\treturn [{\\n\\t\\ttype: \\\"entity\\\",\\n\\t\\tentity: dash\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - bold. For example:\\n\\n```\\n\\tThis is ''bold'' text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except bold \\n\\\\rules only bold \\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"bold\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /''/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/''/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"strong\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - italic. For example:\\n\\n```\\n\\tThis is //italic// text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except italic\\n\\\\rules only italic\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"italic\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\/\\\\//mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/\\\\/\\\\//mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"em\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - strikethrough. For example:\\n\\n```\\n\\tThis is ~~strikethrough~~ text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except strikethrough \\n\\\\rules only strikethrough \\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"strikethrough\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /~~/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/~~/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"strike\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - subscript. For example:\\n\\n```\\n\\tThis is ,,subscript,, text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except subscript \\n\\\\rules only subscript \\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"subscript\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /,,/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/,,/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"sub\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - superscript. For example:\\n\\n```\\n\\tThis is ^^superscript^^ text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except superscript \\n\\\\rules only superscript \\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"superscript\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\^\\\\^/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/\\\\^\\\\^/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"sup\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - underscore. For example:\\n\\n```\\n\\tThis is __underscore__ text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except underscore \\n\\\\rules only underscore\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"underscore\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /__/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/__/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"u\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/entity.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/entity.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/entity.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for HTML entities. For example:\\n\\n```\\n\\tThis is a copyright symbol: &copy;\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"entity\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(&#?[a-zA-Z0-9]{2,8};)/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get all the details of the match\\n\\tvar entityString = this.match[1];\\n\\t// Move past the macro call\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Return the entity\\n\\treturn [{type: \\\"entity\\\", entity: this.match[0]}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/extlink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/extlink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/extlink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for external links. For example:\\n\\n```\\nAn external link: https://www.tiddlywiki.com/\\n\\nA suppressed external link: ~http://www.tiddlyspace.com/\\n```\\n\\nExternal links can be suppressed by preceding them with `~`.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"extlink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data|skype):[^\\\\s<>{}\\\\[\\\\]`|\\\"\\\\\\\\^]+(?:\\\\/|\\\\b)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n var start = this.parser.pos;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Create the link unless it is suppressed\\n\\tif(this.match[0].substr(0,1) === \\\"~\\\") {\\n\\t\\treturn [{type: \\\"text\\\", text: this.match[0].substr(1)}];\\n\\t} else {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"a\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\thref: {type: \\\"string\\\", value: this.match[0]},\\n\\t\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: \\\"tc-tiddlylink-external\\\"},\\n\\t\\t\\t\\ttarget: {type: \\\"string\\\", value: \\\"_blank\\\"},\\n\\t\\t\\t\\trel: {type: \\\"string\\\", value: \\\"noopener noreferrer\\\"}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\", text: this.match[0], start: start, end: this.parser.pos\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for block-level filtered transclusion. For example:\\n\\n```\\n{{{ [tag[docs]] }}}\\n{{{ [tag[docs]] |tooltip}}}\\n{{{ [tag[docs]] ||TemplateTitle}}}\\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"filteredtranscludeblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{\\\\{([^\\\\|]+?)(?:\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?\\\\}\\\\}([^\\\\}]*)\\\\}(?:\\\\.(\\\\S+))?(?:\\\\r?\\\\n|$)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tvar filterStart = this.parser.pos + 3;\\n\\tvar filterEnd = filterStart + this.match[1].length;\\n\\tvar toolTipStart = filterEnd + 1;\\n\\tvar toolTipEnd = toolTipStart + (this.match[2] ? this.match[2].length : 0);\\n\\tvar templateStart = toolTipEnd + 2;\\n\\tvar templateEnd = templateStart + (this.match[3] ? this.match[3].length : 0);\\n\\tvar styleStart = templateEnd + 2;\\n\\tvar styleEnd = styleStart + (this.match[4] ? this.match[4].length : 0);\\n\\tvar classesStart = styleEnd + 1;\\n\\tvar classesEnd = classesStart + (this.match[5] ? this.match[5].length : 0);\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar filter = this.match[1],\\n\\t\\ttooltip = this.match[2],\\n\\t\\ttemplate = $tw.utils.trim(this.match[3]),\\n\\t\\tstyle = this.match[4],\\n\\t\\tclasses = this.match[5];\\n\\t// Return the list widget\\n\\tvar node = {\\n\\t\\ttype: \\\"list\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tfilter: {type: \\\"string\\\", value: filter, start: filterStart, end: filterEnd},\\n\\t\\t},\\n\\t\\tisBlock: true\\n\\t};\\n\\tif(tooltip) {\\n\\t\\tnode.attributes.tooltip = {type: \\\"string\\\", value: tooltip, start: toolTipStart, end: toolTipEnd};\\n\\t}\\n\\tif(template) {\\n\\t\\tnode.attributes.template = {type: \\\"string\\\", value: template, start: templateStart, end: templateEnd};\\n\\t}\\n\\tif(style) {\\n\\t\\tnode.attributes.style = {type: \\\"string\\\", value: style, start: styleStart, end: styleEnd};\\n\\t}\\n\\tif(classes) {\\n\\t\\tnode.attributes.itemClass = {type: \\\"string\\\", value: classes.split(\\\".\\\").join(\\\" \\\"), start: classesStart, end: classesEnd};\\n\\t}\\n\\treturn [node];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for inline filtered transclusion. For example:\\n\\n```\\n{{{ [tag[docs]] }}}\\n{{{ [tag[docs]] |tooltip}}}\\n{{{ [tag[docs]] ||TemplateTitle}}}\\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"filteredtranscludeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{\\\\{([^\\\\|]+?)(?:\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?\\\\}\\\\}([^\\\\}]*)\\\\}(?:\\\\.(\\\\S+))?/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar filterStart = this.parser.pos + 3;\\n\\tvar filterEnd = filterStart + this.match[1].length;\\n\\tvar toolTipStart = filterEnd + 1;\\n\\tvar toolTipEnd = toolTipStart + (this.match[2] ? this.match[2].length : 0);\\n\\tvar templateStart = toolTipEnd + 2;\\n\\tvar templateEnd = templateStart + (this.match[3] ? this.match[3].length : 0);\\n\\tvar styleStart = templateEnd + 2;\\n\\tvar styleEnd = styleStart + (this.match[4] ? this.match[4].length : 0);\\n\\tvar classesStart = styleEnd + 1;\\n\\tvar classesEnd = classesStart + (this.match[5] ? this.match[5].length : 0);\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar filter = this.match[1],\\n\\t\\ttooltip = this.match[2],\\n\\t\\ttemplate = $tw.utils.trim(this.match[3]),\\n\\t\\tstyle = this.match[4],\\n\\t\\tclasses = this.match[5];\\n\\t// Return the list widget\\n\\tvar node = {\\n\\t\\ttype: \\\"list\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tfilter: {type: \\\"string\\\", value: filter, start: filterStart, end: filterEnd},\\n\\t\\t}\\n\\t};\\n\\tif(tooltip) {\\n\\t\\tnode.attributes.tooltip = {type: \\\"string\\\", value: tooltip, start: toolTipStart, end: toolTipEnd};\\n\\t}\\n\\tif(template) {\\n\\t\\tnode.attributes.template = {type: \\\"string\\\", value: template, start: templateStart, end: templateEnd};\\n\\t}\\n\\tif(style) {\\n\\t\\tnode.attributes.style = {type: \\\"string\\\", value: style, start: styleStart, end: styleEnd};\\n\\t}\\n\\tif(classes) {\\n\\t\\tnode.attributes.itemClass = {type: \\\"string\\\", value: classes.split(\\\".\\\").join(\\\" \\\"), start: classesStart, end: classesEnd};\\n\\t}\\n\\treturn [node];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/fnprocdef.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/fnprocdef.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/fnprocdef.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for function, procedure and widget definitions\\n\\n```\\n\\\\function name(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n\\\\end\\n\\n\\\\procedure name(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n\\\\end\\n\\n\\\\widget $mywidget(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n\\\\end\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"fnprocdef\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\(function|procedure|widget)\\\\s+([^(\\\\s]+)\\\\((\\\\s*([^)]*))?\\\\)(\\\\s*\\\\r?\\\\n)?/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the macro name and parameters\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the parameters\\n\\tvar params = [];\\n\\tif(this.match[3]) {\\n\\t\\tparams = $tw.utils.parseParameterDefinition(this.match[4]);\\n\\t}\\n\\t// Is the remainder of the line blank after the parameter close paren?\\n\\tvar reEnd;\\n\\tif(this.match[5]) {\\n\\t\\t// If so, it is a multiline definition and the end of the body is marked with \\\\end\\n\\t\\treEnd = new RegExp(\\\"((:?^|\\\\\\\\r?\\\\\\\\n)[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*\\\\\\\\\\\\\\\\end[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*(?:\\\" + $tw.utils.escapeRegExp(this.match[2]) + \\\")?\\\\\\\\s*?(?:$|\\\\\\\\r?\\\\\\\\n))\\\",\\\"mg\\\");\\n\\t} else {\\n\\t\\t// Otherwise, the end of the definition is marked by the end of the line\\n\\t\\treEnd = /($|\\\\r?\\\\n)/mg;\\n\\t\\t// Move past any whitespace\\n\\t\\tthis.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);\\n\\t}\\n\\t// Find the end of the definition\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar text,\\n\\t\\tendMatch = reEnd.exec(this.parser.source);\\n\\tif(endMatch) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,endMatch.index);\\n\\t\\tthis.parser.pos = endMatch.index + endMatch[0].length;\\n\\t} else {\\n\\t\\t// We didn't find the end of the definition, so we'll make it blank\\n\\t\\ttext = \\\"\\\";\\n\\t}\\n\\t// Save the macro definition\\n\\tvar parseTreeNodes = [{\\n\\t\\ttype: \\\"set\\\",\\n\\t\\tattributes: {},\\n\\t\\tchildren: [],\\n\\t\\tparams: params\\n\\t}];\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"name\\\",this.match[2]);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"value\\\",text);\\n\\tif(this.match[1] === \\\"function\\\") {\\n\\t\\tparseTreeNodes[0].isFunctionDefinition = true;\\n\\t} else if(this.match[1] === \\\"procedure\\\") {\\n\\t\\tparseTreeNodes[0].isProcedureDefinition = true;\\n\\t} else if(this.match[1] === \\\"widget\\\") {\\n\\t\\tparseTreeNodes[0].isWidgetDefinition = true;\\n\\t}\\n\\tif(this.parser.configTrimWhiteSpace) {\\n\\t\\tparseTreeNodes[0].configTrimWhiteSpace = true;\\n\\t}\\n\\treturn parseTreeNodes;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for marking areas with hard line breaks. For example:\\n\\n```\\n\\\"\\\"\\\"\\nThis is some text\\nThat is set like\\nIt is a Poem\\nWhen it is\\nClearly\\nNot\\n\\\"\\\"\\\"\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"hardlinebreaks\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\"\\\"\\\"(?:\\\\r?\\\\n)?/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /(\\\"\\\"\\\")|(\\\\r?\\\\n)/mg,\\n\\t\\ttree = [],\\n\\t\\tmatch;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tdo {\\n\\t\\t// Parse the run up to the terminator\\n\\t\\ttree.push.apply(tree,this.parser.parseInlineRun(reEnd,{eatTerminator: false}));\\n\\t\\t// Redo the terminator match\\n\\t\\treEnd.lastIndex = this.parser.pos;\\n\\t\\tmatch = reEnd.exec(this.parser.source);\\n\\t\\tif(match) {\\n\\t\\t\\tvar start = this.parser.pos;\\n\\t\\t\\tthis.parser.pos = reEnd.lastIndex;\\n\\t\\t\\t// Add a line break if the terminator was a line break\\n\\t\\t\\tif(match[2]) {\\n\\t\\t\\t\\ttree.push({type: \\\"element\\\", tag: \\\"br\\\", start: start, end: this.parser.pos});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} while(match && !match[1]);\\n\\t// Return the nodes\\n\\treturn tree;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/heading.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/heading.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/heading.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for headings\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"heading\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(!{1,6})/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get all the details of the match\\n\\tvar headingLevel = this.match[1].length;\\n\\t// Move past the !s\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse any classes, whitespace and then the heading itself\\n\\tvar classStart = this.parser.pos;\\n\\tvar classes = this.parser.parseClasses();\\n\\tvar classEnd = this.parser.pos;\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\tvar tree = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t// Return the heading\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"h\\\" + headingLevel,\\n\\t\\tattributes: {\\n\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: classes.join(\\\" \\\"), start: classStart, end: classEnd}\\n\\t\\t},\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/horizrule.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/horizrule.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/horizrule.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for rules. For example:\\n\\n```\\n---\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"horizrule\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /-{3,}\\\\r?(?:\\\\n|$)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\treturn [{type: \\\"element\\\", tag: \\\"hr\\\"}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/html.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/html.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/html.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki rule for HTML elements and widgets. For example:\\n\\n{{{\\n<aside>\\nThis is an HTML5 aside element\\n</aside>\\n\\n<$slider target=\\\"MyTiddler\\\">\\nThis is a widget invocation\\n</$slider>\\n\\n}}}\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"html\\\";\\nexports.types = {inline: true, block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Find the next tag\\n\\tthis.nextTag = this.findNextTag(this.parser.source,startPos,{\\n\\t\\trequireLineBreak: this.is.block\\n\\t});\\n\\treturn this.nextTag ? this.nextTag.start : undefined;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Retrieve the most recent match so that recursive calls don't overwrite it\\n\\tvar tag = this.nextTag;\\n\\tif (!tag.isSelfClosing) {\\n\\t\\ttag.openTagStart = tag.start;\\n\\t\\ttag.openTagEnd = tag.end;\\n\\t}\\n\\tthis.nextTag = null;\\n\\t// Advance the parser position to past the tag\\n\\tthis.parser.pos = tag.end;\\n\\t// Check for an immediately following double linebreak\\n\\tvar hasLineBreak = !tag.isSelfClosing && !!$tw.utils.parseTokenRegExp(this.parser.source,this.parser.pos,/([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n\\t// Set whether we're in block mode\\n\\ttag.isBlock = this.is.block || hasLineBreak;\\n\\t// Parse the body if we need to\\n\\tif(!tag.isSelfClosing && $tw.config.htmlVoidElements.indexOf(tag.tag) === -1) {\\n\\t\\tvar reEndString = \\\"</\\\" + $tw.utils.escapeRegExp(tag.tag) + \\\">\\\";\\n\\t\\tif(hasLineBreak) {\\n\\t\\t\\ttag.children = this.parser.parseBlocks(reEndString);\\n\\t\\t} else {\\n\\t\\t\\tvar reEnd = new RegExp(\\\"(\\\" + reEndString + \\\")\\\",\\\"mg\\\");\\n\\t\\t\\ttag.children = this.parser.parseInlineRun(reEnd,{eatTerminator: true});\\n\\t\\t}\\n\\t\\ttag.end = this.parser.pos;\\n\\t\\ttag.closeTagEnd = tag.end;\\n\\t\\tif (tag.closeTagEnd === tag.openTagEnd || this.parser.source[tag.closeTagEnd - 1] !== '>') {\\n\\t\\t\\ttag.closeTagStart = tag.end;\\n\\t\\t} else {\\n\\t\\t\\ttag.closeTagStart = tag.closeTagEnd - 2;\\n\\t\\t\\tvar closeTagMinPos = tag.children.length > 0 ? tag.children[tag.children.length-1].end : tag.openTagEnd;\\n\\t\\t\\tif (!Number.isSafeInteger(closeTagMinPos)) closeTagMinPos = tag.openTagEnd;\\n\\t\\t\\twhile (tag.closeTagStart >= closeTagMinPos) {\\n\\t\\t\\t\\tvar char = this.parser.source[tag.closeTagStart];\\n\\t\\t\\t\\tif (char === '>') {\\n\\t\\t\\t\\t\\ttag.closeTagStart = -1;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (char === '<') break;\\n\\t\\t\\t\\ttag.closeTagStart -= 1;\\n\\t\\t\\t}\\n\\t\\t\\tif (tag.closeTagStart < closeTagMinPos) {\\n\\t\\t\\t\\ttag.closeTagStart = tag.end;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Return the tag\\n\\treturn [tag];\\n};\\n\\n/*\\nLook for an HTML tag. Returns null if not found, otherwise returns {type: \\\"element\\\", name:, attributes: {}, orderedAttributes: [], isSelfClosing:, start:, end:,}\\n*/\\nexports.parseTag = function(source,pos,options) {\\n\\toptions = options || {};\\n\\tvar token,\\n\\t\\tnode = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tattributes: {},\\n\\t\\t\\torderedAttributes: []\\n\\t\\t};\\n\\t// Define our regexps\\n\\tvar reTagName = /([a-zA-Z0-9\\\\-\\\\$\\\\.]+)/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a less than sign\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"<\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Get the tag name\\n\\ttoken = $tw.utils.parseTokenRegExp(source,pos,reTagName);\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tnode.tag = token.match[1];\\n\\tif(node.tag.charAt(0) === \\\"$\\\") {\\n\\t\\tnode.type = node.tag.substr(1);\\n\\t}\\n\\tpos = token.end;\\n\\t// Check that the tag is terminated by a space, / or >\\n\\tif(!$tw.utils.parseWhiteSpace(source,pos) && !(source.charAt(pos) === \\\"/\\\") && !(source.charAt(pos) === \\\">\\\") ) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Process attributes\\n\\tvar attribute = $tw.utils.parseAttribute(source,pos);\\n\\twhile(attribute) {\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t\\tnode.attributes[attribute.name] = attribute;\\n\\t\\tpos = attribute.end;\\n\\t\\t// Get the next attribute\\n\\t\\tattribute = $tw.utils.parseAttribute(source,pos);\\n\\t}\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a closing slash\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"/\\\");\\n\\tif(token) {\\n\\t\\tpos = token.end;\\n\\t\\tnode.isSelfClosing = true;\\n\\t}\\n\\t// Look for a greater than sign\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\">\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Check for a required line break\\n\\tif(options.requireLineBreak) {\\n\\t\\ttoken = $tw.utils.parseTokenRegExp(source,pos,/([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n\\t\\tif(!token) {\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t}\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\nexports.findNextTag = function(source,pos,options) {\\n\\t// A regexp for finding candidate HTML tags\\n\\tvar reLookahead = /<([a-zA-Z\\\\-\\\\$\\\\.]+)/g;\\n\\t// Find the next candidate\\n\\treLookahead.lastIndex = pos;\\n\\tvar match = reLookahead.exec(source);\\n\\twhile(match) {\\n\\t\\t// Try to parse the candidate as a tag\\n\\t\\tvar tag = this.parseTag(source,match.index,options);\\n\\t\\t// Return success\\n\\t\\tif(tag && this.isLegalTag(tag)) {\\n\\t\\t\\treturn tag;\\n\\t\\t}\\n\\t\\t// Look for the next match\\n\\t\\treLookahead.lastIndex = match.index + 1;\\n\\t\\tmatch = reLookahead.exec(source);\\n\\t}\\n\\t// Failed\\n\\treturn null;\\n};\\n\\nexports.isLegalTag = function(tag) {\\n\\t// Widgets are always OK\\n\\tif(tag.type !== \\\"element\\\") {\\n\\t\\treturn true;\\n\\t// If it's an HTML tag that starts with a dash then it's not legal\\n\\t} else if(tag.tag.charAt(0) === \\\"-\\\") {\\n\\t\\treturn false;\\n\\t} else {\\n\\t\\t// Otherwise it's OK\\n\\t\\treturn true;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/image.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/image.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/image.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for embedding images. For example:\\n\\n```\\n[img[https://tiddlywiki.com/fractalveg.jpg]]\\n[img width=23 height=24 [https://tiddlywiki.com/fractalveg.jpg]]\\n[img width={{!!width}} height={{!!height}} [https://tiddlywiki.com/fractalveg.jpg]]\\n[img[Description of image|https://tiddlywiki.com/fractalveg.jpg]]\\n[img[TiddlerTitle]]\\n[img[Description of image|TiddlerTitle]]\\n```\\n\\nGenerates the `<$image>` widget.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"image\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Find the next tag\\n\\tthis.nextImage = this.findNextImage(this.parser.source,startPos);\\n\\treturn this.nextImage ? this.nextImage.start : undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.nextImage.end;\\n\\tvar node = {\\n\\t\\ttype: \\\"image\\\",\\n\\t\\tattributes: this.nextImage.attributes\\n\\t};\\n\\treturn [node];\\n};\\n\\n/*\\nFind the next image from the current position\\n*/\\nexports.findNextImage = function(source,pos) {\\n\\t// A regexp for finding candidate HTML tags\\n\\tvar reLookahead = /(\\\\[img)/g;\\n\\t// Find the next candidate\\n\\treLookahead.lastIndex = pos;\\n\\tvar match = reLookahead.exec(source);\\n\\twhile(match) {\\n\\t\\t// Try to parse the candidate as a tag\\n\\t\\tvar tag = this.parseImage(source,match.index);\\n\\t\\t// Return success\\n\\t\\tif(tag) {\\n\\t\\t\\treturn tag;\\n\\t\\t}\\n\\t\\t// Look for the next match\\n\\t\\treLookahead.lastIndex = match.index + 1;\\n\\t\\tmatch = reLookahead.exec(source);\\n\\t}\\n\\t// Failed\\n\\treturn null;\\n};\\n\\n/*\\nLook for an image at the specified position. Returns null if not found, otherwise returns {type: \\\"image\\\", attributes: [], isSelfClosing:, start:, end:,}\\n*/\\nexports.parseImage = function(source,pos) {\\n\\tvar token,\\n\\t\\tnode = {\\n\\t\\t\\ttype: \\\"image\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tattributes: {}\\n\\t\\t};\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the `[img`\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"[img\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Process attributes\\n\\tif(source.charAt(pos) !== \\\"[\\\") {\\n\\t\\tvar attribute = $tw.utils.parseAttribute(source,pos);\\n\\t\\twhile(attribute) {\\n\\t\\t\\tnode.attributes[attribute.name] = attribute;\\n\\t\\t\\tpos = attribute.end;\\n\\t\\t\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t\\t\\tif(source.charAt(pos) !== \\\"[\\\") {\\n\\t\\t\\t\\t// Get the next attribute\\n\\t\\t\\t\\tattribute = $tw.utils.parseAttribute(source,pos);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tattribute = null;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the `[` after the attributes\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"[\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Get the source up to the terminating `]]`\\n\\ttoken = $tw.utils.parseTokenRegExp(source,pos,/(?:([^|\\\\]]*?)\\\\|)?([^\\\\]]+?)\\\\]\\\\]/g);\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\tif(token.match[1]) {\\n\\t\\tnode.attributes.tooltip = {type: \\\"string\\\", value: token.match[1].trim(),start: token.start,end:token.start + token.match[1].length - 1};\\n\\t}\\n\\tnode.attributes.source = {type: \\\"string\\\", value: (token.match[2] || \\\"\\\").trim(), start: token.start + (token.match[1] ? token.match[1].length : 0), end: token.end - 2};\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/import.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/import.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/import.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for importing variable definitions\\n\\n```\\n\\\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"import\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\import[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar self = this;\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the filter terminated by a line break\\n\\tvar reMatch = /(.*)(?:$|\\\\r?\\\\n)/mg;\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar filterStart = this.parser.source;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\tthis.parser.pos = reMatch.lastIndex;\\n\\t// Parse tree nodes to return\\n\\treturn [{\\n\\t\\ttype: \\\"importvariables\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tfilter: {type: \\\"string\\\", value: match[1], start: filterStart, end: this.parser.pos}\\n\\t\\t},\\n\\t\\tchildren: []\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/list.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/list.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/list.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for lists. For example:\\n\\n```\\n* This is an unordered list\\n* It has two items\\n\\n# This is a numbered list\\n## With a subitem\\n# And a third item\\n\\n; This is a term that is being defined\\n: This is the definition of that term\\n```\\n\\nNote that lists can be nested arbitrarily:\\n\\n```\\n#** One\\n#* Two\\n#** Three\\n#**** Four\\n#**# Five\\n#**## Six\\n## Seven\\n### Eight\\n## Nine\\n```\\n\\nA CSS class can be applied to a list item as follows:\\n\\n```\\n* List item one\\n*.active List item two has the class `active`\\n* List item three\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"list\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /([\\\\*#;:>]+)/mg;\\n};\\n\\nvar listTypes = {\\n\\t\\\"*\\\": {listTag: \\\"ul\\\", itemTag: \\\"li\\\"},\\n\\t\\\"#\\\": {listTag: \\\"ol\\\", itemTag: \\\"li\\\"},\\n\\t\\\";\\\": {listTag: \\\"dl\\\", itemTag: \\\"dt\\\"},\\n\\t\\\":\\\": {listTag: \\\"dl\\\", itemTag: \\\"dd\\\"},\\n\\t\\\">\\\": {listTag: \\\"blockquote\\\", itemTag: \\\"div\\\"}\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Array of parse tree nodes for the previous row of the list\\n\\tvar listStack = [];\\n\\t// Cycle through the items in the list\\n\\twhile(true) {\\n\\t\\t// Match the list marker\\n\\t\\tvar reMatch = /([\\\\*#;:>]+)/mg;\\n\\t\\treMatch.lastIndex = this.parser.pos;\\n\\t\\tvar start = this.parser.pos;\\n\\t\\tvar match = reMatch.exec(this.parser.source);\\n\\t\\tif(!match || match.index !== this.parser.pos) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Check whether the list type of the top level matches\\n\\t\\tvar listInfo = listTypes[match[0].charAt(0)];\\n\\t\\tif(listStack.length > 0 && listStack[0].tag !== listInfo.listTag) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Move past the list marker\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t\\t// Walk through the list markers for the current row\\n\\t\\tfor(var t=0; t<match[0].length; t++) {\\n\\t\\t\\tlistInfo = listTypes[match[0].charAt(t)];\\n\\t\\t\\t// Remove any stacked up element if we can't re-use it because the list type doesn't match\\n\\t\\t\\tif(listStack.length > t && listStack[t].tag !== listInfo.listTag) {\\n\\t\\t\\t\\tlistStack.splice(t,listStack.length - t);\\n\\t\\t\\t}\\n\\t\\t\\t// Construct the list element or reuse the previous one at this level\\n\\t\\t\\tif(listStack.length <= t) {\\n\\t\\t\\t\\tvar listElement = {\\n\\t\\t\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\t\\t\\ttag: listInfo.listTag,\\n\\t\\t\\t\\t\\tchildren: [\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\t\\t\\t\\t\\ttag: listInfo.itemTag,\\n\\t\\t\\t\\t\\t\\t\\tchildren: [],\\n\\t\\t\\t\\t\\t\\t\\tstart: start,\\n\\t\\t\\t\\t\\t\\t\\tend: this.parser.pos,\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t],\\n\\t\\t\\t\\t\\tstart: start,\\n\\t\\t\\t\\t\\tend: this.parser.pos,\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\t// Link this list element into the last child item of the parent list item\\n\\t\\t\\t\\tif(t) {\\n\\t\\t\\t\\t\\tvar prevListItem = listStack[t-1].children[listStack[t-1].children.length-1];\\n\\t\\t\\t\\t\\tprevListItem.children.push(listElement);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Save this element in the stack\\n\\t\\t\\t\\tlistStack[t] = listElement;\\n\\t\\t\\t} else if(t === (match[0].length - 1)) {\\n\\t\\t\\t\\tlistStack[t].children.push({\\n\\t\\t\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\t\\t\\ttag: listInfo.itemTag,\\n\\t\\t\\t\\t\\tchildren: [],\\n\\t\\t\\t\\t\\tstart: start,\\n\\t\\t\\t\\t\\tend: this.parser.pos,\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(listStack.length > match[0].length) {\\n\\t\\t\\tlistStack.splice(match[0].length,listStack.length - match[0].length);\\n\\t\\t}\\n\\t\\t// Process the body of the list item into the last list item\\n\\t\\tvar classStart = this.parser.pos;\\n\\t\\tvar lastListChildren = listStack[listStack.length-1].children,\\n\\t\\t\\tlastListItem = lastListChildren[lastListChildren.length-1],\\n\\t\\t\\tclasses = this.parser.parseClasses();\\n\\t\\tvar classEnd = this.parser.pos;\\n\\t\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\t\\tvar tree = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t\\tlastListItem.children.push.apply(lastListItem.children,tree);\\n\\t\\tlastListItem.end = this.parser.pos;\\n\\t\\tlistStack[listStack.length-1].end = this.parser.pos;\\n\\t\\tif(classes.length > 0) {\\n\\t\\t\\t$tw.utils.addClassToParseTreeNode(lastListItem,classes.join(\\\" \\\"));\\n\\t\\t\\tlastListItem.attributes.class.start = classStart;\\n\\t\\t\\tlastListItem.attributes.class.end = classEnd;\\n\\t\\t}\\n\\t\\t// Consume any whitespace following the list item\\n\\t\\tthis.parser.skipWhitespace();\\n\\t}\\n\\t// Return the root element of the list\\n\\treturn [listStack[0]];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/macrocallblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/macrocallblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrocallblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki rule for block macro calls\\n\\n```\\n<<name value value2>>\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"macrocallblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tvar nextStart = startPos;\\n\\t// Try parsing at all possible macrocall openers until we match\\n\\twhile((nextStart = this.parser.source.indexOf(\\\"<<\\\",nextStart)) >= 0) {\\n\\t\\tvar nextCall = $tw.utils.parseMacroInvocationAsTransclusion(this.parser.source,nextStart);\\n\\t\\tif(nextCall) {\\n\\t\\t\\tvar c = this.parser.source.charAt(nextCall.end);\\n\\t\\t\\t// Ensure EOL after parsed macro\\n\\t\\t\\t// If we didn't need to support IE, we'd just use /(?:\\\\r?\\\\n|$)/ym\\n\\t\\t\\tif ((c === \\\"\\\") || (c === \\\"\\\\n\\\") || ((c === \\\"\\\\r\\\") && this.parser.source.charAt(nextCall.end+1) === \\\"\\\\n\\\")) {\\n\\t\\t\\t\\tthis.nextCall = nextCall;\\n\\t\\t\\t\\treturn nextStart;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tnextStart += 2;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar call = this.nextCall;\\n\\tcall.isBlock = true;\\n\\tthis.nextCall = null;\\n\\tthis.parser.pos = call.end;\\n\\treturn [call];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/macrocallinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/macrocallinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrocallinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki rule for macro calls\\n\\n```\\n<<name value value2>>\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"macrocallinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tvar nextStart = startPos;\\n\\t// Try parsing at all possible macrocall openers until we match\\n\\twhile((nextStart = this.parser.source.indexOf(\\\"<<\\\",nextStart)) >= 0) {\\n\\t\\tthis.nextCall = $tw.utils.parseMacroInvocationAsTransclusion(this.parser.source,nextStart);\\n\\t\\tif(this.nextCall) {\\n\\t\\t\\treturn nextStart;\\n\\t\\t}\\n\\t\\tnextStart += 2;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar call = this.nextCall;\\n\\tthis.nextCall = null;\\n\\tthis.parser.pos = call.end;\\n\\treturn [call];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/macrodef.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/macrodef.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrodef.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for macro definitions\\n\\n```\\n\\\\define name(param:defaultvalue,param2:defaultvalue)\\ndefinition text, including $param$ markers\\n\\\\end\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"macrodef\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\define\\\\s+([^(\\\\s]+)\\\\(\\\\s*([^)]*)\\\\)(\\\\s*\\\\r?\\\\n)?/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the macro name and parameters\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the parameters\\n\\tvar paramString = this.match[2],\\n\\t\\tparams = [];\\n\\tif(paramString !== \\\"\\\") {\\n\\t\\tvar reParam = /\\\\s*([A-Za-z0-9\\\\-_]+)(?:\\\\s*:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|\\\\[\\\\[([^\\\\]]*)\\\\]\\\\]|([^\\\"'\\\\s]+)))?/mg,\\n\\t\\t\\tparamMatch = reParam.exec(paramString);\\n\\t\\twhile(paramMatch) {\\n\\t\\t\\t// Save the parameter details\\n\\t\\t\\tvar paramInfo = {name: paramMatch[1]},\\n\\t\\t\\t\\tdefaultValue = paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5] || paramMatch[6];\\n\\t\\t\\tif(defaultValue) {\\n\\t\\t\\t\\tparamInfo[\\\"default\\\"] = defaultValue;\\n\\t\\t\\t}\\n\\t\\t\\tparams.push(paramInfo);\\n\\t\\t\\t// Look for the next parameter\\n\\t\\t\\tparamMatch = reParam.exec(paramString);\\n\\t\\t}\\n\\t}\\n\\t// Is the remainder of the \\\\define line blank after the parameter close paren?\\n\\tvar reEnd;\\n\\tif(this.match[3]) {\\n\\t\\t// If so, it is a multiline definition and the end of the body is marked with \\\\end\\n\\t\\treEnd = new RegExp(\\\"((?:^|\\\\\\\\r?\\\\\\\\n)[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*\\\\\\\\\\\\\\\\end[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*(?:\\\" + $tw.utils.escapeRegExp(this.match[1]) + \\\")?\\\\\\\\s*?(?:$|\\\\\\\\r?\\\\\\\\n))\\\",\\\"mg\\\");\\n\\t} else {\\n\\t\\t// Otherwise, the end of the definition is marked by the end of the line\\n\\t\\treEnd = /($|\\\\r?\\\\n)/mg;\\n\\t\\t// Move past any whitespace\\n\\t\\tthis.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);\\n\\t}\\n\\t// Find the end of the definition\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar text,\\n\\t\\tendMatch = reEnd.exec(this.parser.source);\\n\\tif(endMatch) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,endMatch.index);\\n\\t\\tthis.parser.pos = endMatch.index + endMatch[0].length;\\n\\t} else {\\n\\t\\t// We didn't find the end of the definition, so we'll make it blank\\n\\t\\ttext = \\\"\\\";\\n\\t}\\n\\t// Save the macro definition\\n\\tvar parseTreeNodes = [{\\n\\t\\ttype: \\\"set\\\",\\n\\t\\tattributes: {},\\n\\t\\tchildren: [],\\n\\t\\tparams: params,\\n\\t\\tisMacroDefinition: true\\n\\t}];\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"name\\\",this.match[1]);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"value\\\",text);\\n\\treturn parseTreeNodes;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/parameters.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/parameters.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/parameters.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for parameter definitions\\n\\n```\\n\\\\parameters(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"parameters\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\parameters\\\\s*\\\\(([^)]*)\\\\)(\\\\s*\\\\r?\\\\n)?/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the macro name and parameters\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the parameters\\n\\tvar params = $tw.utils.parseParameterDefinition(this.match[1]);\\n\\tvar attributes = Object.create(null),\\n\\t\\torderedAttributes = [];\\n\\t$tw.utils.each(params,function(param) {\\n\\t\\tvar name = param.name;\\n\\t\\t// Parameter names starting with dollar must be escaped to double dollars for the parameters widget\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t}\\n\\t\\tvar attribute = {name: name, type: \\\"string\\\", value: param[\\\"default\\\"] || \\\"\\\"};\\n\\t\\tattributes[name] = attribute;\\n\\t\\torderedAttributes.push(attribute);\\n\\t});\\n\\t// Save the macro definition\\n\\treturn [{\\n\\t\\ttype: \\\"parameters\\\",\\n\\t\\tattributes: attributes,\\n\\t\\torderedAttributes: orderedAttributes\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/parsermode.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/parsermode.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/parsermode.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for parser mode specifications\\n\\n```\\n\\\\parsermode block\\n\\\\parsermode inline\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"parsermode\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\parsermode[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse whitespace delimited tokens terminated by a line break\\n\\tvar reMatch = /[^\\\\S\\\\n]*(\\\\S+)|(\\\\r?\\\\n)/mg,\\n\\t\\tparserMode = undefined;\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\twhile(match && match.index === this.parser.pos) {\\n\\t\\tthis.parser.pos = reMatch.lastIndex;\\n\\t\\t// Exit if we've got the line break\\n\\t\\tif(match[2]) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the token\\n\\t\\tif(match[1]) {\\n\\t\\t\\tparserMode = match[1];\\n\\t\\t}\\n\\t\\t// Match the next token\\n\\t\\tmatch = reMatch.exec(this.parser.source);\\n\\t}\\n\\t// Process the tokens\\n\\tif(parserMode !== undefined) {\\n\\t\\tif(parserMode === \\\"block\\\") {\\n\\t\\t\\tthis.parser.parseAsInline = false;\\n\\t\\t} else if(parserMode === \\\"inline\\\") {\\n\\t\\t\\tthis.parser.parseAsInline = true;\\n\\t\\t}\\n\\t}\\n\\t// No parse tree nodes to return\\n\\treturn [];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/prettyextlink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/prettyextlink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/prettyextlink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for external links. For example:\\n\\n```\\n[ext[https://tiddlywiki.com/fractalveg.jpg]]\\n[ext[Tooltip|https://tiddlywiki.com/fractalveg.jpg]]\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"prettyextlink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Find the next tag\\n\\tthis.nextLink = this.findNextLink(this.parser.source,startPos);\\n\\treturn this.nextLink ? this.nextLink.start : undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.nextLink.end;\\n\\treturn [this.nextLink];\\n};\\n\\n/*\\nFind the next link from the current position\\n*/\\nexports.findNextLink = function(source,pos) {\\n\\t// A regexp for finding candidate links\\n\\tvar reLookahead = /(\\\\[ext\\\\[)/g;\\n\\t// Find the next candidate\\n\\treLookahead.lastIndex = pos;\\n\\tvar match = reLookahead.exec(source);\\n\\twhile(match) {\\n\\t\\t// Try to parse the candidate as a link\\n\\t\\tvar link = this.parseLink(source,match.index);\\n\\t\\t// Return success\\n\\t\\tif(link) {\\n\\t\\t\\treturn link;\\n\\t\\t}\\n\\t\\t// Look for the next match\\n\\t\\treLookahead.lastIndex = match.index + 1;\\n\\t\\tmatch = reLookahead.exec(source);\\n\\t}\\n\\t// Failed\\n\\treturn null;\\n};\\n\\n/*\\nLook for an link at the specified position. Returns null if not found, otherwise returns {type: \\\"element\\\", tag: \\\"a\\\", attributes: [], isSelfClosing:, start:, end:,}\\n*/\\nexports.parseLink = function(source,pos) {\\n\\tvar token,\\n\\t\\ttextNode = {\\n\\t\\t\\ttype: \\\"text\\\"\\n\\t\\t},\\n\\t\\tnode = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"a\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: \\\"tc-tiddlylink-external\\\"},\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [textNode]\\n\\t\\t};\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the `[ext[`\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"[ext[\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Look ahead for the terminating `]]`\\n\\tvar closePos = source.indexOf(\\\"]]\\\",pos);\\n\\tif(closePos === -1) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Look for a `|` separating the tooltip\\n\\tvar splitPos = source.indexOf(\\\"|\\\",pos);\\n\\tif(splitPos === -1 || splitPos > closePos) {\\n\\t\\tsplitPos = null;\\n\\t}\\n\\t// Pull out the tooltip and URL\\n\\tvar tooltip, URL, urlStart;\\n\\ttextNode.start = pos;\\n\\tif(splitPos) {\\n\\t\\turlStart = splitPos + 1;\\n\\t\\tURL = source.substring(splitPos + 1,closePos).trim();\\n\\t\\ttextNode.text = source.substring(pos,splitPos).trim();\\n\\t\\ttextNode.end = splitPos;\\n\\t} else {\\n\\t\\turlStart = pos;\\n\\t\\tURL = source.substring(pos,closePos).trim();\\n\\t\\ttextNode.text = URL;\\n\\t\\ttextNode.end = closePos;\\n\\t}\\n\\tnode.attributes.href = {type: \\\"string\\\", value: URL, start: urlStart, end: closePos};\\n\\tnode.attributes.target = {type: \\\"string\\\", value: \\\"_blank\\\"};\\n\\tnode.attributes.rel = {type: \\\"string\\\", value: \\\"noopener noreferrer\\\"};\\n\\t// Update the end position\\n\\tnode.end = closePos + 2;\\n\\treturn node;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/prettylink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/prettylink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/prettylink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for pretty links. For example:\\n\\n```\\n[[Introduction]]\\n\\n[[Link description|TiddlerTitle]]\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"prettylink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\[\\\\[(.*?)(?:\\\\|(.*?))?\\\\]\\\\]/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tvar start = this.parser.pos + 2;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Process the link\\n\\tvar text = this.match[1],\\n\\t\\tlink = this.match[2] || text,\\n\\t\\ttextEndPos = this.parser.source.indexOf(\\\"|\\\", start);\\n\\tif (textEndPos < 0 || textEndPos > this.matchRegExp.lastIndex) {\\n\\t\\ttextEndPos = this.matchRegExp.lastIndex - 2;\\n\\t}\\n\\tvar linkStart = this.match[2] ? (start + this.match[1].length + 1) : start;\\n\\tvar linkEnd = linkStart + link.length;\\n\\tif($tw.utils.isLinkExternal(link)) {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"a\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\thref: {type: \\\"string\\\", value: link, start: linkStart, end: linkEnd},\\n\\t\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: \\\"tc-tiddlylink-external\\\"},\\n\\t\\t\\t\\ttarget: {type: \\\"string\\\", value: \\\"_blank\\\"},\\n\\t\\t\\t\\trel: {type: \\\"string\\\", value: \\\"noopener noreferrer\\\"}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\", text: text, start: start, end: textEndPos\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t} else {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"link\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tto: {type: \\\"string\\\", value: link, start: linkStart, end: linkEnd}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\", text: text, start: start, end: textEndPos\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/quoteblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/quoteblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/quoteblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for quote blocks.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"quoteblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(<<<+)/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar classes = [\\\"tc-quote\\\"];\\n\\t// Get all the details of the match\\n\\tvar reEndString = \\\"^\\\\\\\\s*\\\" + this.match[1] + \\\"(?!<)\\\";\\n\\t// Move past the <s\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse any classes, whitespace and then the optional cite itself\\n\\tvar classStart = this.parser.pos;\\n\\tclasses.push.apply(classes, this.parser.parseClasses());\\n\\tvar classEnd = this.parser.pos;\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\tvar citeStart = this.parser.pos;\\n\\tvar cite = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\tvar citeEnd = this.parser.pos;\\n\\t// before handling the cite, parse the body of the quote\\n\\tvar tree = this.parser.parseBlocks(reEndString);\\n\\t// If we got a cite, put it before the text\\n\\tif(cite.length > 0) {\\n\\t\\ttree.unshift({\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"cite\\\",\\n\\t\\t\\tchildren: cite,\\n\\t\\t\\tstart: citeStart,\\n\\t\\t\\tend: citeEnd\\n\\t\\t});\\n\\t}\\n\\t// Parse any optional cite\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\tciteStart = this.parser.pos;\\n\\tcite = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\tciteEnd = this.parser.pos;\\n\\t// If we got a cite, push it\\n\\tif(cite.length > 0) {\\n\\t\\ttree.push({\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"cite\\\",\\n\\t\\t\\tchildren: cite,\\n\\t\\t\\tstart: citeStart,\\n\\t\\t\\tend: citeEnd\\n\\t\\t});\\n\\t}\\n\\t// Return the blockquote element\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"blockquote\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tclass: { type: \\\"string\\\", value: classes.join(\\\" \\\"), start: classStart, end: classEnd },\\n\\t\\t},\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/rules.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/rules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/rules.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for rules specifications\\n\\n```\\n\\\\rules except ruleone ruletwo rulethree\\n\\\\rules only ruleone ruletwo rulethree\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"rules\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\rules[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse whitespace delimited tokens terminated by a line break\\n\\tvar reMatch = /[^\\\\S\\\\n]*(\\\\S+)|(\\\\r?\\\\n)/mg,\\n\\t\\ttokens = [];\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\twhile(match && match.index === this.parser.pos) {\\n\\t\\tthis.parser.pos = reMatch.lastIndex;\\n\\t\\t// Exit if we've got the line break\\n\\t\\tif(match[2]) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the token\\n\\t\\tif(match[1]) {\\n\\t\\t\\ttokens.push(match[1]);\\n\\t\\t}\\n\\t\\t// Match the next token\\n\\t\\tmatch = reMatch.exec(this.parser.source);\\n\\t}\\n\\t// Process the tokens\\n\\tif(tokens.length > 0) {\\n\\t\\tthis.parser.amendRules(tokens[0],tokens.slice(1));\\n\\t}\\n\\t// No parse tree nodes to return\\n\\treturn [];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/styleblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/styleblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/styleblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for assigning styles and classes to paragraphs and other blocks. For example:\\n\\n```\\n@@.myClass\\n@@background-color:red;\\nThis paragraph will have the CSS class `myClass`.\\n\\n* The `<ul>` around this list will also have the class `myClass`\\n* List item 2\\n\\n@@\\n```\\n\\nNote that classes and styles can be mixed subject to the rule that styles must precede classes. For example\\n\\n```\\n@@.myFirstClass.mySecondClass\\n@@width:100px;.myThirdClass\\nThis is a paragraph\\n@@\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"styleblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /@@((?:[^\\\\.\\\\r\\\\n\\\\s:]+:[^\\\\r\\\\n;]+;)+)?(?:\\\\.([^\\\\r\\\\n\\\\s]+))?\\\\r?\\\\n/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEndString = \\\"^@@(?:\\\\\\\\r?\\\\\\\\n)?\\\";\\n\\tvar classes = [], styles = [];\\n\\tdo {\\n\\t\\t// Get the class and style\\n\\t\\tif(this.match[1]) {\\n\\t\\t\\tstyles.push(this.match[1]);\\n\\t\\t}\\n\\t\\tif(this.match[2]) {\\n\\t\\t\\tclasses.push(this.match[2].split(\\\".\\\").join(\\\" \\\"));\\n\\t\\t}\\n\\t\\t// Move past the match\\n\\t\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t\\t// Look for another line of classes and styles\\n\\t\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\t} while(this.match && this.match.index === this.parser.pos);\\n\\t// Parse the body\\n\\tvar tree = this.parser.parseBlocks(reEndString);\\n\\tfor(var t=0; t<tree.length; t++) {\\n\\t\\tif(classes.length > 0) {\\n\\t\\t\\t$tw.utils.addClassToParseTreeNode(tree[t],classes.join(\\\" \\\"));\\n\\t\\t}\\n\\t\\tif(styles.length > 0) {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(tree[t],\\\"style\\\",styles.join(\\\"\\\"));\\n\\t\\t}\\n\\t}\\n\\treturn tree;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/styleinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/styleinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/styleinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for assigning styles and classes to inline runs. For example:\\n\\n```\\n@@.myClass This is some text with a class@@\\n@@background-color:red;This is some text with a background colour@@\\n@@width:100px;.myClass This is some text with a class and a width@@\\n```\\n\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"styleinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /@@((?:[^\\\\.\\\\r\\\\n\\\\s:]+:[^\\\\r\\\\n;]+;)+)?(\\\\.(?:[^\\\\r\\\\n\\\\s]+)\\\\s+)?/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /@@/g;\\n\\t// Get the styles and class\\n\\tvar stylesString = this.match[1],\\n\\t\\tclassString = this.match[2] ? this.match[2].split(\\\".\\\").join(\\\" \\\") : undefined;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the run up to the terminator\\n\\tvar tree = this.parser.parseInlineRun(reEnd,{eatTerminator: true});\\n\\t// Return the classed span\\n\\tvar node = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"span\\\",\\n\\t\\tchildren: tree\\n\\t};\\n\\tif(classString) {\\n\\t\\t$tw.utils.addClassToParseTreeNode(node,classString);\\n\\t}\\n\\tif(stylesString) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(node,\\\"style\\\",stylesString);\\n\\t}\\n\\tif(!classString && !stylesString) {\\n\\t\\t$tw.utils.addClassToParseTreeNode(node,\\\"tc-inline-style\\\");\\n\\t}\\n\\treturn [node];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/syslink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/syslink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/syslink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for system tiddler links.\\nCan be suppressed preceding them with `~`.\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"syslink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = new RegExp(\\n\\t\\t\\\"~?\\\\\\\\$:\\\\\\\\/[\\\" +\\n\\t\\t$tw.config.textPrimitives.anyLetter.substr(1,$tw.config.textPrimitives.anyLetter.length - 2) +\\n\\t\\t\\\"\\\\/._-]+\\\",\\n\\t\\t\\\"mg\\\"\\n\\t);\\n};\\n\\nexports.parse = function() {\\n\\tvar match = this.match[0];\\n\\t// Move past the match\\n\\tvar start = this.parser.pos;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Create the link unless it is suppressed\\n\\tif(match.substr(0,1) === \\\"~\\\") {\\n\\t\\treturn [{type: \\\"text\\\", text: match.substr(1), start: start+1, end: this.parser.pos}];\\n\\t} else {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"link\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tto: {type: \\\"string\\\", value: match}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\ttext: match,\\n\\t\\t\\t\\tstart: start,\\n\\t\\t\\t\\tend: this.parser.pos\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/table.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/table.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/table.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for tables.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"table\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /^\\\\|(?:[^\\\\n]*)\\\\|(?:[fhck]?)\\\\r?(?:\\\\n|$)/mg;\\n};\\n\\nvar processRow = function(prevColumns) {\\n\\tvar cellRegExp = /(?:\\\\|([^\\\\n\\\\|]*)\\\\|)|(\\\\|[fhck]?\\\\r?(?:\\\\n|$))/mg,\\n\\t\\tcellTermRegExp = /((?:\\\\x20*)\\\\|)/mg,\\n\\t\\ttree = [],\\n\\t\\tcol = 0,\\n\\t\\tcolSpanCount = 1,\\n\\t\\tprevCell,\\n\\t\\tvAlign;\\n\\t// Match a single cell\\n\\tcellRegExp.lastIndex = this.parser.pos;\\n\\tvar cellMatch = cellRegExp.exec(this.parser.source);\\n\\twhile(cellMatch && cellMatch.index === this.parser.pos) {\\n\\t\\tif(cellMatch[1] === \\\"~\\\") {\\n\\t\\t\\t// Rowspan\\n\\t\\t\\tvar last = prevColumns[col];\\n\\t\\t\\tif(last) {\\n\\t\\t\\t\\tlast.rowSpanCount++;\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(last.element,\\\"rowspan\\\",last.rowSpanCount);\\n\\t\\t\\t\\tvAlign = $tw.utils.getAttributeValueFromParseTreeNode(last.element,\\\"valign\\\",\\\"center\\\");\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(last.element,\\\"valign\\\",vAlign);\\n\\t\\t\\t\\tif(colSpanCount > 1) {\\n\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(last.element,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\t\\t\\tcolSpanCount = 1;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t} else if(cellMatch[1] === \\\">\\\") {\\n\\t\\t\\t// Colspan\\n\\t\\t\\tcolSpanCount++;\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t} else if(cellMatch[1] === \\\"<\\\" && prevCell) {\\n\\t\\t\\tcolSpanCount = 1 + $tw.utils.getAttributeValueFromParseTreeNode(prevCell,\\\"colspan\\\",1);\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(prevCell,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\tcolSpanCount = 1;\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t} else if(cellMatch[2]) {\\n\\t\\t\\t// End of row\\n\\t\\t\\tif(prevCell && colSpanCount > 1) {\\n\\t\\t\\t\\tif(prevCell.attributes && prevCell.attributes && prevCell.attributes.colspan) {\\n\\t\\t\\t\\t\\t\\tcolSpanCount += prevCell.attributes.colspan.value;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tcolSpanCount -= 1;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(prevCell,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\t}\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t\\tbreak;\\n\\t\\t} else {\\n\\t\\t\\t// For ordinary cells, step beyond the opening `|`\\n\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t// Look for a space at the start of the cell\\n\\t\\t\\tvar spaceLeft = false;\\n\\t\\t\\tvAlign = null;\\n\\t\\t\\tif(this.parser.source.substr(this.parser.pos).search(/^\\\\^([^\\\\^]|\\\\^\\\\^)/) === 0) {\\n\\t\\t\\t\\tvAlign = \\\"top\\\";\\n\\t\\t\\t} else if(this.parser.source.substr(this.parser.pos).search(/^,([^,]|,,)/) === 0) {\\n\\t\\t\\t\\tvAlign = \\\"bottom\\\";\\n\\t\\t\\t}\\n\\t\\t\\tif(vAlign) {\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t}\\n\\t\\t\\tvar chr = this.parser.source.substr(this.parser.pos,1);\\n\\t\\t\\twhile(chr === \\\" \\\") {\\n\\t\\t\\t\\tspaceLeft = true;\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\tchr = this.parser.source.substr(this.parser.pos,1);\\n\\t\\t\\t}\\n\\t\\t\\t// Check whether this is a heading cell\\n\\t\\t\\tvar cell;\\n\\t\\t\\tvar start = this.parser.pos;\\n\\t\\t\\tif(chr === \\\"!\\\") {\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\tcell = {type: \\\"element\\\", tag: \\\"th\\\", start: start, children: []};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tcell = {type: \\\"element\\\", tag: \\\"td\\\", start: start, children: []};\\n\\t\\t\\t}\\n\\t\\t\\ttree.push(cell);\\n\\t\\t\\t// Record information about this cell\\n\\t\\t\\tprevCell = cell;\\n\\t\\t\\tprevColumns[col] = {rowSpanCount:1,element:cell};\\n\\t\\t\\t// Check for a colspan\\n\\t\\t\\tif(colSpanCount > 1) {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\t\\tcolSpanCount = 1;\\n\\t\\t\\t}\\n\\t\\t\\t// Parse the cell\\n\\t\\t\\tcell.children = this.parser.parseInlineRun(cellTermRegExp,{eatTerminator: true});\\n\\t\\t\\t// Set the alignment for the cell\\n\\t\\t\\tif(vAlign) {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"valign\\\",vAlign);\\n\\t\\t\\t}\\n\\t\\t\\tif(this.parser.source.substr(this.parser.pos - 2,1) === \\\" \\\") { // spaceRight\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"align\\\",spaceLeft ? \\\"center\\\" : \\\"left\\\");\\n\\t\\t\\t} else if(spaceLeft) {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"align\\\",\\\"right\\\");\\n\\t\\t\\t}\\n\\t\\t\\t// Move back to the closing `|`\\n\\t\\t\\tthis.parser.pos--;\\n\\t\\t\\tcell.end = this.parser.pos;\\n\\t\\t}\\n\\t\\tcol++;\\n\\t\\tcellRegExp.lastIndex = this.parser.pos;\\n\\t\\tcellMatch = cellRegExp.exec(this.parser.source);\\n\\t}\\n\\treturn tree;\\n};\\n\\nexports.parse = function() {\\n\\tvar rowContainerTypes = {\\\"c\\\":\\\"caption\\\", \\\"h\\\":\\\"thead\\\", \\\"\\\":\\\"tbody\\\", \\\"f\\\":\\\"tfoot\\\"},\\n\\t\\ttable = {type: \\\"element\\\", tag: \\\"table\\\", children: []},\\n\\t\\trowRegExp = /^\\\\|([^\\\\n]*)\\\\|([fhck]?)\\\\r?(?:\\\\n|$)/mg,\\n\\t\\trowTermRegExp = /(\\\\|(?:[fhck]?)\\\\r?(?:\\\\n|$))/mg,\\n\\t\\tprevColumns = [],\\n\\t\\tcurrRowType,\\n\\t\\trowContainer,\\n\\t\\trowCount = 0;\\n\\t// Match the row\\n\\trowRegExp.lastIndex = this.parser.pos;\\n\\tvar rowMatch = rowRegExp.exec(this.parser.source);\\n\\twhile(rowMatch && rowMatch.index === this.parser.pos) {\\n\\t\\tvar rowType = rowMatch[2];\\n\\t\\t// Check if it is a class assignment\\n\\t\\tif(rowType === \\\"k\\\") {\\n\\t\\t\\t$tw.utils.addClassToParseTreeNode(table,rowMatch[1]);\\n\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t} else {\\n\\t\\t\\t// Otherwise, create a new row if this one is of a different type\\n\\t\\t\\tif(rowType !== currRowType) {\\n\\t\\t\\t\\trowContainer = {type: \\\"element\\\", tag: rowContainerTypes[rowType], children: [], start: this.parser.pos, end: this.parser.pos};\\n\\t\\t\\t\\ttable.children.push(rowContainer);\\n\\t\\t\\t\\tcurrRowType = rowType;\\n\\t\\t\\t}\\n\\t\\t\\t// Is this a caption row?\\n\\t\\t\\tif(currRowType === \\\"c\\\") {\\n\\t\\t\\t\\t// If so, move past the opening `|` of the row\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\t// Move the caption to the first row if it isn't already\\n\\t\\t\\t\\tif(table.children.length !== 1) {\\n\\t\\t\\t\\t\\ttable.children.pop(); // Take rowContainer out of the children array\\n\\t\\t\\t\\t\\ttable.children.splice(0,0,rowContainer); // Insert it at the bottom\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Set the alignment - TODO: figure out why TW did this\\n//\\t\\t\\t\\trowContainer.attributes.align = rowCount === 0 ? \\\"top\\\" : \\\"bottom\\\";\\n\\t\\t\\t\\t// Parse the caption\\n\\t\\t\\t\\trowContainer.children = this.parser.parseInlineRun(rowTermRegExp,{eatTerminator: true});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Create the row\\n\\t\\t\\t\\tvar theRow = {type: \\\"element\\\", tag: \\\"tr\\\", children: [], start: rowMatch.index};\\n\\t\\t\\t\\t$tw.utils.addClassToParseTreeNode(theRow,rowCount%2 ? \\\"oddRow\\\" : \\\"evenRow\\\");\\n\\t\\t\\t\\trowContainer.children.push(theRow);\\n\\t\\t\\t\\t// Process the row\\n\\t\\t\\t\\ttheRow.children = processRow.call(this,prevColumns);\\n\\t\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t\\t\\ttheRow.end = this.parser.pos;\\n\\t\\t\\t\\t// Increment the row count\\n\\t\\t\\t\\trowCount++;\\n\\t\\t\\t}\\n\\t\\t\\trowContainer.end = this.parser.pos;\\n\\t\\t}\\n\\t\\trowMatch = rowRegExp.exec(this.parser.source);\\n\\t}\\n\\treturn [table];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/transcludeblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/transcludeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/transcludeblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for block-level transclusion. For example:\\n\\n```\\n{{MyTiddler}}\\n{{MyTiddler||TemplateTitle}}\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"transcludeblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{([^\\\\{\\\\}\\\\|]*)(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|([^\\\\{\\\\}]+))?\\\\}\\\\}(?:\\\\r?\\\\n|$)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar template = $tw.utils.trim(this.match[2]),\\n\\t\\ttextRef = $tw.utils.trim(this.match[1]),\\n\\t\\tparams = this.match[3] ? this.match[3].split(\\\"|\\\") : [];\\n\\t// Prepare the transclude widget\\n\\tvar transcludeNode = {\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {},\\n\\t\\t\\tisBlock: true\\n\\t\\t};\\n\\t$tw.utils.each(params,function(paramValue,index) {\\n\\t\\tvar name = \\\"\\\" + index;\\n\\t\\ttranscludeNode.attributes[name] = {\\n\\t\\t\\tname: name,\\n\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\tvalue: paramValue\\n\\t\\t}\\n\\t});\\n\\t// Prepare the tiddler widget\\n\\tvar tr, targetTitle, targetField, targetIndex, tiddlerNode;\\n\\tif(textRef) {\\n\\t\\ttr = $tw.utils.parseTextReference(textRef);\\n\\t\\ttargetTitle = tr.title;\\n\\t\\ttargetField = tr.field;\\n\\t\\ttargetIndex = tr.index;\\n\\t\\ttiddlerNode = {\\n\\t\\t\\ttype: \\\"tiddler\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {name: \\\"tiddler\\\", type: \\\"string\\\", value: targetTitle}\\n\\t\\t\\t},\\n\\t\\t\\tisBlock: true,\\n\\t\\t\\tchildren: [transcludeNode]\\n\\t\\t};\\n\\t}\\n\\tif(template) {\\n\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: template};\\n\\t\\tif(textRef) {\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(textRef) {\\n\\t\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: targetTitle};\\n\\t\\t\\tif(targetField) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$field\\\"] = {name: \\\"$field\\\", type: \\\"string\\\", value: targetField};\\n\\t\\t\\t}\\n\\t\\t\\tif(targetIndex) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$index\\\"] = {name: \\\"$index\\\", type: \\\"string\\\", value: targetIndex};\\n\\t\\t\\t}\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/transcludeinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/transcludeinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/transcludeinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for inline-level transclusion. For example:\\n\\n```\\n{{MyTiddler}}\\n{{MyTiddler||TemplateTitle}}\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"transcludeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{([^\\\\{\\\\}\\\\|]*)(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|([^\\\\{\\\\}]+))?\\\\}\\\\}/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar template = $tw.utils.trim(this.match[2]),\\n\\t\\ttextRef = $tw.utils.trim(this.match[1]),\\n\\t\\tparams = this.match[3] ? this.match[3].split(\\\"|\\\") : [];\\n\\t// Prepare the transclude widget\\n\\tvar transcludeNode = {\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {}\\n\\t\\t};\\n\\t$tw.utils.each(params,function(paramValue,index) {\\n\\t\\tvar name = \\\"\\\" + index;\\n\\t\\ttranscludeNode.attributes[name] = {\\n\\t\\t\\tname: name,\\n\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\tvalue: paramValue\\n\\t\\t}\\n\\t});\\n\\t// Prepare the tiddler widget\\n\\tvar tr, targetTitle, targetField, targetIndex, tiddlerNode;\\n\\tif(textRef) {\\n\\t\\ttr = $tw.utils.parseTextReference(textRef);\\n\\t\\ttargetTitle = tr.title;\\n\\t\\ttargetField = tr.field;\\n\\t\\ttargetIndex = tr.index;\\n\\t\\ttiddlerNode = {\\n\\t\\t\\ttype: \\\"tiddler\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {name: \\\"tiddler\\\", type: \\\"string\\\", value: targetTitle}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [transcludeNode]\\n\\t\\t};\\n\\t}\\n\\tif(template) {\\n\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: template};\\n\\t\\tif(textRef) {\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(textRef) {\\n\\t\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: targetTitle};\\n\\t\\t\\tif(targetField) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$field\\\"] = {name: \\\"$field\\\", type: \\\"string\\\", value: targetField};\\n\\t\\t\\t}\\n\\t\\t\\tif(targetIndex) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$index\\\"] = {name: \\\"$index\\\", type: \\\"string\\\", value: targetIndex};\\n\\t\\t\\t}\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/typedblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/typedblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/typedblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for typed blocks. For example:\\n\\n```\\n$$$.js\\nThis will be rendered as JavaScript\\n$$$\\n\\n$$$.svg\\n<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"150\\\" height=\\\"100\\\">\\n <circle cx=\\\"100\\\" cy=\\\"50\\\" r=\\\"40\\\" stroke=\\\"black\\\" stroke-width=\\\"2\\\" fill=\\\"red\\\" />\\n</svg>\\n$$$\\n\\n$$$text/vnd.tiddlywiki>text/html\\nThis will be rendered as an //HTML representation// of WikiText\\n$$$\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.name = \\\"typedblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\$\\\\$\\\\$([^ >\\\\r\\\\n]*)(?: *> *([^ \\\\r\\\\n]+))?\\\\r?\\\\n/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /\\\\r?\\\\n\\\\$\\\\$\\\\$\\\\r?(?:\\\\n|$)/mg;\\n\\t// Save the type\\n\\tvar parseType = this.match[1],\\n\\t\\trenderType = this.match[2];\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar start = this.parser.pos;\\n\\t// Look for the end of the block\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext;\\n\\t// Process the block\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\t// Parse the block according to the specified type\\n\\tvar parser = this.parser.wiki.parseText(parseType,text,{defaultType: \\\"text/plain\\\"});\\n\\t// If there's no render type, just return the parse tree\\n\\tif(!renderType) {\\n\\t\\treturn parser.tree;\\n\\t} else {\\n\\t\\t// Otherwise, render to the rendertype and return in a <PRE> tag\\n\\t\\tvar widgetNode = this.parser.wiki.makeWidget(parser),\\n\\t\\t\\tcontainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\twidgetNode.render(container,null);\\n\\t\\ttext = renderType === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"pre\\\",\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\ttext: text,\\n\\t\\t\\t\\tstart: start,\\n\\t\\t\\t\\tend: this.parser.pos\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/whitespace.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/whitespace.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/whitespace.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for whitespace specifications\\n\\n```\\n\\\\whitespace trim\\n\\\\whitespace notrim\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"whitespace\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\whitespace[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar self = this;\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse whitespace delimited tokens terminated by a line break\\n\\tvar reMatch = /[^\\\\S\\\\n]*(\\\\S+)|(\\\\r?\\\\n)/mg,\\n\\t\\ttokens = [];\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\twhile(match && match.index === this.parser.pos) {\\n\\t\\tthis.parser.pos = reMatch.lastIndex;\\n\\t\\t// Exit if we've got the line break\\n\\t\\tif(match[2]) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the token\\n\\t\\tif(match[1]) {\\n\\t\\t\\ttokens.push(match[1]);\\n\\t\\t}\\n\\t\\t// Match the next token\\n\\t\\tmatch = reMatch.exec(this.parser.source);\\n\\t}\\n\\t// Process the tokens\\n\\t$tw.utils.each(tokens,function(token) {\\n\\t\\tswitch(token) {\\n\\t\\t\\tcase \\\"trim\\\":\\n\\t\\t\\t\\tself.parser.configTrimWhiteSpace = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"notrim\\\":\\n\\t\\t\\t\\tself.parser.configTrimWhiteSpace = false;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t});\\n\\t// No parse tree nodes to return\\n\\treturn [];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/wikilink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/wikilink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikilink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for wiki links. For example:\\n\\n```\\nAWikiLink\\nAnotherLink\\n~SuppressedLink\\n```\\n\\nPrecede a camel case word with `~` to prevent it from being recognised as a link.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"wikilink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = new RegExp($tw.config.textPrimitives.unWikiLink + \\\"?\\\" + $tw.config.textPrimitives.wikiLink,\\\"mg\\\");\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get the details of the match\\n\\tvar linkText = this.match[0];\\n\\t// Move past the macro call\\n\\tvar start = this.parser.pos;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// If the link starts with the unwikilink character then just output it as plain text\\n\\tif(linkText.substr(0,1) === $tw.config.textPrimitives.unWikiLink) {\\n\\t\\treturn [{type: \\\"text\\\", text: linkText.substr(1)}];\\n\\t}\\n\\t// If the link has been preceded with a blocked letter then don't treat it as a link\\n\\tif(this.match.index > 0) {\\n\\t\\tvar preRegExp = new RegExp($tw.config.textPrimitives.blockPrefixLetters,\\\"mg\\\");\\n\\t\\tpreRegExp.lastIndex = this.match.index-1;\\n\\t\\tvar preMatch = preRegExp.exec(this.parser.source);\\n\\t\\tif(preMatch && preMatch.index === this.match.index-1) {\\n\\t\\t\\treturn [{type: \\\"text\\\", text: linkText}];\\n\\t\\t}\\n\\t}\\n\\treturn [{\\n\\t\\ttype: \\\"link\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tto: {type: \\\"string\\\", value: linkText}\\n\\t\\t},\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\ttext: linkText,\\n\\t\\t\\tstart: start,\\n\\t\\t\\tend: this.parser.pos\\n\\t\\t}]\\n\\t}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/wikilinkprefix.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/wikilinkprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikilinkprefix.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for suppressed wiki links. For example:\\n\\n```\\n~SuppressedLink\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = \\\"wikilinkprefix\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = new RegExp($tw.config.textPrimitives.unWikiLink + $tw.config.textPrimitives.wikiLink,\\\"mg\\\");\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get the details of the match\\n\\tvar linkText = this.match[0];\\n\\t// Move past the wikilink\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Return the link without unwikilink character as plain text\\n\\treturn [{type: \\\"text\\\", text: linkText.substr(1)}];\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/wikiparser.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/wikiparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/wikiparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe wiki text parser processes blocks of source text into a parse tree.\\n\\nThe parse tree is made up of nested arrays of these JavaScript objects:\\n\\n\\t{type: \\\"element\\\", tag: <string>, attributes: {}, children: []} - an HTML element\\n\\t{type: \\\"text\\\", text: <string>} - a text node\\n\\t{type: \\\"entity\\\", value: <string>} - an entity\\n\\t{type: \\\"raw\\\", html: <string>} - raw HTML\\n\\nAttributes are stored as hashmaps of the following objects:\\n\\n\\t{type: \\\"string\\\", value: <string>} - literal string\\n\\t{type: \\\"indirect\\\", textReference: <textReference>} - indirect through a text reference\\n\\t{type: \\\"macro\\\", macro: <TBD>} - indirect through a macro invocation\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\ntype: content type of text\\ntext: text to be parsed\\noptions: see below:\\n\\tparseAsInline: true to parse text as inline instead of block\\n\\twiki: reference to wiki to use\\n\\t_canonical_uri: optional URI of content if text is missing or empty\\n\\tconfigTrimWhiteSpace: true to trim whitespace\\n*/\\nvar WikiParser = function(type,text,options) {\\n\\tthis.wiki = options.wiki;\\n\\tvar self = this;\\n\\t// Check for an externally linked tiddler\\n\\tif($tw.browser && (text || \\\"\\\") === \\\"\\\" && options._canonical_uri) {\\n\\t\\tthis.loadRemoteTiddler(options._canonical_uri);\\n\\t\\ttext = $tw.language.getRawString(\\\"LazyLoadingWarning\\\");\\n\\t}\\n\\t// Save the parse text\\n\\tthis.type = type || \\\"text/vnd.tiddlywiki\\\";\\n\\tthis.source = text || \\\"\\\";\\n\\tthis.sourceLength = this.source.length;\\n\\t// Flag for ignoring whitespace\\n\\tthis.configTrimWhiteSpace = options.configTrimWhiteSpace !== undefined ? options.configTrimWhiteSpace : false;\\n\\t// Parser mode\\n\\tthis.parseAsInline = options.parseAsInline;\\n\\t// Set current parse position\\n\\tthis.pos = 0;\\n\\t// Start with empty output\\n\\tthis.tree = [];\\n\\t// Assemble the rule classes we're going to use\\n\\tvar pragmaRuleClasses, blockRuleClasses, inlineRuleClasses;\\n\\tif(options.rules) {\\n\\t\\tpragmaRuleClasses = options.rules.pragma;\\n\\t\\tblockRuleClasses = options.rules.block;\\n\\t\\tinlineRuleClasses = options.rules.inline;\\n\\t} else {\\n\\t\\t// Setup the rule classes if we don't have them already\\n\\t\\tif(!this.pragmaRuleClasses) {\\n\\t\\t\\tWikiParser.prototype.pragmaRuleClasses = $tw.modules.createClassesFromModules(\\\"wikirule\\\",\\\"pragma\\\",$tw.WikiRuleBase);\\n\\t\\t\\tthis.setupRules(WikiParser.prototype.pragmaRuleClasses,\\\"$:/config/WikiParserRules/Pragmas/\\\");\\n\\t\\t}\\n\\t\\tpragmaRuleClasses = this.pragmaRuleClasses;\\n\\t\\tif(!this.blockRuleClasses) {\\n\\t\\t\\tWikiParser.prototype.blockRuleClasses = $tw.modules.createClassesFromModules(\\\"wikirule\\\",\\\"block\\\",$tw.WikiRuleBase);\\n\\t\\t\\tthis.setupRules(WikiParser.prototype.blockRuleClasses,\\\"$:/config/WikiParserRules/Block/\\\");\\n\\t\\t}\\n\\t\\tblockRuleClasses = this.blockRuleClasses;\\n\\t\\tif(!this.inlineRuleClasses) {\\n\\t\\t\\tWikiParser.prototype.inlineRuleClasses = $tw.modules.createClassesFromModules(\\\"wikirule\\\",\\\"inline\\\",$tw.WikiRuleBase);\\n\\t\\t\\tthis.setupRules(WikiParser.prototype.inlineRuleClasses,\\\"$:/config/WikiParserRules/Inline/\\\");\\n\\t\\t}\\n\\t\\tinlineRuleClasses = this.inlineRuleClasses;\\n\\t}\\n\\t// Instantiate the pragma parse rules\\n\\tthis.pragmaRules = this.instantiateRules(pragmaRuleClasses,\\\"pragma\\\",0);\\n\\t// Instantiate the parser block and inline rules\\n\\tthis.blockRules = this.instantiateRules(blockRuleClasses,\\\"block\\\",0);\\n\\tthis.inlineRules = this.instantiateRules(inlineRuleClasses,\\\"inline\\\",0);\\n\\t// Parse any pragmas\\n\\tvar topBranch = this.parsePragmas();\\n\\t// Parse the text into inline runs or blocks\\n\\tif(this.parseAsInline) {\\n\\t\\ttopBranch.push.apply(topBranch,this.parseInlineRun());\\n\\t} else {\\n\\t\\ttopBranch.push.apply(topBranch,this.parseBlocks());\\n\\t}\\n\\t// Build rules' name map\\n\\tthis.usingRuleMap = {};\\n\\t$tw.utils.each(this.pragmaRules, function (ruleInfo) { self.usingRuleMap[ruleInfo.rule.name] = Object.getPrototypeOf(ruleInfo.rule); });\\n\\t$tw.utils.each(this.blockRules, function (ruleInfo) { self.usingRuleMap[ruleInfo.rule.name] = Object.getPrototypeOf(ruleInfo.rule); });\\n\\t$tw.utils.each(this.inlineRules, function (ruleInfo) { self.usingRuleMap[ruleInfo.rule.name] = Object.getPrototypeOf(ruleInfo.rule); });\\n\\t// Return the parse tree\\n};\\n\\n/*\\n*/\\nWikiParser.prototype.loadRemoteTiddler = function(url) {\\n\\tvar self = this;\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: url,\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\tcallback: function(err,data) {\\n\\t\\t\\tif(!err) {\\n\\t\\t\\t\\tvar tiddlers = self.wiki.deserializeTiddlers(\\\".tid\\\",data,self.wiki.getCreationFields());\\n\\t\\t\\t\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\t\\t\\t\\ttiddler[\\\"_canonical_uri\\\"] = url;\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tif(tiddlers) {\\n\\t\\t\\t\\t\\tself.wiki.addTiddlers(tiddlers);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\n*/\\nWikiParser.prototype.setupRules = function(proto,configPrefix) {\\n\\tvar self = this;\\n\\tif(!$tw.safeMode) {\\n\\t\\t$tw.utils.each(proto,function(object,name) {\\n\\t\\t\\tif(self.wiki.getTiddlerText(configPrefix + name,\\\"enable\\\") !== \\\"enable\\\") {\\n\\t\\t\\t\\tdelete proto[name];\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nInstantiate an array of parse rules\\n*/\\nWikiParser.prototype.instantiateRules = function(classes,type,startPos) {\\n\\tvar rulesInfo = [],\\n\\t\\tself = this;\\n\\t$tw.utils.each(classes,function(RuleClass) {\\n\\t\\t// Instantiate the rule\\n\\t\\tvar rule = new RuleClass(self);\\n\\t\\trule.is = {};\\n\\t\\trule.is[type] = true;\\n\\t\\trule.init(self);\\n\\t\\tvar matchIndex = rule.findNextMatch(startPos);\\n\\t\\tif(matchIndex !== undefined) {\\n\\t\\t\\trulesInfo.push({\\n\\t\\t\\t\\trule: rule,\\n\\t\\t\\t\\tmatchIndex: matchIndex\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn rulesInfo;\\n};\\n\\n/*\\nSkip any whitespace at the current position. Options are:\\n\\ttreatNewlinesAsNonWhitespace: true if newlines are NOT to be treated as whitespace\\n*/\\nWikiParser.prototype.skipWhitespace = function(options) {\\n\\toptions = options || {};\\n\\tvar whitespaceRegExp = options.treatNewlinesAsNonWhitespace ? /([^\\\\S\\\\n]+)/mg : /(\\\\s+)/mg;\\n\\twhitespaceRegExp.lastIndex = this.pos;\\n\\tvar whitespaceMatch = whitespaceRegExp.exec(this.source);\\n\\tif(whitespaceMatch && whitespaceMatch.index === this.pos) {\\n\\t\\tthis.pos = whitespaceRegExp.lastIndex;\\n\\t}\\n};\\n\\n/*\\nGet the next match out of an array of parse rule instances\\n*/\\nWikiParser.prototype.findNextMatch = function(rules,startPos) {\\n\\t// Find the best matching rule by finding the closest match position\\n\\tvar matchingRule,\\n\\t\\tmatchingRulePos = this.sourceLength;\\n\\t// Step through each rule\\n\\tfor(var t=0; t<rules.length; t++) {\\n\\t\\tvar ruleInfo = rules[t];\\n\\t\\t// Ask the rule to get the next match if we've moved past the current one\\n\\t\\tif(ruleInfo.matchIndex !== undefined && ruleInfo.matchIndex < startPos) {\\n\\t\\t\\truleInfo.matchIndex = ruleInfo.rule.findNextMatch(startPos);\\n\\t\\t}\\n\\t\\t// Adopt this match if it's closer than the current best match\\n\\t\\tif(ruleInfo.matchIndex !== undefined && ruleInfo.matchIndex <= matchingRulePos) {\\n\\t\\t\\tmatchingRule = ruleInfo;\\n\\t\\t\\tmatchingRulePos = ruleInfo.matchIndex;\\n\\t\\t}\\n\\t}\\n\\treturn matchingRule;\\n};\\n\\n/*\\nParse any pragmas at the beginning of a block of parse text\\n*/\\nWikiParser.prototype.parsePragmas = function() {\\n\\tvar currentTreeBranch = this.tree;\\n\\twhile(true) {\\n\\t\\tvar savedPos = this.pos;\\n\\t\\t// Skip whitespace\\n\\t\\tthis.skipWhitespace();\\n\\t\\t// Check for the end of the text\\n\\t\\tif(this.pos >= this.sourceLength) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Check if we've arrived at a pragma rule match\\n\\t\\tvar nextMatch = this.findNextMatch(this.pragmaRules,this.pos);\\n\\t\\t// If not, just exit\\n\\t\\tif(!nextMatch || nextMatch.matchIndex !== this.pos) {\\n\\t\\t\\tthis.pos = savedPos;\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the pragma rule\\n\\t\\tvar start = this.pos;\\n\\t\\tvar subTree = nextMatch.rule.parse();\\n\\t\\tif(subTree.length > 0) {\\n\\t\\t\\t// Set the start and end positions of the pragma rule if\\n\\t\\t\\tif (subTree[0].start === undefined) subTree[0].start = start;\\n\\t\\t\\tif (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;\\n\\t\\t\\t$tw.utils.each(subTree, function (node) { node.rule = nextMatch.rule.name; });\\n\\t\\t\\t// Quick hack; we only cope with a single parse tree node being returned, which is true at the moment\\n\\t\\t\\tcurrentTreeBranch.push.apply(currentTreeBranch,subTree);\\n\\t\\t\\tsubTree[0].children = [];\\n\\t\\t\\tcurrentTreeBranch = subTree[0].children;\\n\\t\\t}\\n\\t\\t// Skip whitespace after the pragma\\n\\t\\tthis.skipWhitespace();\\n\\t}\\n\\treturn currentTreeBranch;\\n};\\n\\n/*\\nParse a block from the current position\\n\\tterminatorRegExpString: optional regular expression string that identifies the end of plain paragraphs. Must not include capturing parenthesis\\n*/\\nWikiParser.prototype.parseBlock = function(terminatorRegExpString) {\\n\\tvar terminatorRegExp = terminatorRegExpString ? new RegExp(terminatorRegExpString + \\\"|\\\\\\\\r?\\\\\\\\n\\\\\\\\r?\\\\\\\\n\\\",\\\"mg\\\") : /(\\\\r?\\\\n\\\\r?\\\\n)/mg;\\n\\tthis.skipWhitespace();\\n\\tif(this.pos >= this.sourceLength) {\\n\\t\\treturn [];\\n\\t}\\n\\t// Look for a block rule that applies at the current position\\n\\tvar nextMatch = this.findNextMatch(this.blockRules,this.pos);\\n\\tif(nextMatch && nextMatch.matchIndex === this.pos) {\\n\\t\\tvar start = this.pos;\\n\\t\\tvar subTree = nextMatch.rule.parse();\\n\\t\\t// Set the start and end positions of the first and last blocks if they're not already set\\n\\t\\tif (subTree.length > 0) {\\n\\t\\t\\tif (subTree[0].start === undefined) subTree[0].start = start;\\n\\t\\t\\tif (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;\\n\\t\\t}\\n\\t\\t$tw.utils.each(subTree, function (node) { node.rule = nextMatch.rule.name; });\\n\\t\\treturn subTree;\\n\\t}\\n\\t// Treat it as a paragraph if we didn't find a block rule\\n\\tvar start = this.pos;\\n\\tvar children = this.parseInlineRun(terminatorRegExp);\\n\\tvar end = this.pos;\\n\\treturn [{type: \\\"element\\\", tag: \\\"p\\\", children: children, start: start, end: end }];\\n};\\n\\n/*\\nParse a series of blocks of text until a terminating regexp is encountered or the end of the text\\n\\tterminatorRegExpString: terminating regular expression\\n*/\\nWikiParser.prototype.parseBlocks = function(terminatorRegExpString) {\\n\\tif(terminatorRegExpString) {\\n\\t\\treturn this.parseBlocksTerminated(terminatorRegExpString);\\n\\t} else {\\n\\t\\treturn this.parseBlocksUnterminated();\\n\\t}\\n};\\n\\n/*\\nParse a block from the current position to the end of the text\\n*/\\nWikiParser.prototype.parseBlocksUnterminated = function() {\\n\\tvar tree = [];\\n\\twhile(this.pos < this.sourceLength) {\\n\\t\\ttree.push.apply(tree,this.parseBlock());\\n\\t}\\n\\treturn tree;\\n};\\n\\n/*\\nParse blocks of text until a terminating regexp is encountered. Wrapper for parseBlocksTerminatedExtended that just returns the parse tree\\n*/\\nWikiParser.prototype.parseBlocksTerminated = function(terminatorRegExpString) {\\n\\tvar ex = this.parseBlocksTerminatedExtended(terminatorRegExpString);\\n\\treturn ex.tree;\\n};\\n\\n/*\\nParse blocks of text until a terminating regexp is encountered\\n*/\\nWikiParser.prototype.parseBlocksTerminatedExtended = function(terminatorRegExpString) {\\n\\tvar terminatorRegExp = new RegExp(terminatorRegExpString,\\\"mg\\\"),\\n\\t\\tresult = {\\n\\t\\t\\ttree: []\\n\\t\\t};\\n\\t// Skip any whitespace\\n\\tthis.skipWhitespace();\\n\\t// Check if we've got the end marker\\n\\tterminatorRegExp.lastIndex = this.pos;\\n\\tvar match = terminatorRegExp.exec(this.source);\\n\\t// Parse the text into blocks\\n\\twhile(this.pos < this.sourceLength && !(match && match.index === this.pos)) {\\n\\t\\tvar blocks = this.parseBlock(terminatorRegExpString);\\n\\t\\tresult.tree.push.apply(result.tree,blocks);\\n\\t\\t// Skip any whitespace\\n\\t\\tthis.skipWhitespace();\\n\\t\\t// Check if we've got the end marker\\n\\t\\tterminatorRegExp.lastIndex = this.pos;\\n\\t\\tmatch = terminatorRegExp.exec(this.source);\\n\\t}\\n\\tif(match && match.index === this.pos) {\\n\\t\\tthis.pos = match.index + match[0].length;\\n\\t\\tresult.match = match;\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nParse a run of text at the current position\\n\\tterminatorRegExp: a regexp at which to stop the run\\n\\toptions: see below\\nOptions available:\\n\\teatTerminator: move the parse position past any encountered terminator (default false)\\n*/\\nWikiParser.prototype.parseInlineRun = function(terminatorRegExp,options) {\\n\\tif(terminatorRegExp) {\\n\\t\\treturn this.parseInlineRunTerminated(terminatorRegExp,options);\\n\\t} else {\\n\\t\\treturn this.parseInlineRunUnterminated(options);\\n\\t}\\n};\\n\\nWikiParser.prototype.parseInlineRunUnterminated = function(options) {\\n\\tvar tree = [];\\n\\t// Find the next occurrence of an inline rule\\n\\tvar nextMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t// Loop around the matches until we've reached the end of the text\\n\\twhile(this.pos < this.sourceLength && nextMatch) {\\n\\t\\t// Process the text preceding the run rule\\n\\t\\tif(nextMatch.matchIndex > this.pos) {\\n\\t\\t\\tthis.pushTextWidget(tree,this.source.substring(this.pos,nextMatch.matchIndex),this.pos,nextMatch.matchIndex);\\n\\t\\t\\tthis.pos = nextMatch.matchIndex;\\n\\t\\t}\\n\\t\\t// Process the run rule\\n\\t\\tvar start = this.pos;\\n\\t\\tvar subTree = nextMatch.rule.parse();\\n\\t\\t// Set the start and end positions of the first and last child if they're not already set\\n\\t\\tif (subTree.length > 0) {\\n\\t\\t\\t// Set the start and end positions of the first and last child if they're not already set\\n\\t\\t\\tif (subTree[0].start === undefined) subTree[0].start = start;\\n\\t\\t\\tif (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;\\n\\t\\t}\\n\\t\\t$tw.utils.each(subTree, function (node) { node.rule = nextMatch.rule.name; });\\n\\t\\ttree.push.apply(tree,subTree);\\n\\t\\t// Look for the next run rule\\n\\t\\tnextMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t}\\n\\t// Process the remaining text\\n\\tif(this.pos < this.sourceLength) {\\n\\t\\tthis.pushTextWidget(tree,this.source.substr(this.pos),this.pos,this.sourceLength);\\n\\t}\\n\\tthis.pos = this.sourceLength;\\n\\treturn tree;\\n};\\n\\nWikiParser.prototype.parseInlineRunTerminated = function(terminatorRegExp,options) {\\n\\tvar ex = this.parseInlineRunTerminatedExtended(terminatorRegExp,options);\\n\\treturn ex.tree;\\n};\\n\\nWikiParser.prototype.parseInlineRunTerminatedExtended = function(terminatorRegExp,options) {\\n\\toptions = options || {};\\n\\tvar tree = [];\\n\\t// Find the next occurrence of the terminator\\n\\tterminatorRegExp.lastIndex = this.pos;\\n\\tvar terminatorMatch = terminatorRegExp.exec(this.source);\\n\\t// Find the next occurrence of a inlinerule\\n\\tvar inlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t// Loop around until we've reached the end of the text\\n\\twhile(this.pos < this.sourceLength && (terminatorMatch || inlineRuleMatch)) {\\n\\t\\t// Return if we've found the terminator, and it precedes any inline rule match\\n\\t\\tif(terminatorMatch) {\\n\\t\\t\\tif(!inlineRuleMatch || inlineRuleMatch.matchIndex >= terminatorMatch.index) {\\n\\t\\t\\t\\tif(terminatorMatch.index > this.pos) {\\n\\t\\t\\t\\t\\tthis.pushTextWidget(tree,this.source.substring(this.pos,terminatorMatch.index),this.pos,terminatorMatch.index);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tthis.pos = terminatorMatch.index;\\n\\t\\t\\t\\tif(options.eatTerminator) {\\n\\t\\t\\t\\t\\tthis.pos += terminatorMatch[0].length;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn {\\n\\t\\t\\t\\t\\tmatch: terminatorMatch,\\n\\t\\t\\t\\t\\ttree: tree\\n\\t\\t\\t\\t};\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Process any inline rule, along with the text preceding it\\n\\t\\tif(inlineRuleMatch) {\\n\\t\\t\\t// Preceding text\\n\\t\\t\\tif(inlineRuleMatch.matchIndex > this.pos) {\\n\\t\\t\\t\\tthis.pushTextWidget(tree,this.source.substring(this.pos,inlineRuleMatch.matchIndex),this.pos,inlineRuleMatch.matchIndex);\\n\\t\\t\\t\\tthis.pos = inlineRuleMatch.matchIndex;\\n\\t\\t\\t}\\n\\t\\t\\t// Process the inline rule\\n\\t\\t\\tvar start = this.pos;\\n\\t\\t\\tvar subTree = inlineRuleMatch.rule.parse();\\n\\t\\t\\t// Set the start and end positions of the first and last child if they're not already set\\n\\t\\t\\tif (subTree.length > 0) {\\n\\t\\t\\t\\tif (subTree[0].start === undefined) subTree[0].start = start;\\n\\t\\t\\t\\tif (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;\\n\\t\\t\\t}\\n\\t\\t\\t$tw.utils.each(subTree, function (node) { node.rule = inlineRuleMatch.rule.name; });\\n\\t\\t\\ttree.push.apply(tree,subTree);\\n\\t\\t\\t// Look for the next inline rule\\n\\t\\t\\tinlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t\\t\\t// Look for the next terminator match\\n\\t\\t\\tterminatorRegExp.lastIndex = this.pos;\\n\\t\\t\\tterminatorMatch = terminatorRegExp.exec(this.source);\\n\\t\\t}\\n\\t}\\n\\t// Process the remaining text\\n\\tif(this.pos < this.sourceLength) {\\n\\t\\tthis.pushTextWidget(tree,this.source.substr(this.pos),this.pos,this.sourceLength);\\n\\t}\\n\\tthis.pos = this.sourceLength;\\n\\treturn {\\n\\t\\ttree: tree\\n\\t};\\n};\\n\\n/*\\nPush a text widget onto an array, respecting the configTrimWhiteSpace setting\\n*/\\nWikiParser.prototype.pushTextWidget = function(array,text,start,end) {\\n\\tif(this.configTrimWhiteSpace) {\\n\\t\\ttext = $tw.utils.trim(text);\\n\\t}\\n\\tif(text) {\\n\\t\\tarray.push({type: \\\"text\\\", text: text, start: start, end: end});\\n\\t}\\n};\\n\\n/*\\nParse zero or more class specifiers `.classname`\\n*/\\nWikiParser.prototype.parseClasses = function() {\\n\\tvar classRegExp = /\\\\.([^\\\\s\\\\.]+)/mg,\\n\\t\\tclassNames = [];\\n\\tclassRegExp.lastIndex = this.pos;\\n\\tvar match = classRegExp.exec(this.source);\\n\\twhile(match && match.index === this.pos) {\\n\\t\\tthis.pos = match.index + match[0].length;\\n\\t\\tclassNames.push(match[1]);\\n\\t\\tmatch = classRegExp.exec(this.source);\\n\\t}\\n\\treturn classNames;\\n};\\n\\n/*\\nAmend the rules used by this instance of the parser\\n\\ttype: `only` keeps just the named rules, `except` keeps all but the named rules\\n\\tnames: array of rule names\\n*/\\nWikiParser.prototype.amendRules = function(type,names) {\\n\\tnames = names || [];\\n\\t// Define the filter function\\n\\tvar target;\\n\\tif(type === \\\"only\\\") {\\n\\t\\ttarget = true;\\n\\t} else if(type === \\\"except\\\") {\\n\\t\\ttarget = false;\\n\\t} else {\\n\\t\\treturn;\\n\\t}\\n\\t// Define a function to process each of our rule arrays\\n\\tvar processRuleArray = function(ruleArray) {\\n\\t\\tfor(var t=ruleArray.length-1; t>=0; t--) {\\n\\t\\t\\tif((names.indexOf(ruleArray[t].rule.name) === -1) === target) {\\n\\t\\t\\t\\truleArray.splice(t,1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\t// Process each rule array\\n\\tprocessRuleArray(this.pragmaRules);\\n\\tprocessRuleArray(this.blockRules);\\n\\tprocessRuleArray(this.inlineRules);\\n};\\n\\nexports[\\\"text/vnd.tiddlywiki\\\"] = WikiParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/wikiparser/rules/wikirulebase.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/wikirulebase.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikirulebase.js\\ntype: application/javascript\\nmodule-type: global\\n\\nBase class for wiki parser rules\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nThis constructor is always overridden with a blank constructor, and so shouldn't be used\\n*/\\nvar WikiRuleBase = function() {\\n};\\n\\n/*\\nTo be overridden by individual rules\\n*/\\nWikiRuleBase.prototype.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\n/*\\nDefault implementation of findNextMatch uses RegExp matching\\n*/\\nWikiRuleBase.prototype.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\treturn this.match ? this.match.index : undefined;\\n};\\n\\nexports.WikiRuleBase = WikiRuleBase;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/pluginswitcher.js\":{\"title\":\"$:/core/modules/pluginswitcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/pluginswitcher.js\\ntype: application/javascript\\nmodule-type: global\\n\\nManages switching plugins for themes and languages.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\noptions:\\nwiki: wiki store to be used\\npluginType: type of plugin to be switched\\ncontrollerTitle: title of tiddler used to control switching of this resource\\ndefaultPlugins: array of default plugins to be used if nominated plugin isn't found\\nonSwitch: callback when plugin is switched (single parameter is array of plugin titles)\\n*/\\nfunction PluginSwitcher(options) {\\n\\tthis.wiki = options.wiki;\\n\\tthis.pluginType = options.pluginType;\\n\\tthis.controllerTitle = options.controllerTitle;\\n\\tthis.defaultPlugins = options.defaultPlugins || [];\\n\\tthis.onSwitch = options.onSwitch;\\n\\t// Switch to the current plugin\\n\\tthis.switchPlugins();\\n\\t// Listen for changes to the selected plugin\\n\\tvar self = this;\\n\\tthis.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.utils.hop(changes,self.controllerTitle)) {\\n\\t\\t\\tself.switchPlugins();\\n\\t\\t}\\n\\t});\\n}\\n\\nPluginSwitcher.prototype.switchPlugins = function() {\\n\\t// Get the name of the current theme\\n\\tvar selectedPluginTitle = this.wiki.getTiddlerText(this.controllerTitle);\\n\\t// If it doesn't exist, then fallback to one of the default themes\\n\\tvar index = 0;\\n\\twhile(!this.wiki.getTiddler(selectedPluginTitle) && index < this.defaultPlugins.length) {\\n\\t\\tselectedPluginTitle = this.defaultPlugins[index++];\\n\\t}\\n\\t// Accumulate the titles of the plugins that we need to load\\n\\tvar plugins = [],\\n\\t\\tself = this,\\n\\t\\taccumulatePlugin = function(title) {\\n\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\tif(tiddler && tiddler.isPlugin() && plugins.indexOf(title) === -1) {\\n\\t\\t\\t\\tplugins.push(title);\\n\\t\\t\\t\\tvar pluginInfo = $tw.utils.parseJSONSafe(self.wiki.getTiddlerText(title)),\\n\\t\\t\\t\\t\\tdependents = $tw.utils.parseStringArray(tiddler.fields.dependents || \\\"\\\");\\n\\t\\t\\t\\t$tw.utils.each(dependents,function(title) {\\n\\t\\t\\t\\t\\taccumulatePlugin(title);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t};\\n\\taccumulatePlugin(selectedPluginTitle);\\n\\t// Read the plugin info for the incoming plugins\\n\\tvar changes = $tw.wiki.readPluginInfo(plugins);\\n\\t// Unregister any existing theme tiddlers\\n\\tvar unregisteredTiddlers = $tw.wiki.unregisterPluginTiddlers(this.pluginType);\\n\\t// Register any new theme tiddlers\\n\\tvar registeredTiddlers = $tw.wiki.registerPluginTiddlers(this.pluginType,plugins);\\n\\t// Unpack the current theme tiddlers\\n\\t$tw.wiki.unpackPluginTiddlers();\\n\\t// Call the switch handler\\n\\tif(this.onSwitch) {\\n\\t\\tthis.onSwitch(plugins);\\n\\t}\\n};\\n\\nexports.PluginSwitcher = PluginSwitcher;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/saver-handler.js\":{\"title\":\"$:/core/modules/saver-handler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/saver-handler.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe saver handler tracks changes to the store and handles saving the entire wiki via saver modules.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nInstantiate the saver handler with the following options:\\nwiki: wiki to be synced\\ndirtyTracking: true if dirty tracking should be performed\\n*/\\nfunction SaverHandler(options) {\\n\\tvar self = this;\\n\\tthis.wiki = options.wiki;\\n\\tthis.dirtyTracking = options.dirtyTracking;\\n\\tthis.preloadDirty = options.preloadDirty || [];\\n\\tthis.pendingAutoSave = false;\\n\\t// Make a logger\\n\\tthis.logger = new $tw.utils.Logger(\\\"saver-handler\\\");\\n\\t// Initialise our savers\\n\\tif($tw.browser) {\\n\\t\\tthis.initSavers();\\n\\t}\\n\\t// Only do dirty tracking if required\\n\\tif($tw.browser && this.dirtyTracking) {\\n\\t\\t// Compile the dirty tiddler filter\\n\\t\\tthis.filterFn = this.wiki.compileFilter(this.wiki.getTiddlerText(this.titleSyncFilter));\\n\\t\\t// Count of changes that have not yet been saved\\n\\t\\tvar filteredChanges = self.filterFn.call(self.wiki,function(iterator) {\\n\\t\\t\\t\\t$tw.utils.each(self.preloadDirty,function(title) {\\n\\t\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\t\\t\\titerator(tiddler,title);\\n\\t\\t\\t\\t});\\n\\t\\t});\\n\\t\\tthis.numChanges = filteredChanges.length;\\n\\t\\t// Listen out for changes to tiddlers\\n\\t\\tthis.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t\\t// Filter the changes so that we only count changes to tiddlers that we care about\\n\\t\\t\\tvar filteredChanges = self.filterFn.call(self.wiki,function(iterator) {\\n\\t\\t\\t\\t$tw.utils.each(changes,function(change,title) {\\n\\t\\t\\t\\t\\tif(change.normal) {\\n\\t\\t\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\t\\t\\t\\titerator(tiddler,title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t});\\n\\t\\t\\t// Adjust the number of changes\\n\\t\\t\\tself.numChanges += filteredChanges.length;\\n\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t// Do any autosave if one is pending and there's no more change events\\n\\t\\t\\tif(self.pendingAutoSave && self.wiki.getSizeOfTiddlerEventQueue() === 0) {\\n\\t\\t\\t\\t// Check if we're dirty\\n\\t\\t\\t\\tif(self.numChanges > 0) {\\n\\t\\t\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\t\\t\\tmethod: \\\"autosave\\\",\\n\\t\\t\\t\\t\\t\\tdownloadType: \\\"text/plain\\\"\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.pendingAutoSave = false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Listen for the autosave event\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-auto-save-wiki\\\",function(event) {\\n\\t\\t\\t// Do the autosave unless there are outstanding tiddler change events\\n\\t\\t\\tif(self.wiki.getSizeOfTiddlerEventQueue() === 0) {\\n\\t\\t\\t\\t// Check if we're dirty\\n\\t\\t\\t\\tif(self.numChanges > 0) {\\n\\t\\t\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\t\\t\\tmethod: \\\"autosave\\\",\\n\\t\\t\\t\\t\\t\\tdownloadType: \\\"text/plain\\\"\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Otherwise put ourselves in the \\\"pending autosave\\\" state and wait for the change event before we do the autosave\\n\\t\\t\\t\\tself.pendingAutoSave = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Set up our beforeunload handler\\n\\t\\t$tw.addUnloadTask(function(event) {\\n\\t\\t\\tvar confirmationMessage;\\n\\t\\t\\tif(self.isDirty()) {\\n\\t\\t\\t\\tconfirmationMessage = $tw.language.getString(\\\"UnsavedChangesWarning\\\");\\n\\t\\t\\t\\tevent.returnValue = confirmationMessage; // Gecko\\n\\t\\t\\t}\\n\\t\\t\\treturn confirmationMessage;\\n\\t\\t});\\n\\t}\\n\\t// Install the save action handlers\\n\\tif($tw.browser) {\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-save-wiki\\\",function(event) {\\n\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\twiki: event.widget.wiki,\\n\\t\\t\\t\\ttemplate: event.param,\\n\\t\\t\\t\\tdownloadType: \\\"text/plain\\\",\\n\\t\\t\\t\\tvariables: event.paramObject\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-download-file\\\",function(event) {\\n\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\twiki: event.widget.wiki,\\n\\t\\t\\t\\tmethod: \\\"download\\\",\\n\\t\\t\\t\\ttemplate: event.param,\\n\\t\\t\\t\\tdownloadType: \\\"text/plain\\\",\\n\\t\\t\\t\\tvariables: event.paramObject\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n}\\n\\nSaverHandler.prototype.titleSyncFilter = \\\"$:/config/SaverFilter\\\";\\nSaverHandler.prototype.titleAutoSave = \\\"$:/config/AutoSave\\\";\\nSaverHandler.prototype.titleSavedNotification = \\\"$:/language/Notifications/Save/Done\\\";\\n\\n/*\\nSelect the appropriate saver modules and set them up\\n*/\\nSaverHandler.prototype.initSavers = function(moduleType) {\\n\\tmoduleType = moduleType || \\\"saver\\\";\\n\\t// Instantiate the available savers\\n\\tthis.savers = [];\\n\\tvar self = this;\\n\\t$tw.modules.forEachModuleOfType(moduleType,function(title,module) {\\n\\t\\tif(module.canSave(self)) {\\n\\t\\t\\tself.savers.push(module.create(self.wiki));\\n\\t\\t}\\n\\t});\\n\\t// Sort the savers into priority order\\n\\tthis.savers.sort(function(a,b) {\\n\\t\\tif(a.info.priority < b.info.priority) {\\n\\t\\t\\treturn -1;\\n\\t\\t} else {\\n\\t\\t\\tif(a.info.priority > b.info.priority) {\\n\\t\\t\\t\\treturn +1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nSave the wiki contents. Options are:\\n\\tmethod: \\\"save\\\", \\\"autosave\\\" or \\\"download\\\"\\n\\ttemplate: the tiddler containing the template to save\\n\\tdownloadType: the content type for the saved file\\n\\twiki: optional wiki, overriding the default wiki specified in the constructor\\n*/\\nSaverHandler.prototype.saveWiki = function(options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\twiki = options.wiki || this.wiki,\\n\\t\\tmethod = options.method || \\\"save\\\";\\n\\t// Ignore autosave if disabled\\n\\tif(method === \\\"autosave\\\" && ($tw.config.disableAutoSave || wiki.getTiddlerText(this.titleAutoSave,\\\"yes\\\") !== \\\"yes\\\")) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar\\tvariables = options.variables || {},\\n\\t\\ttemplate = (options.template || \\n\\t\\t wiki.getTiddlerText(\\\"$:/config/SaveWikiButton/Template\\\",\\\"$:/core/save/all\\\")).trim(),\\n\\t\\tdownloadType = options.downloadType || \\\"text/plain\\\",\\n\\t\\ttext = wiki.renderTiddler(downloadType,template,options),\\n\\t\\tcallback = function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\talert($tw.language.getString(\\\"Error/WhileSaving\\\") + \\\":\\\\n\\\\n\\\" + err);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Clear the task queue if we're saving (rather than downloading)\\n\\t\\t\\t\\tif(method !== \\\"download\\\") {\\n\\t\\t\\t\\t\\tself.numChanges = 0;\\n\\t\\t\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.notifier.display(self.titleSavedNotification);\\n\\t\\t\\t\\tif(options.callback) {\\n\\t\\t\\t\\t\\toptions.callback();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Call the highest priority saver that supports this method\\n\\tfor(var t=this.savers.length-1; t>=0; t--) {\\n\\t\\tvar saver = this.savers[t];\\n\\t\\tif(saver.info.capabilities.indexOf(method) !== -1 && saver.save(text,method,callback,{variables: {filename: variables.filename, type: variables.type}})) {\\n\\t\\t\\tthis.logger.log(\\\"Saving wiki with method\\\",method,\\\"through saver\\\",saver.info.name);\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nChecks whether the wiki is dirty (ie the window shouldn't be closed)\\n*/\\nSaverHandler.prototype.isDirty = function() {\\n\\treturn this.numChanges > 0;\\n};\\n\\n/*\\nUpdate the document body with the class \\\"tc-dirty\\\" if the wiki has unsaved/unsynced changes\\n*/\\nSaverHandler.prototype.updateDirtyStatus = function() {\\n\\tvar self = this;\\n\\tif($tw.browser) {\\n\\t\\t$tw.utils.toggleClass(document.body,\\\"tc-dirty\\\",this.isDirty());\\n\\t\\t$tw.utils.each($tw.windows,function(win) {\\n\\t\\t\\t$tw.utils.toggleClass(win.document.body,\\\"tc-dirty\\\",self.isDirty());\\n\\t\\t});\\n\\t}\\n};\\n\\nexports.SaverHandler = SaverHandler;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/savers/andtidwiki.js\":{\"title\":\"$:/core/modules/savers/andtidwiki.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/andtidwiki.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via the AndTidWiki Android app\\n\\n\\\\*/\\n\\n\\n\\\"use strict\\\";\\n\\nvar AndTidWiki = function(wiki) {\\n};\\n\\nAndTidWiki.prototype.save = function(text,method,callback,options) {\\n\\tvar filename = options && options.variables ? options.variables.filename : null;\\n\\tif (method === \\\"download\\\") {\\n\\t\\t// Support download\\n\\t\\tif (window.twi.saveDownload) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\twindow.twi.saveDownload(text,filename);\\n\\t\\t\\t} catch(err) {\\n\\t\\t\\t\\tif (err.message === \\\"Method not found\\\") {\\n\\t\\t\\t\\t\\twindow.twi.saveDownload(text);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar link = document.createElement(\\\"a\\\");\\n\\t\\t\\tlink.setAttribute(\\\"href\\\",\\\"data:text/plain,\\\" + encodeURIComponent(text));\\n\\t\\t\\tif (filename) {\\n\\t\\t\\t link.setAttribute(\\\"download\\\",filename);\\n\\t\\t\\t}\\n\\t\\t\\tdocument.body.appendChild(link);\\n\\t\\t\\tlink.click();\\n\\t\\t\\tdocument.body.removeChild(link);\\n\\t\\t}\\n\\t} else if (window.twi.saveWiki) {\\n\\t\\t// Direct save in Tiddloid\\n\\t\\twindow.twi.saveWiki(text);\\n\\t} else {\\n\\t\\t// Get the pathname of this document\\n\\t\\tvar pathname = $tw.utils.decodeURIComponentSafe(document.location.toString().split(\\\"#\\\")[0]);\\n\\t\\t// Strip the file://\\n\\t\\tif(pathname.indexOf(\\\"file://\\\") === 0) {\\n\\t\\t\\tpathname = pathname.substr(7);\\n\\t\\t}\\n\\t\\t// Strip any query or location part\\n\\t\\tvar p = pathname.indexOf(\\\"?\\\");\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tpathname = pathname.substr(0,p);\\n\\t\\t}\\n\\t\\tp = pathname.indexOf(\\\"#\\\");\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tpathname = pathname.substr(0,p);\\n\\t\\t}\\n\\t\\t// Save the file\\n\\t\\twindow.twi.saveFile(pathname,text);\\n\\t}\\n\\t// Call the callback\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nAndTidWiki.prototype.info = {\\n\\tname: \\\"andtidwiki\\\",\\n\\tpriority: 1600,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\", \\\"download\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn !!window.twi && !!window.twi.saveFile;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new AndTidWiki(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/custom.js\":{\"title\":\"$:/core/modules/savers/custom.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/custom.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nLooks for `window.$tw.customSaver` first on the current window, then\\non the parent window (of an iframe). If present, the saver must define\\n\\tsave: function(text,method,callback) { ... }\\nand the saver may define\\n\\tpriority: number\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar findSaver = function(window) {\\n\\ttry {\\n\\t\\treturn window && window.$tw && window.$tw.customSaver;\\n\\t} catch (err) {\\n\\t\\t// Catching the exception is the most reliable way to detect cross-origin iframe errors.\\n\\t\\t// For example, instead of saying that `window.parent.$tw` is undefined, Firefox will throw\\n\\t\\t// Uncaught DOMException: Permission denied to access property \\\"$tw\\\" on cross-origin object\\n\\t\\tconsole.log({ msg: \\\"custom saver is disabled\\\", reason: err });\\n\\t\\treturn null;\\n\\t}\\n}\\nvar saver = findSaver(window) || findSaver(window.parent) || {};\\n\\nvar CustomSaver = function(wiki) {\\n};\\n\\nCustomSaver.prototype.save = function(text,method,callback) {\\n\\treturn saver.save(text, method, callback);\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nCustomSaver.prototype.info = {\\n\\tname: \\\"custom\\\",\\n\\tpriority: saver.priority || 4000,\\n\\tcapabilities: [\\\"save\\\",\\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn !!(saver.save);\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new CustomSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/download.js\":{\"title\":\"$:/core/modules/savers/download.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/download.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via HTML5's download APIs\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar DownloadSaver = function(wiki) {\\n};\\n\\nDownloadSaver.prototype.save = function(text,method,callback,options) {\\n\\toptions = options || {};\\n\\t// Get the current filename\\n\\tvar filename = options.variables.filename;\\n\\tvar type = options.variables.type;\\n\\tif(!filename) {\\n\\t\\tvar p = document.location.pathname.lastIndexOf(\\\"/\\\");\\n\\t\\tif(p !== -1) {\\n\\t\\t\\t// We decode the pathname because document.location is URL encoded by the browser\\n\\t\\t\\tfilename = $tw.utils.decodeURIComponentSafe(document.location.pathname.substr(p+1));\\n\\t\\t}\\n\\t}\\n\\tif(!filename) {\\n\\t\\tfilename = \\\"tiddlywiki.html\\\";\\n\\t}\\n\\tif(!type) {\\n\\t\\ttype = \\\"text/html\\\";\\n\\t}\\n\\t// Set up the link\\n\\tvar link = document.createElement(\\\"a\\\");\\n\\tif(Blob !== undefined) {\\n\\t\\tvar blob = new Blob([text], {type: type});\\n\\t\\tlink.setAttribute(\\\"href\\\", URL.createObjectURL(blob));\\n\\t} else {\\n\\t\\tlink.setAttribute(\\\"href\\\",\\\"data:\\\" + type + \\\",\\\" + encodeURIComponent(text));\\n\\t}\\n\\tlink.setAttribute(\\\"download\\\",filename);\\n\\tdocument.body.appendChild(link);\\n\\tlink.click();\\n\\tdocument.body.removeChild(link);\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nDownloadSaver.prototype.info = {\\n\\tname: \\\"download\\\",\\n\\tpriority: 100\\n};\\n\\nObject.defineProperty(DownloadSaver.prototype.info, \\\"capabilities\\\", {\\n\\tget: function() {\\n\\t\\tvar capabilities = [\\\"save\\\", \\\"download\\\"];\\n\\t\\tif(($tw.wiki.getTextReference(\\\"$:/config/DownloadSaver/AutoSave\\\") || \\\"\\\").toLowerCase() === \\\"yes\\\") {\\n\\t\\t\\tcapabilities.push(\\\"autosave\\\");\\n\\t\\t}\\n\\t\\treturn capabilities;\\n\\t}\\n});\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn document.createElement(\\\"a\\\").download !== undefined;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new DownloadSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/fsosaver.js\":{\"title\":\"$:/core/modules/savers/fsosaver.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/fsosaver.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via MS FileSystemObject ActiveXObject\\n\\nNote: Since TiddlyWiki's markup contains the MOTW, the FileSystemObject normally won't be available. \\nHowever, if the wiki is loaded as an .HTA file (Windows HTML Applications) then the FSO can be used.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar FSOSaver = function(wiki) {\\n};\\n\\nFSOSaver.prototype.save = function(text,method,callback) {\\n\\t// Get the pathname of this document\\n\\tvar pathname = unescape(document.location.pathname);\\n\\t// Test for a Windows path of the form /x:\\\\blah...\\n\\tif(/^\\\\/[A-Z]\\\\:\\\\\\\\[^\\\\\\\\]+/i.test(pathname)) {\\t// ie: ^/[a-z]:/[^/]+\\n\\t\\t// Remove the leading slash\\n\\t\\tpathname = pathname.substr(1);\\n\\t} else if(document.location.hostname !== \\\"\\\" && /^\\\\/\\\\\\\\[^\\\\\\\\]+\\\\\\\\[^\\\\\\\\]+/i.test(pathname)) {\\t// test for \\\\\\\\server\\\\share\\\\blah... - ^/[^/]+/[^/]+\\n\\t\\t// Remove the leading slash\\n\\t\\tpathname = pathname.substr(1);\\n\\t\\t// reconstruct UNC path\\n\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + document.location.hostname + pathname;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n\\t// Save the file (as UTF-16)\\n\\tvar fso = new ActiveXObject(\\\"Scripting.FileSystemObject\\\");\\n\\tvar file = fso.OpenTextFile(pathname,2,-1,-1);\\n\\tfile.Write(text);\\n\\tfile.Close();\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nFSOSaver.prototype.info = {\\n\\tname: \\\"FSOSaver\\\",\\n\\tpriority: 120,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\ttry {\\n\\t\\treturn (window.location.protocol === \\\"file:\\\") && !!(new ActiveXObject(\\\"Scripting.FileSystemObject\\\"));\\n\\t} catch(e) { return false; }\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new FSOSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/gitea.js\":{\"title\":\"$:/core/modules/savers/gitea.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/gitea.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by pushing a commit to the gitea\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar GiteaSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nGiteaSaver.prototype.save = function(text,method,callback) {\\n\\tvar self = this,\\n\\t\\tusername = this.wiki.getTiddlerText(\\\"$:/Gitea/Username\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"Gitea\\\"),\\n\\t\\trepo = this.wiki.getTiddlerText(\\\"$:/Gitea/Repo\\\"),\\n\\t\\tpath = this.wiki.getTiddlerText(\\\"$:/Gitea/Path\\\",\\\"\\\"),\\n\\t\\tfilename = this.wiki.getTiddlerText(\\\"$:/Gitea/Filename\\\"),\\n\\t\\tbranch = this.wiki.getTiddlerText(\\\"$:/Gitea/Branch\\\") || \\\"master\\\",\\n\\t\\tendpoint = this.wiki.getTiddlerText(\\\"$:/Gitea/ServerURL\\\") || \\\"https://gitea\\\",\\n\\t\\theaders = {\\n\\t\\t\\t\\\"Accept\\\": \\\"application/json\\\",\\n\\t\\t\\t\\\"Content-Type\\\": \\\"application/json;charset=UTF-8\\\",\\n\\t\\t\\t\\\"Authorization\\\": \\\"token \\\" + password\\n\\t\\t};\\n\\t// Bail if we don't have everything we need\\n\\tif(!username || !password || !repo || !filename) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Make sure the path start and ends with a slash\\n\\tif(path.substring(0,1) !== \\\"/\\\") {\\n\\t\\tpath = \\\"/\\\" + path;\\n\\t}\\n\\tif(path.substring(path.length - 1) !== \\\"/\\\") {\\n\\t\\tpath = path + \\\"/\\\";\\n\\t}\\n\\t// Compose the base URI\\n\\tvar uri = endpoint + \\\"/repos/\\\" + repo + \\\"/contents\\\" + path;\\n\\t// Perform a get request to get the details (inc shas) of files in the same path as our file\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\theaders: headers,\\n\\t\\tdata: {\\n\\t\\t\\tref: branch\\n\\t\\t},\\n\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\tvar getResponseData,sha = \\\"\\\";\\n\\t\\t\\tif(err && xhr.status !== 404) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tvar use_put = true;\\n\\t\\t\\tif(xhr.status !== 404) {\\n\\t\\t\\t\\tgetResponseData = $tw.utils.parseJSONSafe(getResponseDataJson);\\n\\t\\t\\t\\t$tw.utils.each(getResponseData,function(details) {\\n\\t\\t\\t\\t\\tif(details.name === filename) {\\n\\t\\t\\t\\t\\t\\tsha = details.sha;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tif(sha === \\\"\\\"){\\n\\t\\t\\t\\t\\tuse_put = false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tvar data = {\\n\\t\\t\\t\\tmessage: $tw.language.getString(\\\"ControlPanel/Saving/GitService/CommitMessage\\\"),\\n\\t\\t\\t\\tcontent: $tw.utils.base64Encode(text),\\n\\t\\t\\t\\tsha: sha\\n\\t\\t\\t};\\n\\t\\t\\t$tw.utils.httpRequest({\\n\\t\\t\\t\\turl: endpoint + \\\"/repos/\\\" + repo + \\\"/branches/\\\" + branch,\\n\\t\\t\\t\\ttype: \\\"GET\\\",\\n\\t\\t\\t\\theaders: headers,\\n\\t\\t\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\t\\t\\tif(xhr.status === 404) {\\n\\t\\t\\t\\t\\t\\tcallback(\\\"Please ensure the branch in the Gitea repo exists\\\");\\n\\t\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\t\\tdata[\\\"branch\\\"] = branch;\\n\\t\\t\\t\\t\\t\\tself.upload(uri + filename, use_put?\\\"PUT\\\":\\\"POST\\\", headers, data, callback);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\nGiteaSaver.prototype.upload = function(uri,method,headers,data,callback) {\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: method,\\n\\t\\theaders: headers,\\n\\t\\tdata: JSON.stringify(data),\\n\\t\\tcallback: function(err,putResponseDataJson,xhr) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tvar putResponseData = $tw.utils.parseJSONSafe(putResponseDataJson);\\n\\t\\t\\tcallback(null);\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nGiteaSaver.prototype.info = {\\n\\tname: \\\"Gitea\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new GiteaSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/github.js\":{\"title\":\"$:/core/modules/savers/github.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/github.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by pushing a commit to the GitHub v3 REST API\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar GitHubSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nGitHubSaver.prototype.save = function(text,method,callback) {\\n\\tvar self = this,\\n\\t\\tusername = this.wiki.getTiddlerText(\\\"$:/GitHub/Username\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"github\\\"),\\n\\t\\trepo = this.wiki.getTiddlerText(\\\"$:/GitHub/Repo\\\"),\\n\\t\\tpath = this.wiki.getTiddlerText(\\\"$:/GitHub/Path\\\",\\\"\\\"),\\n\\t\\tfilename = this.wiki.getTiddlerText(\\\"$:/GitHub/Filename\\\"),\\n\\t\\tbranch = this.wiki.getTiddlerText(\\\"$:/GitHub/Branch\\\") || \\\"main\\\",\\n\\t\\tendpoint = this.wiki.getTiddlerText(\\\"$:/GitHub/ServerURL\\\") || \\\"https://api.github.com\\\",\\n\\t\\theaders = {\\n\\t\\t\\t\\\"Accept\\\": \\\"application/vnd.github.v3+json\\\",\\n\\t\\t\\t\\\"Content-Type\\\": \\\"application/json;charset=UTF-8\\\",\\n\\t\\t\\t\\\"Authorization\\\": \\\"Basic \\\" + $tw.utils.base64Encode(username + \\\":\\\" + password),\\n\\t\\t\\t\\\"If-None-Match\\\": \\\"\\\"\\n\\t\\t};\\n\\t// Bail if we don't have everything we need\\n\\tif(!username || !password || !repo || !filename) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Make sure the path start and ends with a slash\\n\\tif(path.substring(0,1) !== \\\"/\\\") {\\n\\t\\tpath = \\\"/\\\" + path;\\n\\t}\\n\\tif(path.substring(path.length - 1) !== \\\"/\\\") {\\n\\t\\tpath = path + \\\"/\\\";\\n\\t}\\n\\t// Compose the base URI\\n\\tvar uri = endpoint + \\\"/repos/\\\" + repo + \\\"/contents\\\" + path;\\n\\t// Perform a get request to get the details (inc shas) of files in the same path as our file\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\theaders: headers,\\n\\t\\tdata: {\\n\\t\\t\\tref: branch\\n\\t\\t},\\n\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\tvar getResponseData,sha = \\\"\\\";\\n\\t\\t\\tif(err && xhr.status !== 404) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tif(xhr.status !== 404) {\\n\\t\\t\\t\\tgetResponseData = $tw.utils.parseJSONSafe(getResponseDataJson);\\n\\t\\t\\t\\t$tw.utils.each(getResponseData,function(details) {\\n\\t\\t\\t\\t\\tif(details.name === filename) {\\n\\t\\t\\t\\t\\t\\tsha = details.sha;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\tvar data = {\\n\\t\\t\\t\\tmessage: $tw.language.getString(\\\"ControlPanel/Saving/GitService/CommitMessage\\\"),\\n\\t\\t\\t\\tcontent: $tw.utils.base64Encode(text),\\n\\t\\t\\t\\tbranch: branch,\\n\\t\\t\\t\\tsha: sha\\n\\t\\t\\t};\\n\\t\\t\\t// Perform a PUT request to save the file\\n\\t\\t\\t$tw.utils.httpRequest({\\n\\t\\t\\t\\turl: uri + filename,\\n\\t\\t\\t\\ttype: \\\"PUT\\\",\\n\\t\\t\\t\\theaders: headers,\\n\\t\\t\\t\\tdata: JSON.stringify(data),\\n\\t\\t\\t\\tcallback: function(err,putResponseDataJson,xhr) {\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar putResponseData = $tw.utils.parseJSONSafe(putResponseDataJson);\\n\\t\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nGitHubSaver.prototype.info = {\\n\\tname: \\\"github\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new GitHubSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/gitlab.js\":{\"title\":\"$:/core/modules/savers/gitlab.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/gitlab.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by pushing a commit to the GitLab REST API\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar GitLabSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nGitLabSaver.prototype.save = function(text,method,callback) {\\n\\t/* See https://docs.gitlab.com/ee/api/repository_files.html */\\n\\tvar self = this,\\n\\t\\tusername = this.wiki.getTiddlerText(\\\"$:/GitLab/Username\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"gitlab\\\"),\\n\\t\\trepo = this.wiki.getTiddlerText(\\\"$:/GitLab/Repo\\\"),\\n\\t\\tpath = this.wiki.getTiddlerText(\\\"$:/GitLab/Path\\\",\\\"\\\"),\\n\\t\\tfilename = this.wiki.getTiddlerText(\\\"$:/GitLab/Filename\\\"),\\n\\t\\tbranch = this.wiki.getTiddlerText(\\\"$:/GitLab/Branch\\\") || \\\"master\\\",\\n\\t\\tendpoint = this.wiki.getTiddlerText(\\\"$:/GitLab/ServerURL\\\") || \\\"https://gitlab.com/api/v4\\\",\\n\\t\\theaders = {\\n\\t\\t\\t\\\"Content-Type\\\": \\\"application/json;charset=UTF-8\\\",\\n\\t\\t\\t\\\"Private-Token\\\": password\\n\\t\\t};\\n\\t// Bail if we don't have everything we need\\n\\tif(!username || !password || !repo || !filename) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Make sure the path start and ends with a slash\\n\\tif(path.substring(0,1) !== \\\"/\\\") {\\n\\t\\tpath = \\\"/\\\" + path;\\n\\t}\\n\\tif(path.substring(path.length - 1) !== \\\"/\\\") {\\n\\t\\tpath = path + \\\"/\\\";\\n\\t}\\n\\t// Compose the base URI\\n\\tvar uri = endpoint + \\\"/projects/\\\" + encodeURIComponent(repo) + \\\"/repository/\\\";\\n\\t// Perform a get request to get the details (inc shas) of files in the same path as our file\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri + \\\"tree/?path=\\\" + encodeURIComponent(path.replace(/^\\\\/+|\\\\/$/g, '')) + \\\"&branch=\\\" + encodeURIComponent(branch.replace(/^\\\\/+|\\\\/$/g, '')),\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\theaders: headers,\\n\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\tvar getResponseData,sha = \\\"\\\";\\n\\t\\t\\tif(err && xhr.status !== 404) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tvar requestType = \\\"POST\\\";\\n\\t\\t\\tif(xhr.status !== 404) {\\n\\t\\t\\t\\tgetResponseData = $tw.utils.parseJSONSafe(getResponseDataJson);\\n\\t\\t\\t\\t$tw.utils.each(getResponseData,function(details) {\\n\\t\\t\\t\\t\\tif(details.name === filename) {\\n\\t\\t\\t\\t\\t\\trequestType = \\\"PUT\\\";\\n\\t\\t\\t\\t\\t\\tsha = details.sha;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\tvar data = {\\n\\t\\t\\t\\tcommit_message: $tw.language.getString(\\\"ControlPanel/Saving/GitService/CommitMessage\\\"),\\n\\t\\t\\t\\tcontent: text,\\n\\t\\t\\t\\tbranch: branch,\\n\\t\\t\\t\\tsha: sha\\n\\t\\t\\t};\\n\\t\\t\\t// Perform a request to save the file\\n\\t\\t\\t$tw.utils.httpRequest({\\n\\t\\t\\t\\turl: uri + \\\"files/\\\" + encodeURIComponent(path.replace(/^\\\\/+/, '') + filename),\\n\\t\\t\\t\\ttype: requestType,\\n\\t\\t\\t\\theaders: headers,\\n\\t\\t\\t\\tdata: JSON.stringify(data),\\n\\t\\t\\t\\tcallback: function(err,putResponseDataJson,xhr) {\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar putResponseData = $tw.utils.parseJSONSafe(putResponseDataJson);\\n\\t\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nGitLabSaver.prototype.info = {\\n\\tname: \\\"gitlab\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new GitLabSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/manualdownload.js\":{\"title\":\"$:/core/modules/savers/manualdownload.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/manualdownload.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via HTML5's download APIs\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Title of the tiddler containing the download message\\nvar downloadInstructionsTitle = \\\"$:/language/Modals/Download\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar ManualDownloadSaver = function(wiki) {\\n};\\n\\nManualDownloadSaver.prototype.save = function(text,method,callback) {\\n\\t$tw.modal.display(downloadInstructionsTitle,{\\n\\t\\tdownloadLink: \\\"data:text/html,\\\" + encodeURIComponent(text)\\n\\t});\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nManualDownloadSaver.prototype.info = {\\n\\tname: \\\"manualdownload\\\",\\n\\tpriority: 0,\\n\\tcapabilities: [\\\"save\\\", \\\"download\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new ManualDownloadSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/msdownload.js\":{\"title\":\"$:/core/modules/savers/msdownload.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/msdownload.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via window.navigator.msSaveBlob()\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar MsDownloadSaver = function(wiki) {\\n};\\n\\nMsDownloadSaver.prototype.save = function(text,method,callback) {\\n\\t// Get the current filename\\n\\tvar filename = \\\"tiddlywiki.html\\\",\\n\\t\\tp = document.location.pathname.lastIndexOf(\\\"/\\\");\\n\\tif(p !== -1) {\\n\\t\\tfilename = document.location.pathname.substr(p+1);\\n\\t}\\n\\t// Set up the link\\n\\tvar blob = new Blob([text], {type: \\\"text/html\\\"});\\n\\twindow.navigator.msSaveBlob(blob,filename);\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nMsDownloadSaver.prototype.info = {\\n\\tname: \\\"msdownload\\\",\\n\\tpriority: 110,\\n\\tcapabilities: [\\\"save\\\", \\\"download\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn !!window.navigator.msSaveBlob;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new MsDownloadSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/put.js\":{\"title\":\"$:/core/modules/savers/put.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/put.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by performing a PUT request to the server\\n\\nWorks with any server which accepts a PUT request\\nto the current URL, such as a WebDAV server.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nRetrieve ETag if available\\n*/\\nvar retrieveETag = function(self) {\\n\\tvar headers = {\\n\\t\\tAccept: \\\"*/*\\\"\\n\\t};\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: self.uri(),\\n\\t\\ttype: \\\"HEAD\\\",\\n\\t\\theaders: headers,\\n\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tvar etag = xhr.getResponseHeader(\\\"ETag\\\");\\n\\t\\t\\tif(!etag) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tself.etag = etag.replace(/^W\\\\//,\\\"\\\");\\n\\t\\t}\\n\\t});\\n};\\n\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar PutSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n\\tvar self = this;\\n\\tvar uri = this.uri();\\n\\t// Async server probe. Until probe finishes, save will fail fast\\n\\t// See also https://github.com/TiddlyWiki/TiddlyWiki5/issues/2276\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: \\\"OPTIONS\\\",\\n\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\t// Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1\\n\\t\\t\\tif(!err) {\\n\\t\\t\\t\\tself.serverAcceptsPuts = xhr.status >= 200 && xhr.status < 300 && !!xhr.getResponseHeader(\\\"dav\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tretrieveETag(this);\\n};\\n\\nPutSaver.prototype.uri = function() {\\n\\treturn document.location.toString().split(\\\"#\\\")[0];\\n};\\n\\n// TODO: in case of edit conflict\\n// Prompt: Do you want to save over this? Y/N\\n// Merging would be ideal, and may be possible using future generic merge flow\\nPutSaver.prototype.save = function(text,method,callback) {\\n\\tif(!this.serverAcceptsPuts) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar self = this;\\n\\tvar headers = {\\n\\t\\t\\\"Content-Type\\\": \\\"text/html;charset=UTF-8\\\"\\n\\t};\\n\\tif(this.etag) {\\n\\t\\theaders[\\\"If-Match\\\"] = this.etag;\\n\\t}\\n\\t$tw.notifier.display(\\\"$:/language/Notifications/Save/Starting\\\");\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: this.uri(),\\n\\t\\ttype: \\\"PUT\\\",\\n\\t\\theaders: headers,\\n\\t\\tdata: text,\\n\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tvar status = xhr.status,\\n\\t\\t\\t\\t\\terrorMsg = err;\\n\\t\\t\\t\\tif(status === 412) { // file changed on server\\n\\t\\t\\t\\t\\terrorMsg = $tw.language.getString(\\\"Error/PutEditConflict\\\");\\n\\t\\t\\t\\t} else if(status === 401) { // authentication required\\n\\t\\t\\t\\t\\terrorMsg = $tw.language.getString(\\\"Error/PutUnauthorized\\\");\\n\\t\\t\\t\\t} else if(status === 403) { // permission denied\\n\\t\\t\\t\\t\\terrorMsg = $tw.language.getString(\\\"Error/PutForbidden\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (xhr.responseText) {\\n\\t\\t\\t\\t\\t// treat any server response like a plain text error explanation\\n\\t\\t\\t\\t\\terrorMsg = errorMsg + \\\"\\\\n\\\\n\\\" + xhr.responseText;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(errorMsg); // fail\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.etag = xhr.getResponseHeader(\\\"ETag\\\");\\n\\t\\t\\t\\tif(self.etag == null) {\\n\\t\\t\\t\\t\\tretrieveETag(self);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(null); // success\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nPutSaver.prototype.info = {\\n\\tname: \\\"put\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\",\\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn /^https?:/.test(location.protocol);\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new PutSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/tiddlyfox.js\":{\"title\":\"$:/core/modules/savers/tiddlyfox.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/tiddlyfox.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via the TiddlyFox file extension\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar TiddlyFoxSaver = function(wiki) {\\n};\\n\\nTiddlyFoxSaver.prototype.save = function(text,method,callback) {\\n\\tvar messageBox = document.getElementById(\\\"tiddlyfox-message-box\\\");\\n\\tif(messageBox) {\\n\\t\\t// Get the pathname of this document\\n\\t\\tvar pathname = document.location.toString().split(\\\"#\\\")[0];\\n\\t\\t// Replace file://localhost/ with file:///\\n\\t\\tif(pathname.indexOf(\\\"file://localhost/\\\") === 0) {\\n\\t\\t\\tpathname = \\\"file://\\\" + pathname.substr(16);\\n\\t\\t}\\n\\t\\t// Windows path file:///x:/blah/blah --> x:\\\\blah\\\\blah\\n\\t\\tif(/^file\\\\:\\\\/\\\\/\\\\/[A-Z]\\\\:\\\\//i.test(pathname)) {\\n\\t\\t\\t// Remove the leading slash and convert slashes to backslashes\\n\\t\\t\\tpathname = pathname.substr(8).replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t// Firefox Windows network path file://///server/share/blah/blah --> //server/share/blah/blah\\n\\t\\t} else if(pathname.indexOf(\\\"file://///\\\") === 0) {\\n\\t\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + unescape(pathname.substr(10)).replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t// Mac/Unix local path file:///path/path --> /path/path\\n\\t\\t} else if(pathname.indexOf(\\\"file:///\\\") === 0) {\\n\\t\\t\\tpathname = unescape(pathname.substr(7));\\n\\t\\t// Mac/Unix local path file:/path/path --> /path/path\\n\\t\\t} else if(pathname.indexOf(\\\"file:/\\\") === 0) {\\n\\t\\t\\tpathname = unescape(pathname.substr(5));\\n\\t\\t// Otherwise Windows networth path file://server/share/path/path --> \\\\\\\\server\\\\share\\\\path\\\\path\\n\\t\\t} else {\\n\\t\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + unescape(pathname.substr(7)).replace(new RegExp(\\\"/\\\",\\\"g\\\"),\\\"\\\\\\\\\\\");\\n\\t\\t}\\n\\t\\t// Create the message element and put it in the message box\\n\\t\\tvar message = document.createElement(\\\"div\\\");\\n\\t\\tmessage.setAttribute(\\\"data-tiddlyfox-path\\\",$tw.utils.decodeURIComponentSafe(pathname));\\n\\t\\tmessage.setAttribute(\\\"data-tiddlyfox-content\\\",text);\\n\\t\\tmessageBox.appendChild(message);\\n\\t\\t// Add an event handler for when the file has been saved\\n\\t\\tmessage.addEventListener(\\\"tiddlyfox-have-saved-file\\\",function(event) {\\n\\t\\t\\tcallback(null);\\n\\t\\t}, false);\\n\\t\\t// Create and dispatch the custom event to the extension\\n\\t\\tvar event = document.createEvent(\\\"Events\\\");\\n\\t\\tevent.initEvent(\\\"tiddlyfox-save-file\\\",true,false);\\n\\t\\tmessage.dispatchEvent(event);\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nTiddlyFoxSaver.prototype.info = {\\n\\tname: \\\"tiddlyfox\\\",\\n\\tpriority: 1500,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new TiddlyFoxSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/tiddlyie.js\":{\"title\":\"$:/core/modules/savers/tiddlyie.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/tiddlyie.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via Internet Explorer BHO extenion (TiddlyIE)\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar TiddlyIESaver = function(wiki) {\\n};\\n\\nTiddlyIESaver.prototype.save = function(text,method,callback) {\\n\\t// Check existence of TiddlyIE BHO extension (note: only works after document is complete)\\n\\tif(typeof(window.TiddlyIE) != \\\"undefined\\\") {\\n\\t\\t// Get the pathname of this document\\n\\t\\tvar pathname = unescape(document.location.pathname);\\n\\t\\t// Test for a Windows path of the form /x:/blah...\\n\\t\\tif(/^\\\\/[A-Z]\\\\:\\\\/[^\\\\/]+/i.test(pathname)) {\\t// ie: ^/[a-z]:/[^/]+ (is this better?: ^/[a-z]:/[^/]+(/[^/]+)*\\\\.[^/]+ )\\n\\t\\t\\t// Remove the leading slash\\n\\t\\t\\tpathname = pathname.substr(1);\\n\\t\\t\\t// Convert slashes to backslashes\\n\\t\\t\\tpathname = pathname.replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t} else if(document.hostname !== \\\"\\\" && /^\\\\/[^\\\\/]+\\\\/[^\\\\/]+/i.test(pathname)) {\\t// test for \\\\\\\\server\\\\share\\\\blah... - ^/[^/]+/[^/]+\\n\\t\\t\\t// Convert slashes to backslashes\\n\\t\\t\\tpathname = pathname.replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t\\t// reconstruct UNC path\\n\\t\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + document.location.hostname + pathname;\\n\\t\\t} else return false;\\n\\t\\t// Prompt the user to save the file\\n\\t\\twindow.TiddlyIE.save(pathname, text);\\n\\t\\t// Callback that we succeeded\\n\\t\\tcallback(null);\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nTiddlyIESaver.prototype.info = {\\n\\tname: \\\"tiddlyiesaver\\\",\\n\\tpriority: 1500,\\n\\tcapabilities: [\\\"save\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn (window.location.protocol === \\\"file:\\\");\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new TiddlyIESaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/twedit.js\":{\"title\":\"$:/core/modules/savers/twedit.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/twedit.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via the TWEdit iOS app\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar TWEditSaver = function(wiki) {\\n};\\n\\nTWEditSaver.prototype.save = function(text,method,callback) {\\n\\t// Bail if we're not running under TWEdit\\n\\tif(typeof DeviceInfo !== \\\"object\\\") {\\n\\t\\treturn false;\\n\\t}\\n\\t// Get the pathname of this document\\n\\tvar pathname = $tw.utils.decodeURIComponentSafe(document.location.pathname);\\n\\t// Strip any query or location part\\n\\tvar p = pathname.indexOf(\\\"?\\\");\\n\\tif(p !== -1) {\\n\\t\\tpathname = pathname.substr(0,p);\\n\\t}\\n\\tp = pathname.indexOf(\\\"#\\\");\\n\\tif(p !== -1) {\\n\\t\\tpathname = pathname.substr(0,p);\\n\\t}\\n\\t// Remove the leading \\\"/Documents\\\" from path\\n\\tvar prefix = \\\"/Documents\\\";\\n\\tif(pathname.indexOf(prefix) === 0) {\\n\\t\\tpathname = pathname.substr(prefix.length);\\n\\t}\\n\\t// Error handler\\n\\tvar errorHandler = function(event) {\\n\\t\\t// Error\\n\\t\\tcallback($tw.language.getString(\\\"Error/SavingToTWEdit\\\") + \\\": \\\" + event.target.error.code);\\n\\t};\\n\\t// Get the file system\\n\\twindow.requestFileSystem(LocalFileSystem.PERSISTENT,0,function(fileSystem) {\\n\\t\\t// Now we've got the filesystem, get the fileEntry\\n\\t\\tfileSystem.root.getFile(pathname, {create: true}, function(fileEntry) {\\n\\t\\t\\t// Now we've got the fileEntry, create the writer\\n\\t\\t\\tfileEntry.createWriter(function(writer) {\\n\\t\\t\\t\\twriter.onerror = errorHandler;\\n\\t\\t\\t\\twriter.onwrite = function() {\\n\\t\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\twriter.position = 0;\\n\\t\\t\\t\\twriter.write(text);\\n\\t\\t\\t},errorHandler);\\n\\t\\t}, errorHandler);\\n\\t}, errorHandler);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nTWEditSaver.prototype.info = {\\n\\tname: \\\"twedit\\\",\\n\\tpriority: 1600,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new TWEditSaver(wiki);\\n};\\n\\n/////////////////////////// Hack\\n// HACK: This ensures that TWEdit recognises us as a TiddlyWiki document\\nif($tw.browser) {\\n\\twindow.version = {title: \\\"TiddlyWiki\\\"};\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/upload.js\":{\"title\":\"$:/core/modules/savers/upload.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/upload.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via upload to a server.\\n\\nDesigned to be compatible with BidiX's UploadPlugin at http://tiddlywiki.bidix.info/#UploadPlugin\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar UploadSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nUploadSaver.prototype.save = function(text,method,callback) {\\n\\t// Get the various parameters we need\\n\\tvar backupDir = this.wiki.getTextReference(\\\"$:/UploadBackupDir\\\") || \\\".\\\",\\n\\t\\tusername = this.wiki.getTextReference(\\\"$:/UploadName\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"upload\\\"),\\n\\t\\tuploadDir = this.wiki.getTextReference(\\\"$:/UploadDir\\\") || \\\".\\\",\\n\\t\\tuploadFilename = this.wiki.getTextReference(\\\"$:/UploadFilename\\\") || \\\"index.html\\\",\\n\\t\\tuploadWithUrlOnly = this.wiki.getTextReference(\\\"$:/UploadWithUrlOnly\\\") || \\\"no\\\",\\n\\t\\turl = this.wiki.getTextReference(\\\"$:/UploadURL\\\");\\n\\t// Bail out if we don't have the bits we need\\n\\tif (uploadWithUrlOnly === \\\"yes\\\") {\\n\\t\\t// The url is good enough. No need for a username and password.\\n\\t\\t// Assume the server uses some other kind of auth mechanism.\\n\\t\\tif(!url || url.toString().trim() === \\\"\\\") {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\telse {\\n\\t\\t// Require username and password to be present.\\n\\t\\t// Assume the server uses the standard UploadPlugin username/password.\\n\\t\\tif(!username || username.toString().trim() === \\\"\\\" || !password || password.toString().trim() === \\\"\\\") {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\t// Construct the url if not provided\\n\\tif(!url) {\\n\\t\\turl = \\\"http://\\\" + username + \\\".tiddlyhost.com/\\\";\\n\\t}\\n\\t// Assemble the header\\n\\tvar boundary = \\\"---------------------------\\\" + \\\"AaB03x\\\";\\n\\tvar uploadFormName = \\\"UploadPlugin\\\";\\n\\tvar head = [];\\n\\thead.push(\\\"--\\\" + boundary + \\\"\\\\r\\\\nContent-disposition: form-data; name=\\\\\\\"UploadPlugin\\\\\\\"\\\\r\\\\n\\\");\\n\\thead.push(\\\"backupDir=\\\" + backupDir + \\\";user=\\\" + username + \\\";password=\\\" + password + \\\";uploaddir=\\\" + uploadDir + \\\";;\\\"); \\n\\thead.push(\\\"\\\\r\\\\n\\\" + \\\"--\\\" + boundary);\\n\\thead.push(\\\"Content-disposition: form-data; name=\\\\\\\"userfile\\\\\\\"; filename=\\\\\\\"\\\" + uploadFilename + \\\"\\\\\\\"\\\");\\n\\thead.push(\\\"Content-Type: text/html;charset=UTF-8\\\");\\n\\thead.push(\\\"Content-Length: \\\" + text.length + \\\"\\\\r\\\\n\\\");\\n\\thead.push(\\\"\\\");\\n\\t// Assemble the tail and the data itself\\n\\tvar tail = \\\"\\\\r\\\\n--\\\" + boundary + \\\"--\\\\r\\\\n\\\",\\n\\t\\tdata = head.join(\\\"\\\\r\\\\n\\\") + text + tail;\\n\\t// Do the HTTP post\\n\\t$tw.notifier.display(\\\"$:/language/Notifications/Save/Starting\\\");\\n\\tvar http = new XMLHttpRequest();\\n\\thttp.open(\\\"POST\\\",url,true,username,password);\\n\\thttp.setRequestHeader(\\\"Content-Type\\\",\\\"multipart/form-data; charset=UTF-8; boundary=\\\" + boundary);\\n\\thttp.onreadystatechange = function() {\\n\\t\\tif(http.readyState == 4 && http.status == 200) {\\n\\t\\t\\tif(http.responseText.substr(0,4) === \\\"0 - \\\") {\\n\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tcallback(http.responseText);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\ttry {\\n\\t\\thttp.send(data);\\n\\t} catch(ex) {\\n\\t\\treturn callback($tw.language.getString(\\\"Error/Caption\\\") + \\\":\\\" + ex);\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nUploadSaver.prototype.info = {\\n\\tname: \\\"upload\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new UploadSaver(wiki);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/server/authenticators/basic.js\":{\"title\":\"$:/core/modules/server/authenticators/basic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/authenticators/basic.js\\ntype: application/javascript\\nmodule-type: authenticator\\n\\nAuthenticator for WWW basic authentication\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nif($tw.node) {\\n\\tvar util = require(\\\"util\\\"),\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\turl = require(\\\"url\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n}\\n\\nfunction BasicAuthenticator(server) {\\n\\tthis.server = server;\\n\\tthis.credentialsData = [];\\n}\\n\\n/*\\nReturns true if the authenticator is active, false if it is inactive, or a string if there is an error\\n*/\\nBasicAuthenticator.prototype.init = function() {\\n\\t// Read the credentials data\\n\\tthis.credentialsFilepath = this.server.get(\\\"credentials\\\");\\n\\tif(this.credentialsFilepath) {\\n\\t\\tvar resolveCredentialsFilepath = path.resolve(this.server.boot.wikiPath,this.credentialsFilepath);\\n\\t\\tif(fs.existsSync(resolveCredentialsFilepath) && !fs.statSync(resolveCredentialsFilepath).isDirectory()) {\\n\\t\\t\\tvar credentialsText = fs.readFileSync(resolveCredentialsFilepath,\\\"utf8\\\"),\\n\\t\\t\\t\\tcredentialsData = $tw.utils.parseCsvStringWithHeader(credentialsText);\\n\\t\\t\\tif(typeof credentialsData === \\\"string\\\") {\\n\\t\\t\\t\\treturn \\\"Error: \\\" + credentialsData + \\\" reading credentials from '\\\" + resolveCredentialsFilepath + \\\"'\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.credentialsData = credentialsData;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\treturn \\\"Error: Unable to load user credentials from '\\\" + resolveCredentialsFilepath + \\\"'\\\";\\n\\t\\t}\\n\\t}\\n\\t// Add the hardcoded username and password if specified\\n\\tif(this.server.get(\\\"username\\\") && this.server.get(\\\"password\\\")) {\\n\\t\\tthis.credentialsData = this.credentialsData || [];\\n\\t\\tthis.credentialsData.push({\\n\\t\\t\\tusername: this.server.get(\\\"username\\\"),\\n\\t\\t\\tpassword: this.server.get(\\\"password\\\")\\n\\t\\t});\\n\\t}\\n\\treturn this.credentialsData.length > 0;\\n};\\n\\n/*\\nReturns true if the request is authenticated and assigns the \\\"authenticatedUsername\\\" state variable.\\nReturns false if the request couldn't be authenticated having sent an appropriate response to the browser\\n*/\\nBasicAuthenticator.prototype.authenticateRequest = function(request,response,state) {\\n\\t// Extract the incoming username and password from the request\\n\\tvar header = request.headers.authorization || \\\"\\\";\\n\\tif(!header && state.allowAnon) {\\n\\t\\t// If there's no header and anonymous access is allowed then we don't set authenticatedUsername\\n\\t\\treturn true;\\n\\t}\\n\\tvar token = header.split(/\\\\s+/).pop() || \\\"\\\",\\n\\t\\tauth = $tw.utils.base64Decode(token),\\n\\t\\tparts = auth.split(/:/),\\n\\t\\tincomingUsername = parts[0],\\n\\t\\tincomingPassword = parts[1];\\n\\t// Check that at least one of the credentials matches\\n\\tvar matchingCredentials = this.credentialsData.find(function(credential) {\\n\\t\\treturn credential.username === incomingUsername && credential.password === incomingPassword;\\n\\t});\\n\\tif(matchingCredentials) {\\n\\t\\t// If so, add the authenticated username to the request state\\n\\t\\tstate.authenticatedUsername = incomingUsername;\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\t// If not, return an authentication challenge\\n\\t\\tresponse.writeHead(401,\\\"Authentication required\\\",{\\n\\t\\t\\t\\\"WWW-Authenticate\\\": 'Basic realm=\\\"Please provide your username and password to login to ' + state.server.servername + '\\\"'\\n\\t\\t});\\n\\t\\tresponse.end();\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.AuthenticatorClass = BasicAuthenticator;\\n\",\"type\":\"application/javascript\",\"module-type\":\"authenticator\"},\"$:/core/modules/server/authenticators/header.js\":{\"title\":\"$:/core/modules/server/authenticators/header.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/authenticators/header.js\\ntype: application/javascript\\nmodule-type: authenticator\\n\\nAuthenticator for trusted header authentication\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction HeaderAuthenticator(server) {\\n\\tthis.server = server;\\n\\tthis.header = server.get(\\\"authenticated-user-header\\\") ? server.get(\\\"authenticated-user-header\\\").toLowerCase() : undefined;\\n}\\n\\n/*\\nReturns true if the authenticator is active, false if it is inactive, or a string if there is an error\\n*/\\nHeaderAuthenticator.prototype.init = function() {\\n\\treturn !!this.header;\\n};\\n\\n/*\\nReturns true if the request is authenticated and assigns the \\\"authenticatedUsername\\\" state variable.\\nReturns false if the request couldn't be authenticated having sent an appropriate response to the browser\\n*/\\nHeaderAuthenticator.prototype.authenticateRequest = function(request,response,state) {\\n\\t// Otherwise, authenticate as the username in the specified header\\n\\tvar username = request.headers[this.header];\\n\\tif(!username && !state.allowAnon) {\\n\\t\\tresponse.writeHead(401,\\\"Authorization header required to login to '\\\" + state.server.servername + \\\"'\\\");\\n\\t\\tresponse.end();\\n\\t\\treturn false;\\n\\t} else {\\n\\t\\t// authenticatedUsername will be undefined for anonymous users\\n\\t\\tif(username) {\\n\\t\\t\\tstate.authenticatedUsername = $tw.utils.decodeURIComponentSafe(username);\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n};\\n\\nexports.AuthenticatorClass = HeaderAuthenticator;\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"authenticator\"},\"$:/core/modules/server/routes/delete-tiddler.js\":{\"title\":\"$:/core/modules/server/routes/delete-tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/delete-tiddler.js\\ntype: application/javascript\\nmodule-type: route\\n\\nDELETE /recipes/default/tiddlers/:title\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"DELETE\\\";\\n\\nexports.path = /^\\\\/bags\\\\/default\\\\/tiddlers\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]);\\n\\tstate.wiki.deleteTiddler(title);\\n\\tresponse.writeHead(204, \\\"OK\\\", {\\n\\t\\t\\\"Content-Type\\\": \\\"text/plain\\\"\\n\\t});\\n\\tresponse.end();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-favicon.js\":{\"title\":\"$:/core/modules/server/routes/get-favicon.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-favicon.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /favicon.ico\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/favicon.ico$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar buffer = state.wiki.getTiddlerText(\\\"$:/favicon.ico\\\",\\\"\\\");\\n\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"image/x-icon\\\"},buffer,\\\"base64\\\");\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-file.js\":{\"title\":\"$:/core/modules/server/routes/get-file.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-file.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /files/:filepath\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/files\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar path = require(\\\"path\\\"),\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tutil = require(\\\"util\\\"),\\n\\t\\tsuppliedFilename = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\t\\tbaseFilename = path.resolve(state.boot.wikiPath,\\\"files\\\"),\\n\\t\\tfilename = path.resolve(baseFilename,suppliedFilename),\\n\\t\\textension = path.extname(filename);\\n\\t// Check that the filename is inside the wiki files folder\\n\\tif(path.relative(baseFilename,filename).indexOf(\\\"..\\\") !== 0) {\\n\\t\\t// Send the file\\n\\t\\tfs.readFile(filename,function(err,content) {\\n\\t\\t\\tvar status,content,type = \\\"text/plain\\\";\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tconsole.log(\\\"Error accessing file \\\" + filename + \\\": \\\" + err.toString());\\n\\t\\t\\t\\tstatus = 404;\\n\\t\\t\\t\\tcontent = \\\"File '\\\" + suppliedFilename + \\\"' not found\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tstatus = 200;\\n\\t\\t\\t\\tcontent = content;\\n\\t\\t\\t\\ttype = ($tw.config.fileExtensionInfo[extension] ? $tw.config.fileExtensionInfo[extension].type : \\\"application/octet-stream\\\");\\n\\t\\t\\t}\\n\\t\\t\\tstate.sendResponse(status,{\\\"Content-Type\\\": type},content);\\n\\t\\t});\\n\\t} else {\\n\\t\\tstate.sendResponse(404,{\\\"Content-Type\\\": \\\"text/plain\\\"},\\\"File '\\\" + suppliedFilename + \\\"' not found\\\");\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-index.js\":{\"title\":\"$:/core/modules/server/routes/get-index.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-index.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar text = state.wiki.renderTiddler(state.server.get(\\\"root-render-type\\\"),state.server.get(\\\"root-tiddler\\\")),\\n\\t\\tresponseHeaders = {\\n\\t\\t\\\"Content-Type\\\": state.server.get(\\\"root-serve-type\\\")\\n\\t};\\n\\tstate.sendResponse(200,responseHeaders,text);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-login-basic.js\":{\"title\":\"$:/core/modules/server/routes/get-login-basic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-login-basic.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /login-basic -- force a Basic Authentication challenge\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/login-basic$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tif(!state.authenticatedUsername) {\\n\\t\\t// Challenge if there's no username\\n\\t\\tresponse.writeHead(401,{\\n\\t\\t\\t\\\"WWW-Authenticate\\\": 'Basic realm=\\\"Please provide your username and password to login to ' + state.server.servername + '\\\"'\\n\\t\\t});\\n\\t\\tresponse.end();\\n\\t} else {\\n\\t\\t// Redirect to the root wiki if login worked\\n\\t\\tvar location = ($tw.syncadaptor && $tw.syncadaptor.host)? $tw.syncadaptor.host: `${state.pathPrefix}/`;\\n\\t\\tresponse.writeHead(302,{\\n\\t\\t\\tLocation: location\\n\\t\\t});\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-status.js\":{\"title\":\"$:/core/modules/server/routes/get-status.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-status.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /status\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/status$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar text = JSON.stringify({\\n\\t\\tusername: state.authenticatedUsername || state.server.get(\\\"anon-username\\\") || \\\"\\\",\\n\\t\\tanonymous: !state.authenticatedUsername,\\n\\t\\tread_only: !state.server.isAuthorized(\\\"writers\\\",state.authenticatedUsername),\\n\\t\\tlogout_is_available: false,\\n\\t\\tspace: {\\n\\t\\t\\trecipe: \\\"default\\\"\\n\\t\\t},\\n\\t\\ttiddlywiki_version: $tw.version\\n\\t});\\n\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"application/json\\\"},text,\\\"utf8\\\");\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-tiddler-html.js\":{\"title\":\"$:/core/modules/server/routes/get-tiddler-html.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-tiddler-html.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /:title\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/([^\\\\/]+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\t\\ttiddler = state.wiki.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar renderType = tiddler.getFieldString(\\\"_render_type\\\"),\\n\\t\\t\\trenderTemplate = tiddler.getFieldString(\\\"_render_template\\\");\\n\\t\\t// Tiddler fields '_render_type' and '_render_template' overwrite\\n\\t\\t// system wide settings for render type and template\\n\\t\\tif(state.wiki.isSystemTiddler(title)) {\\n\\t\\t\\trenderType = renderType || state.server.get(\\\"system-tiddler-render-type\\\");\\n\\t\\t\\trenderTemplate = renderTemplate || state.server.get(\\\"system-tiddler-render-template\\\");\\n\\t\\t} else {\\n\\t\\t\\trenderType = renderType || state.server.get(\\\"tiddler-render-type\\\");\\n\\t\\t\\trenderTemplate = renderTemplate || state.server.get(\\\"tiddler-render-template\\\");\\n\\t\\t}\\n\\t\\tvar text = state.wiki.renderTiddler(renderType,renderTemplate,{parseAsInline: true, variables: {currentTiddler: title}});\\n\\n\\t\\t// Naughty not to set a content-type, but it's the easiest way to ensure the browser will see HTML pages as HTML, and accept plain text tiddlers as CSS or JS\\n\\t\\tstate.sendResponse(200,{},text,\\\"utf8\\\");\\n\\t} else {\\n\\t\\tresponse.writeHead(404);\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-tiddler.js\":{\"title\":\"$:/core/modules/server/routes/get-tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-tiddler.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /recipes/default/tiddlers/:title\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/recipes\\\\/default\\\\/tiddlers\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\t\\ttiddler = state.wiki.getTiddler(title),\\n\\t\\ttiddlerFields = {},\\n\\t\\tknownFields = [\\n\\t\\t\\t\\\"bag\\\", \\\"created\\\", \\\"creator\\\", \\\"modified\\\", \\\"modifier\\\", \\\"permissions\\\", \\\"recipe\\\", \\\"revision\\\", \\\"tags\\\", \\\"text\\\", \\\"title\\\", \\\"type\\\", \\\"uri\\\"\\n\\t\\t];\\n\\tif(tiddler) {\\n\\t\\t$tw.utils.each(tiddler.fields,function(field,name) {\\n\\t\\t\\tvar value = tiddler.getFieldString(name);\\n\\t\\t\\tif(knownFields.indexOf(name) !== -1) {\\n\\t\\t\\t\\ttiddlerFields[name] = value;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttiddlerFields.fields = tiddlerFields.fields || {};\\n\\t\\t\\t\\ttiddlerFields.fields[name] = value;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\ttiddlerFields.revision = state.wiki.getChangeCount(title);\\n\\t\\ttiddlerFields.bag = \\\"default\\\";\\n\\t\\ttiddlerFields.type = tiddlerFields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"application/json\\\"},JSON.stringify(tiddlerFields),\\\"utf8\\\");\\n\\t} else {\\n\\t\\tresponse.writeHead(404);\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-tiddlers-json.js\":{\"title\":\"$:/core/modules/server/routes/get-tiddlers-json.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-tiddlers-json.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /recipes/default/tiddlers.json?filter=<filter>\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nvar DEFAULT_FILTER = \\\"[all[tiddlers]!is[system]sort[title]]\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/recipes\\\\/default\\\\/tiddlers.json$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar filter = state.queryParameters.filter || DEFAULT_FILTER;\\n\\tif(state.wiki.getTiddlerText(\\\"$:/config/Server/AllowAllExternalFilters\\\") !== \\\"yes\\\") {\\n\\t\\tif(state.wiki.getTiddlerText(\\\"$:/config/Server/ExternalFilters/\\\" + filter) !== \\\"yes\\\") {\\n\\t\\t\\tconsole.log(\\\"Blocked attempt to GET /recipes/default/tiddlers.json with filter: \\\" + filter);\\n\\t\\t\\tresponse.writeHead(403);\\n\\t\\t\\tresponse.end();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t}\\n\\tif(state.wiki.getTiddlerText(\\\"$:/config/SyncSystemTiddlersFromServer\\\") === \\\"no\\\") {\\n\\t\\tfilter += \\\"+[!is[system]]\\\";\\n\\t}\\n\\tvar excludeFields = (state.queryParameters.exclude || \\\"text\\\").split(\\\",\\\"),\\n\\t\\ttitles = state.wiki.filterTiddlers(filter);\\n\\tvar tiddlers = [];\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tvar tiddler = state.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tvar tiddlerFields = tiddler.getFieldStrings({exclude: excludeFields});\\n\\t\\t\\ttiddlerFields.revision = state.wiki.getChangeCount(title);\\n\\t\\t\\ttiddlerFields.type = tiddlerFields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\t\\ttiddlers.push(tiddlerFields);\\n\\t\\t}\\n\\t});\\n\\tvar text = JSON.stringify(tiddlers);\\n\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"application/json\\\"},text,\\\"utf8\\\");\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/put-tiddler.js\":{\"title\":\"$:/core/modules/server/routes/put-tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/put-tiddler.js\\ntype: application/javascript\\nmodule-type: route\\n\\nPUT /recipes/default/tiddlers/:title\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nexports.method = \\\"PUT\\\";\\n\\nexports.path = /^\\\\/recipes\\\\/default\\\\/tiddlers\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\tfields = $tw.utils.parseJSONSafe(state.data);\\n\\t// Pull up any subfields in the `fields` object\\n\\tif(fields.fields) {\\n\\t\\t$tw.utils.each(fields.fields,function(field,name) {\\n\\t\\t\\tfields[name] = field;\\n\\t\\t});\\n\\t\\tdelete fields.fields;\\n\\t}\\n\\t// Remove any revision field\\n\\tif(fields.revision) {\\n\\t\\tdelete fields.revision;\\n\\t}\\n\\t// If this is a skinny tiddler, it means the client never got the full\\n\\t// version of the tiddler to edit. So we must preserve whatever text\\n\\t// already exists on the server, or else we'll inadvertently delete it.\\n\\tif(fields._is_skinny !== undefined) {\\n\\t\\tvar tiddler = state.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tfields.text = tiddler.fields.text;\\n\\t\\t}\\n\\t\\tdelete fields._is_skinny;\\n\\t}\\n\\tstate.wiki.addTiddler(new $tw.Tiddler(fields,{title: title}));\\n\\tvar changeCount = state.wiki.getChangeCount(title).toString();\\n\\tresponse.writeHead(204, \\\"OK\\\",{\\n\\t\\tEtag: \\\"\\\\\\\"default/\\\" + encodeURIComponent(title) + \\\"/\\\" + changeCount + \\\":\\\\\\\"\\\",\\n\\t\\t\\\"Content-Type\\\": \\\"text/plain\\\"\\n\\t});\\n\\tresponse.end();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/server.js\":{\"title\":\"$:/core/modules/server/server.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/server.js\\ntype: application/javascript\\nmodule-type: library\\n\\nServe tiddlers over http\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nif($tw.node) {\\n\\tvar util = require(\\\"util\\\"),\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\turl = require(\\\"url\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\tquerystring = require(\\\"querystring\\\"),\\n\\t\\tcrypto = require(\\\"crypto\\\"),\\n\\t\\tzlib = require(\\\"zlib\\\");\\n}\\n\\n/*\\nA simple HTTP server with regexp-based routes\\noptions: variables - optional hashmap of variables to set (a misnomer - they are really constant parameters)\\n\\t\\t routes - optional array of routes to use\\n\\t\\t wiki - reference to wiki object\\n*/\\nfunction Server(options) {\\n\\tvar self = this;\\n\\tthis.routes = options.routes || [];\\n\\tthis.authenticators = options.authenticators || [];\\n\\tthis.wiki = options.wiki;\\n\\tthis.boot = options.boot || $tw.boot;\\n\\t// Initialise the variables\\n\\tthis.variables = $tw.utils.extend({},this.defaultVariables);\\n\\tif(options.variables) {\\n\\t\\tfor(var variable in options.variables) {\\n\\t\\t\\tif(options.variables[variable]) {\\n\\t\\t\\t\\tthis.variables[variable] = options.variables[variable];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Setup the default required plugins\\n\\tthis.requiredPlugins = this.get(\\\"required-plugins\\\").split(',');\\n\\t// Initialise CSRF\\n\\tthis.csrfDisable = this.get(\\\"csrf-disable\\\") === \\\"yes\\\";\\n\\t// Initialize Gzip compression\\n\\tthis.enableGzip = this.get(\\\"gzip\\\") === \\\"yes\\\";\\n\\t// Initialize browser-caching\\n\\tthis.enableBrowserCache = this.get(\\\"use-browser-cache\\\") === \\\"yes\\\";\\n\\t// Initialise authorization\\n\\tvar authorizedUserName;\\n\\tif(this.get(\\\"username\\\") && this.get(\\\"password\\\")) {\\n\\t\\tauthorizedUserName = this.get(\\\"username\\\");\\n\\t} else if(this.get(\\\"credentials\\\")) {\\n\\t\\tauthorizedUserName = \\\"(authenticated)\\\";\\n\\t} else {\\n\\t\\tauthorizedUserName = \\\"(anon)\\\";\\n\\t}\\n\\tthis.authorizationPrincipals = {\\n\\t\\treaders: (this.get(\\\"readers\\\") || authorizedUserName).split(\\\",\\\").map($tw.utils.trim),\\n\\t\\twriters: (this.get(\\\"writers\\\") || authorizedUserName).split(\\\",\\\").map($tw.utils.trim)\\n\\t}\\n\\tif(this.get(\\\"admin\\\") || authorizedUserName !== \\\"(anon)\\\") {\\n\\t\\tthis.authorizationPrincipals[\\\"admin\\\"] = (this.get(\\\"admin\\\") || authorizedUserName).split(',').map($tw.utils.trim)\\n\\t}\\n\\t// Load and initialise authenticators\\n\\t$tw.modules.forEachModuleOfType(\\\"authenticator\\\", function(title,authenticatorDefinition) {\\n\\t\\t// console.log(\\\"Loading authenticator \\\" + title);\\n\\t\\tself.addAuthenticator(authenticatorDefinition.AuthenticatorClass);\\n\\t});\\n\\t// Load route handlers\\n\\t$tw.modules.forEachModuleOfType(\\\"route\\\", function(title,routeDefinition) {\\n\\t\\t// console.log(\\\"Loading server route \\\" + title);\\n\\t\\tself.addRoute(routeDefinition);\\n\\t});\\n\\t// Initialise the http vs https\\n\\tthis.listenOptions = null;\\n\\tthis.protocol = \\\"http\\\";\\n\\tvar tlsKeyFilepath = this.get(\\\"tls-key\\\"),\\n\\t\\ttlsCertFilepath = this.get(\\\"tls-cert\\\"),\\n\\t\\ttlsPassphrase = this.get(\\\"tls-passphrase\\\");\\n\\tif(tlsCertFilepath && tlsKeyFilepath) {\\n\\t\\tthis.listenOptions = {\\n\\t\\t\\tkey: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsKeyFilepath),\\\"utf8\\\"),\\n\\t\\t\\tcert: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsCertFilepath),\\\"utf8\\\"),\\n\\t\\t\\tpassphrase: tlsPassphrase || ''\\n\\t\\t};\\n\\t\\tthis.protocol = \\\"https\\\";\\n\\t}\\n\\tthis.transport = require(this.protocol);\\n\\t// Name the server and init the boot state\\n\\tthis.servername = $tw.utils.transliterateToSafeASCII(this.get(\\\"server-name\\\") || this.wiki.getTiddlerText(\\\"$:/SiteTitle\\\") || \\\"TiddlyWiki5\\\");\\n\\tthis.boot.origin = this.get(\\\"origin\\\")? this.get(\\\"origin\\\"): this.protocol+\\\"://\\\"+this.get(\\\"host\\\")+\\\":\\\"+this.get(\\\"port\\\");\\n\\tthis.boot.pathPrefix = this.get(\\\"path-prefix\\\") || \\\"\\\";\\n}\\n\\n/*\\nSend a response to the client. This method checks if the response must be sent\\nor if the client alrady has the data cached. If that's the case only a 304\\nresponse will be transmitted and the browser will use the cached data.\\nOnly requests with status code 200 are considdered for caching.\\nrequest: request instance passed to the handler\\nresponse: response instance passed to the handler\\nstatusCode: stauts code to send to the browser\\nheaders: response headers (they will be augmented with an `Etag` header)\\ndata: the data to send (passed to the end method of the response instance)\\nencoding: the encoding of the data to send (passed to the end method of the response instance)\\n*/\\nfunction sendResponse(request,response,statusCode,headers,data,encoding) {\\n\\tif(this.enableBrowserCache && (statusCode == 200)) {\\n\\t\\tvar hash = crypto.createHash('md5');\\n\\t\\t// Put everything into the hash that could change and invalidate the data that\\n\\t\\t// the browser already stored. The headers the data and the encoding.\\n\\t\\thash.update(data);\\n\\t\\thash.update(JSON.stringify(headers));\\n\\t\\tif(encoding) {\\n\\t\\t\\thash.update(encoding);\\n\\t\\t}\\n\\t\\tvar contentDigest = hash.digest(\\\"hex\\\");\\n\\t\\t// RFC 7232 section 2.3 mandates for the etag to be enclosed in quotes\\n\\t\\theaders[\\\"Etag\\\"] = '\\\"' + contentDigest + '\\\"';\\n\\t\\theaders[\\\"Cache-Control\\\"] = \\\"max-age=0, must-revalidate\\\";\\n\\t\\t// Check if any of the hashes contained within the if-none-match header\\n\\t\\t// matches the current hash.\\n\\t\\t// If one matches, do not send the data but tell the browser to use the\\n\\t\\t// cached data.\\n\\t\\t// We do not implement \\\"*\\\" as it makes no sense here.\\n\\t\\tvar ifNoneMatch = request.headers[\\\"if-none-match\\\"];\\n\\t\\tif(ifNoneMatch) {\\n\\t\\t\\tvar matchParts = ifNoneMatch.split(\\\",\\\").map(function(etag) {\\n\\t\\t\\t\\treturn etag.replace(/^[ \\\"]+|[ \\\"]+$/g, \\\"\\\");\\n\\t\\t\\t});\\n\\t\\t\\tif(matchParts.indexOf(contentDigest) != -1) {\\n\\t\\t\\t\\tresponse.writeHead(304,headers);\\n\\t\\t\\t\\tresponse.end();\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\t// RFC 7231, 6.1. Overview of Status Codes:\\n\\t\\t// Browser clients may cache 200, 203, 204, 206, 300, 301, \\n\\t\\t// 404, 405, 410, 414, and 501 unless given explicit cache controls\\n\\t\\theaders[\\\"Cache-Control\\\"] = headers[\\\"Cache-Control\\\"] || \\\"no-store\\\";\\n\\t}\\n\\t/*\\n\\tIf the gzip=yes is set, check if the user agent permits compression. If so,\\n\\tcompress our response if the raw data is bigger than 2k. Compressing less\\n\\tdata is inefficient. Note that we use the synchronous functions from zlib\\n\\tto stay in the imperative style. The current `Server` doesn't depend on\\n\\tthis, and we may just as well use the async versions.\\n\\t*/\\n\\tif(this.enableGzip && (data.length > 2048)) {\\n\\t\\tvar acceptEncoding = request.headers[\\\"accept-encoding\\\"] || \\\"\\\";\\n\\t\\tif(/\\\\bdeflate\\\\b/.test(acceptEncoding)) {\\n\\t\\t\\theaders[\\\"Content-Encoding\\\"] = \\\"deflate\\\";\\n\\t\\t\\tdata = zlib.deflateSync(data);\\n\\t\\t} else if(/\\\\bgzip\\\\b/.test(acceptEncoding)) {\\n\\t\\t\\theaders[\\\"Content-Encoding\\\"] = \\\"gzip\\\";\\n\\t\\t\\tdata = zlib.gzipSync(data);\\n\\t\\t}\\n\\t}\\n\\n\\tresponse.writeHead(statusCode,headers);\\n\\tresponse.end(data,encoding);\\n}\\n\\nServer.prototype.defaultVariables = {\\n\\tport: \\\"8080\\\",\\n\\thost: \\\"127.0.0.1\\\",\\n\\t\\\"required-plugins\\\": \\\"$:/plugins/tiddlywiki/filesystem,$:/plugins/tiddlywiki/tiddlyweb\\\",\\n\\t\\\"root-tiddler\\\": \\\"$:/core/save/all\\\",\\n\\t\\\"root-render-type\\\": \\\"text/plain\\\",\\n\\t\\\"root-serve-type\\\": \\\"text/html\\\",\\n\\t\\\"tiddler-render-type\\\": \\\"text/html\\\",\\n\\t\\\"tiddler-render-template\\\": \\\"$:/core/templates/server/static.tiddler.html\\\",\\n\\t\\\"system-tiddler-render-type\\\": \\\"text/plain\\\",\\n\\t\\\"system-tiddler-render-template\\\": \\\"$:/core/templates/wikified-tiddler\\\",\\n\\t\\\"debug-level\\\": \\\"none\\\",\\n\\t\\\"gzip\\\": \\\"no\\\",\\n\\t\\\"use-browser-cache\\\": \\\"no\\\"\\n};\\n\\nServer.prototype.get = function(name) {\\n\\treturn this.variables[name];\\n};\\n\\nServer.prototype.addRoute = function(route) {\\n\\tthis.routes.push(route);\\n};\\n\\nServer.prototype.addAuthenticator = function(AuthenticatorClass) {\\n\\t// Instantiate and initialise the authenticator\\n\\tvar authenticator = new AuthenticatorClass(this),\\n\\t\\tresult = authenticator.init();\\n\\tif(typeof result === \\\"string\\\") {\\n\\t\\t$tw.utils.error(\\\"Error: \\\" + result);\\n\\t} else if(result) {\\n\\t\\t// Only use the authenticator if it initialised successfully\\n\\t\\tthis.authenticators.push(authenticator);\\n\\t}\\n};\\n\\nServer.prototype.findMatchingRoute = function(request,state) {\\n\\tfor(var t=0; t<this.routes.length; t++) {\\n\\t\\tvar potentialRoute = this.routes[t],\\n\\t\\t\\tpathRegExp = potentialRoute.path,\\n\\t\\t\\tpathname = state.urlInfo.pathname,\\n\\t\\t\\tmatch;\\n\\t\\tif(state.pathPrefix) {\\n\\t\\t\\tif(pathname.substr(0,state.pathPrefix.length) === state.pathPrefix) {\\n\\t\\t\\t\\tpathname = pathname.substr(state.pathPrefix.length) || \\\"/\\\";\\n\\t\\t\\t\\tmatch = potentialRoute.path.exec(pathname);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tmatch = false;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tmatch = potentialRoute.path.exec(pathname);\\n\\t\\t}\\n\\t\\tif(match && request.method === potentialRoute.method) {\\n\\t\\t\\tstate.params = [];\\n\\t\\t\\tfor(var p=1; p<match.length; p++) {\\n\\t\\t\\t\\tstate.params.push(match[p]);\\n\\t\\t\\t}\\n\\t\\t\\treturn potentialRoute;\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\nServer.prototype.methodMappings = {\\n\\t\\\"GET\\\": \\\"readers\\\",\\n\\t\\\"OPTIONS\\\": \\\"readers\\\",\\n\\t\\\"HEAD\\\": \\\"readers\\\",\\n\\t\\\"PUT\\\": \\\"writers\\\",\\n\\t\\\"POST\\\": \\\"writers\\\",\\n\\t\\\"DELETE\\\": \\\"writers\\\"\\n};\\n\\n/*\\nCheck whether a given user is authorized for the specified authorizationType (\\\"readers\\\" or \\\"writers\\\"). Pass null or undefined as the username to check for anonymous access\\n*/\\nServer.prototype.isAuthorized = function(authorizationType,username) {\\n\\tvar principals = this.authorizationPrincipals[authorizationType] || [];\\n\\treturn principals.indexOf(\\\"(anon)\\\") !== -1 || (username && (principals.indexOf(\\\"(authenticated)\\\") !== -1 || principals.indexOf(username) !== -1));\\n}\\n\\nServer.prototype.requestHandler = function(request,response,options) {\\n\\toptions = options || {};\\n\\t// Compose the state object\\n\\tvar self = this;\\n\\tvar state = {};\\n\\tstate.wiki = options.wiki || self.wiki;\\n\\tstate.boot = options.boot || self.boot;\\n\\tstate.server = self;\\n\\tstate.urlInfo = url.parse(request.url);\\n\\tstate.queryParameters = querystring.parse(state.urlInfo.query);\\n\\tstate.pathPrefix = options.pathPrefix || this.get(\\\"path-prefix\\\") || \\\"\\\";\\n\\tstate.sendResponse = sendResponse.bind(self,request,response);\\n\\t// Get the principals authorized to access this resource\\n\\tstate.authorizationType = options.authorizationType || this.methodMappings[request.method] || \\\"readers\\\";\\n\\t// Check for the CSRF header if this is a write\\n\\tif(!this.csrfDisable && state.authorizationType === \\\"writers\\\" && request.headers[\\\"x-requested-with\\\"] !== \\\"TiddlyWiki\\\") {\\n\\t\\tresponse.writeHead(403,\\\"'X-Requested-With' header required to login to '\\\" + this.servername + \\\"'\\\");\\n\\t\\tresponse.end();\\n\\t\\treturn;\\n\\t}\\n\\t// Check whether anonymous access is granted\\n\\tstate.allowAnon = this.isAuthorized(state.authorizationType,null);\\n\\t// Authenticate with the first active authenticator\\n\\tif(this.authenticators.length > 0) {\\n\\t\\tif(!this.authenticators[0].authenticateRequest(request,response,state)) {\\n\\t\\t\\t// Bail if we failed (the authenticator will have sent the response)\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t}\\n\\t// Authorize with the authenticated username\\n\\tif(!this.isAuthorized(state.authorizationType,state.authenticatedUsername)) {\\n\\t\\tresponse.writeHead(401,\\\"'\\\" + state.authenticatedUsername + \\\"' is not authorized to access '\\\" + this.servername + \\\"'\\\");\\n\\t\\tresponse.end();\\n\\t\\treturn;\\n\\t}\\n\\t// Find the route that matches this path\\n\\tvar route = self.findMatchingRoute(request,state);\\n\\t// Optionally output debug info\\n\\tif(self.get(\\\"debug-level\\\") !== \\\"none\\\") {\\n\\t\\tconsole.log(\\\"Request path:\\\",JSON.stringify(state.urlInfo));\\n\\t\\tconsole.log(\\\"Request headers:\\\",JSON.stringify(request.headers));\\n\\t\\tconsole.log(\\\"authenticatedUsername:\\\",state.authenticatedUsername);\\n\\t}\\n\\t// Return a 404 if we didn't find a route\\n\\tif(!route) {\\n\\t\\tresponse.writeHead(404);\\n\\t\\tresponse.end();\\n\\t\\treturn;\\n\\t}\\n\\t// Receive the request body if necessary and hand off to the route handler\\n\\tif(route.bodyFormat === \\\"stream\\\" || request.method === \\\"GET\\\" || request.method === \\\"HEAD\\\") {\\n\\t\\t// Let the route handle the request stream itself\\n\\t\\troute.handler(request,response,state);\\n\\t} else if(route.bodyFormat === \\\"string\\\" || !route.bodyFormat) {\\n\\t\\t// Set the encoding for the incoming request\\n\\t\\trequest.setEncoding(\\\"utf8\\\");\\n\\t\\tvar data = \\\"\\\";\\n\\t\\trequest.on(\\\"data\\\",function(chunk) {\\n\\t\\t\\tdata += chunk.toString();\\n\\t\\t});\\n\\t\\trequest.on(\\\"end\\\",function() {\\n\\t\\t\\tstate.data = data;\\n\\t\\t\\troute.handler(request,response,state);\\n\\t\\t});\\n\\t} else if(route.bodyFormat === \\\"buffer\\\") {\\n\\t\\tvar data = [];\\n\\t\\trequest.on(\\\"data\\\",function(chunk) {\\n\\t\\t\\tdata.push(chunk);\\n\\t\\t});\\n\\t\\trequest.on(\\\"end\\\",function() {\\n\\t\\t\\tstate.data = Buffer.concat(data);\\n\\t\\t\\troute.handler(request,response,state);\\n\\t\\t})\\n\\t} else {\\n\\t\\tresponse.writeHead(400,\\\"Invalid bodyFormat \\\" + route.bodyFormat + \\\" in route \\\" + route.method + \\\" \\\" + route.path.source);\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\\n/*\\nListen for requests\\nport: optional port number (falls back to value of \\\"port\\\" variable)\\nhost: optional host address (falls back to value of \\\"host\\\" variable)\\nprefix: optional prefix (falls back to value of \\\"path-prefix\\\" variable)\\n*/\\nServer.prototype.listen = function(port,host,prefix) {\\n\\tvar self = this;\\n\\t// Handle defaults for port and host\\n\\tport = port || this.get(\\\"port\\\");\\n\\thost = host || this.get(\\\"host\\\");\\n\\tprefix = prefix || this.get(\\\"path-prefix\\\") || \\\"\\\";\\n\\t// Check for the port being a string and look it up as an environment variable\\n\\tif(parseInt(port,10).toString() !== port) {\\n\\t\\tport = process.env[port] || 8080;\\n\\t}\\n\\t// Warn if required plugins are missing\\n\\tvar missing = [];\\n\\tfor (var index=0; index<this.requiredPlugins.length; index++) {\\n\\t\\tif (!this.wiki.getTiddler(this.requiredPlugins[index])) {\\n\\t\\t\\tmissing.push(this.requiredPlugins[index]);\\n\\t\\t}\\n\\t}\\n\\tif(missing.length > 0) {\\n\\t\\tvar error = \\\"Warning: Plugin(s) required for client-server operation are missing.\\\\n\\\"+\\n\\t\\t\\t\\\"\\\\\\\"\\\"+ missing.join(\\\"\\\\\\\", \\\\\\\"\\\")+\\\"\\\\\\\"\\\";\\n\\t\\t$tw.utils.warning(error);\\n\\t}\\n\\t// Create the server\\n\\tvar server;\\n\\tif(this.listenOptions) {\\n\\t\\tserver = this.transport.createServer(this.listenOptions,this.requestHandler.bind(this));\\n\\t} else {\\n\\t\\tserver = this.transport.createServer(this.requestHandler.bind(this));\\n\\t}\\n\\t// Display the port number after we've started listening (the port number might have been specified as zero, in which case we will get an assigned port)\\n\\tserver.on(\\\"listening\\\",function() {\\n\\t\\tvar address = server.address(),\\n\\t\\t\\turl = self.protocol + \\\"://\\\" + (address.family === \\\"IPv6\\\" ? \\\"[\\\" + address.address + \\\"]\\\" : address.address) + \\\":\\\" + address.port + prefix;\\n\\t\\t$tw.utils.log(\\\"Serving on \\\" + url,\\\"brown/orange\\\");\\n\\t\\t$tw.utils.log(\\\"(press ctrl-C to exit)\\\",\\\"red\\\");\\n\\t});\\n\\t// Listen\\n\\treturn server.listen(port,host);\\n};\\n\\nexports.Server = Server;\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/browser-messaging.js\":{\"title\":\"$:/core/modules/browser-messaging.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/browser-messaging.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nBrowser message handling\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"browser-messaging\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n/*\\nLoad a specified url as an iframe and call the callback when it is loaded. If the url is already loaded then the existing iframe instance is used\\n*/\\nfunction loadIFrame(url,callback) {\\n\\t// Check if iframe already exists\\n\\tvar iframeInfo = $tw.browserMessaging.iframeInfoMap[url];\\n\\tif(iframeInfo) {\\n\\t\\t// We've already got the iframe\\n\\t\\tcallback(null,iframeInfo);\\n\\t} else {\\n\\t\\t// Create the iframe and save it in the list\\n\\t\\tvar iframe = document.createElement(\\\"iframe\\\");\\n\\t\\tiframeInfo = {\\n\\t\\t\\turl: url,\\n\\t\\t\\tstatus: \\\"loading\\\",\\n\\t\\t\\tdomNode: iframe\\n\\t\\t};\\n\\t\\t$tw.browserMessaging.iframeInfoMap[url] = iframeInfo;\\n\\t\\tsaveIFrameInfoTiddler(iframeInfo);\\n\\t\\t// Add the iframe to the DOM and hide it\\n\\t\\tiframe.style.display = \\\"none\\\";\\n\\t\\tiframe.setAttribute(\\\"library\\\",\\\"true\\\");\\n\\t\\tdocument.body.appendChild(iframe);\\n\\t\\t// Set up onload\\n\\t\\tiframe.onload = function() {\\n\\t\\t\\tiframeInfo.status = \\\"loaded\\\";\\n\\t\\t\\tsaveIFrameInfoTiddler(iframeInfo);\\n\\t\\t\\tcallback(null,iframeInfo);\\n\\t\\t};\\n\\t\\tiframe.onerror = function() {\\n\\t\\t\\tcallback(\\\"Cannot load iframe\\\");\\n\\t\\t};\\n\\t\\ttry {\\n\\t\\t\\tiframe.src = url;\\n\\t\\t} catch(ex) {\\n\\t\\t\\tcallback(ex);\\n\\t\\t}\\n\\t}\\n}\\n\\n/*\\nUnload library iframe for given url\\n*/\\nfunction unloadIFrame(url){\\n\\tvar iframes = document.getElementsByTagName('iframe');\\n\\tfor(var t=iframes.length-1; t--; t>=0) {\\n\\t\\tvar iframe = iframes[t];\\n\\t\\tif(iframe.getAttribute(\\\"library\\\") === \\\"true\\\" &&\\n\\t\\t iframe.getAttribute(\\\"src\\\") === url) {\\n\\t\\t\\tiframe.parentNode.removeChild(iframe);\\n\\t\\t}\\n\\t}\\n}\\n\\nfunction saveIFrameInfoTiddler(iframeInfo) {\\n\\t$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),{\\n\\t\\ttitle: \\\"$:/temp/ServerConnection/\\\" + iframeInfo.url,\\n\\t\\ttext: iframeInfo.status,\\n\\t\\ttags: [\\\"$:/tags/ServerConnection\\\"],\\n\\t\\turl: iframeInfo.url\\n\\t},$tw.wiki.getModificationFields()));\\n}\\n\\nexports.startup = function() {\\n\\t// Initialise the store of iframes we've created\\n\\t$tw.browserMessaging = {\\n\\t\\tiframeInfoMap: {} // Hashmap by URL of {url:,status:\\\"loading/loaded\\\",domNode:}\\n\\t};\\n\\t// Listen for widget messages to control loading the plugin library\\n\\t$tw.rootWidget.addEventListener(\\\"tm-load-plugin-library\\\",function(event) {\\n\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\turl = paramObject.url;\\n\\t\\tif(url) {\\n\\t\\t\\tloadIFrame(url,function(err,iframeInfo) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\talert($tw.language.getString(\\\"Error/LoadingPluginLibrary\\\") + \\\": \\\" + url);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tiframeInfo.domNode.contentWindow.postMessage({\\n\\t\\t\\t\\t\\t\\tverb: \\\"GET\\\",\\n\\t\\t\\t\\t\\t\\turl: \\\"recipes/library/tiddlers.json\\\",\\n\\t\\t\\t\\t\\t\\tcookies: {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"save-info\\\",\\n\\t\\t\\t\\t\\t\\t\\tinfoTitlePrefix: paramObject.infoTitlePrefix || \\\"$:/temp/RemoteAssetInfo/\\\",\\n\\t\\t\\t\\t\\t\\t\\turl: url\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t},\\\"*\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\t// Listen for widget messages to control unloading the plugin library\\n\\t$tw.rootWidget.addEventListener(\\\"tm-unload-plugin-library\\\",function(event) {\\n\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\turl = paramObject.url;\\n\\t\\t$tw.browserMessaging.iframeInfoMap[url] = undefined;\\n\\t\\tif(url) {\\n\\t\\t\\tunloadIFrame(url);\\n\\t\\t\\t$tw.utils.each(\\n\\t\\t\\t\\t$tw.wiki.filterTiddlers(\\\"[[$:/temp/ServerConnection/\\\" + url + \\\"]] [prefix[$:/temp/RemoteAssetInfo/\\\" + url + \\\"/]]\\\"),\\n\\t\\t\\t\\tfunction(title) {\\n\\t\\t\\t\\t\\t$tw.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t);\\n\\t\\t}\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-load-plugin-from-library\\\",function(event) {\\n\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\turl = paramObject.url,\\n\\t\\t\\ttitle = paramObject.title;\\n\\t\\tif(url && title) {\\n\\t\\t\\tloadIFrame(url,function(err,iframeInfo) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\talert($tw.language.getString(\\\"Error/LoadingPluginLibrary\\\") + \\\": \\\" + url);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tiframeInfo.domNode.contentWindow.postMessage({\\n\\t\\t\\t\\t\\t\\tverb: \\\"GET\\\",\\n\\t\\t\\t\\t\\t\\turl: \\\"recipes/library/tiddlers/\\\" + encodeURIComponent(title) + \\\".json\\\",\\n\\t\\t\\t\\t\\t\\tcookies: {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"save-tiddler\\\",\\n\\t\\t\\t\\t\\t\\t\\turl: url\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t},\\\"*\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\t// Listen for window messages from other windows\\n\\twindow.addEventListener(\\\"message\\\",function listener(event){\\n\\t\\t// console.log(\\\"browser-messaging: \\\",document.location.toString())\\n\\t\\t// console.log(\\\"browser-messaging: Received message from\\\",event.origin);\\n\\t\\t// console.log(\\\"browser-messaging: Message content\\\",event.data);\\n\\t\\tswitch(event.data.verb) {\\n\\t\\t\\tcase \\\"GET-RESPONSE\\\":\\n\\t\\t\\t\\tif(event.data.status.charAt(0) === \\\"2\\\") {\\n\\t\\t\\t\\t\\tif(event.data.cookies) {\\n\\t\\t\\t\\t\\t\\tif(event.data.cookies.type === \\\"save-info\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar tiddlers = $tw.utils.parseJSONSafe(event.data.body);\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\t\\t\\t\\t\\t\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),tiddler,{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttitle: event.data.cookies.infoTitlePrefix + event.data.cookies.url + \\\"/\\\" + tiddler.title,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-title\\\": tiddler.title,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttext: \\\"\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"text/vnd.tiddlywiki\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-type\\\": tiddler.type,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"plugin-type\\\": undefined,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-plugin-type\\\": tiddler[\\\"plugin-type\\\"],\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"module-type\\\": undefined,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-module-type\\\": tiddler[\\\"module-type\\\"],\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttags: [\\\"$:/tags/RemoteAssetInfo\\\"],\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-tags\\\": $tw.utils.stringifyList(tiddler.tags || []),\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"server-url\\\": event.data.cookies.url\\n\\t\\t\\t\\t\\t\\t\\t\\t},$tw.wiki.getModificationFields()));\\n\\t\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t\\t} else if(event.data.cookies.type === \\\"save-tiddler\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar tiddler = $tw.utils.parseJSONSafe(event.data.body);\\n\\t\\t\\t\\t\\t\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler(tiddler));\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t},false);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/commands.js\":{\"title\":\"$:/core/modules/startup/commands.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/commands.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nCommand processing\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"commands\\\";\\nexports.platforms = [\\\"node\\\"];\\nexports.after = [\\\"story\\\"];\\nexports.synchronous = false;\\n\\nexports.startup = function(callback) {\\n\\t// On the server, start a commander with the command line arguments\\n\\tvar commander = new $tw.Commander(\\n\\t\\t$tw.boot.argv,\\n\\t\\tfunction(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn $tw.utils.error(\\\"Error: \\\" + err);\\n\\t\\t\\t}\\n\\t\\t\\tcallback();\\n\\t\\t},\\n\\t\\t$tw.wiki,\\n\\t\\t{output: process.stdout, error: process.stderr}\\n\\t);\\n\\tcommander.execute();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/favicon.js\":{\"title\":\"$:/core/modules/startup/favicon.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/favicon.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nFavicon handling\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"favicon\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n// Favicon tiddler\\nvar FAVICON_TITLE = \\\"$:/favicon.ico\\\";\\n\\nexports.startup = function() {\\n\\t// Set up the favicon\\n\\tsetFavicon();\\n\\t// Reset the favicon when the tiddler changes\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.utils.hop(changes,FAVICON_TITLE)) {\\n\\t\\t\\tsetFavicon();\\n\\t\\t}\\n\\t});\\n};\\n\\nfunction setFavicon() {\\n\\tvar tiddler = $tw.wiki.getTiddler(FAVICON_TITLE);\\n\\tif(tiddler) {\\n\\t\\tvar faviconLink = document.getElementById(\\\"faviconLink\\\");\\n\\t\\tfaviconLink.setAttribute(\\\"href\\\",$tw.utils.makeDataUri(tiddler.fields.text,tiddler.fields.type,tiddler.fields._canonical_uri));\\n\\t}\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/info.js\":{\"title\":\"$:/core/modules/startup/info.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/info.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nInitialise $:/info tiddlers via $:/temp/info-plugin pseudo-plugin\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"info\\\";\\nexports.before = [\\\"startup\\\"];\\nexports.after = [\\\"load-modules\\\"];\\nexports.synchronous = true;\\n\\nvar TITLE_INFO_PLUGIN = \\\"$:/temp/info-plugin\\\";\\n\\nexports.startup = function() {\\n\\t// Function to bake the info plugin with new tiddlers\\n\\tvar updateInfoPlugin = function(tiddlerFieldsArray) {\\n\\t\\t// Get the existing tiddlers\\n\\t\\tvar json = $tw.wiki.getTiddlerData(TITLE_INFO_PLUGIN,{tiddlers: {}});\\n\\t\\t// Add the new ones\\n\\t\\t$tw.utils.each(tiddlerFieldsArray,function(fields) {\\n\\t\\t\\tif(fields && fields.title) {\\n\\t\\t\\t\\tjson.tiddlers[fields.title] = fields;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Bake the info tiddlers into a plugin. We use the non-standard plugin-type \\\"info\\\" because ordinary plugins are only registered asynchronously after being loaded dynamically\\n\\t\\tvar fields = {\\n\\t\\t\\ttitle: TITLE_INFO_PLUGIN,\\n\\t\\t\\ttype: \\\"application/json\\\",\\n\\t\\t\\t\\\"plugin-type\\\": \\\"info\\\",\\n\\t\\t\\ttext: JSON.stringify(json,null,$tw.config.preferences.jsonSpaces)\\n\\t\\t};\\n\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler(fields));\\n\\n\\t};\\n\\t// Collect up the info tiddlers\\n\\tvar tiddlerFieldsArray = [];\\n\\t// Give each info module a chance to provide as many info tiddlers as they want as an array, and give them a callback for dynamically updating them\\n\\t$tw.modules.forEachModuleOfType(\\\"info\\\",function(title,moduleExports) {\\n\\t\\tif(moduleExports && moduleExports.getInfoTiddlerFields) {\\n\\t\\t\\tArray.prototype.push.apply(tiddlerFieldsArray,moduleExports.getInfoTiddlerFields(updateInfoPlugin));\\n\\t\\t}\\n\\t});\\n\\tupdateInfoPlugin(tiddlerFieldsArray);\\n\\tvar changes = $tw.wiki.readPluginInfo([TITLE_INFO_PLUGIN]);\\n\\t$tw.wiki.registerPluginTiddlers(\\\"info\\\",[TITLE_INFO_PLUGIN]);\\n\\t$tw.wiki.unpackPluginTiddlers();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/load-modules.js\":{\"title\":\"$:/core/modules/startup/load-modules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/load-modules.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nLoad core modules\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"load-modules\\\";\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\t// Load modules\\n\\t$tw.modules.applyMethods(\\\"utils\\\",$tw.utils);\\n\\tif($tw.node) {\\n\\t\\t$tw.modules.applyMethods(\\\"utils-node\\\",$tw.utils);\\n\\t}\\n\\tif($tw.browser) {\\n\\t\\t$tw.modules.applyMethods(\\\"utils-browser\\\",$tw.utils);\\n\\t}\\n\\t$tw.modules.applyMethods(\\\"global\\\",$tw);\\n\\t$tw.modules.applyMethods(\\\"config\\\",$tw.config);\\n\\t$tw.Tiddler.fieldModules = $tw.modules.getModulesByTypeAsHashmap(\\\"tiddlerfield\\\");\\n\\t$tw.modules.applyMethods(\\\"tiddlermethod\\\",$tw.Tiddler.prototype);\\n\\t$tw.modules.applyMethods(\\\"wikimethod\\\",$tw.Wiki.prototype);\\n\\t$tw.wiki.addIndexersToWiki();\\n\\t$tw.modules.applyMethods(\\\"tiddlerdeserializer\\\",$tw.Wiki.tiddlerDeserializerModules);\\n\\t$tw.macros = $tw.modules.getModulesByTypeAsHashmap(\\\"macro\\\");\\n\\t$tw.wiki.initParsers();\\n\\t$tw.Commander.initCommands();\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/password.js\":{\"title\":\"$:/core/modules/startup/password.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/password.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nPassword handling\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"password\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\t$tw.rootWidget.addEventListener(\\\"tm-set-password\\\",function(event) {\\n\\t\\t$tw.passwordPrompt.createPrompt({\\n\\t\\t\\tserviceName: $tw.language.getString(\\\"Encryption/PromptSetPassword\\\"),\\n\\t\\t\\tnoUserName: true,\\n\\t\\t\\tsubmitText: $tw.language.getString(\\\"Encryption/SetPassword\\\"),\\n\\t\\t\\tcanCancel: true,\\n\\t\\t\\trepeatPassword: true,\\n\\t\\t\\tcallback: function(data) {\\n\\t\\t\\t\\tif(data) {\\n\\t\\t\\t\\t\\t$tw.crypto.setPassword(data.password);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn true; // Get rid of the password prompt\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-clear-password\\\",function(event) {\\n\\t\\tif($tw.browser) {\\n\\t\\t\\tif(!confirm($tw.language.getString(\\\"Encryption/ConfirmClearPassword\\\"))) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t$tw.crypto.setPassword(null);\\n\\t});\\n\\t// Ensure that $:/isEncrypted is maintained properly\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.utils.hop(changes,\\\"$:/isEncrypted\\\")) {\\n\\t\\t\\t$tw.crypto.updateCryptoStateTiddler();\\n\\t\\t}\\n\\t});\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/plugins.js\":{\"title\":\"$:/core/modules/startup/plugins.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/plugins.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nStartup logic concerned with managing plugins\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"plugins\\\";\\nexports.after = [\\\"load-modules\\\"];\\nexports.before = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\nvar TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE = \\\"$:/status/RequireReloadDueToPluginChange\\\";\\n\\nvar PREFIX_CONFIG_REGISTER_PLUGIN_TYPE = \\\"$:/config/RegisterPluginType/\\\";\\n\\nexports.startup = function() {\\n\\t$tw.wiki.addTiddler({title: TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE,text: \\\"no\\\"});\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t// Work out which of the changed tiddlers are plugins that we need to reregister\\n\\t\\tvar changesToProcess = [],\\n\\t\\t\\trequireReloadDueToPluginChange = false;\\n\\t\\t$tw.utils.each(Object.keys(changes),function(title) {\\n\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title),\\n\\t\\t\\t\\trequiresReload = $tw.wiki.doesPluginRequireReload(title);\\n\\t\\t\\tif(requiresReload) {\\n\\t\\t\\t\\trequireReloadDueToPluginChange = true;\\n\\t\\t\\t} else if(tiddler) {\\n\\t\\t\\t\\tvar pluginType = tiddler.fields[\\\"plugin-type\\\"];\\n\\t\\t\\t\\tif($tw.wiki.getTiddlerText(PREFIX_CONFIG_REGISTER_PLUGIN_TYPE + (tiddler.fields[\\\"plugin-type\\\"] || \\\"\\\"),\\\"no\\\") === \\\"yes\\\") {\\n\\t\\t\\t\\t\\tchangesToProcess.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Issue warning if any of the tiddlers require a reload\\n\\t\\tif(requireReloadDueToPluginChange) {\\n\\t\\t\\t$tw.wiki.addTiddler({title: TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE,text: \\\"yes\\\"});\\n\\t\\t}\\n\\t\\t// Read or delete the plugin info of the changed tiddlers\\n\\t\\tif(changesToProcess.length > 0) {\\n\\t\\t\\tvar changes = $tw.wiki.readPluginInfo(changesToProcess);\\n\\t\\t\\tif(changes.modifiedPlugins.length > 0 || changes.deletedPlugins.length > 0) {\\n\\t\\t\\t\\tvar changedShadowTiddlers = {};\\n\\t\\t\\t\\t// Collect the shadow tiddlers of any deleted plugins\\n\\t\\t\\t\\t$tw.utils.each(changes.deletedPlugins,function(pluginTitle) {\\n\\t\\t\\t\\t\\tvar pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);\\n\\t\\t\\t\\t\\tif(pluginInfo) {\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {\\n\\t\\t\\t\\t\\t\\t\\tchangedShadowTiddlers[title] = true;\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\t// Collect the shadow tiddlers of any modified plugins\\n\\t\\t\\t\\t$tw.utils.each(changes.modifiedPlugins,function(pluginTitle) {\\n\\t\\t\\t\\t\\tvar pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);\\n\\t\\t\\t\\t\\tif(pluginInfo && pluginInfo.tiddlers) {\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {\\n\\t\\t\\t\\t\\t\\t\\tchangedShadowTiddlers[title] = false;\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\t// (Re-)register any modified plugins\\n\\t\\t\\t\\t$tw.wiki.registerPluginTiddlers(null,changes.modifiedPlugins);\\n\\t\\t\\t\\t// Unregister any deleted plugins\\n\\t\\t\\t\\t$tw.wiki.unregisterPluginTiddlers(null,changes.deletedPlugins);\\n\\t\\t\\t\\t// Unpack the shadow tiddlers\\n\\t\\t\\t\\t$tw.wiki.unpackPluginTiddlers();\\n\\t\\t\\t\\t// Queue change events for the changed shadow tiddlers\\n\\t\\t\\t\\t$tw.utils.each(Object.keys(changedShadowTiddlers),function(title) {\\n\\t\\t\\t\\t\\t$tw.wiki.enqueueTiddlerEvent(title,changedShadowTiddlers[title], true);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/render.js\":{\"title\":\"$:/core/modules/startup/render.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/render.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nTitle, stylesheet and page rendering\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"render\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"story\\\"];\\nexports.synchronous = true;\\n\\n// Default story and history lists\\nvar PAGE_TITLE_TITLE = \\\"$:/core/wiki/title\\\";\\nvar PAGE_STYLESHEET_TITLE = \\\"$:/core/ui/PageStylesheet\\\";\\nvar PAGE_TEMPLATE_TITLE = \\\"$:/core/ui/RootTemplate\\\";\\n\\n// Time (in ms) that we defer refreshing changes to draft tiddlers\\nvar DRAFT_TIDDLER_TIMEOUT_TITLE = \\\"$:/config/Drafts/TypingTimeout\\\";\\nvar THROTTLE_REFRESH_TIMEOUT = 400;\\n\\nexports.startup = function() {\\n\\t// Set up the title\\n\\t$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE, {\\n\\t\\tdocument: $tw.fakeDocument,\\n\\t\\tparseAsInline: true,\\n\\t\\timportPageMacros: true,\\n\\t});\\n\\t$tw.titleContainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t$tw.titleWidgetNode.render($tw.titleContainer,null);\\n\\tdocument.title = $tw.titleContainer.textContent;\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.titleWidgetNode.refresh(changes,$tw.titleContainer,null)) {\\n\\t\\t\\tdocument.title = $tw.titleContainer.textContent;\\n\\t\\t}\\n\\t});\\n\\t// Set up the styles\\n\\t$tw.styleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_STYLESHEET_TITLE,{document: $tw.fakeDocument});\\n\\t$tw.styleContainer = $tw.fakeDocument.createElement(\\\"style\\\");\\n\\t$tw.styleWidgetNode.render($tw.styleContainer,null);\\n\\t$tw.styleWidgetNode.assignedStyles = $tw.styleContainer.textContent;\\n\\t$tw.styleElement = document.createElement(\\\"style\\\");\\n\\t$tw.styleElement.innerHTML = $tw.styleWidgetNode.assignedStyles;\\n\\tdocument.head.insertBefore($tw.styleElement,document.head.firstChild);\\n\\t$tw.wiki.addEventListener(\\\"change\\\",$tw.perf.report(\\\"styleRefresh\\\",function(changes) {\\n\\t\\tif($tw.styleWidgetNode.refresh(changes,$tw.styleContainer,null)) {\\n\\t\\t\\tvar newStyles = $tw.styleContainer.textContent;\\n\\t\\t\\tif(newStyles !== $tw.styleWidgetNode.assignedStyles) {\\n\\t\\t\\t\\t$tw.styleWidgetNode.assignedStyles = newStyles;\\n\\t\\t\\t\\t$tw.styleElement.innerHTML = $tw.styleWidgetNode.assignedStyles;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}));\\n\\t// Display the $:/core/ui/PageTemplate tiddler to kick off the display\\n\\t$tw.perf.report(\\\"mainRender\\\",function() {\\n\\t\\t$tw.pageWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TEMPLATE_TITLE,{document: document, parentWidget: $tw.rootWidget, recursionMarker: \\\"no\\\"});\\n\\t\\t$tw.pageContainer = document.createElement(\\\"div\\\");\\n\\t\\t$tw.utils.addClass($tw.pageContainer,\\\"tc-page-container-wrapper\\\");\\n\\t\\tdocument.body.insertBefore($tw.pageContainer,document.body.firstChild);\\n\\t\\t$tw.pageWidgetNode.render($tw.pageContainer,null);\\n \\t\\t$tw.hooks.invokeHook(\\\"th-page-refreshed\\\");\\n\\t})();\\n\\t// Remove any splash screen elements\\n\\tvar removeList = document.querySelectorAll(\\\".tc-remove-when-wiki-loaded\\\");\\n\\t$tw.utils.each(removeList,function(removeItem) {\\n\\t\\tif(removeItem.parentNode) {\\n\\t\\t\\tremoveItem.parentNode.removeChild(removeItem);\\n\\t\\t}\\n\\t});\\n\\t// Prepare refresh mechanism\\n\\tvar deferredChanges = Object.create(null),\\n\\t\\ttimerId;\\n\\tfunction refresh() {\\n\\t\\t// Process the refresh\\n\\t\\t$tw.hooks.invokeHook(\\\"th-page-refreshing\\\");\\n\\t\\t$tw.pageWidgetNode.refresh(deferredChanges);\\n\\t\\tdeferredChanges = Object.create(null);\\n\\t\\t$tw.hooks.invokeHook(\\\"th-page-refreshed\\\");\\n\\t}\\n\\tvar throttledRefresh = $tw.perf.report(\\\"throttledRefresh\\\",refresh);\\n\\n\\t// Add the change event handler\\n\\t$tw.wiki.addEventListener(\\\"change\\\",$tw.perf.report(\\\"mainRefresh\\\",function(changes) {\\n\\t\\t// Check if only tiddlers that are throttled have changed\\n\\t\\tvar onlyThrottledTiddlersHaveChanged = true;\\n\\t\\tfor(var title in changes) {\\n\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title);\\n\\t\\t\\tif(!$tw.wiki.isVolatileTiddler(title) && (!tiddler || !(tiddler.hasField(\\\"draft.of\\\") || tiddler.hasField(\\\"throttle.refresh\\\")))) {\\n\\t\\t\\t\\tonlyThrottledTiddlersHaveChanged = false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Defer the change if only drafts have changed\\n\\t\\tif(timerId) {\\n\\t\\t\\tclearTimeout(timerId);\\n\\t\\t}\\n\\t\\ttimerId = null;\\n\\t\\tif(onlyThrottledTiddlersHaveChanged) {\\n\\t\\t\\tvar timeout = parseInt($tw.wiki.getTiddlerText(DRAFT_TIDDLER_TIMEOUT_TITLE,\\\"\\\"),10);\\n\\t\\t\\tif(isNaN(timeout)) {\\n\\t\\t\\t\\ttimeout = THROTTLE_REFRESH_TIMEOUT;\\n\\t\\t\\t}\\n\\t\\t\\ttimerId = setTimeout(throttledRefresh,timeout);\\n\\t\\t\\t$tw.utils.extend(deferredChanges,changes);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.extend(deferredChanges,changes);\\n\\t\\t\\trefresh();\\n\\t\\t}\\n\\t}));\\n\\t// Fix up the link between the root widget and the page container\\n\\t$tw.rootWidget.domNodes = [$tw.pageContainer];\\n\\t$tw.rootWidget.children = [$tw.pageWidgetNode];\\n\\t// Run any post-render startup actions\\n\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction/PostRender\\\");\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/rootwidget.js\":{\"title\":\"$:/core/modules/startup/rootwidget.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/rootwidget.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nSetup the root widget and the core root widget handlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"rootwidget\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.before = [\\\"story\\\"];\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\t// Install the HTTP client event handler\\n\\t$tw.httpClient = new $tw.utils.HttpClient();\\n\\tvar getPropertiesWithPrefix = function(properties,prefix) {\\n\\t\\tvar result = Object.create(null);\\n\\t\\t$tw.utils.each(properties,function(value,name) {\\n\\t\\t\\tif(name.indexOf(prefix) === 0) {\\n\\t\\t\\t\\tresult[name.substring(prefix.length)] = properties[name];\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n\\t$tw.rootWidget.addEventListener(\\\"tm-http-request\\\",function(event) {\\n\\t\\tvar params = event.paramObject || {};\\n\\t\\t$tw.httpClient.initiateHttpRequest({\\n\\t\\t\\twiki: event.widget.wiki,\\n\\t\\t\\turl: params.url,\\n\\t\\t\\tmethod: params.method,\\n\\t\\t\\tbody: params.body,\\n\\t\\t\\tbinary: params.binary,\\n\\t\\t\\tuseDefaultHeaders: params.useDefaultHeaders,\\n\\t\\t\\toncompletion: params.oncompletion,\\n\\t\\t\\tonprogress: params.onprogress,\\n\\t\\t\\tbindStatus: params[\\\"bind-status\\\"],\\n\\t\\t\\tbindProgress: params[\\\"bind-progress\\\"],\\n\\t\\t\\tvariables: getPropertiesWithPrefix(params,\\\"var-\\\"),\\n\\t\\t\\theaders: getPropertiesWithPrefix(params,\\\"header-\\\"),\\n\\t\\t\\tpasswordHeaders: getPropertiesWithPrefix(params,\\\"password-header-\\\"),\\n\\t\\t\\tqueryStrings: getPropertiesWithPrefix(params,\\\"query-\\\"),\\n\\t\\t\\tpasswordQueryStrings: getPropertiesWithPrefix(params,\\\"password-query-\\\"),\\n\\t\\t\\tbasicAuthUsername: params[\\\"basic-auth-username\\\"],\\n\\t\\t\\tbasicAuthUsernameFromStore: params[\\\"basic-auth-username-from-store\\\"],\\n\\t\\t\\tbasicAuthPassword: params[\\\"basic-auth-password\\\"],\\n\\t\\t\\tbasicAuthPasswordFromStore: params[\\\"basic-auth-password-from-store\\\"],\\n\\t\\t\\tbearerAuthToken: params[\\\"bearer-auth-token\\\"],\\n\\t\\t\\tbearerAuthTokenFromStore: params[\\\"bearer-auth-token-from-store\\\"]\\n\\t\\t});\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-http-cancel-all-requests\\\",function(event) {\\n\\t\\t$tw.httpClient.cancelAllHttpRequests();\\n\\t});\\n\\t// Install the modal message mechanism\\n\\t$tw.modal = new $tw.utils.Modal($tw.wiki);\\n\\t$tw.rootWidget.addEventListener(\\\"tm-modal\\\",function(event) {\\n\\t\\t$tw.modal.display(event.param,{variables: event.paramObject, event: event});\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-show-switcher\\\",function(event) {\\n\\t\\t$tw.modal.display(\\\"$:/core/ui/SwitcherModal\\\",{variables: event.paramObject, event: event});\\n\\t});\\n\\t// Install the notification mechanism\\n\\t$tw.notifier = new $tw.utils.Notifier($tw.wiki);\\n\\t$tw.rootWidget.addEventListener(\\\"tm-notify\\\",function(event) {\\n\\t\\t$tw.notifier.display(event.param,{variables: event.paramObject});\\n\\t});\\n\\t// Install the copy-to-clipboard mechanism\\n\\t$tw.rootWidget.addEventListener(\\\"tm-copy-to-clipboard\\\",function(event) {\\n\\t\\t$tw.utils.copyToClipboard(event.param,{\\n\\t\\t\\tsuccessNotification: event.paramObject && event.paramObject.successNotification,\\n\\t\\t\\tfailureNotification: event.paramObject && event.paramObject.failureNotification\\n\\t\\t});\\n\\t});\\n\\t// Install the tm-focus-selector message\\n\\t$tw.rootWidget.addEventListener(\\\"tm-focus-selector\\\",function(event) {\\n\\t\\tvar selector = event.param || \\\"\\\",\\n\\t\\t\\telement,\\n\\t\\t \\tbaseElement = event.event && event.event.target ? event.event.target.ownerDocument : document;\\n\\t\\telement = $tw.utils.querySelectorSafe(selector,baseElement);\\n\\t\\tif(element && element.focus) {\\n\\t\\t\\telement.focus(event.paramObject);\\n\\t\\t}\\n\\t});\\n\\t// Install the tm-rename-tiddler and tm-relink-tiddler messages\\n\\tvar makeRenameHandler = function(method) {\\n\\t\\treturn function(event) {\\n\\t\\t\\tvar options = {},\\n\\t\\t\\t\\tparamObject = event.paramObject || {},\\n\\t\\t\\t\\tfrom = paramObject.from || event.tiddlerTitle,\\n\\t\\t\\t\\tto = paramObject.to;\\n\\t\\t\\toptions.dontRenameInTags = (paramObject.renameInTags === \\\"false\\\" || paramObject.renameInTags === \\\"no\\\") ? true : false;\\n\\t\\t\\toptions.dontRenameInLists = (paramObject.renameInLists === \\\"false\\\" || paramObject.renameInLists === \\\"no\\\") ? true : false;\\n\\t\\t\\t$tw.wiki[method](from,to,options);\\n\\t\\t};\\n\\t};\\n\\t$tw.rootWidget.addEventListener(\\\"tm-rename-tiddler\\\",makeRenameHandler(\\\"renameTiddler\\\"));\\n\\t$tw.rootWidget.addEventListener(\\\"tm-relink-tiddler\\\",makeRenameHandler(\\\"relinkTiddler\\\"));\\n\\t// Install the scroller\\n\\t$tw.pageScroller = new $tw.utils.PageScroller();\\n\\t$tw.rootWidget.addEventListener(\\\"tm-scroll\\\",function(event) {\\n\\t\\t$tw.pageScroller.handleEvent(event);\\n\\t});\\n\\tvar fullscreen = $tw.utils.getFullScreenApis();\\n\\tif(fullscreen) {\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-full-screen\\\",function(event) {\\n\\t\\t\\tvar fullScreenDocument = event.event ? event.event.target.ownerDocument : document;\\n\\t\\t\\tif(event.param === \\\"enter\\\") {\\n\\t\\t\\t\\tfullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);\\n\\t\\t\\t} else if(event.param === \\\"exit\\\") {\\n\\t\\t\\t\\tfullScreenDocument[fullscreen._exitFullscreen]();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(fullScreenDocument[fullscreen._fullscreenElement]) {\\n\\t\\t\\t\\t\\tfullScreenDocument[fullscreen._exitFullscreen]();\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tfullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup.js\":{\"title\":\"$:/core/modules/startup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nMiscellaneous startup logic for both the client and server.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"startup\\\";\\nexports.after = [\\\"load-modules\\\"];\\nexports.synchronous = true;\\n\\n// Set to `true` to enable performance instrumentation\\nvar PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE = \\\"$:/config/Performance/Instrumentation\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.startup = function() {\\n\\t// Minimal browser detection\\n\\tif($tw.browser) {\\n\\t\\t$tw.browser.isIE = (/msie|trident/i.test(navigator.userAgent));\\n\\t\\t$tw.browser.isFirefox = !!document.mozFullScreenEnabled;\\n\\t\\t// 2023-07-21 Edge returns UA below. So we use \\\"isChromeLike\\\"\\n\\t\\t//'mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/114.0.0.0 safari/537.36 edg/114.0.1823.82'\\n\\t\\t$tw.browser.isChromeLike = navigator.userAgent.toLowerCase().indexOf(\\\"chrome\\\") > -1;\\n\\t\\t$tw.browser.hasTouch = !!window.matchMedia && window.matchMedia(\\\"(pointer: coarse)\\\").matches;\\n\\t\\t$tw.browser.isMobileChrome = $tw.browser.isChromeLike && $tw.browser.hasTouch;\\n\\t}\\n\\t// Platform detection\\n\\t$tw.platform = {};\\n\\tif($tw.browser) {\\n\\t\\t$tw.platform.isMac = /Mac/.test(navigator.platform);\\n\\t\\t$tw.platform.isWindows = /win/i.test(navigator.platform);\\n\\t\\t$tw.platform.isLinux = /Linux/i.test(navigator.platform);\\n\\t} else {\\n\\t\\tswitch(require(\\\"os\\\").platform()) {\\n\\t\\t\\tcase \\\"darwin\\\":\\n\\t\\t\\t\\t$tw.platform.isMac = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"win32\\\":\\n\\t\\t\\t\\t$tw.platform.isWindows = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"freebsd\\\":\\n\\t\\t\\t\\t$tw.platform.isLinux = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"linux\\\":\\n\\t\\t\\t\\t$tw.platform.isLinux = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\t// Initialise version\\n\\t$tw.version = $tw.utils.extractVersionInfo();\\n\\t// Set up the performance framework\\n\\t$tw.perf = new $tw.Performance($tw.wiki.getTiddlerText(PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE,\\\"no\\\") === \\\"yes\\\");\\n\\t// Create a root widget for attaching event handlers. By using it as the parentWidget for another widget tree, one can reuse the event handlers\\n\\t$tw.rootWidget = new widget.widget({\\n\\t\\ttype: \\\"widget\\\",\\n\\t\\tchildren: []\\n\\t},{\\n\\t\\twiki: $tw.wiki,\\n\\t\\tdocument: $tw.browser ? document : $tw.fakeDocument\\n\\t});\\n\\t// Kick off the language manager and switcher\\n\\t$tw.language = new $tw.Language();\\n\\t$tw.languageSwitcher = new $tw.PluginSwitcher({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tpluginType: \\\"language\\\",\\n\\t\\tcontrollerTitle: \\\"$:/language\\\",\\n\\t\\tdefaultPlugins: [\\n\\t\\t\\t\\\"$:/languages/en-GB\\\"\\n\\t\\t],\\n\\t\\tonSwitch: function(plugins) {\\n\\t\\t\\tif($tw.browser) {\\n\\t\\t\\t\\tvar pluginTiddler = $tw.wiki.getTiddler(plugins[0]);\\n\\t\\t\\t\\tif(pluginTiddler) {\\n\\t\\t\\t\\t\\tdocument.documentElement.setAttribute(\\\"lang\\\",pluginTiddler.getFieldString(\\\"name\\\"));\\n\\t\\t\\t\\t\\tdocument.documentElement.setAttribute(\\\"dir\\\",pluginTiddler.getFieldString(\\\"text-direction\\\") || \\\"auto\\\");\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tdocument.documentElement.setAttribute(\\\"lang\\\",\\\"en-GB\\\");\\n\\t\\t\\t\\t\\tdocument.documentElement.removeAttribute(\\\"dir\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Kick off the theme manager\\n\\t$tw.themeManager = new $tw.PluginSwitcher({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tpluginType: \\\"theme\\\",\\n\\t\\tcontrollerTitle: \\\"$:/theme\\\",\\n\\t\\tdefaultPlugins: [\\n\\t\\t\\t\\\"$:/themes/tiddlywiki/snowwhite\\\",\\n\\t\\t\\t\\\"$:/themes/tiddlywiki/vanilla\\\"\\n\\t\\t]\\n\\t});\\n\\t// Kick off the keyboard manager\\n\\t$tw.keyboardManager = new $tw.KeyboardManager();\\n\\t// Listen for shortcuts\\n\\tif($tw.browser) {\\n\\t\\t$tw.utils.addEventListeners(document,[{\\n\\t\\t\\tname: \\\"keydown\\\",\\n\\t\\t\\thandlerObject: $tw.keyboardManager,\\n\\t\\t\\thandlerMethod: \\\"handleKeydownEvent\\\"\\n\\t\\t}]);\\n\\t}\\n\\t// Execute any startup actions\\n\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction\\\");\\n\\tif($tw.browser) {\\n\\t\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction/Browser\\\");\\n\\t}\\n\\tif($tw.node) {\\n\\t\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction/Node\\\");\\n\\t}\\n\\t// Clear outstanding tiddler store change events to avoid an unnecessary refresh cycle at startup\\n\\t$tw.wiki.clearTiddlerEventQueue();\\n\\t// Find a working syncadaptor\\n\\t$tw.syncadaptor = undefined;\\n\\t$tw.modules.forEachModuleOfType(\\\"syncadaptor\\\",function(title,module) {\\n\\t\\tif(!$tw.syncadaptor && module.adaptorClass) {\\n\\t\\t\\t$tw.syncadaptor = new module.adaptorClass({wiki: $tw.wiki});\\n\\t\\t}\\n\\t});\\n\\t// Set up the syncer object if we've got a syncadaptor\\n\\tif($tw.syncadaptor) {\\n\\t\\t$tw.syncer = new $tw.Syncer({\\n\\t\\t\\twiki: $tw.wiki,\\n\\t\\t\\tsyncadaptor: $tw.syncadaptor,\\n\\t\\t\\tlogging: $tw.wiki.getTiddlerText('$:/config/SyncLogging', \\\"yes\\\") === \\\"yes\\\"\\n\\t\\t});\\n\\t}\\n\\t// Setup the saver handler\\n\\t$tw.saverHandler = new $tw.SaverHandler({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tdirtyTracking: !$tw.syncadaptor,\\n\\t\\tpreloadDirty: $tw.boot.preloadDirty || []\\n\\t});\\n\\t// Host-specific startup\\n\\tif($tw.browser) {\\n\\t\\t// Install the popup manager\\n\\t\\t$tw.popup = new $tw.utils.Popup();\\n\\t\\t// Install the animator\\n\\t\\t$tw.anim = new $tw.utils.Animator();\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/story.js\":{\"title\":\"$:/core/modules/startup/story.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/story.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nLoad core modules\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"story\\\";\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n// Default story and history lists\\nvar DEFAULT_STORY_TITLE = \\\"$:/StoryList\\\";\\nvar DEFAULT_HISTORY_TITLE = \\\"$:/HistoryList\\\";\\n\\n// Default tiddlers\\nvar DEFAULT_TIDDLERS_TITLE = \\\"$:/DefaultTiddlers\\\";\\n\\n// Config\\nvar CONFIG_UPDATE_ADDRESS_BAR = \\\"$:/config/Navigation/UpdateAddressBar\\\"; // Can be \\\"no\\\", \\\"permalink\\\", \\\"permaview\\\"\\nvar CONFIG_UPDATE_HISTORY = \\\"$:/config/Navigation/UpdateHistory\\\"; // Can be \\\"yes\\\" or \\\"no\\\"\\nvar CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD = \\\"$:/config/Navigation/Permalinkview/CopyToClipboard\\\"; // Can be \\\"yes\\\" (default) or \\\"no\\\"\\nvar CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR = \\\"$:/config/Navigation/Permalinkview/UpdateAddressBar\\\"; // Can be \\\"yes\\\" (default) or \\\"no\\\"\\n\\n\\n// Links to help, if there is no param\\nvar HELP_OPEN_EXTERNAL_WINDOW = \\\"http://tiddlywiki.com/#WidgetMessage%3A%20tm-open-external-window\\\";\\n\\nexports.startup = function() {\\n\\t// Open startup tiddlers\\n\\topenStartupTiddlers({\\n\\t\\tdisableHistory: $tw.boot.disableStartupNavigation\\n\\t});\\n\\tif($tw.browser) {\\n\\t\\t// Set up location hash update\\n\\t\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t\\tif($tw.utils.hop(changes,DEFAULT_STORY_TITLE) || $tw.utils.hop(changes,DEFAULT_HISTORY_TITLE)) {\\n\\t\\t\\t\\tupdateLocationHash({\\n\\t\\t\\t\\t\\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_UPDATE_ADDRESS_BAR,\\\"permaview\\\").trim(),\\n\\t\\t\\t\\t\\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\\\"no\\\").trim()\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Listen for changes to the browser location hash\\n\\t\\twindow.addEventListener(\\\"hashchange\\\",function() {\\n\\t\\t\\tvar hash = $tw.utils.getLocationHash();\\n\\t\\t\\tif(hash !== $tw.locationHash) {\\n\\t\\t\\t\\t$tw.locationHash = hash;\\n\\t\\t\\t\\tif(hash !== \\\"#\\\") {\\n\\t\\t\\t\\t\\topenStartupTiddlers({defaultToCurrentStory: true});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t},false);\\n\\t\\t// Listen for the tm-browser-refresh message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-browser-refresh\\\",function(event) {\\n\\t\\t\\twindow.location.reload(true);\\n\\t\\t});\\n\\t\\t// Listen for tm-open-external-window message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-open-external-window\\\",function(event) {\\n\\t\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\t\\tstrUrl = event.param || HELP_OPEN_EXTERNAL_WINDOW,\\n\\t\\t\\t\\tstrWindowName = paramObject.windowName,\\n\\t\\t\\t\\tstrWindowFeatures = paramObject.windowFeatures;\\n\\t\\t\\twindow.open(strUrl, strWindowName, strWindowFeatures);\\n\\t\\t});\\n\\t\\t// Listen for the tm-print message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-print\\\",function(event) {\\n\\t\\t\\t(event.event.view || window).print();\\n\\t\\t});\\n\\t\\t// Listen for the tm-home message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-home\\\",function(event) {\\n\\t\\t\\twindow.location.hash = \\\"\\\";\\n\\t\\t\\tvar storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE),\\n\\t\\t\\t\\tstoryList = $tw.wiki.filterTiddlers(storyFilter);\\n\\t\\t\\t//invoke any hooks that might change the default story list\\n\\t\\t\\tstoryList = $tw.hooks.invokeHook(\\\"th-opening-default-tiddlers-list\\\",storyList);\\n\\t\\t\\t$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: \\\"\\\", list: storyList},$tw.wiki.getModificationFields());\\n\\t\\t\\tif(storyList[0]) {\\n\\t\\t\\t\\t$tw.wiki.addToHistory(storyList[0]);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Listen for the tm-permalink message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-permalink\\\",function(event) {\\n\\t\\t\\tupdateLocationHash({\\n\\t\\t\\t\\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permalink\\\" : \\\"none\\\",\\n\\t\\t\\t\\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\\\"no\\\").trim(),\\n\\t\\t\\t\\ttargetTiddler: event.param || event.tiddlerTitle,\\n\\t\\t\\t\\tcopyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permalink\\\" : \\\"none\\\",\\n\\t\\t\\t\\tsuccessNotification: event.paramObject && event.paramObject.successNotification,\\n\\t\\t\\t\\tfailureNotification: event.paramObject && event.paramObject.failureNotification\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\t// Listen for the tm-permaview message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-permaview\\\",function(event) {\\n\\t\\t\\tupdateLocationHash({\\n\\t\\t\\t\\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permaview\\\" : \\\"none\\\",\\n\\t\\t\\t\\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\\\"no\\\").trim(),\\n\\t\\t\\t\\ttargetTiddler: event.param || event.tiddlerTitle,\\n\\t\\t\\t\\tcopyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permaview\\\" : \\\"none\\\",\\n\\t\\t\\t\\tsuccessNotification: event.paramObject && event.paramObject.successNotification,\\n\\t\\t\\t\\tfailureNotification: event.paramObject && event.paramObject.failureNotification\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nProcess the location hash to open the specified tiddlers. Options:\\ndisableHistory: if true $:/History is NOT updated\\ndefaultToCurrentStory: If true, the current story is retained as the default, instead of opening the default tiddlers\\n*/\\nfunction openStartupTiddlers(options) {\\n\\toptions = options || {};\\n\\t// Work out the target tiddler and the story filter. \\\"null\\\" means \\\"unspecified\\\"\\n\\tvar target = null,\\n\\t\\tstoryFilter = null;\\n\\tif($tw.locationHash.length > 1) {\\n\\t\\tvar hash = $tw.locationHash.substr(1),\\n\\t\\t\\tsplit = hash.indexOf(\\\":\\\");\\n\\t\\tif(split === -1) {\\n\\t\\t\\ttarget = $tw.utils.decodeURIComponentSafe(hash.trim());\\n\\t\\t} else {\\n\\t\\t\\ttarget = $tw.utils.decodeURIComponentSafe(hash.substr(0,split).trim());\\n\\t\\t\\tstoryFilter = $tw.utils.decodeURIComponentSafe(hash.substr(split + 1).trim());\\n\\t\\t}\\n\\t}\\n\\t// If the story wasn't specified use the current tiddlers or a blank story\\n\\tif(storyFilter === null) {\\n\\t\\tif(options.defaultToCurrentStory) {\\n\\t\\t\\tvar currStoryList = $tw.wiki.getTiddlerList(DEFAULT_STORY_TITLE);\\n\\t\\t\\tstoryFilter = $tw.utils.stringifyList(currStoryList);\\n\\t\\t} else {\\n\\t\\t\\tif(target && target !== \\\"\\\") {\\n\\t\\t\\t\\tstoryFilter = \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tstoryFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Process the story filter to get the story list\\n\\tvar storyList = $tw.wiki.filterTiddlers(storyFilter);\\n\\t// Invoke any hooks that want to change the default story list\\n\\tstoryList = $tw.hooks.invokeHook(\\\"th-opening-default-tiddlers-list\\\",storyList);\\n\\t// If the target tiddler isn't included then splice it in at the top\\n\\tif(target && storyList.indexOf(target) === -1) {\\n\\t\\tstoryList.unshift(target);\\n\\t}\\n\\t// Save the story list\\n\\t$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: \\\"\\\", list: storyList},$tw.wiki.getModificationFields());\\n\\t// Update history\\n\\tvar story = new $tw.Story({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tstoryTitle: DEFAULT_STORY_TITLE,\\n\\t\\thistoryTitle: DEFAULT_HISTORY_TITLE\\n\\t});\\n\\tif(!options.disableHistory) {\\n\\t\\t// If a target tiddler was specified add it to the history stack\\n\\t\\tif(target && target !== \\\"\\\") {\\n\\t\\t\\t// The target tiddler doesn't need double square brackets, but we'll silently remove them if they're present\\n\\t\\t\\tif(target.indexOf(\\\"[[\\\") === 0 && target.substr(-2) === \\\"]]\\\") {\\n\\t\\t\\t\\ttarget = target.substr(2,target.length - 4);\\n\\t\\t\\t}\\n\\t\\t\\tstory.addToHistory(target);\\n\\t\\t} else if(storyList.length > 0) {\\n\\t\\t\\tstory.addToHistory(storyList[0]);\\n\\t\\t}\\n\\t}\\n}\\n\\n/*\\noptions: See below\\noptions.updateAddressBar: \\\"permalink\\\", \\\"permaview\\\" or \\\"no\\\" (defaults to \\\"permaview\\\")\\noptions.updateHistory: \\\"yes\\\" or \\\"no\\\" (defaults to \\\"no\\\")\\noptions.copyToClipboard: \\\"permalink\\\", \\\"permaview\\\" or \\\"no\\\" (defaults to \\\"no\\\")\\noptions.targetTiddler: optional title of target tiddler for permalink\\noptions.successNotification: optional title of tiddler to use as the notification in case of success\\noptions.failureNotification: optional title of tiddler to use as the notification in case of failure\\n*/\\nfunction updateLocationHash(options) {\\n\\t// Get the story and the history stack\\n\\tvar storyList = $tw.wiki.getTiddlerList(DEFAULT_STORY_TITLE),\\n\\t\\thistoryList = $tw.wiki.getTiddlerData(DEFAULT_HISTORY_TITLE,[]),\\n\\t\\ttargetTiddler = \\\"\\\";\\n\\tif(options.targetTiddler) {\\n\\t\\ttargetTiddler = options.targetTiddler;\\n\\t} else {\\n\\t\\t// The target tiddler is the one at the top of the stack\\n\\t\\tif(historyList.length > 0) {\\n\\t\\t\\ttargetTiddler = historyList[historyList.length-1].title;\\n\\t\\t}\\n\\t\\t// Blank the target tiddler if it isn't present in the story\\n\\t\\tif(storyList.indexOf(targetTiddler) === -1) {\\n\\t\\t\\ttargetTiddler = \\\"\\\";\\n\\t\\t}\\n\\t}\\n\\t// Assemble the location hash\\n\\tswitch(options.updateAddressBar) {\\n\\t\\tcase \\\"permalink\\\":\\n\\t\\t\\t$tw.locationHash = \\\"#\\\" + encodeURIComponent(targetTiddler);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"permaview\\\":\\n\\t\\t\\t$tw.locationHash = \\\"#\\\" + encodeURIComponent(targetTiddler) + \\\":\\\" + encodeURIComponent($tw.utils.stringifyList(storyList));\\n\\t\\t\\tbreak;\\n\\t}\\n\\t// Copy URL to the clipboard\\n\\tvar url = \\\"\\\";\\n\\tswitch(options.copyToClipboard) {\\n\\t\\tcase \\\"permalink\\\":\\n\\t\\t\\turl = $tw.utils.getLocationPath() + \\\"#\\\" + encodeURIComponent(targetTiddler);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"permaview\\\":\\n\\t\\t\\turl = $tw.utils.getLocationPath() + \\\"#\\\" + encodeURIComponent(targetTiddler) + \\\":\\\" + encodeURIComponent($tw.utils.stringifyList(storyList));\\n\\t\\t\\tbreak;\\n\\t}\\n\\tif(url) {\\n\\t\\t$tw.utils.copyToClipboard(url,{successNotification: options.successNotification, failureNotification: options.failureNotification});\\n\\t}\\n\\t// Only change the location hash if we must, thus avoiding unnecessary onhashchange events\\n\\tif($tw.utils.getLocationHash() !== $tw.locationHash) {\\n\\t\\tif(options.updateHistory === \\\"yes\\\") {\\n\\t\\t\\t// Assign the location hash so that history is updated\\n\\t\\t\\twindow.location.hash = $tw.locationHash;\\n\\t\\t} else {\\n\\t\\t\\t// We use replace so that browser history isn't affected\\n\\t\\t\\twindow.location.replace(window.location.toString().split(\\\"#\\\")[0] + $tw.locationHash);\\n\\t\\t}\\n\\t}\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/windows.js\":{\"title\":\"$:/core/modules/startup/windows.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/windows.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nSetup root widget handlers for the messages concerned with opening external browser windows\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"windows\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n// Global to keep track of open windows (hashmap by title)\\n$tw.windows = {};\\n// Default template to use for new windows\\nvar DEFAULT_WINDOW_TEMPLATE = \\\"$:/core/templates/single.tiddler.window\\\";\\n\\nexports.startup = function() {\\n\\t// Handle open window message\\n\\t$tw.rootWidget.addEventListener(\\\"tm-open-window\\\",function(event) {\\n\\t\\t// Get the parameters\\n\\t\\tvar refreshHandler,\\n\\t\\t\\ttitle = event.param || event.tiddlerTitle,\\n\\t\\t\\tparamObject = event.paramObject || {},\\n\\t\\t\\twindowTitle = paramObject.windowTitle || title,\\n\\t\\t\\twindowID = paramObject.windowID || title,\\n\\t\\t\\ttemplate = paramObject.template || DEFAULT_WINDOW_TEMPLATE,\\n\\t\\t\\twidth = paramObject.width || \\\"700\\\",\\n\\t\\t\\theight = paramObject.height || \\\"600\\\",\\n\\t\\t\\ttop = paramObject.top,\\n\\t\\t\\tleft = paramObject.left,\\n\\t\\t\\tvariables = $tw.utils.extend({},paramObject,{currentTiddler: title, \\\"tv-window-id\\\": windowID});\\n\\t\\t// Open the window\\n\\t\\tvar srcWindow,\\n\\t\\t\\tsrcDocument;\\n\\t\\t// In case that popup blockers deny opening a new window\\n\\t\\ttry {\\n\\t\\t\\tsrcWindow = window.open(\\\"\\\",\\\"external-\\\" + windowID,\\\"scrollbars,width=\\\" + width + \\\",height=\\\" + height + (top ? \\\",top=\\\" + top : \\\"\\\" ) + (left ? \\\",left=\\\" + left : \\\"\\\" )),\\n\\t\\t\\tsrcDocument = srcWindow.document;\\n\\t\\t}\\n\\t\\tcatch(e) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t$tw.windows[windowID] = srcWindow;\\n\\t\\t// Check for reopening the same window\\n\\t\\tif(srcWindow.haveInitialisedWindow) {\\n\\t\\t\\tsrcWindow.focus();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Initialise the document\\n\\t\\tsrcDocument.write(\\\"<!DOCTYPE html><head></head><body class='tc-body tc-single-tiddler-window'></body></html>\\\");\\n\\t\\tsrcDocument.close();\\n\\t\\tsrcDocument.title = windowTitle;\\n\\t\\tsrcWindow.addEventListener(\\\"beforeunload\\\",function(event) {\\n\\t\\t\\tdelete $tw.windows[windowID];\\n\\t\\t\\t$tw.wiki.removeEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t},false);\\n\\t\\t// Set up the styles\\n\\t\\tvar styleWidgetNode = $tw.wiki.makeTranscludeWidget(\\\"$:/core/ui/PageStylesheet\\\",{\\n\\t\\t\\t\\tdocument: $tw.fakeDocument,\\n\\t\\t\\t\\tvariables: variables,\\n\\t\\t\\t\\timportPageMacros: true}),\\n\\t\\t\\tstyleContainer = $tw.fakeDocument.createElement(\\\"style\\\");\\n\\t\\tstyleWidgetNode.render(styleContainer,null);\\n\\t\\tvar styleElement = srcDocument.createElement(\\\"style\\\");\\n\\t\\tstyleElement.innerHTML = styleContainer.textContent;\\n\\t\\tsrcDocument.head.insertBefore(styleElement,srcDocument.head.firstChild);\\n\\t\\t// Render the text of the tiddler\\n\\t\\tvar parser = $tw.wiki.parseTiddler(template),\\n\\t\\t\\twidgetNode = $tw.wiki.makeWidget(parser,{document: srcDocument, parentWidget: $tw.rootWidget, variables: variables});\\n\\t\\twidgetNode.render(srcDocument.body,srcDocument.body.firstChild);\\n\\t\\t// Function to handle refreshes\\n\\t\\trefreshHandler = function(changes) {\\n\\t\\t\\tif(styleWidgetNode.refresh(changes,styleContainer,null)) {\\n\\t\\t\\t\\tstyleElement.innerHTML = styleContainer.textContent;\\n\\t\\t\\t}\\n\\t\\t\\twidgetNode.refresh(changes);\\n\\t\\t};\\n\\t\\t$tw.wiki.addEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t// Listen for keyboard shortcuts\\n\\t\\t$tw.utils.addEventListeners(srcDocument,[{\\n\\t\\t\\tname: \\\"keydown\\\",\\n\\t\\t\\thandlerObject: $tw.keyboardManager,\\n\\t\\t\\thandlerMethod: \\\"handleKeydownEvent\\\"\\n\\t\\t}]);\\n\\t\\tsrcWindow.document.documentElement.addEventListener(\\\"click\\\",$tw.popup,true);\\n\\t\\tsrcWindow.haveInitialisedWindow = true;\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-close-window\\\",function(event) {\\n\\t\\tvar windowID = event.param,\\n\\t\\t\\twin = $tw.windows[windowID];\\n\\t\\t\\tif(win) {\\n\\t\\t\\t\\twin.close();\\n\\t\\t\\t}\\n\\t});\\n\\tvar closeAllWindows = function() {\\n\\t\\t$tw.utils.each($tw.windows,function(win) {\\n\\t\\t\\twin.close();\\n\\t\\t});\\n\\t}\\n\\t$tw.rootWidget.addEventListener(\\\"tm-close-all-windows\\\",closeAllWindows);\\n\\t// Close open windows when unloading main window\\n\\t$tw.addUnloadTask(closeAllWindows);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/story.js\":{\"title\":\"$:/core/modules/story.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/story.js\\ntype: application/javascript\\nmodule-type: global\\n\\nLightweight object for managing interactions with the story and history lists.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nConstruct Story object with options:\\nwiki: reference to wiki object to use to resolve tiddler titles\\nstoryTitle: title of story list tiddler\\nhistoryTitle: title of history list tiddler\\n*/\\nfunction Story(options) {\\n\\toptions = options || {};\\n\\tthis.wiki = options.wiki || $tw.wiki;\\n\\tthis.storyTitle = options.storyTitle || \\\"$:/StoryList\\\";\\n\\tthis.historyTitle = options.historyTitle || \\\"$:/HistoryList\\\";\\n};\\n\\nStory.prototype.navigateTiddler = function(navigateTo,navigateFromTitle,navigateFromClientRect) {\\n\\tthis.addToStory(navigateTo,navigateFromTitle);\\n\\tthis.addToHistory(navigateTo,navigateFromClientRect);\\n};\\n\\nStory.prototype.getStoryList = function() {\\n\\treturn this.wiki.getTiddlerList(this.storyTitle) || [];\\n};\\n\\nStory.prototype.addToStory = function(navigateTo,navigateFromTitle,options) {\\n\\toptions = options || {};\\n\\tvar storyList = this.getStoryList();\\n\\t// See if the tiddler is already there\\n\\tvar slot = storyList.indexOf(navigateTo);\\n\\t// Quit if it already exists in the story river\\n\\tif(slot >= 0) {\\n\\t\\treturn;\\n\\t}\\n\\t// First we try to find the position of the story element we navigated from\\n\\tvar fromIndex = storyList.indexOf(navigateFromTitle);\\n\\tif(fromIndex >= 0) {\\n\\t\\t// The tiddler is added from inside the river\\n\\t\\t// Determine where to insert the tiddler; Fallback is \\\"below\\\"\\n\\t\\tswitch(options.openLinkFromInsideRiver) {\\n\\t\\t\\tcase \\\"top\\\":\\n\\t\\t\\t\\tslot = 0;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"bottom\\\":\\n\\t\\t\\t\\tslot = storyList.length;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"above\\\":\\n\\t\\t\\t\\tslot = fromIndex;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"below\\\": // Intentional fall-through\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tslot = fromIndex + 1;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t} else {\\n\\t\\t// The tiddler is opened from outside the river. Determine where to insert the tiddler; default is \\\"top\\\"\\n\\t\\tif(options.openLinkFromOutsideRiver === \\\"bottom\\\") {\\n\\t\\t\\t// Insert at bottom\\n\\t\\t\\tslot = storyList.length;\\n\\t\\t} else {\\n\\t\\t\\t// Insert at top\\n\\t\\t\\tslot = 0;\\n\\t\\t}\\n\\t}\\n\\t// Add the tiddler\\n\\tstoryList.splice(slot,0,navigateTo);\\n\\t// Save the story\\n\\tthis.saveStoryList(storyList);\\n};\\n\\nStory.prototype.saveStoryList = function(storyList) {\\n\\tvar storyTiddler = this.wiki.getTiddler(this.storyTitle);\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(\\n\\t\\tthis.wiki.getCreationFields(),\\n\\t\\t{title: this.storyTitle},\\n\\t\\tstoryTiddler,\\n\\t\\t{list: storyList},\\n\\t\\tthis.wiki.getModificationFields()\\n\\t));\\n};\\n\\nStory.prototype.addToHistory = function(navigateTo,navigateFromClientRect) {\\n\\tvar titles = $tw.utils.isArray(navigateTo) ? navigateTo : [navigateTo];\\n\\t// Add a new record to the top of the history stack\\n\\tvar historyList = this.wiki.getTiddlerData(this.historyTitle,[]);\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\thistoryList.push({title: title, fromPageRect: navigateFromClientRect});\\n\\t});\\n\\tthis.wiki.setTiddlerData(this.historyTitle,historyList,{\\\"current-tiddler\\\": titles[titles.length-1]});\\n};\\n\\nStory.prototype.storyCloseTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyCloseAllTiddlers = function() {\\n// TBD\\n};\\n\\nStory.prototype.storyCloseOtherTiddlers = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyEditTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyDeleteTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storySaveTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyCancelTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyNewTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nexports.Story = Story;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/storyviews/classic.js\":{\"title\":\"$:/core/modules/storyviews/classic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/storyviews/classic.js\\ntype: application/javascript\\nmodule-type: storyview\\n\\nViews the story as a linear sequence\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar easing = \\\"cubic-bezier(0.645, 0.045, 0.355, 1)\\\"; // From http://easings.net/#easeInOutCubic\\n\\nvar ClassicStoryView = function(listWidget) {\\n\\tthis.listWidget = listWidget;\\n};\\n\\nClassicStoryView.prototype.navigateTo = function(historyInfo) {\\n\\tvar duration = $tw.utils.getAnimationDuration()\\n\\tvar listElementIndex = this.listWidget.findListItem(0,historyInfo.title);\\n\\tif(listElementIndex === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar listItemWidget = this.listWidget.children[listElementIndex],\\n\\t\\ttargetElement = listItemWidget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\treturn;\\n\\t}\\n\\t// Scroll the node into view\\n\\tthis.listWidget.dispatchEvent({type: \\\"tm-scroll\\\", target: targetElement});\\n};\\n\\nClassicStoryView.prototype.insert = function(widget) {\\n\\tvar duration = $tw.utils.getAnimationDuration();\\n\\tif(duration) {\\n\\t\\tvar targetElement = widget.findFirstDomNode();\\n\\t\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\t\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Get the current height of the tiddler\\n\\t\\tvar computedStyle = window.getComputedStyle(targetElement),\\n\\t\\t\\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\\n\\t\\t\\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\\n\\t\\t\\tcurrHeight = targetElement.offsetHeight + currMarginTop;\\n\\t\\t// Reset the margin once the transition is over\\n\\t\\tsetTimeout(function() {\\n\\t\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t\\t{marginBottom: \\\"\\\"}\\n\\t\\t\\t]);\\n\\t\\t},duration);\\n\\t\\t// Set up the initial position of the element\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{marginBottom: (-currHeight) + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"0.0\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.forceLayout(targetElement);\\n\\t\\t// Transition to the final position\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"opacity \\\" + duration + \\\"ms \\\" + easing + \\\", \\\" +\\n\\t\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t{marginBottom: currMarginBottom + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"1.0\\\"}\\n\\t]);\\n\\t}\\n};\\n\\nClassicStoryView.prototype.remove = function(widget) {\\n\\tvar duration = $tw.utils.getAnimationDuration();\\n\\tif(duration) {\\n\\t\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\t\\tremoveElement = function() {\\n\\t\\t\\t\\twidget.removeChildDomNodes();\\n\\t\\t\\t};\\n\\t\\t// Blur the focus if it is within the descendents of the node we are removing\\n\\t\\tif($tw.utils.domContains(targetElement,targetElement.ownerDocument.activeElement)) {\\n\\t\\t\\ttargetElement.ownerDocument.activeElement.blur();\\n\\t\\t}\\n\\t\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\t\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\t\\tremoveElement();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Get the current height of the tiddler\\n\\t\\tvar currWidth = targetElement.offsetWidth,\\n\\t\\t\\tcomputedStyle = window.getComputedStyle(targetElement),\\n\\t\\t\\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\\n\\t\\t\\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\\n\\t\\t\\tcurrHeight = targetElement.offsetHeight + currMarginTop;\\n\\t\\t// Remove the dom nodes of the widget at the end of the transition\\n\\t\\tsetTimeout(removeElement,duration);\\n\\t\\t// Animate the closure\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{transform: \\\"translateX(0px)\\\"},\\n\\t\\t\\t{marginBottom: currMarginBottom + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"1.0\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.forceLayout(targetElement);\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", \\\" +\\n\\t\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms \\\" + easing + \\\", \\\" +\\n\\t\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t{transform: \\\"translateX(-\\\" + currWidth + \\\"px)\\\"},\\n\\t\\t\\t{marginBottom: (-currHeight) + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"0.0\\\"}\\n\\t\\t]);\\n\\t} else {\\n\\t\\twidget.removeChildDomNodes();\\n\\t}\\n};\\n\\nexports.classic = ClassicStoryView;\\n\",\"type\":\"application/javascript\",\"module-type\":\"storyview\"},\"$:/core/modules/storyviews/pop.js\":{\"title\":\"$:/core/modules/storyviews/pop.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/storyviews/pop.js\\ntype: application/javascript\\nmodule-type: storyview\\n\\nAnimates list insertions and removals\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar PopStoryView = function(listWidget) {\\n\\tthis.listWidget = listWidget;\\n};\\n\\nPopStoryView.prototype.navigateTo = function(historyInfo) {\\n\\tvar listElementIndex = this.listWidget.findListItem(0,historyInfo.title);\\n\\tif(listElementIndex === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar listItemWidget = this.listWidget.children[listElementIndex],\\n\\t\\ttargetElement = listItemWidget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\treturn;\\n\\t}\\n\\t// Scroll the node into view\\n\\tthis.listWidget.dispatchEvent({type: \\\"tm-scroll\\\", target: targetElement});\\n};\\n\\nPopStoryView.prototype.insert = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\tduration = $tw.utils.getAnimationDuration();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\treturn;\\n\\t}\\n\\t// Reset once the transition is over\\n\\tsetTimeout(function() {\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{transform: \\\"none\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.setStyle(widget.document.body,[\\n\\t\\t\\t{\\\"overflow-x\\\": \\\"\\\"}\\n\\t\\t]);\\n\\t},duration);\\n\\t// Prevent the page from overscrolling due to the zoom factor\\n\\t$tw.utils.setStyle(widget.document.body,[\\n\\t\\t{\\\"overflow-x\\\": \\\"hidden\\\"}\\n\\t]);\\n\\t// Set up the initial position of the element\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{transform: \\\"scale(2)\\\"},\\n\\t\\t{opacity: \\\"0.0\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(targetElement);\\n\\t// Transition to the final position\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{transform: \\\"scale(1)\\\"},\\n\\t\\t{opacity: \\\"1.0\\\"}\\n\\t]);\\n};\\n\\nPopStoryView.prototype.remove = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\tremoveElement = function() {\\n\\t\\t\\tif(targetElement && targetElement.parentNode) {\\n\\t\\t\\t\\twidget.removeChildDomNodes();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tremoveElement();\\n\\t\\treturn;\\n\\t}\\n\\t// Remove the element at the end of the transition\\n\\tsetTimeout(removeElement,duration);\\n\\t// Animate the closure\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{transform: \\\"scale(1)\\\"},\\n\\t\\t{opacity: \\\"1.0\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(targetElement);\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{transform: \\\"scale(0.1)\\\"},\\n\\t\\t{opacity: \\\"0.0\\\"}\\n\\t]);\\n};\\n\\nexports.pop = PopStoryView;\\n\",\"type\":\"application/javascript\",\"module-type\":\"storyview\"},\"$:/core/modules/storyviews/zoomin.js\":{\"title\":\"$:/core/modules/storyviews/zoomin.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/storyviews/zoomin.js\\ntype: application/javascript\\nmodule-type: storyview\\n\\nZooms between individual tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar easing = \\\"cubic-bezier(0.645, 0.045, 0.355, 1)\\\"; // From http://easings.net/#easeInOutCubic\\n\\nvar ZoominListView = function(listWidget) {\\n\\tvar self = this;\\n\\tthis.listWidget = listWidget;\\n\\tthis.textNodeLogger = new $tw.utils.Logger(\\\"zoomin story river view\\\", {\\n\\t\\tenable: true,\\n\\t\\tcolour: 'red'\\n\\t});\\n\\t// Get the index of the tiddler that is at the top of the history\\n\\tvar history = this.listWidget.wiki.getTiddlerDataCached(this.listWidget.historyTitle,[]),\\n\\t\\ttargetTiddler;\\n\\tif(history.length > 0) {\\n\\t\\ttargetTiddler = history[history.length-1].title;\\n\\t}\\n\\t// Make all the tiddlers position absolute, and hide all but the top (or first) one\\n\\t$tw.utils.each(this.listWidget.children,function(itemWidget,index) {\\n\\t\\tvar domNode = itemWidget.findFirstDomNode();\\n\\t\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\t\\tif(!(domNode instanceof Element)) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif((targetTiddler && targetTiddler !== itemWidget.parseTreeNode.itemTitle) || (!targetTiddler && index)) {\\n\\t\\t\\tdomNode.style.display = \\\"none\\\";\\n\\t\\t} else {\\n\\t\\t\\tself.currentTiddlerDomNode = domNode;\\n\\t\\t}\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t});\\n};\\n\\nZoominListView.prototype.navigateTo = function(historyInfo) {\\n\\tvar duration = $tw.utils.getAnimationDuration(),\\n\\t\\tlistElementIndex = this.listWidget.findListItem(0,historyInfo.title);\\n\\tif(listElementIndex === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar listItemWidget = this.listWidget.children[listElementIndex],\\n\\t\\ttargetElement = listItemWidget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement) {\\n\\t\\treturn;\\n\\t} else if (targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tthis.logTextNodeRoot(targetElement);\\n\\t\\treturn;\\n\\t}\\n\\t// Make the new tiddler be position absolute and visible so that we can measure it\\n\\t$tw.utils.addClass(targetElement,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{display: \\\"block\\\"},\\n\\t\\t{transformOrigin: \\\"0 0\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{opacity: \\\"0.0\\\"}\\n\\t]);\\n\\t// Get the position of the source node, or use the centre of the window as the source position\\n\\tvar sourceBounds = historyInfo.fromPageRect || {\\n\\t\\t\\tleft: window.innerWidth/2 - 2,\\n\\t\\t\\ttop: window.innerHeight/2 - 2,\\n\\t\\t\\twidth: window.innerWidth/8,\\n\\t\\t\\theight: window.innerHeight/8\\n\\t\\t};\\n\\t// Try to find the title node in the target tiddler\\n\\tvar titleDomNode = findTitleDomNode(listItemWidget) || listItemWidget.findFirstDomNode(),\\n\\t\\tzoomBounds = titleDomNode.getBoundingClientRect();\\n\\t// Compute the transform for the target tiddler to make the title lie over the source rectange\\n\\tvar targetBounds = targetElement.getBoundingClientRect(),\\n\\t\\tscale = sourceBounds.width / zoomBounds.width,\\n\\t\\tx = sourceBounds.left - targetBounds.left - (zoomBounds.left - targetBounds.left) * scale,\\n\\t\\ty = sourceBounds.top - targetBounds.top - (zoomBounds.top - targetBounds.top) * scale;\\n\\t// Transform the target tiddler to its starting position\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transform: \\\"translateX(\\\" + x + \\\"px) translateY(\\\" + y + \\\"px) scale(\\\" + scale + \\\")\\\"}\\n\\t]);\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(targetElement);\\n\\t// Apply the ending transitions with a timeout to ensure that the previously applied transformations are applied first\\n\\tvar self = this,\\n\\t\\tprevCurrentTiddler = this.currentTiddlerDomNode;\\n\\tthis.currentTiddlerDomNode = targetElement;\\n\\t// Transform the target tiddler to its natural size\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t{opacity: \\\"1.0\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t{zIndex: \\\"500\\\"},\\n\\t]);\\n\\t// Transform the previous tiddler out of the way and then hide it\\n\\tif(prevCurrentTiddler && prevCurrentTiddler !== targetElement) {\\n\\t\\tscale = zoomBounds.width / sourceBounds.width;\\n\\t\\tx = zoomBounds.left - targetBounds.left - (sourceBounds.left - targetBounds.left) * scale;\\n\\t\\ty = zoomBounds.top - targetBounds.top - (sourceBounds.top - targetBounds.top) * scale;\\n\\t\\t$tw.utils.setStyle(prevCurrentTiddler,[\\n\\t\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t{opacity: \\\"0.0\\\"},\\n\\t\\t\\t{transformOrigin: \\\"0 0\\\"},\\n\\t\\t\\t{transform: \\\"translateX(\\\" + x + \\\"px) translateY(\\\" + y + \\\"px) scale(\\\" + scale + \\\")\\\"},\\n\\t\\t\\t{zIndex: \\\"0\\\"}\\n\\t\\t]);\\n\\t\\t// Hide the tiddler when the transition has finished\\n\\t\\tsetTimeout(function() {\\n\\t\\t\\tif(self.currentTiddlerDomNode !== prevCurrentTiddler) {\\n\\t\\t\\t\\tprevCurrentTiddler.style.display = \\\"none\\\";\\n\\t\\t\\t}\\n\\t\\t},duration);\\n\\t}\\n\\t// Scroll the target into view\\n//\\t$tw.pageScroller.scrollIntoView(targetElement);\\n};\\n\\n/*\\nFind the first child DOM node of a widget that has the class \\\"tc-title\\\"\\n*/\\nfunction findTitleDomNode(widget,targetClass) {\\n\\ttargetClass = targetClass || \\\"tc-title\\\";\\n\\tvar domNode = widget.findFirstDomNode();\\n\\tif(domNode && domNode.querySelector) {\\n\\t\\treturn $tw.utils.querySelectorSafe(\\\".\\\" + targetClass,domNode);\\n\\t}\\n\\treturn null;\\n}\\n\\nZoominListView.prototype.insert = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement) {\\n\\t\\treturn;\\n\\t} else if (targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tthis.logTextNodeRoot(targetElement);\\n\\t\\treturn;\\n\\t}\\n\\t// Make the newly inserted node position absolute and hidden\\n\\t$tw.utils.addClass(targetElement,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{display: \\\"none\\\"}\\n\\t]);\\n};\\n\\nZoominListView.prototype.remove = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\tremoveElement = function() {\\n\\t\\t\\twidget.removeChildDomNodes();\\n\\t\\t};\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tremoveElement();\\n\\t\\treturn;\\n\\t}\\n\\t// Abandon if hidden\\n\\tif(targetElement.style.display != \\\"block\\\" ) {\\n\\t\\tremoveElement();\\n\\t\\treturn;\\n\\t}\\n\\t// Set up the tiddler that is being closed\\n\\t$tw.utils.addClass(targetElement,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{display: \\\"block\\\"},\\n\\t\\t{transformOrigin: \\\"50% 50%\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{zIndex: \\\"0\\\"}\\n\\t]);\\n\\t// We'll move back to the previous or next element in the story\\n\\tvar toWidget = widget.previousSibling();\\n\\tif(!toWidget) {\\n\\t\\ttoWidget = widget.nextSibling();\\n\\t}\\n\\tvar toWidgetDomNode = toWidget && toWidget.findFirstDomNode();\\n\\t// Set up the tiddler we're moving back in\\n\\tif(toWidgetDomNode) {\\n\\t\\tif (toWidgetDomNode.nodeType === Node.TEXT_NODE) {\\n\\t\\t\\tthis.logTextNodeRoot(toWidgetDomNode);\\n\\t\\t\\ttoWidgetDomNode = null;\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.addClass(toWidgetDomNode,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t\\t\\t$tw.utils.setStyle(toWidgetDomNode,[\\n\\t\\t\\t\\t{display: \\\"block\\\"},\\n\\t\\t\\t\\t{transformOrigin: \\\"50% 50%\\\"},\\n\\t\\t\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(10)\\\"},\\n\\t\\t\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t\\t{opacity: \\\"0\\\"},\\n\\t\\t\\t\\t{zIndex: \\\"500\\\"}\\n\\t\\t\\t]);\\n\\t\\t\\tthis.currentTiddlerDomNode = toWidgetDomNode;\\n\\t\\t}\\n\\t}\\n\\t// Animate them both\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(this.listWidget.parentDomNode);\\n\\t// First, the tiddler we're closing\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transformOrigin: \\\"50% 50%\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(0.1)\\\"},\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t{opacity: \\\"0\\\"},\\n\\t\\t{zIndex: \\\"0\\\"}\\n\\t]);\\n\\tsetTimeout(removeElement,duration);\\n\\t// Now the tiddler we're going back to\\n\\tif(toWidgetDomNode) {\\n\\t\\t$tw.utils.setStyle(toWidgetDomNode,[\\n\\t\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t\\t{opacity: \\\"1\\\"}\\n\\t\\t]);\\n\\t}\\n\\treturn true; // Indicate that we'll delete the DOM node\\n};\\n\\nZoominListView.prototype.logTextNodeRoot = function(node) {\\n\\tthis.textNodeLogger.log($tw.language.getString(\\\"Error/ZoominTextNode\\\") + \\\" \\\" + node.textContent);\\n};\\n\\nexports.zoomin = ZoominListView;\\n\",\"type\":\"application/javascript\",\"module-type\":\"storyview\"},\"$:/core/modules/syncer.js\":{\"title\":\"$:/core/modules/syncer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/syncer.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe syncer tracks changes to the store and synchronises them to a remote data store represented as a \\\"sync adaptor\\\"\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nDefaults\\n*/\\nSyncer.prototype.titleIsLoggedIn = \\\"$:/status/IsLoggedIn\\\";\\nSyncer.prototype.titleIsAnonymous = \\\"$:/status/IsAnonymous\\\";\\nSyncer.prototype.titleIsReadOnly = \\\"$:/status/IsReadOnly\\\";\\nSyncer.prototype.titleUserName = \\\"$:/status/UserName\\\";\\nSyncer.prototype.titleSyncFilter = \\\"$:/config/SyncFilter\\\";\\nSyncer.prototype.titleSyncPollingInterval = \\\"$:/config/SyncPollingInterval\\\";\\nSyncer.prototype.titleSyncDisableLazyLoading = \\\"$:/config/SyncDisableLazyLoading\\\";\\nSyncer.prototype.titleSavedNotification = \\\"$:/language/Notifications/Save/Done\\\";\\nSyncer.prototype.titleSyncThrottleInterval = \\\"$:/config/SyncThrottleInterval\\\";\\nSyncer.prototype.taskTimerInterval = 0.25 * 1000; // Interval for sync timer\\nSyncer.prototype.throttleInterval = 1 * 1000; // Defer saving tiddlers if they've changed in the last 1s...\\nSyncer.prototype.errorRetryInterval = 5 * 1000; // Interval to retry after an error\\nSyncer.prototype.fallbackInterval = 10 * 1000; // Unless the task is older than 10s\\nSyncer.prototype.pollTimerInterval = 60 * 1000; // Interval for polling for changes from the adaptor\\n\\n/*\\nInstantiate the syncer with the following options:\\nsyncadaptor: reference to syncadaptor to be used\\nwiki: wiki to be synced\\n*/\\nfunction Syncer(options) {\\n\\tvar self = this;\\n\\tthis.wiki = options.wiki;\\n\\t// Save parameters\\n\\tthis.syncadaptor = options.syncadaptor;\\n\\tthis.disableUI = !!options.disableUI;\\n\\tthis.titleIsLoggedIn = options.titleIsLoggedIn || this.titleIsLoggedIn;\\n\\tthis.titleUserName = options.titleUserName || this.titleUserName;\\n\\tthis.titleSyncFilter = options.titleSyncFilter || this.titleSyncFilter;\\n\\tthis.titleSavedNotification = options.titleSavedNotification || this.titleSavedNotification;\\n\\tthis.taskTimerInterval = options.taskTimerInterval || this.taskTimerInterval;\\n\\tthis.throttleInterval = options.throttleInterval || parseInt(this.wiki.getTiddlerText(this.titleSyncThrottleInterval,\\\"\\\"),10) || this.throttleInterval;\\n\\tthis.errorRetryInterval = options.errorRetryInterval || this.errorRetryInterval;\\n\\tthis.fallbackInterval = options.fallbackInterval || this.fallbackInterval;\\n\\tthis.pollTimerInterval = options.pollTimerInterval || parseInt(this.wiki.getTiddlerText(this.titleSyncPollingInterval,\\\"\\\"),10) || this.pollTimerInterval;\\n\\tthis.logging = \\\"logging\\\" in options ? options.logging : true;\\n\\t// Make a logger\\n\\tthis.logger = new $tw.utils.Logger(\\\"syncer\\\" + ($tw.browser ? \\\"-browser\\\" : \\\"\\\") + ($tw.node ? \\\"-server\\\" : \\\"\\\") + (this.syncadaptor.name ? (\\\"-\\\" + this.syncadaptor.name) : \\\"\\\"),{\\n\\t\\tcolour: \\\"cyan\\\",\\n\\t\\tenable: this.logging,\\n\\t\\tsaveHistory: true\\n\\t});\\n\\t// Make another logger for connection errors\\n\\tthis.loggerConnection = new $tw.utils.Logger(\\\"syncer\\\" + ($tw.browser ? \\\"-browser\\\" : \\\"\\\") + ($tw.node ? \\\"-server\\\" : \\\"\\\") + (this.syncadaptor.name ? (\\\"-\\\" + this.syncadaptor.name) : \\\"\\\") + \\\"-connection\\\",{\\n\\t\\tcolour: \\\"cyan\\\",\\n\\t\\tenable: this.logging\\n\\t});\\n\\t// Ask the syncadaptor to use the main logger\\n\\tif(this.syncadaptor.setLoggerSaveBuffer) {\\n\\t\\tthis.syncadaptor.setLoggerSaveBuffer(this.logger);\\n\\t}\\n\\t// Compile the dirty tiddler filter\\n\\tthis.filterFn = this.wiki.compileFilter(this.wiki.getTiddlerText(this.titleSyncFilter));\\n\\t// Record information for known tiddlers\\n\\tthis.readTiddlerInfo();\\n\\tthis.titlesToBeLoaded = {}; // Hashmap of titles of tiddlers that need loading from the server\\n\\tthis.titlesHaveBeenLazyLoaded = {}; // Hashmap of titles of tiddlers that have already been lazily loaded from the server\\n\\t// Timers\\n\\tthis.taskTimerId = null; // Timer for task dispatch\\n\\t// Number of outstanding requests\\n\\tthis.numTasksInProgress = 0;\\n\\t// True when we want to force an immediate sync from the server\\n\\tthis.forceSyncFromServer = false;\\n\\tthis.timestampLastSyncFromServer = new Date();\\n\\t// Listen out for changes to tiddlers\\n\\tthis.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t// Filter the changes to just include ones that are being synced\\n\\t\\tvar filteredChanges = self.getSyncedTiddlers(function(callback) {\\n\\t\\t\\t$tw.utils.each(changes,function(change,title) {\\n\\t\\t\\t\\tvar tiddler = self.wiki.tiddlerExists(title) && self.wiki.getTiddler(title);\\n\\t\\t\\t\\tcallback(tiddler,title);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\tif(filteredChanges.length > 0) {\\n\\t\\t\\tself.processTaskQueue();\\n\\t\\t} else {\\n\\t\\t\\t// Look for deletions of tiddlers we're already syncing\\t\\n\\t\\t\\tvar outstandingDeletion = false\\n\\t\\t\\t$tw.utils.each(changes,function(change,title,object) {\\n\\t\\t\\t\\tif(change.deleted && $tw.utils.hop(self.tiddlerInfo,title)) {\\n\\t\\t\\t\\t\\toutstandingDeletion = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tif(outstandingDeletion) {\\n\\t\\t\\t\\tself.processTaskQueue();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Browser event handlers\\n\\tif($tw.browser && !this.disableUI) {\\n\\t\\t// Set up our beforeunload handler\\n\\t\\t$tw.addUnloadTask(function(event) {\\n\\t\\t\\tvar confirmationMessage;\\n\\t\\t\\tif(self.isDirty()) {\\n\\t\\t\\t\\tconfirmationMessage = $tw.language.getString(\\\"UnsavedChangesWarning\\\");\\n\\t\\t\\t\\tevent.returnValue = confirmationMessage; // Gecko\\n\\t\\t\\t}\\n\\t\\t\\treturn confirmationMessage;\\n\\t\\t});\\n\\t\\t// Listen out for login/logout/refresh events in the browser\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-login\\\",function(event) {\\n\\t\\t\\tvar username = event && event.paramObject && event.paramObject.username,\\n\\t\\t\\t\\tpassword = event && event.paramObject && event.paramObject.password;\\n\\t\\t\\tif(username && password) {\\n\\t\\t\\t\\t// Login with username and password\\n\\t\\t\\t\\tself.login(username,password,function() {});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// No username and password, so we display a prompt\\n\\t\\t\\t\\tself.handleLoginEvent();\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-logout\\\",function() {\\n\\t\\t\\tself.handleLogoutEvent();\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-server-refresh\\\",function() {\\n\\t\\t\\tself.handleRefreshEvent();\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-copy-syncer-logs-to-clipboard\\\",function() {\\n\\t\\t\\t$tw.utils.copyToClipboard($tw.utils.getSystemInfo() + \\\"\\\\n\\\\nLog:\\\\n\\\" + self.logger.getBuffer());\\n\\t\\t});\\n\\t}\\n\\t// Listen out for lazyLoad events\\n\\tif(!this.disableUI && this.wiki.getTiddlerText(this.titleSyncDisableLazyLoading) !== \\\"yes\\\") {\\n\\t\\tthis.wiki.addEventListener(\\\"lazyLoad\\\",function(title) {\\n\\t\\t\\tself.handleLazyLoadEvent(title);\\n\\t\\t});\\t\\t\\n\\t}\\n\\t// Get the login status\\n\\tthis.getStatus(function(err,isLoggedIn) {\\n\\t\\t// Do a sync from the server\\n\\t\\tself.syncFromServer();\\n\\t});\\n}\\n\\n/*\\nShow a generic network error alert\\n*/\\nSyncer.prototype.displayError = function(msg,err) {\\n\\tif(err === ($tw.language.getString(\\\"Error/XMLHttpRequest\\\") + \\\": 0\\\")) {\\n\\t\\tthis.loggerConnection.alert($tw.language.getString(\\\"Error/NetworkErrorAlert\\\"));\\n\\t\\tthis.logger.log(msg + \\\":\\\",err);\\n\\t} else {\\n\\t\\tthis.logger.alert(msg + \\\":\\\",err);\\n\\t}\\n};\\n\\n/*\\nReturn an array of the tiddler titles that are subjected to syncing\\n*/\\nSyncer.prototype.getSyncedTiddlers = function(source) {\\n\\treturn this.filterFn.call(this.wiki,source);\\n};\\n\\n/*\\nReturn an array of the tiddler titles that are subjected to syncing\\n*/\\nSyncer.prototype.getTiddlerRevision = function(title) {\\n\\tif(this.syncadaptor && this.syncadaptor.getTiddlerRevision) {\\n\\t\\treturn this.syncadaptor.getTiddlerRevision(title);\\n\\t} else {\\n\\t\\treturn this.wiki.getTiddler(title).fields.revision;\\t\\n\\t} \\n};\\n\\n/*\\nRead (or re-read) the latest tiddler info from the store\\n*/\\nSyncer.prototype.readTiddlerInfo = function() {\\n\\t// Hashmap by title of {revision:,changeCount:,adaptorInfo:}\\n\\t// \\\"revision\\\" is the revision of the tiddler last seen on the server, and \\\"changecount\\\" is the corresponding local changecount\\n\\tthis.tiddlerInfo = {};\\n\\t// Record information for known tiddlers\\n\\tvar self = this,\\n\\t\\ttiddlers = this.getSyncedTiddlers();\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tself.tiddlerInfo[title] = {\\n\\t\\t\\t\\trevision: self.getTiddlerRevision(title),\\n\\t\\t\\t\\tadaptorInfo: self.syncadaptor && self.syncadaptor.getTiddlerInfo(tiddler),\\n\\t\\t\\t\\tchangeCount: self.wiki.getChangeCount(title)\\n\\t\\t\\t};\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nChecks whether the wiki is dirty (ie the window shouldn't be closed)\\n*/\\nSyncer.prototype.isDirty = function() {\\n\\tvar self = this;\\n\\tfunction checkIsDirty() {\\n\\t\\t// Check tiddlers that are in the store and included in the filter function\\n\\t\\tvar titles = self.getSyncedTiddlers();\\n\\t\\tfor(var index=0; index<titles.length; index++) {\\n\\t\\t\\tvar title = titles[index],\\n\\t\\t\\t\\ttiddlerInfo = self.tiddlerInfo[title];\\n\\t\\t\\tif(self.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tif(tiddlerInfo) {\\n\\t\\t\\t\\t\\t// If the tiddler is known on the server and has been modified locally then it needs to be saved to the server\\n\\t\\t\\t\\t\\tif(self.wiki.getChangeCount(title) > tiddlerInfo.changeCount) {\\n\\t\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// If the tiddler isn't known on the server then it needs to be saved to the server\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Check tiddlers that are known from the server but not currently in the store\\n\\t\\ttitles = Object.keys(self.tiddlerInfo);\\n\\t\\tfor(index=0; index<titles.length; index++) {\\n\\t\\t\\tif(!self.wiki.tiddlerExists(titles[index])) {\\n\\t\\t\\t\\t// There must be a pending delete\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn false;\\n\\t}\\n\\tvar dirtyStatus = checkIsDirty();\\n\\treturn dirtyStatus;\\n};\\n\\n/*\\nUpdate the document body with the class \\\"tc-dirty\\\" if the wiki has unsaved/unsynced changes\\n*/\\nSyncer.prototype.updateDirtyStatus = function() {\\n\\tif($tw.browser && !this.disableUI) {\\n\\t\\tvar dirty = this.isDirty();\\n\\t\\t$tw.utils.toggleClass(document.body,\\\"tc-dirty\\\",dirty);\\n\\t\\tif(!dirty) {\\n\\t\\t\\tthis.loggerConnection.clearAlerts();\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nSave an incoming tiddler in the store, and updates the associated tiddlerInfo\\n*/\\nSyncer.prototype.storeTiddler = function(tiddlerFields) {\\n\\t// Save the tiddler\\n\\tvar tiddler = new $tw.Tiddler(tiddlerFields);\\n\\tthis.wiki.addTiddler(tiddler);\\n\\t// Save the tiddler revision and changeCount details\\n\\tthis.tiddlerInfo[tiddlerFields.title] = {\\n\\t\\trevision: this.getTiddlerRevision(tiddlerFields.title),\\n\\t\\tadaptorInfo: this.syncadaptor.getTiddlerInfo(tiddler),\\n\\t\\tchangeCount: this.wiki.getChangeCount(tiddlerFields.title)\\n\\t};\\n};\\n\\nSyncer.prototype.getStatus = function(callback) {\\n\\tvar self = this;\\n\\t// Check if the adaptor supports getStatus()\\n\\tif(this.syncadaptor && this.syncadaptor.getStatus) {\\n\\t\\t// Mark us as not logged in\\n\\t\\tthis.wiki.addTiddler({title: this.titleIsLoggedIn,text: \\\"no\\\"});\\n\\t\\t// Get login status\\n\\t\\tthis.syncadaptor.getStatus(function(err,isLoggedIn,username,isReadOnly,isAnonymous) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.displayError(\\\"Get Status Error\\\",err);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Set the various status tiddlers\\n\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? \\\"yes\\\" : \\\"no\\\"});\\n\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleIsAnonymous,text: isAnonymous ? \\\"yes\\\" : \\\"no\\\"});\\n\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleIsLoggedIn,text: isLoggedIn ? \\\"yes\\\" : \\\"no\\\"});\\n\\t\\t\\t\\tif(isLoggedIn) {\\n\\t\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleUserName,text: username || \\\"\\\"});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Invoke the callback\\n\\t\\t\\tif(callback) {\\n\\t\\t\\t\\tcallback(err,isLoggedIn,username);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tcallback(null,true,\\\"UNAUTHENTICATED\\\");\\n\\t}\\n};\\n\\n/*\\nSynchronise from the server by reading the skinny tiddler list and queuing up loads for any tiddlers that we don't already have up to date\\n*/\\nSyncer.prototype.syncFromServer = function() {\\n\\tif(this.canSyncFromServer()) {\\n\\t\\tthis.forceSyncFromServer = true;\\n\\t\\tthis.processTaskQueue();\\t\\n\\t}\\n};\\n\\nSyncer.prototype.canSyncFromServer = function() {\\n\\treturn !!this.syncadaptor.getUpdatedTiddlers || !!this.syncadaptor.getSkinnyTiddlers;\\n}\\n\\n/*\\nForce load a tiddler from the server\\n*/\\nSyncer.prototype.enqueueLoadTiddler = function(title) {\\n\\tthis.titlesToBeLoaded[title] = true;\\n\\tthis.processTaskQueue();\\n};\\n\\n/*\\nLazily load a skinny tiddler if we can\\n*/\\nSyncer.prototype.handleLazyLoadEvent = function(title) {\\n\\t// Ignore if the syncadaptor doesn't handle it\\n\\tif(!this.syncadaptor.supportsLazyLoading) {\\n\\t\\treturn;\\n\\t}\\n\\t// Don't lazy load the same tiddler twice\\n\\tif(!this.titlesHaveBeenLazyLoaded[title]) {\\n\\t\\t// Don't lazy load if the tiddler isn't included in the sync filter\\n\\t\\tif(this.getSyncedTiddlers().indexOf(title) !== -1) {\\n\\t\\t\\t// Mark the tiddler as needing loading, and having already been lazily loaded\\n\\t\\t\\tthis.titlesToBeLoaded[title] = true;\\n\\t\\t\\tthis.titlesHaveBeenLazyLoaded[title] = true;\\n\\t\\t\\tthis.processTaskQueue();\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nDispay a password prompt and allow the user to login\\n*/\\nSyncer.prototype.handleLoginEvent = function() {\\n\\tvar self = this;\\n\\tthis.getStatus(function(err,isLoggedIn,username) {\\n\\t\\tif(!err && !isLoggedIn) {\\n\\t\\t\\tif(self.syncadaptor && self.syncadaptor.displayLoginPrompt) {\\n\\t\\t\\t\\tself.syncadaptor.displayLoginPrompt(self);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.displayLoginPrompt();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nDispay a password prompt\\n*/\\nSyncer.prototype.displayLoginPrompt = function() {\\n\\tvar self = this;\\n\\tvar promptInfo = $tw.passwordPrompt.createPrompt({\\n\\t\\tserviceName: $tw.language.getString(\\\"LoginToTiddlySpace\\\"),\\n\\t\\tcallback: function(data) {\\n\\t\\t\\tself.login(data.username,data.password,function(err,isLoggedIn) {\\n\\t\\t\\t\\tself.syncFromServer();\\n\\t\\t\\t});\\n\\t\\t\\treturn true; // Get rid of the password prompt\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nAttempt to login to TiddlyWeb.\\n\\tusername: username\\n\\tpassword: password\\n\\tcallback: invoked with arguments (err,isLoggedIn)\\n*/\\nSyncer.prototype.login = function(username,password,callback) {\\n\\tthis.logger.log(\\\"Attempting to login as\\\",username);\\n\\tvar self = this;\\n\\tif(this.syncadaptor.login) {\\n\\t\\tthis.syncadaptor.login(username,password,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tself.getStatus(function(err,isLoggedIn,username) {\\n\\t\\t\\t\\tif(callback) {\\n\\t\\t\\t\\t\\tcallback(err,isLoggedIn);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t});\\n\\t} else {\\n\\t\\tcallback(null,true);\\n\\t}\\n};\\n\\n/*\\nAttempt to log out of TiddlyWeb\\n*/\\nSyncer.prototype.handleLogoutEvent = function() {\\n\\tthis.logger.log(\\\"Attempting to logout\\\");\\n\\tvar self = this;\\n\\tif(this.syncadaptor.logout) {\\n\\t\\tthis.syncadaptor.logout(function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.displayError(\\\"Logout Error\\\",err);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.getStatus();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nImmediately refresh from the server\\n*/\\nSyncer.prototype.handleRefreshEvent = function() {\\n\\tthis.syncFromServer();\\n};\\n\\n/*\\nProcess the next task\\n*/\\nSyncer.prototype.processTaskQueue = function() {\\n\\tvar self = this;\\n\\t// Only process a task if the sync adaptor is fully initialised and we're not already performing\\n\\t// a task. If we are already performing a task then we'll dispatch the next one when it completes\\n\\tif((!this.syncadaptor.isReady || this.syncadaptor.isReady()) && this.numTasksInProgress === 0) {\\n\\t\\t// Choose the next task to perform\\n\\t\\tvar task = this.chooseNextTask();\\n\\t\\t// Perform the task if we had one\\n\\t\\tif(typeof task === \\\"object\\\" && task !== null) {\\n\\t\\t\\tthis.numTasksInProgress += 1;\\n\\t\\t\\ttask.run(function(err) {\\n\\t\\t\\t\\tself.numTasksInProgress -= 1;\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\tself.displayError(\\\"Sync error while processing \\\" + task.type + \\\" of '\\\" + task.title + \\\"'\\\",err);\\n\\t\\t\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t\\t\\tself.triggerTimeout(self.errorRetryInterval);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t\\t\\t// Process the next task\\n\\t\\t\\t\\t\\tself.processTaskQueue.call(self);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\t// No task is ready so update the status\\n\\t\\t\\tthis.updateDirtyStatus();\\n\\t\\t\\t// And trigger a timeout if there is a pending task\\n\\t\\t\\tif(task === true) {\\n\\t\\t\\t\\tthis.triggerTimeout(this.taskTimerInterval);\\n\\t\\t\\t} else if(this.canSyncFromServer()) {\\n\\t\\t\\t\\tthis.triggerTimeout(this.pollTimerInterval);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tthis.updateDirtyStatus();\\n\\t\\tthis.triggerTimeout(this.taskTimerInterval);\\n\\t}\\n};\\n\\nSyncer.prototype.triggerTimeout = function(interval) {\\n\\tvar self = this;\\n\\tif(this.taskTimerId) {\\n\\t\\tclearTimeout(this.taskTimerId);\\n\\t}\\n\\tthis.taskTimerId = setTimeout(function() {\\n\\t\\tself.taskTimerId = null;\\n\\t\\tself.processTaskQueue.call(self);\\n\\t},interval || self.taskTimerInterval);\\n};\\n\\n/*\\nChoose the next sync task. We prioritise saves to the server, then getting updates from the server, then deletes to the server, then loads from the server\\n\\nReturns either:\\n* a task object\\n* the boolean true if there are pending sync tasks that aren't yet due\\n* null if there's no pending sync tasks (just the next poll)\\n*/\\nSyncer.prototype.chooseNextTask = function() {\\n\\tvar now = new Date(),\\n\\t\\tthresholdLastSaved = now - this.throttleInterval,\\n\\t\\thavePending = null;\\n\\t// First we look for tiddlers that have been modified locally and need saving back to the server\\n\\tvar titles = this.getSyncedTiddlers();\\n\\tfor(var index=0; index<titles.length; index++) {\\n\\t\\tvar title = titles[index],\\n\\t\\t\\ttiddler = this.wiki.tiddlerExists(title) && this.wiki.getTiddler(title),\\n\\t\\t\\ttiddlerInfo = this.tiddlerInfo[title];\\n\\t\\tif(tiddler) {\\n\\t\\t\\t// If the tiddler is not known on the server, or has been modified locally no more recently than the threshold then it needs to be saved to the server\\n\\t\\t\\tvar hasChanged = !tiddlerInfo || this.wiki.getChangeCount(title) > tiddlerInfo.changeCount,\\n\\t\\t\\t\\tisReadyToSave = !tiddlerInfo || !tiddlerInfo.timestampLastSaved || tiddlerInfo.timestampLastSaved < thresholdLastSaved;\\n\\t\\t\\tif(hasChanged) {\\n\\t\\t\\t\\tif(isReadyToSave) {\\n\\t\\t\\t\\t\\treturn new SaveTiddlerTask(this,title);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\thavePending = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Second we check for an outstanding sync from server\\n\\tif(this.forceSyncFromServer || (this.timestampLastSyncFromServer && (now.valueOf() >= (this.timestampLastSyncFromServer.valueOf() + this.pollTimerInterval)))) {\\n\\t\\treturn new SyncFromServerTask(this);\\n\\t}\\n\\t// Third, we check tiddlers that are known from the server but not currently in the store, and so need deleting on the server\\n\\ttitles = Object.keys(this.tiddlerInfo);\\n\\tfor(index=0; index<titles.length; index++) {\\n\\t\\ttitle = titles[index];\\n\\t\\ttiddlerInfo = this.tiddlerInfo[title];\\n\\t\\ttiddler = this.wiki.tiddlerExists(title) && this.wiki.getTiddler(title);\\n\\t\\tif(!tiddler) {\\n\\t\\t\\treturn new DeleteTiddlerTask(this,title);\\n\\t\\t}\\n\\t}\\n\\t// Finally, check for tiddlers that need loading\\n\\ttitle = Object.keys(this.titlesToBeLoaded)[0];\\n\\tif(title) {\\n\\t\\tdelete this.titlesToBeLoaded[title];\\n\\t\\treturn new LoadTiddlerTask(this,title);\\n\\t}\\n\\t// No tasks are ready now, but might be in the future\\n\\treturn havePending;\\n};\\n\\nfunction SaveTiddlerTask(syncer,title) {\\n\\tthis.syncer = syncer;\\n\\tthis.title = title;\\n\\tthis.type = \\\"save\\\";\\n}\\n\\nSaveTiddlerTask.prototype.toString = function() {\\n\\treturn \\\"SAVE \\\" + this.title;\\n}\\n\\nSaveTiddlerTask.prototype.run = function(callback) {\\n\\tvar self = this,\\n\\t\\tchangeCount = this.syncer.wiki.getChangeCount(this.title),\\n\\t\\ttiddler = this.syncer.wiki.tiddlerExists(this.title) && this.syncer.wiki.getTiddler(this.title);\\n\\tthis.syncer.logger.log(\\\"Dispatching 'save' task:\\\",this.title);\\n\\tif(tiddler) {\\n\\t\\tthis.syncer.syncadaptor.saveTiddler(tiddler,function(err,adaptorInfo,revision) {\\n\\t\\t\\t// If there's an error, exit without changing any internal state\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\t// Adjust the info stored about this tiddler\\n\\t\\t\\tself.syncer.tiddlerInfo[self.title] = {\\n\\t\\t\\t\\tchangeCount: changeCount,\\n\\t\\t\\t\\tadaptorInfo: adaptorInfo,\\n\\t\\t\\t\\trevision: revision,\\n\\t\\t\\t\\ttimestampLastSaved: new Date()\\n\\t\\t\\t};\\n\\t\\t\\t// Invoke the callback\\n\\t\\t\\tcallback(null);\\n\\t\\t},{\\n\\t\\t\\ttiddlerInfo: self.syncer.tiddlerInfo[self.title]\\n\\t\\t});\\n\\t} else {\\n\\t\\t$tw.utils.nextTick(callback(null));\\n\\t}\\n};\\n\\nfunction DeleteTiddlerTask(syncer,title) {\\n\\tthis.syncer = syncer;\\n\\tthis.title = title;\\n\\tthis.type = \\\"delete\\\";\\n}\\n\\nDeleteTiddlerTask.prototype.toString = function() {\\n\\treturn \\\"DELETE \\\" + this.title;\\n}\\n\\nDeleteTiddlerTask.prototype.run = function(callback) {\\n\\tvar self = this;\\n\\tthis.syncer.logger.log(\\\"Dispatching 'delete' task:\\\",this.title);\\n\\tthis.syncer.syncadaptor.deleteTiddler(this.title,function(err) {\\n\\t\\t// If there's an error, exit without changing any internal state\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\t// Remove the info stored about this tiddler\\n\\t\\tdelete self.syncer.tiddlerInfo[self.title];\\n\\t\\t// Invoke the callback\\n\\t\\tcallback(null);\\n\\t},{\\n\\t\\ttiddlerInfo: self.syncer.tiddlerInfo[this.title]\\n\\t});\\n};\\n\\nfunction LoadTiddlerTask(syncer,title) {\\n\\tthis.syncer = syncer;\\n\\tthis.title = title;\\n\\tthis.type = \\\"load\\\";\\n}\\n\\nLoadTiddlerTask.prototype.toString = function() {\\n\\treturn \\\"LOAD \\\" + this.title;\\n}\\n\\nLoadTiddlerTask.prototype.run = function(callback) {\\n\\tvar self = this;\\n\\tthis.syncer.logger.log(\\\"Dispatching 'load' task:\\\",this.title);\\n\\tthis.syncer.syncadaptor.loadTiddler(this.title,function(err,tiddlerFields) {\\n\\t\\t// If there's an error, exit without changing any internal state\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\t// Update the info stored about this tiddler\\n\\t\\tif(tiddlerFields) {\\n\\t\\t\\tself.syncer.storeTiddler(tiddlerFields);\\n\\t\\t}\\n\\t\\t// Invoke the callback\\n\\t\\tcallback(null);\\n\\t});\\n};\\n\\nfunction SyncFromServerTask(syncer) {\\n\\tthis.syncer = syncer;\\n\\tthis.type = \\\"syncfromserver\\\";\\n}\\n\\nSyncFromServerTask.prototype.toString = function() {\\n\\treturn \\\"SYNCFROMSERVER\\\";\\n}\\n\\nSyncFromServerTask.prototype.run = function(callback) {\\n\\tvar self = this;\\n\\tvar syncSystemFromServer = (self.syncer.wiki.getTiddlerText(\\\"$:/config/SyncSystemTiddlersFromServer\\\") === \\\"yes\\\" ? true : false);\\n\\tvar successCallback = function() {\\n\\t\\tself.syncer.forceSyncFromServer = false;\\n\\t\\tself.syncer.timestampLastSyncFromServer = new Date();\\n\\t\\tcallback(null);\\n\\t};\\n\\tif(this.syncer.syncadaptor.getUpdatedTiddlers) {\\n\\t\\tthis.syncer.syncadaptor.getUpdatedTiddlers(self.syncer,function(err,updates) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.syncer.displayError($tw.language.getString(\\\"Error/RetrievingSkinny\\\"),err);\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tif(updates) {\\n\\t\\t\\t\\t$tw.utils.each(updates.modifications,function(title) {\\n\\t\\t\\t\\t\\tself.syncer.titlesToBeLoaded[title] = true;\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\t$tw.utils.each(updates.deletions,function(title) {\\n\\t\\t\\t\\t\\tif(syncSystemFromServer || !self.syncer.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\t\\t\\tdelete self.syncer.tiddlerInfo[title];\\n\\t\\t\\t\\t\\t\\tself.syncer.logger.log(\\\"Deleting tiddler missing from server:\\\",title);\\n\\t\\t\\t\\t\\t\\tself.syncer.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\treturn successCallback();\\n\\t\\t});\\n\\t} else if(this.syncer.syncadaptor.getSkinnyTiddlers) {\\n\\t\\tthis.syncer.syncadaptor.getSkinnyTiddlers(function(err,tiddlers) {\\n\\t\\t\\t// Check for errors\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.syncer.displayError($tw.language.getString(\\\"Error/RetrievingSkinny\\\"),err);\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\t// Keep track of which tiddlers we already know about have been reported this time\\n\\t\\t\\tvar previousTitles = Object.keys(self.syncer.tiddlerInfo);\\n\\t\\t\\t// Process each incoming tiddler\\n\\t\\t\\tfor(var t=0; t<tiddlers.length; t++) {\\n\\t\\t\\t\\t// Get the incoming tiddler fields, and the existing tiddler\\n\\t\\t\\t\\tvar tiddlerFields = tiddlers[t],\\n\\t\\t\\t\\t\\tincomingRevision = tiddlerFields.revision + \\\"\\\",\\n\\t\\t\\t\\t\\ttiddler = self.syncer.wiki.tiddlerExists(tiddlerFields.title) && self.syncer.wiki.getTiddler(tiddlerFields.title),\\n\\t\\t\\t\\t\\ttiddlerInfo = self.syncer.tiddlerInfo[tiddlerFields.title],\\n\\t\\t\\t\\t\\tcurrRevision = tiddlerInfo ? tiddlerInfo.revision : null,\\n\\t\\t\\t\\t\\tindexInPreviousTitles = previousTitles.indexOf(tiddlerFields.title);\\n\\t\\t\\t\\tif(indexInPreviousTitles !== -1) {\\n\\t\\t\\t\\t\\tpreviousTitles.splice(indexInPreviousTitles,1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Ignore the incoming tiddler if it's the same as the revision we've already got\\n\\t\\t\\t\\tif(currRevision !== incomingRevision) {\\n\\t\\t\\t\\t\\t// Only load the skinny version if we don't already have a fat version of the tiddler\\n\\t\\t\\t\\t\\tif(!tiddler || tiddler.fields.text === undefined) {\\n\\t\\t\\t\\t\\t\\tself.syncer.storeTiddler(tiddlerFields);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Do a full load of this tiddler\\n\\t\\t\\t\\t\\tself.syncer.titlesToBeLoaded[tiddlerFields.title] = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Delete any tiddlers that were previously reported but missing this time\\n\\t\\t\\t$tw.utils.each(previousTitles,function(title) {\\n\\t\\t\\t\\tif(syncSystemFromServer || !self.syncer.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\t\\tdelete self.syncer.tiddlerInfo[title];\\n\\t\\t\\t\\t\\tself.syncer.logger.log(\\\"Deleting tiddler missing from server:\\\",title);\\n\\t\\t\\t\\t\\tself.syncer.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tself.syncer.forceSyncFromServer = false;\\n\\t\\t\\tself.syncer.timestampLastSyncFromServer = new Date();\\n\\t\\t\\treturn successCallback();\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn successCallback();\\n\\t}\\n};\\n\\nexports.Syncer = Syncer;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/tiddler.js\":{\"title\":\"$:/core/modules/tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/tiddler.js\\ntype: application/javascript\\nmodule-type: tiddlermethod\\n\\nExtension methods for the $tw.Tiddler object (constructor and methods required at boot time are in boot/boot.js)\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.hasTag = function(tag) {\\n\\treturn this.fields.tags && this.fields.tags.indexOf(tag) !== -1;\\n};\\n\\nexports.isPlugin = function() {\\n\\treturn this.fields.type === \\\"application/json\\\" && this.hasField(\\\"plugin-type\\\");\\n};\\n\\nexports.isDraft = function() {\\n\\treturn this.hasField(\\\"draft.of\\\");\\n};\\n\\nexports.getFieldString = function(field,defaultValue) {\\n\\tvar value = this.fields[field];\\n\\t// Check for a missing field\\n\\tif(value === undefined || value === null) {\\n\\t\\treturn defaultValue || \\\"\\\";\\n\\t}\\n\\t// Stringify the field with the associated tiddler field module (if any)\\n\\tvar fieldModule = $tw.Tiddler.fieldModules[field];\\n\\tif(fieldModule && fieldModule.stringify) {\\n\\t\\treturn fieldModule.stringify.call(this,value);\\n\\t} else {\\n\\t\\treturn value.toString();\\n\\t}\\n};\\n\\n/*\\nGet the value of a field as an array / list\\n*/\\nexports.getFieldList = function(field) {\\n\\tvar value = this.getFieldString(field,null);\\n\\t// Check for a missing field\\n\\tif(value === undefined || value === null) {\\n\\t\\treturn [];\\n\\t}\\n\\treturn $tw.utils.parseStringArray(value);\\n};\\n\\n/*\\nGet all the fields as a hashmap of strings. Options:\\n\\texclude: an array of field names to exclude\\n*/\\nexports.getFieldStrings = function(options) {\\n\\toptions = options || {};\\n\\tvar exclude = options.exclude || [];\\n\\tvar fields = {};\\n\\tfor(var field in this.fields) {\\n\\t\\tif($tw.utils.hop(this.fields,field)) {\\n\\t\\t\\tif(exclude.indexOf(field) === -1) {\\n\\t\\t\\t\\tfields[field] = this.getFieldString(field);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn fields;\\n};\\n\\n/*\\nGet all the fields as a name:value block. Options:\\n\\texclude: an array of field names to exclude\\n*/\\nexports.getFieldStringBlock = function(options) {\\n\\toptions = options || {};\\n\\tvar exclude = options.exclude || [],\\n\\t\\tfields = Object.keys(this.fields).sort(),\\n\\t\\tresult = [];\\n\\tfor(var t=0; t<fields.length; t++) {\\n\\t\\tvar field = fields[t];\\n\\t\\tif(exclude.indexOf(field) === -1) {\\n\\t\\t\\tresult.push(field + \\\": \\\" + this.getFieldString(field));\\n\\t\\t}\\n\\t}\\n\\treturn result.join(\\\"\\\\n\\\");\\n};\\n\\nexports.getFieldDay = function(field) {\\n\\tif(this.cache && this.cache.day && $tw.utils.hop(this.cache.day,field) ) {\\n\\t\\treturn this.cache.day[field];\\n\\t}\\n\\tvar day = \\\"\\\";\\n\\tif(this.fields[field]) {\\n\\t\\tday = (new Date($tw.utils.parseDate(this.fields[field]))).setHours(0,0,0,0);\\n\\t}\\n\\tthis.cache.day = this.cache.day || {};\\n\\tthis.cache.day[field] = day;\\n\\treturn day;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"tiddlermethod\"},\"$:/core/modules/upgraders/plugins.js\":{\"title\":\"$:/core/modules/upgraders/plugins.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/upgraders/plugins.js\\ntype: application/javascript\\nmodule-type: upgrader\\n\\nUpgrader module that checks that plugins are newer than any already installed version\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar UPGRADE_LIBRARY_TITLE = \\\"$:/UpgradeLibrary\\\";\\n\\nvar BLOCKED_PLUGINS = {\\n\\t\\\"$:/themes/tiddlywiki/stickytitles\\\": {\\n\\t\\tversions: [\\\"*\\\"]\\n\\t},\\n\\t\\\"$:/plugins/tiddlywiki/fullscreen\\\": {\\n\\t\\tversions: [\\\"*\\\"]\\n\\t}\\n};\\n\\nexports.upgrade = function(wiki,titles,tiddlers) {\\n\\tvar self = this,\\n\\t\\tmessages = {},\\n\\t\\tupgradeLibrary,\\n\\t\\tgetLibraryTiddler = function(title) {\\n\\t\\t\\tif(!upgradeLibrary) {\\n\\t\\t\\t\\tupgradeLibrary = wiki.getTiddlerData(UPGRADE_LIBRARY_TITLE,{});\\n\\t\\t\\t\\tupgradeLibrary.tiddlers = upgradeLibrary.tiddlers || {};\\n\\t\\t\\t}\\n\\t\\t\\treturn upgradeLibrary.tiddlers[title];\\n\\t\\t};\\n\\n\\t// Go through all the incoming tiddlers\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tvar incomingTiddler = tiddlers[title];\\n\\t\\t// Check if we're dealing with a plugin\\n\\t\\tif(incomingTiddler && incomingTiddler[\\\"plugin-type\\\"]) {\\n\\t\\t\\t// Check whether the plugin contains JS modules\\n\\t\\t\\tvar requiresReload = wiki.doesPluginInfoRequireReload($tw.utils.parseJSONSafe(incomingTiddler.text)) ? (wiki.getTiddlerText(\\\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\\\") + \\\" \\\") : \\\"\\\";\\n\\t\\t\\tmessages[title] = requiresReload;\\n\\t\\t\\tif(incomingTiddler.version) {\\n\\t\\t\\t\\t// Upgrade the incoming plugin if it is in the upgrade library\\n\\t\\t\\t\\tvar libraryTiddler = getLibraryTiddler(title);\\n\\t\\t\\t\\tif(libraryTiddler && libraryTiddler[\\\"plugin-type\\\"] && libraryTiddler.version) {\\n\\t\\t\\t\\t\\ttiddlers[title] = libraryTiddler;\\n\\t\\t\\t\\t\\tmessages[title] = requiresReload + $tw.language.getString(\\\"Import/Upgrader/Plugins/Upgraded\\\",{variables: {incoming: incomingTiddler.version, upgraded: libraryTiddler.version}});\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Suppress the incoming plugin if it is older than the currently installed one\\n\\t\\t\\t\\tvar existingTiddler = wiki.getTiddler(title);\\n\\t\\t\\t\\tif(existingTiddler && existingTiddler.hasField(\\\"plugin-type\\\") && existingTiddler.hasField(\\\"version\\\")) {\\n\\t\\t\\t\\t\\t// Reject the incoming plugin by blanking all its fields\\n\\t\\t\\t\\t\\tif($tw.utils.checkVersions(existingTiddler.fields.version,incomingTiddler.version)) {\\n\\t\\t\\t\\t\\t\\ttiddlers[title] = Object.create(null);\\n\\t\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/Plugins/Suppressed/Version\\\",{variables: {incoming: incomingTiddler.version, existing: existingTiddler.fields.version}});\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Check whether the plugin is on the blocked list\\n\\t\\t\\tvar blockInfo = BLOCKED_PLUGINS[title];\\n\\t\\t\\tif(blockInfo) {\\n\\t\\t\\t\\tif(blockInfo.versions.indexOf(\\\"*\\\") !== -1 || (incomingTiddler.version && blockInfo.versions.indexOf(incomingTiddler.version) !== -1)) {\\n\\t\\t\\t\\t\\ttiddlers[title] = Object.create(null);\\n\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/Plugins/Suppressed/Incompatible\\\");\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn messages;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"upgrader\"},\"$:/core/modules/upgraders/system.js\":{\"title\":\"$:/core/modules/upgraders/system.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/upgraders/system.js\\ntype: application/javascript\\nmodule-type: upgrader\\n\\nUpgrader module that suppresses certain system tiddlers that shouldn't be imported\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar DONT_IMPORT_LIST = [\\\"$:/Import\\\", \\\"$:/build\\\"],\\n\\tUNSELECT_PREFIX_LIST = [\\\"$:/temp/\\\",\\\"$:/state/\\\",\\\"$:/StoryList\\\",\\\"$:/HistoryList\\\"],\\n\\tWARN_IMPORT_PREFIX_LIST = [\\\"$:/core/modules/\\\"];\\n\\nexports.upgrade = function(wiki,titles,tiddlers) {\\n\\tvar self = this,\\n\\t\\tmessages = {},\\n\\t\\tshowAlert = false;\\n\\t// Check for tiddlers on our list\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tif(DONT_IMPORT_LIST.indexOf(title) !== -1) {\\n\\t\\t\\ttiddlers[title] = Object.create(null);\\n\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/System/Suppressed\\\");\\n\\t\\t} else {\\n\\t\\t\\tfor(var t=0; t<UNSELECT_PREFIX_LIST.length; t++) {\\n\\t\\t\\t\\tvar prefix = UNSELECT_PREFIX_LIST[t];\\n\\t\\t\\t\\tif(title.substr(0,prefix.length) === prefix) {\\n\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/Tiddler/Unselected\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tfor(var t=0; t<WARN_IMPORT_PREFIX_LIST.length; t++) {\\n\\t\\t\\t\\tvar prefix = WARN_IMPORT_PREFIX_LIST[t];\\n\\t\\t\\t\\tif(title.substr(0,prefix.length) === prefix && wiki.isShadowTiddler(title)) {\\n\\t\\t\\t\\t\\tshowAlert = true;\\n\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/System/Warning\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tif(showAlert) {\\n\\t\\tvar logger = new $tw.utils.Logger(\\\"import\\\");\\n\\t\\tlogger.alert($tw.language.getString(\\\"Import/Upgrader/System/Alert\\\"));\\n\\t}\\n\\treturn messages;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"upgrader\"},\"$:/core/modules/upgraders/themetweaks.js\":{\"title\":\"$:/core/modules/upgraders/themetweaks.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/upgraders/themetweaks.js\\ntype: application/javascript\\nmodule-type: upgrader\\n\\nUpgrader module that handles the change in theme tweak storage introduced in 5.0.14-beta.\\n\\nPreviously, theme tweaks were stored in two data tiddlers:\\n\\n* $:/themes/tiddlywiki/vanilla/metrics\\n* $:/themes/tiddlywiki/vanilla/settings\\n\\nNow, each tweak is stored in its own separate tiddler.\\n\\nThis upgrader copies any values from the old format to the new. The old data tiddlers are not deleted in case they have been used to store additional indexes.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar MAPPINGS = {\\n\\t\\\"$:/themes/tiddlywiki/vanilla/metrics\\\": {\\n\\t\\t\\\"fontsize\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\\\",\\n\\t\\t\\\"lineheight\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\\\",\\n\\t\\t\\\"storyleft\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\\\",\\n\\t\\t\\\"storytop\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storytop\\\",\\n\\t\\t\\\"storyright\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storyright\\\",\\n\\t\\t\\\"storywidth\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\\\",\\n\\t\\t\\\"tiddlerwidth\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\\\"\\n\\t},\\n\\t\\\"$:/themes/tiddlywiki/vanilla/settings\\\": {\\n\\t\\t\\\"fontfamily\\\": \\\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\\\"\\n\\t}\\n};\\n\\nexports.upgrade = function(wiki,titles,tiddlers) {\\n\\tvar self = this,\\n\\t\\tmessages = {};\\n\\t// Check for tiddlers on our list\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tvar mapping = MAPPINGS[title];\\n\\t\\tif(mapping) {\\n\\t\\t\\tvar tiddler = new $tw.Tiddler(tiddlers[title]),\\n\\t\\t\\t\\ttiddlerData = wiki.getTiddlerDataCached(tiddler,{});\\n\\t\\t\\tfor(var index in mapping) {\\n\\t\\t\\t\\tvar mappedTitle = mapping[index];\\n\\t\\t\\t\\tif(!tiddlers[mappedTitle] || tiddlers[mappedTitle].title !== mappedTitle) {\\n\\t\\t\\t\\t\\ttiddlers[mappedTitle] = {\\n\\t\\t\\t\\t\\t\\ttitle: mappedTitle,\\n\\t\\t\\t\\t\\t\\ttext: tiddlerData[index]\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tmessages[mappedTitle] = $tw.language.getString(\\\"Import/Upgrader/ThemeTweaks/Created\\\",{variables: {\\n\\t\\t\\t\\t\\t\\tfrom: title + \\\"##\\\" + index\\n\\t\\t\\t\\t\\t}});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn messages;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"upgrader\"},\"$:/core/modules/utils/base64-utf8/base64-utf8.module.js\":{\"text\":\"(function(){// From https://gist.github.com/Nijikokun/5192472\\n//\\n// UTF8 Module\\n//\\n// Cleaner and modularized utf-8 encoding and decoding library for javascript.\\n//\\n// copyright: MIT\\n// author: Nijiko Yonskai, @nijikokun, nijikokun@gmail.com\\n!function(r,e,o,t){void 0!==o.module&&o.module.exports?o.module.exports=e.apply(o):void 0!==o.define&&\\\"function\\\"===o.define&&o.define.amd?define(\\\"utf8\\\",[],e):o.utf8=e.apply(o)}(0,function(){return{encode:function(r){if(\\\"string\\\"!=typeof r)return r;r=r.replace(/\\\\r\\\\n/g,\\\"\\\\n\\\");for(var e,o=\\\"\\\",t=0;t<r.length;t++)if((e=r.charCodeAt(t))<128)o+=String.fromCharCode(e);else if(e>127&&e<2048)o+=String.fromCharCode(e>>6|192),o+=String.fromCharCode(63&e|128);else if(e>55295&&e<57344&&r.length>t+1){var i=e,n=r.charCodeAt(t+1);t++;var d=65536+(i-55296<<10|n-56320);o+=String.fromCharCode(d>>18|240),o+=String.fromCharCode(d>>12&63|128),o+=String.fromCharCode(d>>6&63|128),o+=String.fromCharCode(63&d|128)}else o+=String.fromCharCode(e>>12|224),o+=String.fromCharCode(e>>6&63|128),o+=String.fromCharCode(63&e|128);return o},decode:function(r){if(\\\"string\\\"!=typeof r)return r;for(var e=\\\"\\\",o=0,t=0;o<r.length;)if((t=r.charCodeAt(o))<128)e+=String.fromCharCode(t),o++;else if(t>191&&t<224)e+=String.fromCharCode((31&t)<<6|63&r.charCodeAt(o+1)),o+=2;else if(t>223&&t<240)e+=String.fromCharCode((15&t)<<12|(63&r.charCodeAt(o+1))<<6|63&r.charCodeAt(o+2)),o+=3;else{var i=(7&t)<<18|(63&r.charCodeAt(o+1))<<12|(63&r.charCodeAt(o+2))<<6|63&r.charCodeAt(o+3);e+=String.fromCharCode(55296+(i-65536>>10))+String.fromCharCode(56320+(i-65536&1023)),o+=4}return e}}},this),function(r,e,o,t){if(void 0!==o.module&&o.module.exports){if(t&&o.require)for(var i=0;i<t.length;i++)o[t[i]]=o.require(t[i]);o.module.exports=e.apply(o)}else void 0!==o.define&&\\\"function\\\"===o.define&&o.define.amd?define(\\\"base64\\\",t||[],e):o.base64=e.apply(o)}(0,function(r){var e=r||this.utf8,o=\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\\";return{encode:function(r){if(void 0===e)throw{error:\\\"MissingMethod\\\",message:\\\"UTF8 Module is missing.\\\"};if(\\\"string\\\"!=typeof r)return r;r=e.encode(r);for(var t,i,n,d,f,a,h,C=\\\"\\\",c=0;c<r.length;)d=(t=r.charCodeAt(c++))>>2,f=(3&t)<<4|(i=r.charCodeAt(c++))>>4,a=(15&i)<<2|(n=r.charCodeAt(c++))>>6,h=63&n,isNaN(i)?a=h=64:isNaN(n)&&(h=64),C+=o.charAt(d)+o.charAt(f)+o.charAt(a)+o.charAt(h);return C},decode:function(r){if(void 0===e)throw{error:\\\"MissingMethod\\\",message:\\\"UTF8 Module is missing.\\\"};if(\\\"string\\\"!=typeof r)return r;r=r.replace(/[^A-Za-z0-9\\\\+\\\\/\\\\=]/g,\\\"\\\");for(var t,i,n,d,f,a,h=\\\"\\\",C=0;C<r.length;)t=o.indexOf(r.charAt(C++))<<2|(d=o.indexOf(r.charAt(C++)))>>4,i=(15&d)<<4|(f=o.indexOf(r.charAt(C++)))>>2,n=(3&f)<<6|(a=o.indexOf(r.charAt(C++))),h+=String.fromCharCode(t),64!=f&&(h+=String.fromCharCode(i)),64!=a&&(h+=String.fromCharCode(n));return e.decode(h)}}},this,[\\\"utf8\\\"]);}).call(exports);\",\"type\":\"application/javascript\",\"title\":\"$:/core/modules/utils/base64-utf8/base64-utf8.module.js\",\"module-type\":\"library\"},\"$:/core/modules/utils/crypto.js\":{\"title\":\"$:/core/modules/utils/crypto.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/crypto.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nUtility functions related to crypto.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nLook for an encrypted store area in the text of a TiddlyWiki file\\n*/\\nexports.extractEncryptedStoreArea = function(text) {\\n\\tvar encryptedStoreAreaStartMarker = \\\"<pre id=\\\\\\\"encryptedStoreArea\\\\\\\" type=\\\\\\\"text/plain\\\\\\\" style=\\\\\\\"display:none;\\\\\\\">\\\",\\n\\t\\tencryptedStoreAreaStart = text.indexOf(encryptedStoreAreaStartMarker);\\n\\tif(encryptedStoreAreaStart !== -1) {\\n\\t\\tvar encryptedStoreAreaEnd = text.indexOf(\\\"</pre>\\\",encryptedStoreAreaStart);\\n\\t\\tif(encryptedStoreAreaEnd !== -1) {\\n\\t\\t\\treturn $tw.utils.htmlDecode(text.substring(encryptedStoreAreaStart + encryptedStoreAreaStartMarker.length,encryptedStoreAreaEnd));\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nAttempt to extract the tiddlers from an encrypted store area using the current password. If the password is not provided then the password in the password store will be used\\n*/\\nexports.decryptStoreArea = function(encryptedStoreArea,password) {\\n\\tvar decryptedText = $tw.crypto.decrypt(encryptedStoreArea,password);\\n\\tif(decryptedText) {\\n\\t\\tvar json = $tw.utils.parseJSONSafe(decryptedText),\\n\\t\\t\\ttiddlers = [];\\n\\t\\tfor(var title in json) {\\n\\t\\t\\tif(title !== \\\"$:/isEncrypted\\\") {\\n\\t\\t\\t\\ttiddlers.push(json[title]);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn tiddlers;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n\\n/*\\nAttempt to extract the tiddlers from an encrypted store area using the current password. If that fails, the user is prompted for a password.\\nencryptedStoreArea: text of the TiddlyWiki encrypted store area\\ncallback: function(tiddlers) called with the array of decrypted tiddlers\\n\\nThe following configuration settings are supported:\\n\\n$tw.config.usePasswordVault: causes any password entered by the user to also be put into the system password vault\\n*/\\nexports.decryptStoreAreaInteractive = function(encryptedStoreArea,callback,options) {\\n\\t// Try to decrypt with the current password\\n\\tvar tiddlers = $tw.utils.decryptStoreArea(encryptedStoreArea);\\n\\tif(tiddlers) {\\n\\t\\tcallback(tiddlers);\\n\\t} else {\\n\\t\\t// Prompt for a new password and keep trying\\n\\t\\t$tw.passwordPrompt.createPrompt({\\n\\t\\t\\tserviceName: \\\"Enter a password to decrypt the imported TiddlyWiki\\\",\\n\\t\\t\\tnoUserName: true,\\n\\t\\t\\tcanCancel: true,\\n\\t\\t\\tsubmitText: \\\"Decrypt\\\",\\n\\t\\t\\tcallback: function(data) {\\n\\t\\t\\t\\t// Exit if the user cancelled\\n\\t\\t\\t\\tif(!data) {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Attempt to decrypt the tiddlers\\n\\t\\t\\t\\tvar tiddlers = $tw.utils.decryptStoreArea(encryptedStoreArea,data.password);\\n\\t\\t\\t\\tif(tiddlers) {\\n\\t\\t\\t\\t\\tif($tw.config.usePasswordVault) {\\n\\t\\t\\t\\t\\t\\t$tw.crypto.setPassword(data.password);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcallback(tiddlers);\\n\\t\\t\\t\\t\\t// Exit and remove the password prompt\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// We didn't decrypt everything, so continue to prompt for password\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/csv.js\":{\"title\":\"$:/core/modules/utils/csv.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/csv.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nA barebones CSV parser\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar QUOTE = '\\\"';\\n\\nvar getCellInfo = function(text, start, length, SEPARATOR) {\\n\\tvar isCellQuoted = text.charAt(start) === QUOTE;\\n\\tvar cellStart = isCellQuoted ? start + 1 : start;\\n\\t\\n\\tif (text.charAt(i) === SEPARATOR) {\\n\\t\\treturn [cellStart, cellStart, false];\\n\\t}\\n\\t\\n\\tfor (var i = cellStart; i < length; i++) {\\n\\t\\tvar cellCharacter = text.charAt(i);\\n\\t\\tvar isEOL = cellCharacter === \\\"\\\\n\\\" || cellCharacter === \\\"\\\\r\\\";\\n\\t\\t\\n\\t\\tif (isEOL && !isCellQuoted) {\\n\\t\\t\\treturn [cellStart, i, false];\\n\\t\\t\\t\\n\\t\\t} else if (cellCharacter === SEPARATOR && !isCellQuoted) {\\n\\t\\t\\treturn [cellStart, i, false];\\n\\t\\t\\t\\n\\t\\t} else if (cellCharacter === QUOTE && isCellQuoted) {\\n\\t\\t\\tvar nextCharacter = i + 1 < length ? text.charAt(i + 1) : '';\\n\\t\\t\\tif (nextCharacter !== QUOTE) {\\n\\t\\t\\t\\treturn [cellStart, i, true];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ti++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t\\n\\treturn [cellStart, i, isCellQuoted];\\n}\\n\\t\\nexports.parseCsvString = function(text, options) {\\n\\tif (!text) {\\n\\t\\treturn [];\\n\\t}\\n\\t\\n\\toptions = options || {};\\n\\tvar SEPARATOR = options.separator || \\\",\\\",\\n\\t\\tlength = text.length,\\n\\t\\trows = [],\\n\\t\\tnextRow = [];\\n\\t\\t\\n\\tfor (var i = 0; i < length; i++) {\\n\\t\\tvar cellInfo = getCellInfo(text, i, length, SEPARATOR);\\n\\t\\tvar cellText = text.substring(cellInfo[0], cellInfo[1]);\\n\\t\\tif (cellInfo[2]) {\\n\\t\\t\\tcellText = cellText.replace(/\\\"\\\"/g, '\\\"');\\n\\t\\t\\tcellInfo[1]++;\\n\\t\\t}\\n\\t\\tnextRow.push(cellText);\\n\\t\\t\\n\\t\\ti = cellInfo[1];\\n\\t\\t\\n\\t\\tvar character = text.charAt(i);\\n\\t\\tvar nextCharacter = i + 1 < length ? text.charAt(i + 1) : '';\\n\\t\\t\\n\\t\\tif (character === \\\"\\\\r\\\" || character === \\\"\\\\n\\\") {\\n\\t\\t\\t// Edge case for empty rows\\n\\t\\t\\tif (nextRow.length === 1 && nextRow[0] === '') {\\n\\t\\t\\t\\tnextRow.length = 0;\\n\\t\\t\\t}\\n\\t\\t\\trows.push(nextRow);\\n\\t\\t\\tnextRow = [];\\n\\t\\t\\t\\n\\t\\t\\tif (character === \\\"\\\\r\\\") {\\n\\t\\t\\t\\tvar nextCharacter = i + 1 < length ? text.charAt(i + 1) : '';\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (nextCharacter === \\\"\\\\n\\\") {\\n\\t\\t\\t\\t\\ti++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t\\n\\t// Special case if last cell in last row is an empty cell\\n\\tif (text.charAt(length - 1) === SEPARATOR) {\\n\\t\\tnextRow.push(\\\"\\\");\\n\\t}\\n\\t\\n\\trows.push(nextRow);\\n\\t\\n\\treturn rows;\\n}\\n\\n/*\\nParse a CSV string with a header row and return an array of hashmaps.\\n*/\\nexports.parseCsvStringWithHeader = function(text,options) {\\n\\tvar csv = $tw.utils.parseCsvString(text, options);\\n\\tvar headers = csv[0];\\n\\t\\n\\tcsv = csv.slice(1);\\n\\tfor (var i = 0; i < csv.length; i++) {\\n\\t\\tvar row = csv[i];\\n\\t\\tvar rowObject = Object.create(null);\\n\\n\\t\\tfor(var columnIndex=0; columnIndex<headers.length; columnIndex++) {\\n\\t\\t\\tvar columnName = headers[columnIndex];\\n\\t\\t\\tif (columnName) {\\n\\t\\t\\t\\trowObject[columnName] = $tw.utils.trim(row[columnIndex] || \\\"\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcsv[i] = rowObject;\\n\\t}\\n\\treturn csv;\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\":{\"text\":\"(function(){function diff_match_patch(){this.Diff_Timeout=1;this.Diff_EditCost=4;this.Match_Threshold=.5;this.Match_Distance=1E3;this.Patch_DeleteThreshold=.5;this.Patch_Margin=4;this.Match_MaxBits=32}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0;\\ndiff_match_patch.prototype.diff_main=function(a,b,c,d){\\\"undefined\\\"==typeof d&&(d=0>=this.Diff_Timeout?Number.MAX_VALUE:(new Date).getTime()+1E3*this.Diff_Timeout);if(null==a||null==b)throw Error(\\\"Null input. (diff_main)\\\");if(a==b)return a?[[DIFF_EQUAL,a]]:[];\\\"undefined\\\"==typeof c&&(c=!0);var e=c,f=this.diff_commonPrefix(a,b);c=a.substring(0,f);a=a.substring(f);b=b.substring(f);f=this.diff_commonSuffix(a,b);var g=a.substring(a.length-f);a=a.substring(0,a.length-f);b=b.substring(0,b.length-f);a=this.diff_compute_(a,\\nb,e,d);c&&a.unshift([DIFF_EQUAL,c]);g&&a.push([DIFF_EQUAL,g]);this.diff_cleanupMerge(a);return a};\\ndiff_match_patch.prototype.diff_compute_=function(a,b,c,d){if(!a)return[[DIFF_INSERT,b]];if(!b)return[[DIFF_DELETE,a]];var e=a.length>b.length?a:b,f=a.length>b.length?b:a,g=e.indexOf(f);return-1!=g?(c=[[DIFF_INSERT,e.substring(0,g)],[DIFF_EQUAL,f],[DIFF_INSERT,e.substring(g+f.length)]],a.length>b.length&&(c[0][0]=c[2][0]=DIFF_DELETE),c):1==f.length?[[DIFF_DELETE,a],[DIFF_INSERT,b]]:(e=this.diff_halfMatch_(a,b))?(b=e[1],f=e[3],a=e[4],e=this.diff_main(e[0],e[2],c,d),c=this.diff_main(b,f,c,d),e.concat([[DIFF_EQUAL,\\na]],c)):c&&100<a.length&&100<b.length?this.diff_lineMode_(a,b,d):this.diff_bisect_(a,b,d)};\\ndiff_match_patch.prototype.diff_lineMode_=function(a,b,c){var d=this.diff_linesToChars_(a,b);a=d.chars1;b=d.chars2;d=d.lineArray;a=this.diff_main(a,b,!1,c);this.diff_charsToLines_(a,d);this.diff_cleanupSemantic(a);a.push([DIFF_EQUAL,\\\"\\\"]);for(var e=d=b=0,f=\\\"\\\",g=\\\"\\\";b<a.length;){switch(a[b][0]){case DIFF_INSERT:e++;g+=a[b][1];break;case DIFF_DELETE:d++;f+=a[b][1];break;case DIFF_EQUAL:if(1<=d&&1<=e){a.splice(b-d-e,d+e);b=b-d-e;d=this.diff_main(f,g,!1,c);for(e=d.length-1;0<=e;e--)a.splice(b,0,d[e]);b+=\\nd.length}d=e=0;g=f=\\\"\\\"}b++}a.pop();return a};\\ndiff_match_patch.prototype.diff_bisect_=function(a,b,c){for(var d=a.length,e=b.length,f=Math.ceil((d+e)/2),g=2*f,h=Array(g),l=Array(g),k=0;k<g;k++)h[k]=-1,l[k]=-1;h[f+1]=0;l[f+1]=0;k=d-e;for(var m=0!=k%2,p=0,x=0,w=0,q=0,t=0;t<f&&!((new Date).getTime()>c);t++){for(var v=-t+p;v<=t-x;v+=2){var n=f+v;var r=v==-t||v!=t&&h[n-1]<h[n+1]?h[n+1]:h[n-1]+1;for(var y=r-v;r<d&&y<e&&a.charAt(r)==b.charAt(y);)r++,y++;h[n]=r;if(r>d)x+=2;else if(y>e)p+=2;else if(m&&(n=f+k-v,0<=n&&n<g&&-1!=l[n])){var u=d-l[n];if(r>=\\nu)return this.diff_bisectSplit_(a,b,r,y,c)}}for(v=-t+w;v<=t-q;v+=2){n=f+v;u=v==-t||v!=t&&l[n-1]<l[n+1]?l[n+1]:l[n-1]+1;for(r=u-v;u<d&&r<e&&a.charAt(d-u-1)==b.charAt(e-r-1);)u++,r++;l[n]=u;if(u>d)q+=2;else if(r>e)w+=2;else if(!m&&(n=f+k-v,0<=n&&n<g&&-1!=h[n]&&(r=h[n],y=f+r-n,u=d-u,r>=u)))return this.diff_bisectSplit_(a,b,r,y,c)}}return[[DIFF_DELETE,a],[DIFF_INSERT,b]]};\\ndiff_match_patch.prototype.diff_bisectSplit_=function(a,b,c,d,e){var f=a.substring(0,c),g=b.substring(0,d);a=a.substring(c);b=b.substring(d);f=this.diff_main(f,g,!1,e);e=this.diff_main(a,b,!1,e);return f.concat(e)};\\ndiff_match_patch.prototype.diff_linesToChars_=function(a,b){function c(a){for(var b=\\\"\\\",c=0,f=-1,g=d.length;f<a.length-1;){f=a.indexOf(\\\"\\\\n\\\",c);-1==f&&(f=a.length-1);var h=a.substring(c,f+1);c=f+1;(e.hasOwnProperty?e.hasOwnProperty(h):void 0!==e[h])?b+=String.fromCharCode(e[h]):(b+=String.fromCharCode(g),e[h]=g,d[g++]=h)}return b}var d=[],e={};d[0]=\\\"\\\";var f=c(a),g=c(b);return{chars1:f,chars2:g,lineArray:d}};\\ndiff_match_patch.prototype.diff_charsToLines_=function(a,b){for(var c=0;c<a.length;c++){for(var d=a[c][1],e=[],f=0;f<d.length;f++)e[f]=b[d.charCodeAt(f)];a[c][1]=e.join(\\\"\\\")}};diff_match_patch.prototype.diff_commonPrefix=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e};\\ndiff_match_patch.prototype.diff_commonSuffix=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e};\\ndiff_match_patch.prototype.diff_commonOverlap_=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var f=a.substring(c-e);f=b.indexOf(f);if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}};\\ndiff_match_patch.prototype.diff_halfMatch_=function(a,b){function c(a,b,c){for(var d=a.substring(c,c+Math.floor(a.length/4)),e=-1,g=\\\"\\\",h,k,l,m;-1!=(e=b.indexOf(d,e+1));){var p=f.diff_commonPrefix(a.substring(c),b.substring(e)),u=f.diff_commonSuffix(a.substring(0,c),b.substring(0,e));g.length<u+p&&(g=b.substring(e-u,e)+b.substring(e,e+p),h=a.substring(0,c-u),k=a.substring(c+p),l=b.substring(0,e-u),m=b.substring(e+p))}return 2*g.length>=a.length?[h,k,l,m,g]:null}if(0>=this.Diff_Timeout)return null;\\nvar d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var f=this,g=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));if(g||d)g=d?g?g[4].length>d[4].length?g:d:d:g;else return null;if(a.length>b.length){d=g[0];e=g[1];var h=g[2];var l=g[3]}else h=g[0],l=g[1],d=g[2],e=g[3];return[d,e,h,l,g[4]]};\\ndiff_match_patch.prototype.diff_cleanupSemantic=function(a){for(var b=!1,c=[],d=0,e=null,f=0,g=0,h=0,l=0,k=0;f<a.length;)a[f][0]==DIFF_EQUAL?(c[d++]=f,g=l,h=k,k=l=0,e=a[f][1]):(a[f][0]==DIFF_INSERT?l+=a[f][1].length:k+=a[f][1].length,e&&e.length<=Math.max(g,h)&&e.length<=Math.max(l,k)&&(a.splice(c[d-1],0,[DIFF_DELETE,e]),a[c[d-1]+1][0]=DIFF_INSERT,d--,d--,f=0<d?c[d-1]:-1,k=l=h=g=0,e=null,b=!0)),f++;b&&this.diff_cleanupMerge(a);this.diff_cleanupSemanticLossless(a);for(f=1;f<a.length;){if(a[f-1][0]==\\nDIFF_DELETE&&a[f][0]==DIFF_INSERT){b=a[f-1][1];c=a[f][1];d=this.diff_commonOverlap_(b,c);e=this.diff_commonOverlap_(c,b);if(d>=e){if(d>=b.length/2||d>=c.length/2)a.splice(f,0,[DIFF_EQUAL,c.substring(0,d)]),a[f-1][1]=b.substring(0,b.length-d),a[f+1][1]=c.substring(d),f++}else if(e>=b.length/2||e>=c.length/2)a.splice(f,0,[DIFF_EQUAL,b.substring(0,e)]),a[f-1][0]=DIFF_INSERT,a[f-1][1]=c.substring(0,c.length-e),a[f+1][0]=DIFF_DELETE,a[f+1][1]=b.substring(e),f++;f++}f++}};\\ndiff_match_patch.prototype.diff_cleanupSemanticLossless=function(a){function b(a,b){if(!a||!b)return 6;var c=a.charAt(a.length-1),d=b.charAt(0),e=c.match(diff_match_patch.nonAlphaNumericRegex_),f=d.match(diff_match_patch.nonAlphaNumericRegex_),g=e&&c.match(diff_match_patch.whitespaceRegex_),h=f&&d.match(diff_match_patch.whitespaceRegex_);c=g&&c.match(diff_match_patch.linebreakRegex_);d=h&&d.match(diff_match_patch.linebreakRegex_);var k=c&&a.match(diff_match_patch.blanklineEndRegex_),l=d&&b.match(diff_match_patch.blanklineStartRegex_);\\nreturn k||l?5:c||d?4:e&&!g&&h?3:g||h?2:e||f?1:0}for(var c=1;c<a.length-1;){if(a[c-1][0]==DIFF_EQUAL&&a[c+1][0]==DIFF_EQUAL){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],g=this.diff_commonSuffix(d,e);if(g){var h=e.substring(e.length-g);d=d.substring(0,d.length-g);e=h+e.substring(0,e.length-g);f=h+f}g=d;h=e;for(var l=f,k=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var m=b(d,e)+b(e,f);m>=k&&(k=m,g=d,h=e,l=f)}a[c-1][1]!=g&&(g?a[c-1][1]=g:(a.splice(c-\\n1,1),c--),a[c][1]=h,l?a[c+1][1]=l:(a.splice(c+1,1),c--))}c++}};diff_match_patch.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/;diff_match_patch.whitespaceRegex_=/\\\\s/;diff_match_patch.linebreakRegex_=/[\\\\r\\\\n]/;diff_match_patch.blanklineEndRegex_=/\\\\n\\\\r?\\\\n$/;diff_match_patch.blanklineStartRegex_=/^\\\\r?\\\\n\\\\r?\\\\n/;\\ndiff_match_patch.prototype.diff_cleanupEfficiency=function(a){for(var b=!1,c=[],d=0,e=null,f=0,g=!1,h=!1,l=!1,k=!1;f<a.length;)a[f][0]==DIFF_EQUAL?(a[f][1].length<this.Diff_EditCost&&(l||k)?(c[d++]=f,g=l,h=k,e=a[f][1]):(d=0,e=null),l=k=!1):(a[f][0]==DIFF_DELETE?k=!0:l=!0,e&&(g&&h&&l&&k||e.length<this.Diff_EditCost/2&&3==g+h+l+k)&&(a.splice(c[d-1],0,[DIFF_DELETE,e]),a[c[d-1]+1][0]=DIFF_INSERT,d--,e=null,g&&h?(l=k=!0,d=0):(d--,f=0<d?c[d-1]:-1,l=k=!1),b=!0)),f++;b&&this.diff_cleanupMerge(a)};\\ndiff_match_patch.prototype.diff_cleanupMerge=function(a){a.push([DIFF_EQUAL,\\\"\\\"]);for(var b=0,c=0,d=0,e=\\\"\\\",f=\\\"\\\",g;b<a.length;)switch(a[b][0]){case DIFF_INSERT:d++;f+=a[b][1];b++;break;case DIFF_DELETE:c++;e+=a[b][1];b++;break;case DIFF_EQUAL:1<c+d?(0!==c&&0!==d&&(g=this.diff_commonPrefix(f,e),0!==g&&(0<b-c-d&&a[b-c-d-1][0]==DIFF_EQUAL?a[b-c-d-1][1]+=f.substring(0,g):(a.splice(0,0,[DIFF_EQUAL,f.substring(0,g)]),b++),f=f.substring(g),e=e.substring(g)),g=this.diff_commonSuffix(f,e),0!==g&&(a[b][1]=f.substring(f.length-\\ng)+a[b][1],f=f.substring(0,f.length-g),e=e.substring(0,e.length-g))),0===c?a.splice(b-d,c+d,[DIFF_INSERT,f]):0===d?a.splice(b-c,c+d,[DIFF_DELETE,e]):a.splice(b-c-d,c+d,[DIFF_DELETE,e],[DIFF_INSERT,f]),b=b-c-d+(c?1:0)+(d?1:0)+1):0!==b&&a[b-1][0]==DIFF_EQUAL?(a[b-1][1]+=a[b][1],a.splice(b,1)):b++,c=d=0,f=e=\\\"\\\"}\\\"\\\"===a[a.length-1][1]&&a.pop();c=!1;for(b=1;b<a.length-1;)a[b-1][0]==DIFF_EQUAL&&a[b+1][0]==DIFF_EQUAL&&(a[b][1].substring(a[b][1].length-a[b-1][1].length)==a[b-1][1]?(a[b][1]=a[b-1][1]+a[b][1].substring(0,\\na[b][1].length-a[b-1][1].length),a[b+1][1]=a[b-1][1]+a[b+1][1],a.splice(b-1,1),c=!0):a[b][1].substring(0,a[b+1][1].length)==a[b+1][1]&&(a[b-1][1]+=a[b+1][1],a[b][1]=a[b][1].substring(a[b+1][1].length)+a[b+1][1],a.splice(b+1,1),c=!0)),b++;c&&this.diff_cleanupMerge(a)};\\ndiff_match_patch.prototype.diff_xIndex=function(a,b){var c=0,d=0,e=0,f=0,g;for(g=0;g<a.length;g++){a[g][0]!==DIFF_INSERT&&(c+=a[g][1].length);a[g][0]!==DIFF_DELETE&&(d+=a[g][1].length);if(c>b)break;e=c;f=d}return a.length!=g&&a[g][0]===DIFF_DELETE?f:f+(b-e)};\\ndiff_match_patch.prototype.diff_prettyHtml=function(a){for(var b=[],c=/&/g,d=/</g,e=/>/g,f=/\\\\n/g,g=0;g<a.length;g++){var h=a[g][0],l=a[g][1].replace(c,\\\"&amp;\\\").replace(d,\\\"&lt;\\\").replace(e,\\\"&gt;\\\").replace(f,\\\"&para;<br>\\\");switch(h){case DIFF_INSERT:b[g]='<ins style=\\\"background:#e6ffe6;\\\">'+l+\\\"</ins>\\\";break;case DIFF_DELETE:b[g]='<del style=\\\"background:#ffe6e6;\\\">'+l+\\\"</del>\\\";break;case DIFF_EQUAL:b[g]=\\\"<span>\\\"+l+\\\"</span>\\\"}}return b.join(\\\"\\\")};\\ndiff_match_patch.prototype.diff_text1=function(a){for(var b=[],c=0;c<a.length;c++)a[c][0]!==DIFF_INSERT&&(b[c]=a[c][1]);return b.join(\\\"\\\")};diff_match_patch.prototype.diff_text2=function(a){for(var b=[],c=0;c<a.length;c++)a[c][0]!==DIFF_DELETE&&(b[c]=a[c][1]);return b.join(\\\"\\\")};\\ndiff_match_patch.prototype.diff_levenshtein=function(a){for(var b=0,c=0,d=0,e=0;e<a.length;e++){var f=a[e][1];switch(a[e][0]){case DIFF_INSERT:c+=f.length;break;case DIFF_DELETE:d+=f.length;break;case DIFF_EQUAL:b+=Math.max(c,d),d=c=0}}return b+=Math.max(c,d)};\\ndiff_match_patch.prototype.diff_toDelta=function(a){for(var b=[],c=0;c<a.length;c++)switch(a[c][0]){case DIFF_INSERT:b[c]=\\\"+\\\"+encodeURI(a[c][1]);break;case DIFF_DELETE:b[c]=\\\"-\\\"+a[c][1].length;break;case DIFF_EQUAL:b[c]=\\\"=\\\"+a[c][1].length}return b.join(\\\"\\\\t\\\").replace(/%20/g,\\\" \\\")};\\ndiff_match_patch.prototype.diff_fromDelta=function(a,b){for(var c=[],d=0,e=0,f=b.split(/\\\\t/g),g=0;g<f.length;g++){var h=f[g].substring(1);switch(f[g].charAt(0)){case \\\"+\\\":try{c[d++]=[DIFF_INSERT,decodeURI(h)]}catch(k){throw Error(\\\"Illegal escape in diff_fromDelta: \\\"+h);}break;case \\\"-\\\":case \\\"=\\\":var l=parseInt(h,10);if(isNaN(l)||0>l)throw Error(\\\"Invalid number in diff_fromDelta: \\\"+h);h=a.substring(e,e+=l);\\\"=\\\"==f[g].charAt(0)?c[d++]=[DIFF_EQUAL,h]:c[d++]=[DIFF_DELETE,h];break;default:if(f[g])throw Error(\\\"Invalid diff operation in diff_fromDelta: \\\"+\\nf[g]);}}if(e!=a.length)throw Error(\\\"Delta length (\\\"+e+\\\") does not equal source text length (\\\"+a.length+\\\").\\\");return c};diff_match_patch.prototype.match_main=function(a,b,c){if(null==a||null==b||null==c)throw Error(\\\"Null input. (match_main)\\\");c=Math.max(0,Math.min(c,a.length));return a==b?0:a.length?a.substring(c,c+b.length)==b?c:this.match_bitap_(a,b,c):-1};\\ndiff_match_patch.prototype.match_bitap_=function(a,b,c){function d(a,d){var e=a/b.length,g=Math.abs(c-d);return f.Match_Distance?e+g/f.Match_Distance:g?1:e}if(b.length>this.Match_MaxBits)throw Error(\\\"Pattern too long for this browser.\\\");var e=this.match_alphabet_(b),f=this,g=this.Match_Threshold,h=a.indexOf(b,c);-1!=h&&(g=Math.min(d(0,h),g),h=a.lastIndexOf(b,c+b.length),-1!=h&&(g=Math.min(d(0,h),g)));var l=1<<b.length-1;h=-1;for(var k,m,p=b.length+a.length,x,w=0;w<b.length;w++){k=0;for(m=p;k<m;)d(w,\\nc+m)<=g?k=m:p=m,m=Math.floor((p-k)/2+k);p=m;k=Math.max(1,c-m+1);var q=Math.min(c+m,a.length)+b.length;m=Array(q+2);for(m[q+1]=(1<<w)-1;q>=k;q--){var t=e[a.charAt(q-1)];m[q]=0===w?(m[q+1]<<1|1)&t:(m[q+1]<<1|1)&t|(x[q+1]|x[q])<<1|1|x[q+1];if(m[q]&l&&(t=d(w,q-1),t<=g))if(g=t,h=q-1,h>c)k=Math.max(1,2*c-h);else break}if(d(w+1,c)>g)break;x=m}return h};\\ndiff_match_patch.prototype.match_alphabet_=function(a){for(var b={},c=0;c<a.length;c++)b[a.charAt(c)]=0;for(c=0;c<a.length;c++)b[a.charAt(c)]|=1<<a.length-c-1;return b};\\ndiff_match_patch.prototype.patch_addContext_=function(a,b){if(0!=b.length){for(var c=b.substring(a.start2,a.start2+a.length1),d=0;b.indexOf(c)!=b.lastIndexOf(c)&&c.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)d+=this.Patch_Margin,c=b.substring(a.start2-d,a.start2+a.length1+d);d+=this.Patch_Margin;(c=b.substring(a.start2-d,a.start2))&&a.diffs.unshift([DIFF_EQUAL,c]);(d=b.substring(a.start2+a.length1,a.start2+a.length1+d))&&a.diffs.push([DIFF_EQUAL,d]);a.start1-=c.length;a.start2-=\\nc.length;a.length1+=c.length+d.length;a.length2+=c.length+d.length}};\\ndiff_match_patch.prototype.patch_make=function(a,b,c){if(\\\"string\\\"==typeof a&&\\\"string\\\"==typeof b&&\\\"undefined\\\"==typeof c){var d=a;b=this.diff_main(d,b,!0);2<b.length&&(this.diff_cleanupSemantic(b),this.diff_cleanupEfficiency(b))}else if(a&&\\\"object\\\"==typeof a&&\\\"undefined\\\"==typeof b&&\\\"undefined\\\"==typeof c)b=a,d=this.diff_text1(b);else if(\\\"string\\\"==typeof a&&b&&\\\"object\\\"==typeof b&&\\\"undefined\\\"==typeof c)d=a;else if(\\\"string\\\"==typeof a&&\\\"string\\\"==typeof b&&c&&\\\"object\\\"==typeof c)d=a,b=c;else throw Error(\\\"Unknown call format to patch_make.\\\");\\nif(0===b.length)return[];c=[];a=new diff_match_patch.patch_obj;for(var e=0,f=0,g=0,h=d,l=0;l<b.length;l++){var k=b[l][0],m=b[l][1];e||k===DIFF_EQUAL||(a.start1=f,a.start2=g);switch(k){case DIFF_INSERT:a.diffs[e++]=b[l];a.length2+=m.length;d=d.substring(0,g)+m+d.substring(g);break;case DIFF_DELETE:a.length1+=m.length;a.diffs[e++]=b[l];d=d.substring(0,g)+d.substring(g+m.length);break;case DIFF_EQUAL:m.length<=2*this.Patch_Margin&&e&&b.length!=l+1?(a.diffs[e++]=b[l],a.length1+=m.length,a.length2+=m.length):\\nm.length>=2*this.Patch_Margin&&e&&(this.patch_addContext_(a,h),c.push(a),a=new diff_match_patch.patch_obj,e=0,h=d,f=g)}k!==DIFF_INSERT&&(f+=m.length);k!==DIFF_DELETE&&(g+=m.length)}e&&(this.patch_addContext_(a,h),c.push(a));return c};\\ndiff_match_patch.prototype.patch_deepCopy=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=new diff_match_patch.patch_obj;e.diffs=[];for(var f=0;f<d.diffs.length;f++)e.diffs[f]=d.diffs[f].slice();e.start1=d.start1;e.start2=d.start2;e.length1=d.length1;e.length2=d.length2;b[c]=e}return b};\\ndiff_match_patch.prototype.patch_apply=function(a,b){if(0==a.length)return[b,[]];a=this.patch_deepCopy(a);var c=this.patch_addPadding(a);b=c+b+c;this.patch_splitMax(a);for(var d=0,e=[],f=0;f<a.length;f++){var g=a[f].start2+d,h=this.diff_text1(a[f].diffs),l=-1;if(h.length>this.Match_MaxBits){var k=this.match_main(b,h.substring(0,this.Match_MaxBits),g);-1!=k&&(l=this.match_main(b,h.substring(h.length-this.Match_MaxBits),g+h.length-this.Match_MaxBits),-1==l||k>=l)&&(k=-1)}else k=this.match_main(b,h,\\ng);if(-1==k)e[f]=!1,d-=a[f].length2-a[f].length1;else if(e[f]=!0,d=k-g,g=-1==l?b.substring(k,k+h.length):b.substring(k,l+this.Match_MaxBits),h==g)b=b.substring(0,k)+this.diff_text2(a[f].diffs)+b.substring(k+h.length);else if(g=this.diff_main(h,g,!1),h.length>this.Match_MaxBits&&this.diff_levenshtein(g)/h.length>this.Patch_DeleteThreshold)e[f]=!1;else{this.diff_cleanupSemanticLossless(g);h=0;var m;for(l=0;l<a[f].diffs.length;l++){var p=a[f].diffs[l];p[0]!==DIFF_EQUAL&&(m=this.diff_xIndex(g,h));p[0]===\\nDIFF_INSERT?b=b.substring(0,k+m)+p[1]+b.substring(k+m):p[0]===DIFF_DELETE&&(b=b.substring(0,k+m)+b.substring(k+this.diff_xIndex(g,h+p[1].length)));p[0]!==DIFF_DELETE&&(h+=p[1].length)}}}b=b.substring(c.length,b.length-c.length);return[b,e]};\\ndiff_match_patch.prototype.patch_addPadding=function(a){for(var b=this.Patch_Margin,c=\\\"\\\",d=1;d<=b;d++)c+=String.fromCharCode(d);for(d=0;d<a.length;d++)a[d].start1+=b,a[d].start2+=b;d=a[0];var e=d.diffs;if(0==e.length||e[0][0]!=DIFF_EQUAL)e.unshift([DIFF_EQUAL,c]),d.start1-=b,d.start2-=b,d.length1+=b,d.length2+=b;else if(b>e[0][1].length){var f=b-e[0][1].length;e[0][1]=c.substring(e[0][1].length)+e[0][1];d.start1-=f;d.start2-=f;d.length1+=f;d.length2+=f}d=a[a.length-1];e=d.diffs;0==e.length||e[e.length-\\n1][0]!=DIFF_EQUAL?(e.push([DIFF_EQUAL,c]),d.length1+=b,d.length2+=b):b>e[e.length-1][1].length&&(f=b-e[e.length-1][1].length,e[e.length-1][1]+=c.substring(0,f),d.length1+=f,d.length2+=f);return c};\\ndiff_match_patch.prototype.patch_splitMax=function(a){for(var b=this.Match_MaxBits,c=0;c<a.length;c++)if(!(a[c].length1<=b)){var d=a[c];a.splice(c--,1);for(var e=d.start1,f=d.start2,g=\\\"\\\";0!==d.diffs.length;){var h=new diff_match_patch.patch_obj,l=!0;h.start1=e-g.length;h.start2=f-g.length;\\\"\\\"!==g&&(h.length1=h.length2=g.length,h.diffs.push([DIFF_EQUAL,g]));for(;0!==d.diffs.length&&h.length1<b-this.Patch_Margin;){g=d.diffs[0][0];var k=d.diffs[0][1];g===DIFF_INSERT?(h.length2+=k.length,f+=k.length,h.diffs.push(d.diffs.shift()),\\nl=!1):g===DIFF_DELETE&&1==h.diffs.length&&h.diffs[0][0]==DIFF_EQUAL&&k.length>2*b?(h.length1+=k.length,e+=k.length,l=!1,h.diffs.push([g,k]),d.diffs.shift()):(k=k.substring(0,b-h.length1-this.Patch_Margin),h.length1+=k.length,e+=k.length,g===DIFF_EQUAL?(h.length2+=k.length,f+=k.length):l=!1,h.diffs.push([g,k]),k==d.diffs[0][1]?d.diffs.shift():d.diffs[0][1]=d.diffs[0][1].substring(k.length))}g=this.diff_text2(h.diffs);g=g.substring(g.length-this.Patch_Margin);k=this.diff_text1(d.diffs).substring(0,\\nthis.Patch_Margin);\\\"\\\"!==k&&(h.length1+=k.length,h.length2+=k.length,0!==h.diffs.length&&h.diffs[h.diffs.length-1][0]===DIFF_EQUAL?h.diffs[h.diffs.length-1][1]+=k:h.diffs.push([DIFF_EQUAL,k]));l||a.splice(++c,0,h)}}};diff_match_patch.prototype.patch_toText=function(a){for(var b=[],c=0;c<a.length;c++)b[c]=a[c];return b.join(\\\"\\\")};\\ndiff_match_patch.prototype.patch_fromText=function(a){var b=[];if(!a)return b;a=a.split(\\\"\\\\n\\\");for(var c=0,d=/^@@ -(\\\\d+),?(\\\\d*) \\\\+(\\\\d+),?(\\\\d*) @@$/;c<a.length;){var e=a[c].match(d);if(!e)throw Error(\\\"Invalid patch string: \\\"+a[c]);var f=new diff_match_patch.patch_obj;b.push(f);f.start1=parseInt(e[1],10);\\\"\\\"===e[2]?(f.start1--,f.length1=1):\\\"0\\\"==e[2]?f.length1=0:(f.start1--,f.length1=parseInt(e[2],10));f.start2=parseInt(e[3],10);\\\"\\\"===e[4]?(f.start2--,f.length2=1):\\\"0\\\"==e[4]?f.length2=0:(f.start2--,f.length2=\\nparseInt(e[4],10));for(c++;c<a.length;){e=a[c].charAt(0);try{var g=decodeURI(a[c].substring(1))}catch(h){throw Error(\\\"Illegal escape in patch_fromText: \\\"+g);}if(\\\"-\\\"==e)f.diffs.push([DIFF_DELETE,g]);else if(\\\"+\\\"==e)f.diffs.push([DIFF_INSERT,g]);else if(\\\" \\\"==e)f.diffs.push([DIFF_EQUAL,g]);else if(\\\"@\\\"==e)break;else if(\\\"\\\"!==e)throw Error('Invalid patch mode \\\"'+e+'\\\" in: '+g);c++}}return b};diff_match_patch.patch_obj=function(){this.diffs=[];this.start2=this.start1=null;this.length2=this.length1=0};\\ndiff_match_patch.patch_obj.prototype.toString=function(){for(var a=[\\\"@@ -\\\"+(0===this.length1?this.start1+\\\",0\\\":1==this.length1?this.start1+1:this.start1+1+\\\",\\\"+this.length1)+\\\" +\\\"+(0===this.length2?this.start2+\\\",0\\\":1==this.length2?this.start2+1:this.start2+1+\\\",\\\"+this.length2)+\\\" @@\\\\n\\\"],b,c=0;c<this.diffs.length;c++){switch(this.diffs[c][0]){case DIFF_INSERT:b=\\\"+\\\";break;case DIFF_DELETE:b=\\\"-\\\";break;case DIFF_EQUAL:b=\\\" \\\"}a[c+1]=b+encodeURI(this.diffs[c][1])+\\\"\\\\n\\\"}return a.join(\\\"\\\").replace(/%20/g,\\\" \\\")};\\nthis.diff_match_patch=diff_match_patch;this.DIFF_DELETE=DIFF_DELETE;this.DIFF_INSERT=DIFF_INSERT;this.DIFF_EQUAL=DIFF_EQUAL;\\n}).call(exports);\",\"type\":\"application/javascript\",\"title\":\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\",\"module-type\":\"library\"},\"$:/core/modules/utils/dom/animations/slide.js\":{\"title\":\"$:/core/modules/utils/dom/animations/slide.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/animations/slide.js\\ntype: application/javascript\\nmodule-type: animation\\n\\nA simple slide animation that varies the height of the element\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction slideOpen(domNode,options) {\\n\\toptions = options || {};\\n\\tvar duration = options.duration || $tw.utils.getAnimationDuration();\\n\\t// Get the current height of the domNode\\n\\tvar computedStyle = window.getComputedStyle(domNode),\\n\\t\\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\\n\\t\\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\\n\\t\\tcurrPaddingBottom = parseInt(computedStyle.paddingBottom,10),\\n\\t\\tcurrPaddingTop = parseInt(computedStyle.paddingTop,10),\\n\\t\\tcurrHeight = domNode.offsetHeight;\\n\\t// Reset the margin once the transition is over\\n\\tsetTimeout(function() {\\n\\t\\t$tw.utils.setStyle(domNode,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{marginBottom: \\\"\\\"},\\n\\t\\t\\t{marginTop: \\\"\\\"},\\n\\t\\t\\t{paddingBottom: \\\"\\\"},\\n\\t\\t\\t{paddingTop: \\\"\\\"},\\n\\t\\t\\t{height: \\\"auto\\\"},\\n\\t\\t\\t{opacity: \\\"\\\"}\\n\\t\\t]);\\n\\t\\tif(options.callback) {\\n\\t\\t\\toptions.callback();\\n\\t\\t}\\n\\t},duration);\\n\\t// Set up the initial position of the element\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{marginTop: \\\"0px\\\"},\\n\\t\\t{marginBottom: \\\"0px\\\"},\\n\\t\\t{paddingTop: \\\"0px\\\"},\\n\\t\\t{paddingBottom: \\\"0px\\\"},\\n\\t\\t{height: \\\"0px\\\"},\\n\\t\\t{opacity: \\\"0\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(domNode);\\n\\t// Transition to the final position\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{transition: \\\"margin-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"height \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{marginBottom: currMarginBottom + \\\"px\\\"},\\n\\t\\t{marginTop: currMarginTop + \\\"px\\\"},\\n\\t\\t{paddingBottom: currPaddingBottom + \\\"px\\\"},\\n\\t\\t{paddingTop: currPaddingTop + \\\"px\\\"},\\n\\t\\t{height: currHeight + \\\"px\\\"},\\n\\t\\t{opacity: \\\"1\\\"}\\n\\t]);\\n}\\n\\nfunction slideClosed(domNode,options) {\\n\\toptions = options || {};\\n\\tvar duration = options.duration || $tw.utils.getAnimationDuration(),\\n\\t\\tcurrHeight = domNode.offsetHeight;\\n\\t// Clear the properties we've set when the animation is over\\n\\tsetTimeout(function() {\\n\\t\\t$tw.utils.setStyle(domNode,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{marginBottom: \\\"\\\"},\\n\\t\\t\\t{marginTop: \\\"\\\"},\\n\\t\\t\\t{paddingBottom: \\\"\\\"},\\n\\t\\t\\t{paddingTop: \\\"\\\"},\\n\\t\\t\\t{height: \\\"auto\\\"},\\n\\t\\t\\t{opacity: \\\"\\\"}\\n\\t\\t]);\\n\\t\\tif(options.callback) {\\n\\t\\t\\toptions.callback();\\n\\t\\t}\\n\\t},duration);\\n\\t// Set up the initial position of the element\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{height: currHeight + \\\"px\\\"},\\n\\t\\t{opacity: \\\"1\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(domNode);\\n\\t// Transition to the final position\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{transition: \\\"margin-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"height \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{marginTop: \\\"0px\\\"},\\n\\t\\t{marginBottom: \\\"0px\\\"},\\n\\t\\t{paddingTop: \\\"0px\\\"},\\n\\t\\t{paddingBottom: \\\"0px\\\"},\\n\\t\\t{height: \\\"0px\\\"},\\n\\t\\t{opacity: \\\"0\\\"}\\n\\t]);\\n}\\n\\nexports.slide = {\\n\\topen: slideOpen,\\n\\tclose: slideClosed\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"animation\"},\"$:/core/modules/utils/dom/animator.js\":{\"title\":\"$:/core/modules/utils/dom/animator.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/animator.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nOrchestrates animations and transitions\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction Animator() {\\n\\t// Get the registered animation modules\\n\\tthis.animations = {};\\n\\t$tw.modules.applyMethods(\\\"animation\\\",this.animations);\\n}\\n\\nAnimator.prototype.perform = function(type,domNode,options) {\\n\\toptions = options || {};\\n\\t// Find an animation that can handle this type\\n\\tvar chosenAnimation;\\n\\t$tw.utils.each(this.animations,function(animation,name) {\\n\\t\\tif($tw.utils.hop(animation,type)) {\\n\\t\\t\\tchosenAnimation = animation[type];\\n\\t\\t}\\n\\t});\\n\\tif(!chosenAnimation) {\\n\\t\\tchosenAnimation = function(domNode,options) {\\n\\t\\t\\tif(options.callback) {\\n\\t\\t\\t\\toptions.callback();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t}\\n\\t// Call the animation\\n\\tchosenAnimation(domNode,options);\\n};\\n\\nexports.Animator = Animator;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/browser.js\":{\"title\":\"$:/core/modules/utils/dom/browser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/browser.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nBrowser feature detection\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nSet style properties of an element\\n\\telement: dom node\\n\\tstyles: ordered array of {name: value} pairs\\n*/\\nexports.setStyle = function(element,styles) {\\n\\tif(element.nodeType === 1) { // Element.ELEMENT_NODE\\n\\t\\tfor(var t=0; t<styles.length; t++) {\\n\\t\\t\\tfor(var styleName in styles[t]) {\\n\\t\\t\\t\\telement.style[$tw.utils.convertStyleNameToPropertyName(styleName)] = styles[t][styleName];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nConverts a standard CSS property name into the local browser-specific equivalent. For example:\\n\\t\\\"background-color\\\" --> \\\"backgroundColor\\\"\\n\\t\\\"transition\\\" --> \\\"webkitTransition\\\"\\n*/\\n\\nvar styleNameCache = {}; // We'll cache the style name conversions\\n\\nexports.convertStyleNameToPropertyName = function(styleName) {\\n\\t// Return from the cache if we can\\n\\tif(styleNameCache[styleName]) {\\n\\t\\treturn styleNameCache[styleName];\\n\\t}\\n\\t// Convert it by first removing any hyphens\\n\\tvar propertyName = $tw.utils.unHyphenateCss(styleName);\\n\\t// Then check if it needs a prefix\\n\\tif($tw.browser && document.body.style[propertyName] === undefined) {\\n\\t\\tvar prefixes = [\\\"O\\\",\\\"MS\\\",\\\"Moz\\\",\\\"webkit\\\"];\\n\\t\\tfor(var t=0; t<prefixes.length; t++) {\\n\\t\\t\\tvar prefixedName = prefixes[t] + propertyName.substr(0,1).toUpperCase() + propertyName.substr(1);\\n\\t\\t\\tif(document.body.style[prefixedName] !== undefined) {\\n\\t\\t\\t\\tpropertyName = prefixedName;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Put it in the cache too\\n\\tstyleNameCache[styleName] = propertyName;\\n\\treturn propertyName;\\n};\\n\\n/*\\nConverts a JS format CSS property name back into the dashed form used in CSS declarations. For example:\\n\\t\\\"backgroundColor\\\" --> \\\"background-color\\\"\\n\\t\\\"webkitTransform\\\" --> \\\"-webkit-transform\\\"\\n*/\\nexports.convertPropertyNameToStyleName = function(propertyName) {\\n\\t// Rehyphenate the name\\n\\tvar styleName = $tw.utils.hyphenateCss(propertyName);\\n\\t// If there's a webkit prefix, add a dash (other browsers have uppercase prefixes, and so get the dash automatically)\\n\\tif(styleName.indexOf(\\\"webkit\\\") === 0) {\\n\\t\\tstyleName = \\\"-\\\" + styleName;\\n\\t} else if(styleName.indexOf(\\\"-m-s\\\") === 0) {\\n\\t\\tstyleName = \\\"-ms\\\" + styleName.substr(4);\\n\\t}\\n\\treturn styleName;\\n};\\n\\n/*\\nRound trip a stylename to a property name and back again. For example:\\n\\t\\\"transform\\\" --> \\\"webkitTransform\\\" --> \\\"-webkit-transform\\\"\\n*/\\nexports.roundTripPropertyName = function(propertyName) {\\n\\treturn $tw.utils.convertPropertyNameToStyleName($tw.utils.convertStyleNameToPropertyName(propertyName));\\n};\\n\\n/*\\nConverts a standard event name into the local browser specific equivalent. For example:\\n\\t\\\"animationEnd\\\" --> \\\"webkitAnimationEnd\\\"\\n*/\\n\\nvar eventNameCache = {}; // We'll cache the conversions\\n\\nvar eventNameMappings = {\\n\\t\\\"transitionEnd\\\": {\\n\\t\\tcorrespondingCssProperty: \\\"transition\\\",\\n\\t\\tmappings: {\\n\\t\\t\\ttransition: \\\"transitionend\\\",\\n\\t\\t\\tOTransition: \\\"oTransitionEnd\\\",\\n\\t\\t\\tMSTransition: \\\"msTransitionEnd\\\",\\n\\t\\t\\tMozTransition: \\\"transitionend\\\",\\n\\t\\t\\twebkitTransition: \\\"webkitTransitionEnd\\\"\\n\\t\\t}\\n\\t},\\n\\t\\\"animationEnd\\\": {\\n\\t\\tcorrespondingCssProperty: \\\"animation\\\",\\n\\t\\tmappings: {\\n\\t\\t\\tanimation: \\\"animationend\\\",\\n\\t\\t\\tOAnimation: \\\"oAnimationEnd\\\",\\n\\t\\t\\tMSAnimation: \\\"msAnimationEnd\\\",\\n\\t\\t\\tMozAnimation: \\\"animationend\\\",\\n\\t\\t\\twebkitAnimation: \\\"webkitAnimationEnd\\\"\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.convertEventName = function(eventName) {\\n\\tif(eventNameCache[eventName]) {\\n\\t\\treturn eventNameCache[eventName];\\n\\t}\\n\\tvar newEventName = eventName,\\n\\t\\tmappings = eventNameMappings[eventName];\\n\\tif(mappings) {\\n\\t\\tvar convertedProperty = $tw.utils.convertStyleNameToPropertyName(mappings.correspondingCssProperty);\\n\\t\\tif(mappings.mappings[convertedProperty]) {\\n\\t\\t\\tnewEventName = mappings.mappings[convertedProperty];\\n\\t\\t}\\n\\t}\\n\\t// Put it in the cache too\\n\\teventNameCache[eventName] = newEventName;\\n\\treturn newEventName;\\n};\\n\\n/*\\nReturn the names of the fullscreen APIs\\n*/\\nexports.getFullScreenApis = function() {\\n\\tvar d = document,\\n\\t\\tdb = d.body,\\n\\t\\tresult = {\\n\\t\\t\\\"_requestFullscreen\\\": db.webkitRequestFullscreen !== undefined ? \\\"webkitRequestFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\tdb.mozRequestFullScreen !== undefined ? \\\"mozRequestFullScreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\tdb.msRequestFullscreen !== undefined ? \\\"msRequestFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\tdb.requestFullscreen !== undefined ? \\\"requestFullscreen\\\" : \\\"\\\",\\n\\t\\t\\\"_exitFullscreen\\\": d.webkitExitFullscreen !== undefined ? \\\"webkitExitFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.mozCancelFullScreen !== undefined ? \\\"mozCancelFullScreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.msExitFullscreen !== undefined ? \\\"msExitFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.exitFullscreen !== undefined ? \\\"exitFullscreen\\\" : \\\"\\\",\\n\\t\\t\\\"_fullscreenElement\\\": d.webkitFullscreenElement !== undefined ? \\\"webkitFullscreenElement\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.mozFullScreenElement !== undefined ? \\\"mozFullScreenElement\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.msFullscreenElement !== undefined ? \\\"msFullscreenElement\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.fullscreenElement !== undefined ? \\\"fullscreenElement\\\" : \\\"\\\",\\n\\t\\t\\\"_fullscreenChange\\\": d.webkitFullscreenElement !== undefined ? \\\"webkitfullscreenchange\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.mozFullScreenElement !== undefined ? \\\"mozfullscreenchange\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.msFullscreenElement !== undefined ? \\\"MSFullscreenChange\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.fullscreenElement !== undefined ? \\\"fullscreenchange\\\" : \\\"\\\"\\n\\t};\\n\\tif(!result._requestFullscreen || !result._exitFullscreen || !result._fullscreenElement || !result._fullscreenChange) {\\n\\t\\treturn null;\\n\\t} else {\\n\\t\\treturn result;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/csscolorparser.js\":{\"title\":\"$:/core/modules/utils/dom/csscolorparser.js\",\"text\":\"// (c) Dean McNamee <dean@gmail.com>, 2012.\\n//\\n// https://github.com/deanm/css-color-parser-js\\n//\\n// Permission is hereby granted, free of charge, to any person obtaining a copy\\n// of this software and associated documentation files (the \\\"Software\\\"), to\\n// deal in the Software without restriction, including without limitation the\\n// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\\n// sell copies of the Software, and to permit persons to whom the Software is\\n// furnished to do so, subject to the following conditions:\\n//\\n// The above copyright notice and this permission notice shall be included in\\n// all copies or substantial portions of the Software.\\n//\\n// THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\\n// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\\n// IN THE SOFTWARE.\\n\\n// http://www.w3.org/TR/css3-color/\\nvar kCSSColorTable = {\\n \\\"transparent\\\": [0,0,0,0], \\\"aliceblue\\\": [240,248,255,1],\\n \\\"antiquewhite\\\": [250,235,215,1], \\\"aqua\\\": [0,255,255,1],\\n \\\"aquamarine\\\": [127,255,212,1], \\\"azure\\\": [240,255,255,1],\\n \\\"beige\\\": [245,245,220,1], \\\"bisque\\\": [255,228,196,1],\\n \\\"black\\\": [0,0,0,1], \\\"blanchedalmond\\\": [255,235,205,1],\\n \\\"blue\\\": [0,0,255,1], \\\"blueviolet\\\": [138,43,226,1],\\n \\\"brown\\\": [165,42,42,1], \\\"burlywood\\\": [222,184,135,1],\\n \\\"cadetblue\\\": [95,158,160,1], \\\"chartreuse\\\": [127,255,0,1],\\n \\\"chocolate\\\": [210,105,30,1], \\\"coral\\\": [255,127,80,1],\\n \\\"cornflowerblue\\\": [100,149,237,1], \\\"cornsilk\\\": [255,248,220,1],\\n \\\"crimson\\\": [220,20,60,1], \\\"cyan\\\": [0,255,255,1],\\n \\\"darkblue\\\": [0,0,139,1], \\\"darkcyan\\\": [0,139,139,1],\\n \\\"darkgoldenrod\\\": [184,134,11,1], \\\"darkgray\\\": [169,169,169,1],\\n \\\"darkgreen\\\": [0,100,0,1], \\\"darkgrey\\\": [169,169,169,1],\\n \\\"darkkhaki\\\": [189,183,107,1], \\\"darkmagenta\\\": [139,0,139,1],\\n \\\"darkolivegreen\\\": [85,107,47,1], \\\"darkorange\\\": [255,140,0,1],\\n \\\"darkorchid\\\": [153,50,204,1], \\\"darkred\\\": [139,0,0,1],\\n \\\"darksalmon\\\": [233,150,122,1], \\\"darkseagreen\\\": [143,188,143,1],\\n \\\"darkslateblue\\\": [72,61,139,1], \\\"darkslategray\\\": [47,79,79,1],\\n \\\"darkslategrey\\\": [47,79,79,1], \\\"darkturquoise\\\": [0,206,209,1],\\n \\\"darkviolet\\\": [148,0,211,1], \\\"deeppink\\\": [255,20,147,1],\\n \\\"deepskyblue\\\": [0,191,255,1], \\\"dimgray\\\": [105,105,105,1],\\n \\\"dimgrey\\\": [105,105,105,1], \\\"dodgerblue\\\": [30,144,255,1],\\n \\\"firebrick\\\": [178,34,34,1], \\\"floralwhite\\\": [255,250,240,1],\\n \\\"forestgreen\\\": [34,139,34,1], \\\"fuchsia\\\": [255,0,255,1],\\n \\\"gainsboro\\\": [220,220,220,1], \\\"ghostwhite\\\": [248,248,255,1],\\n \\\"gold\\\": [255,215,0,1], \\\"goldenrod\\\": [218,165,32,1],\\n \\\"gray\\\": [128,128,128,1], \\\"green\\\": [0,128,0,1],\\n \\\"greenyellow\\\": [173,255,47,1], \\\"grey\\\": [128,128,128,1],\\n \\\"honeydew\\\": [240,255,240,1], \\\"hotpink\\\": [255,105,180,1],\\n \\\"indianred\\\": [205,92,92,1], \\\"indigo\\\": [75,0,130,1],\\n \\\"ivory\\\": [255,255,240,1], \\\"khaki\\\": [240,230,140,1],\\n \\\"lavender\\\": [230,230,250,1], \\\"lavenderblush\\\": [255,240,245,1],\\n \\\"lawngreen\\\": [124,252,0,1], \\\"lemonchiffon\\\": [255,250,205,1],\\n \\\"lightblue\\\": [173,216,230,1], \\\"lightcoral\\\": [240,128,128,1],\\n \\\"lightcyan\\\": [224,255,255,1], \\\"lightgoldenrodyellow\\\": [250,250,210,1],\\n \\\"lightgray\\\": [211,211,211,1], \\\"lightgreen\\\": [144,238,144,1],\\n \\\"lightgrey\\\": [211,211,211,1], \\\"lightpink\\\": [255,182,193,1],\\n \\\"lightsalmon\\\": [255,160,122,1], \\\"lightseagreen\\\": [32,178,170,1],\\n \\\"lightskyblue\\\": [135,206,250,1], \\\"lightslategray\\\": [119,136,153,1],\\n \\\"lightslategrey\\\": [119,136,153,1], \\\"lightsteelblue\\\": [176,196,222,1],\\n \\\"lightyellow\\\": [255,255,224,1], \\\"lime\\\": [0,255,0,1],\\n \\\"limegreen\\\": [50,205,50,1], \\\"linen\\\": [250,240,230,1],\\n \\\"magenta\\\": [255,0,255,1], \\\"maroon\\\": [128,0,0,1],\\n \\\"mediumaquamarine\\\": [102,205,170,1], \\\"mediumblue\\\": [0,0,205,1],\\n \\\"mediumorchid\\\": [186,85,211,1], \\\"mediumpurple\\\": [147,112,219,1],\\n \\\"mediumseagreen\\\": [60,179,113,1], \\\"mediumslateblue\\\": [123,104,238,1],\\n \\\"mediumspringgreen\\\": [0,250,154,1], \\\"mediumturquoise\\\": [72,209,204,1],\\n \\\"mediumvioletred\\\": [199,21,133,1], \\\"midnightblue\\\": [25,25,112,1],\\n \\\"mintcream\\\": [245,255,250,1], \\\"mistyrose\\\": [255,228,225,1],\\n \\\"moccasin\\\": [255,228,181,1], \\\"navajowhite\\\": [255,222,173,1],\\n \\\"navy\\\": [0,0,128,1], \\\"oldlace\\\": [253,245,230,1],\\n \\\"olive\\\": [128,128,0,1], \\\"olivedrab\\\": [107,142,35,1],\\n \\\"orange\\\": [255,165,0,1], \\\"orangered\\\": [255,69,0,1],\\n \\\"orchid\\\": [218,112,214,1], \\\"palegoldenrod\\\": [238,232,170,1],\\n \\\"palegreen\\\": [152,251,152,1], \\\"paleturquoise\\\": [175,238,238,1],\\n \\\"palevioletred\\\": [219,112,147,1], \\\"papayawhip\\\": [255,239,213,1],\\n \\\"peachpuff\\\": [255,218,185,1], \\\"peru\\\": [205,133,63,1],\\n \\\"pink\\\": [255,192,203,1], \\\"plum\\\": [221,160,221,1],\\n \\\"powderblue\\\": [176,224,230,1], \\\"purple\\\": [128,0,128,1],\\n \\\"red\\\": [255,0,0,1], \\\"rosybrown\\\": [188,143,143,1],\\n \\\"royalblue\\\": [65,105,225,1], \\\"saddlebrown\\\": [139,69,19,1],\\n \\\"salmon\\\": [250,128,114,1], \\\"sandybrown\\\": [244,164,96,1],\\n \\\"seagreen\\\": [46,139,87,1], \\\"seashell\\\": [255,245,238,1],\\n \\\"sienna\\\": [160,82,45,1], \\\"silver\\\": [192,192,192,1],\\n \\\"skyblue\\\": [135,206,235,1], \\\"slateblue\\\": [106,90,205,1],\\n \\\"slategray\\\": [112,128,144,1], \\\"slategrey\\\": [112,128,144,1],\\n \\\"snow\\\": [255,250,250,1], \\\"springgreen\\\": [0,255,127,1],\\n \\\"steelblue\\\": [70,130,180,1], \\\"tan\\\": [210,180,140,1],\\n \\\"teal\\\": [0,128,128,1], \\\"thistle\\\": [216,191,216,1],\\n \\\"tomato\\\": [255,99,71,1], \\\"turquoise\\\": [64,224,208,1],\\n \\\"violet\\\": [238,130,238,1], \\\"wheat\\\": [245,222,179,1],\\n \\\"white\\\": [255,255,255,1], \\\"whitesmoke\\\": [245,245,245,1],\\n \\\"yellow\\\": [255,255,0,1], \\\"yellowgreen\\\": [154,205,50,1]}\\n\\nfunction clamp_css_byte(i) { // Clamp to integer 0 .. 255.\\n i = Math.round(i); // Seems to be what Chrome does (vs truncation).\\n return i < 0 ? 0 : i > 255 ? 255 : i;\\n}\\n\\nfunction clamp_css_float(f) { // Clamp to float 0.0 .. 1.0.\\n return f < 0 ? 0 : f > 1 ? 1 : f;\\n}\\n\\nfunction parse_css_int(str) { // int or percentage.\\n if (str[str.length - 1] === '%')\\n return clamp_css_byte(parseFloat(str) / 100 * 255);\\n return clamp_css_byte(parseInt(str));\\n}\\n\\nfunction parse_css_float(str) { // float or percentage.\\n if (str[str.length - 1] === '%')\\n return clamp_css_float(parseFloat(str) / 100);\\n return clamp_css_float(parseFloat(str));\\n}\\n\\nfunction css_hue_to_rgb(m1, m2, h) {\\n if (h < 0) h += 1;\\n else if (h > 1) h -= 1;\\n\\n if (h * 6 < 1) return m1 + (m2 - m1) * h * 6;\\n if (h * 2 < 1) return m2;\\n if (h * 3 < 2) return m1 + (m2 - m1) * (2/3 - h) * 6;\\n return m1;\\n}\\n\\nfunction parseCSSColor(css_str) {\\n // Remove all whitespace, not compliant, but should just be more accepting.\\n var str = css_str.replace(/ /g, '').toLowerCase();\\n\\n // Color keywords (and transparent) lookup.\\n if (str in kCSSColorTable) return kCSSColorTable[str].slice(); // dup.\\n\\n // #abc and #abc123 syntax.\\n if (str[0] === '#') {\\n if (str.length === 4) {\\n var iv = parseInt(str.substr(1), 16); // TODO(deanm): Stricter parsing.\\n if (!(iv >= 0 && iv <= 0xfff)) return null; // Covers NaN.\\n return [((iv & 0xf00) >> 4) | ((iv & 0xf00) >> 8),\\n (iv & 0xf0) | ((iv & 0xf0) >> 4),\\n (iv & 0xf) | ((iv & 0xf) << 4),\\n 1];\\n } else if (str.length === 7) {\\n var iv = parseInt(str.substr(1), 16); // TODO(deanm): Stricter parsing.\\n if (!(iv >= 0 && iv <= 0xffffff)) return null; // Covers NaN.\\n return [(iv & 0xff0000) >> 16,\\n (iv & 0xff00) >> 8,\\n iv & 0xff,\\n 1];\\n }\\n\\n return null;\\n }\\n\\n var op = str.indexOf('('), ep = str.indexOf(')');\\n if (op !== -1 && ep + 1 === str.length) {\\n var fname = str.substr(0, op);\\n var params = str.substr(op+1, ep-(op+1)).split(',');\\n var alpha = 1; // To allow case fallthrough.\\n switch (fname) {\\n case 'rgba':\\n if (params.length !== 4) return null;\\n alpha = parse_css_float(params.pop());\\n // Fall through.\\n case 'rgb':\\n if (params.length !== 3) return null;\\n return [parse_css_int(params[0]),\\n parse_css_int(params[1]),\\n parse_css_int(params[2]),\\n alpha];\\n case 'hsla':\\n if (params.length !== 4) return null;\\n alpha = parse_css_float(params.pop());\\n // Fall through.\\n case 'hsl':\\n if (params.length !== 3) return null;\\n var h = (((parseFloat(params[0]) % 360) + 360) % 360) / 360; // 0 .. 1\\n // NOTE(deanm): According to the CSS spec s/l should only be\\n // percentages, but we don't bother and let float or percentage.\\n var s = parse_css_float(params[1]);\\n var l = parse_css_float(params[2]);\\n var m2 = l <= 0.5 ? l * (s + 1) : l + s - l * s;\\n var m1 = l * 2 - m2;\\n return [clamp_css_byte(css_hue_to_rgb(m1, m2, h+1/3) * 255),\\n clamp_css_byte(css_hue_to_rgb(m1, m2, h) * 255),\\n clamp_css_byte(css_hue_to_rgb(m1, m2, h-1/3) * 255),\\n alpha];\\n default:\\n return null;\\n }\\n }\\n\\n return null;\\n}\\n\\ntry { exports.parseCSSColor = parseCSSColor } catch(e) { }\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom.js\":{\"title\":\"$:/core/modules/utils/dom.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nVarious static DOM-related utility functions.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\n/*\\nDetermines whether element 'a' contains element 'b'\\nCode thanks to John Resig, http://ejohn.org/blog/comparing-document-position/\\n*/\\nexports.domContains = function(a,b) {\\n\\treturn a.contains ?\\n\\t\\ta !== b && a.contains(b) :\\n\\t\\t!!(a.compareDocumentPosition(b) & 16);\\n};\\n\\nexports.domMatchesSelector = function(node,selector) {\\n\\treturn node.matches ? node.matches(selector) : node.msMatchesSelector(selector);\\n};\\n\\n/*\\nSelect text in a an input or textarea (setSelectionRange crashes on certain input types)\\n*/\\nexports.setSelectionRangeSafe = function(node,start,end,direction) {\\n\\ttry {\\n\\t\\tnode.setSelectionRange(start,end,direction);\\n\\t} catch(e) {\\n\\t\\tnode.select();\\n\\t}\\n};\\n\\n/*\\nSelect the text in an input or textarea by position\\n*/\\nexports.setSelectionByPosition = function(node,selectFromStart,selectFromEnd) {\\n\\t$tw.utils.setSelectionRangeSafe(node,selectFromStart,node.value.length - selectFromEnd);\\n};\\n\\nexports.removeChildren = function(node) {\\n\\twhile(node.hasChildNodes()) {\\n\\t\\tnode.removeChild(node.firstChild);\\n\\t}\\n};\\n\\nexports.hasClass = function(el,className) {\\n\\treturn el && el.hasAttribute && el.hasAttribute(\\\"class\\\") && el.getAttribute(\\\"class\\\").split(\\\" \\\").indexOf(className) !== -1;\\n};\\n\\nexports.addClass = function(el,className) {\\n\\tvar c = (el.getAttribute(\\\"class\\\") || \\\"\\\").split(\\\" \\\");\\n\\tif(c.indexOf(className) === -1) {\\n\\t\\tc.push(className);\\n\\t\\tel.setAttribute(\\\"class\\\",c.join(\\\" \\\"));\\n\\t}\\n};\\n\\nexports.removeClass = function(el,className) {\\n\\tvar c = (el.getAttribute(\\\"class\\\") || \\\"\\\").split(\\\" \\\"),\\n\\t\\tp = c.indexOf(className);\\n\\tif(p !== -1) {\\n\\t\\tc.splice(p,1);\\n\\t\\tel.setAttribute(\\\"class\\\",c.join(\\\" \\\"));\\n\\t}\\n};\\n\\nexports.toggleClass = function(el,className,status) {\\n\\tif(status === undefined) {\\n\\t\\tstatus = !exports.hasClass(el,className);\\n\\t}\\n\\tif(status) {\\n\\t\\texports.addClass(el,className);\\n\\t} else {\\n\\t\\texports.removeClass(el,className);\\n\\t}\\n};\\n\\n/*\\nGet the first parent element that has scrollbars or use the body as fallback.\\n*/\\nexports.getScrollContainer = function(el) {\\n\\tvar doc = el.ownerDocument;\\n\\twhile(el.parentNode) {\\n\\t\\tel = el.parentNode;\\n\\t\\tif(el.scrollTop) {\\n\\t\\t\\treturn el;\\n\\t\\t}\\n\\t}\\n\\treturn doc.body;\\n};\\n\\n/*\\nGet the scroll position of the viewport\\nReturns:\\n\\t{\\n\\t\\tx: horizontal scroll position in pixels,\\n\\t\\ty: vertical scroll position in pixels\\n\\t}\\n*/\\nexports.getScrollPosition = function(srcWindow) {\\n\\tvar scrollWindow = srcWindow || window;\\n\\tif(\\\"scrollX\\\" in scrollWindow) {\\n\\t\\treturn {x: scrollWindow.scrollX, y: scrollWindow.scrollY};\\n\\t} else {\\n\\t\\treturn {x: scrollWindow.document.documentElement.scrollLeft, y: scrollWindow.document.documentElement.scrollTop};\\n\\t}\\n};\\n\\n/*\\nAdjust the height of a textarea to fit its content, preserving scroll position, and return the height\\n*/\\nexports.resizeTextAreaToFit = function(domNode,minHeight) {\\n\\t// Get the scroll container and register the current scroll position\\n\\tvar container = $tw.utils.getScrollContainer(domNode),\\n\\t\\tscrollTop = container.scrollTop;\\n // Measure the specified minimum height\\n\\tdomNode.style.height = minHeight;\\n\\tvar measuredHeight = domNode.offsetHeight || parseInt(minHeight,10);\\n\\t// Set its height to auto so that it snaps to the correct height\\n\\tdomNode.style.height = \\\"auto\\\";\\n\\t// Calculate the revised height\\n\\tvar newHeight = Math.max(domNode.scrollHeight + domNode.offsetHeight - domNode.clientHeight,measuredHeight);\\n\\t// Only try to change the height if it has changed\\n\\tif(newHeight !== domNode.offsetHeight) {\\n\\t\\tdomNode.style.height = newHeight + \\\"px\\\";\\n\\t\\t// Make sure that the dimensions of the textarea are recalculated\\n\\t\\t$tw.utils.forceLayout(domNode);\\n\\t\\t// Set the container to the position we registered at the beginning\\n\\t\\tcontainer.scrollTop = scrollTop;\\n\\t}\\n\\treturn newHeight;\\n};\\n\\n/*\\nGets the bounding rectangle of an element in absolute page coordinates\\n*/\\nexports.getBoundingPageRect = function(element) {\\n\\tvar scrollPos = $tw.utils.getScrollPosition(element.ownerDocument.defaultView),\\n\\t\\tclientRect = element.getBoundingClientRect();\\n\\treturn {\\n\\t\\tleft: clientRect.left + scrollPos.x,\\n\\t\\twidth: clientRect.width,\\n\\t\\tright: clientRect.right + scrollPos.x,\\n\\t\\ttop: clientRect.top + scrollPos.y,\\n\\t\\theight: clientRect.height,\\n\\t\\tbottom: clientRect.bottom + scrollPos.y\\n\\t};\\n};\\n\\n/*\\nSaves a named password in the browser\\n*/\\nexports.savePassword = function(name,password) {\\n\\tvar done = false;\\n\\ttry {\\n\\t\\twindow.localStorage.setItem(\\\"tw5-password-\\\" + name,password);\\n\\t\\tdone = true;\\n\\t} catch(e) {\\n\\t}\\n\\tif(!done) {\\n\\t\\t$tw.savedPasswords = $tw.savedPasswords || Object.create(null);\\n\\t\\t$tw.savedPasswords[name] = password;\\n\\t}\\n};\\n\\n/*\\nRetrieve a named password from the browser\\n*/\\nexports.getPassword = function(name) {\\n\\tvar value;\\n\\ttry {\\n\\t\\tvalue = window.localStorage.getItem(\\\"tw5-password-\\\" + name);\\n\\t} catch(e) {\\n\\t}\\n\\tif(value !== undefined) {\\n\\t\\treturn value;\\n\\t} else {\\n\\t\\treturn ($tw.savedPasswords || Object.create(null))[name] || \\\"\\\";\\n\\t}\\n};\\n\\n/*\\nForce layout of a dom node and its descendents\\n*/\\nexports.forceLayout = function(element) {\\n\\tvar dummy = element.offsetWidth;\\n};\\n\\n/*\\nPulse an element for debugging purposes\\n*/\\nexports.pulseElement = function(element) {\\n\\t// Event handler to remove the class at the end\\n\\telement.addEventListener($tw.browser.animationEnd,function handler(event) {\\n\\t\\telement.removeEventListener($tw.browser.animationEnd,handler,false);\\n\\t\\t$tw.utils.removeClass(element,\\\"pulse\\\");\\n\\t},false);\\n\\t// Apply the pulse class\\n\\t$tw.utils.removeClass(element,\\\"pulse\\\");\\n\\t$tw.utils.forceLayout(element);\\n\\t$tw.utils.addClass(element,\\\"pulse\\\");\\n};\\n\\n/*\\nAttach specified event handlers to a DOM node\\ndomNode: where to attach the event handlers\\nevents: array of event handlers to be added (see below)\\nEach entry in the events array is an object with these properties:\\nhandlerFunction: optional event handler function\\nhandlerObject: optional event handler object\\nhandlerMethod: optionally specifies object handler method name (defaults to `handleEvent`)\\n*/\\nexports.addEventListeners = function(domNode,events) {\\n\\t$tw.utils.each(events,function(eventInfo) {\\n\\t\\tvar handler;\\n\\t\\tif(eventInfo.handlerFunction) {\\n\\t\\t\\thandler = eventInfo.handlerFunction;\\n\\t\\t} else if(eventInfo.handlerObject) {\\n\\t\\t\\tif(eventInfo.handlerMethod) {\\n\\t\\t\\t\\thandler = function(event) {\\n\\t\\t\\t\\t\\teventInfo.handlerObject[eventInfo.handlerMethod].call(eventInfo.handlerObject,event);\\n\\t\\t\\t\\t};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\thandler = eventInfo.handlerObject;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tdomNode.addEventListener(eventInfo.name,handler,false);\\n\\t});\\n};\\n\\n/*\\nGet the computed styles applied to an element as an array of strings of individual CSS properties\\n*/\\nexports.getComputedStyles = function(domNode) {\\n\\tvar textAreaStyles = window.getComputedStyle(domNode,null),\\n\\t\\tstyleDefs = [],\\n\\t\\tname;\\n\\tfor(var t=0; t<textAreaStyles.length; t++) {\\n\\t\\tname = textAreaStyles[t];\\n\\t\\tstyleDefs.push(name + \\\": \\\" + textAreaStyles.getPropertyValue(name) + \\\";\\\");\\n\\t}\\n\\treturn styleDefs;\\n};\\n\\n/*\\nApply a set of styles passed as an array of strings of individual CSS properties\\n*/\\nexports.setStyles = function(domNode,styleDefs) {\\n\\tdomNode.style.cssText = styleDefs.join(\\\"\\\");\\n};\\n\\n/*\\nCopy the computed styles from a source element to a destination element\\n*/\\nexports.copyStyles = function(srcDomNode,dstDomNode) {\\n\\t$tw.utils.setStyles(dstDomNode,$tw.utils.getComputedStyles(srcDomNode));\\n};\\n\\n/*\\nCopy plain text to the clipboard on browsers that support it\\n*/\\nexports.copyToClipboard = function(text,options) {\\n\\toptions = options || {};\\n\\ttext = text || \\\"\\\";\\n\\tvar textArea = document.createElement(\\\"textarea\\\");\\n\\ttextArea.style.position = \\\"fixed\\\";\\n\\ttextArea.style.top = 0;\\n\\ttextArea.style.left = 0;\\n\\ttextArea.style.fontSize = \\\"12pt\\\";\\n\\ttextArea.style.width = \\\"2em\\\";\\n\\ttextArea.style.height = \\\"2em\\\";\\n\\ttextArea.style.padding = 0;\\n\\ttextArea.style.border = \\\"none\\\";\\n\\ttextArea.style.outline = \\\"none\\\";\\n\\ttextArea.style.boxShadow = \\\"none\\\";\\n\\ttextArea.style.background = \\\"transparent\\\";\\n\\ttextArea.value = text;\\n\\tdocument.body.appendChild(textArea);\\n\\ttextArea.select();\\n\\ttextArea.setSelectionRange(0,text.length);\\n\\tvar succeeded = false;\\n\\ttry {\\n\\t\\tsucceeded = document.execCommand(\\\"copy\\\");\\n\\t} catch(err) {\\n\\t}\\n\\tif(!options.doNotNotify) {\\n\\t\\tvar successNotification = options.successNotification || \\\"$:/language/Notifications/CopiedToClipboard/Succeeded\\\",\\n\\t\\t\\tfailureNotification = options.failureNotification || \\\"$:/language/Notifications/CopiedToClipboard/Failed\\\"\\n\\t\\t$tw.notifier.display(succeeded ? successNotification : failureNotification);\\n\\t}\\n\\tdocument.body.removeChild(textArea);\\n};\\n\\nexports.getLocationPath = function() {\\n\\treturn window.location.toString().split(\\\"#\\\")[0];\\n};\\n\\n/*\\nCollect DOM variables\\n*/\\nexports.collectDOMVariables = function(selectedNode,domNode,event) {\\n\\tvar variables = {},\\n\\t selectedNodeRect,\\n\\t domNodeRect;\\n\\tif(selectedNode) {\\n\\t\\t$tw.utils.each(selectedNode.attributes,function(attribute) {\\n\\t\\t\\tvariables[\\\"dom-\\\" + attribute.name] = attribute.value.toString();\\n\\t\\t});\\n\\t\\t\\n\\t\\tif(\\\"offsetLeft\\\" in selectedNode) {\\n\\t\\t\\t// Add variables with a (relative and absolute) popup coordinate string for the selected node\\n\\t\\t\\tvar nodeRect = {\\n\\t\\t\\t\\tleft: selectedNode.offsetLeft,\\n\\t\\t\\t\\ttop: selectedNode.offsetTop,\\n\\t\\t\\t\\twidth: selectedNode.offsetWidth,\\n\\t\\t\\t\\theight: selectedNode.offsetHeight\\n\\t\\t\\t};\\n\\t\\t\\tvariables[\\\"tv-popup-coords\\\"] = Popup.buildCoordinates(Popup.coordinatePrefix.csOffsetParent,nodeRect);\\n\\n\\t\\t\\tvar absRect = $tw.utils.extend({}, nodeRect);\\n\\t\\t\\tfor(var currentNode = selectedNode.offsetParent; currentNode; currentNode = currentNode.offsetParent) {\\n\\t\\t\\t\\tabsRect.left += currentNode.offsetLeft;\\n\\t\\t\\t\\tabsRect.top += currentNode.offsetTop;\\n\\t\\t\\t}\\n\\t\\t\\tvariables[\\\"tv-popup-abs-coords\\\"] = Popup.buildCoordinates(Popup.coordinatePrefix.csAbsolute,absRect);\\n\\n\\t\\t\\t// Add variables for offset of selected node\\n\\t\\t\\tvariables[\\\"tv-selectednode-posx\\\"] = selectedNode.offsetLeft.toString();\\n\\t\\t\\tvariables[\\\"tv-selectednode-posy\\\"] = selectedNode.offsetTop.toString();\\n\\t\\t\\tvariables[\\\"tv-selectednode-width\\\"] = selectedNode.offsetWidth.toString();\\n\\t\\t\\tvariables[\\\"tv-selectednode-height\\\"] = selectedNode.offsetHeight.toString();\\n\\t\\t}\\n\\t}\\n\\t\\n\\tif(domNode && (\\\"offsetWidth\\\" in domNode)) {\\n\\t\\tvariables[\\\"tv-widgetnode-width\\\"] = domNode.offsetWidth.toString();\\n\\t\\tvariables[\\\"tv-widgetnode-height\\\"] = domNode.offsetHeight.toString();\\n\\t}\\n\\n\\tif(event && (\\\"clientX\\\" in event) && (\\\"clientY\\\" in event)) {\\n\\t\\tif(selectedNode) {\\n\\t\\t\\t// Add variables for event X and Y position relative to selected node\\n\\t\\t\\tselectedNodeRect = selectedNode.getBoundingClientRect();\\n\\t\\t\\tvariables[\\\"event-fromselected-posx\\\"] = (event.clientX - selectedNodeRect.left).toString();\\n\\t\\t\\tvariables[\\\"event-fromselected-posy\\\"] = (event.clientY - selectedNodeRect.top).toString();\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(domNode) {\\n\\t\\t\\t// Add variables for event X and Y position relative to event catcher node\\n\\t\\t\\tdomNodeRect = domNode.getBoundingClientRect();\\n\\t\\t\\tvariables[\\\"event-fromcatcher-posx\\\"] = (event.clientX - domNodeRect.left).toString();\\n\\t\\t\\tvariables[\\\"event-fromcatcher-posy\\\"] = (event.clientY - domNodeRect.top).toString();\\n\\t\\t}\\n\\n\\t\\t// Add variables for event X and Y position relative to the viewport\\n\\t\\tvariables[\\\"event-fromviewport-posx\\\"] = event.clientX.toString();\\n\\t\\tvariables[\\\"event-fromviewport-posy\\\"] = event.clientY.toString();\\n\\t}\\n\\treturn variables;\\n};\\n\\n/*\\nMake sure the CSS selector is not invalid\\n*/\\nexports.querySelectorSafe = function(selector,baseElement) {\\n\\tbaseElement = baseElement || document;\\n\\ttry {\\n\\t\\treturn baseElement.querySelector(selector);\\n\\t} catch(e) {\\n\\t\\tconsole.log(\\\"Invalid selector: \\\",selector);\\n\\t}\\n};\\n\\nexports.querySelectorAllSafe = function(selector,baseElement) {\\n\\tbaseElement = baseElement || document;\\n\\ttry {\\n\\t\\treturn baseElement.querySelectorAll(selector);\\n\\t} catch(e) {\\n\\t\\tconsole.log(\\\"Invalid selector: \\\",selector);\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/dragndrop.js\":{\"title\":\"$:/core/modules/utils/dom/dragndrop.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/dragndrop.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nBrowser data transfer utilities, used with the clipboard and drag and drop\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nOptions:\\n\\ndomNode: dom node to make draggable\\nselector: CSS selector to identify element within domNode to be used as drag handle (optional)\\ndragImageType: \\\"pill\\\", \\\"blank\\\" or \\\"dom\\\" (the default)\\ndragTiddlerFn: optional function to retrieve the title of tiddler to drag\\ndragFilterFn: optional function to retreive the filter defining a list of tiddlers to drag\\nwidget: widget to use as the context for the filter\\n*/\\nexports.makeDraggable = function(options) {\\n\\tvar dragImageType = options.dragImageType || \\\"dom\\\",\\n\\t\\tdragImage,\\n\\t\\tdomNode = options.domNode;\\n\\t// Make the dom node draggable (not necessary for anchor tags)\\n\\tif(!options.selector && ((domNode.tagName || \\\"\\\").toLowerCase() !== \\\"a\\\")) {\\n\\t\\tdomNode.setAttribute(\\\"draggable\\\",\\\"true\\\");\\n\\t}\\n\\t// Add event handlers\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"dragstart\\\", handlerFunction: function(event) {\\n\\t\\t\\tif(event.dataTransfer === undefined) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\t// Collect the tiddlers being dragged\\n\\t\\t\\tvar dragTiddler = options.dragTiddlerFn && options.dragTiddlerFn(),\\n\\t\\t\\t\\tdragFilter = options.dragFilterFn && options.dragFilterFn(),\\n\\t\\t\\t\\ttitles = dragTiddler ? [dragTiddler] : [],\\n\\t\\t\\t\\tstartActions = options.startActions,\\n\\t\\t\\t\\tvariables,\\n\\t\\t\\t\\tdomNodeRect;\\n\\t\\t\\tif(dragFilter) {\\n\\t\\t\\t\\ttitles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));\\n\\t\\t\\t}\\n\\t\\t\\tvar titleString = $tw.utils.stringifyList(titles);\\n\\t\\t\\t// Check that we've something to drag\\n\\t\\t\\tif(titles.length > 0 && (options.selector && $tw.utils.domMatchesSelector(event.target,options.selector) || event.target === domNode)) {\\n\\t\\t\\t\\t// Mark the drag in progress\\n\\t\\t\\t\\t$tw.dragInProgress = domNode;\\n\\t\\t\\t\\t// Set the dragging class on the element being dragged\\n\\t\\t\\t\\t$tw.utils.addClass(domNode,\\\"tc-dragging\\\");\\n\\t\\t\\t\\t// Invoke drag-start actions if given\\n\\t\\t\\t\\tif(startActions !== undefined) {\\n\\t\\t\\t\\t\\t// Collect our variables\\n\\t\\t\\t\\t\\tvariables = $tw.utils.collectDOMVariables(domNode,null,event);\\n\\t\\t\\t\\t\\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\t\\t\\tvariables[\\\"actionTiddler\\\"] = titleString;\\n\\t\\t\\t\\t\\toptions.widget.invokeActionString(startActions,options.widget,event,variables);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Create the drag image elements\\n\\t\\t\\t\\tdragImage = options.widget.document.createElement(\\\"div\\\");\\n\\t\\t\\t\\tdragImage.className = \\\"tc-tiddler-dragger\\\";\\n\\t\\t\\t\\tvar inner = options.widget.document.createElement(\\\"div\\\");\\n\\t\\t\\t\\tinner.className = \\\"tc-tiddler-dragger-inner\\\";\\n\\t\\t\\t\\tinner.appendChild(options.widget.document.createTextNode(\\n\\t\\t\\t\\t\\ttitles.length === 1 ? \\n\\t\\t\\t\\t\\t\\ttitles[0] :\\n\\t\\t\\t\\t\\t\\ttitles.length + \\\" tiddlers\\\"\\n\\t\\t\\t\\t));\\n\\t\\t\\t\\tdragImage.appendChild(inner);\\n\\t\\t\\t\\toptions.widget.document.body.appendChild(dragImage);\\n\\t\\t\\t\\t// Set the data transfer properties\\n\\t\\t\\t\\tvar dataTransfer = event.dataTransfer;\\n\\t\\t\\t\\t// Set up the image\\n\\t\\t\\t\\tdataTransfer.effectAllowed = \\\"all\\\";\\n\\t\\t\\t\\tif(dataTransfer.setDragImage) {\\n\\t\\t\\t\\t\\tif(dragImageType === \\\"pill\\\") {\\n\\t\\t\\t\\t\\t\\tdataTransfer.setDragImage(dragImage.firstChild,-16,-16);\\n\\t\\t\\t\\t\\t} else if(dragImageType === \\\"blank\\\") {\\n\\t\\t\\t\\t\\t\\tdragImage.removeChild(dragImage.firstChild);\\n\\t\\t\\t\\t\\t\\tdataTransfer.setDragImage(dragImage,0,0);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tvar r = domNode.getBoundingClientRect();\\n\\t\\t\\t\\t\\t\\tdataTransfer.setDragImage(domNode,event.clientX-r.left,event.clientY-r.top);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Set up the data transfer\\n\\t\\t\\t\\tif(dataTransfer.clearData) {\\n\\t\\t\\t\\t\\tdataTransfer.clearData();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar jsonData = [];\\n\\t\\t\\t\\tif(titles.length > 1) {\\n\\t\\t\\t\\t\\ttitles.forEach(function(title) {\\n\\t\\t\\t\\t\\t\\tjsonData.push(options.widget.wiki.getTiddlerAsJson(title));\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tjsonData = \\\"[\\\" + jsonData.join(\\\",\\\") + \\\"]\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tjsonData = options.widget.wiki.getTiddlerAsJson(titles[0]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// IE doesn't like these content types\\n\\t\\t\\t\\tif(!$tw.browser.isIE) {\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"text/vnd.tiddler\\\",jsonData);\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"text/plain\\\",titleString);\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"text/x-moz-url\\\",\\\"data:text/vnd.tiddler,\\\" + encodeURIComponent(jsonData));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If browser is Chrome-like and has a touch-input device do NOT .setData\\n\\t\\t\\t\\tif(!($tw.browser.isMobileChrome)) {\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"URL\\\",\\\"data:text/vnd.tiddler,\\\" + encodeURIComponent(jsonData));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tdataTransfer.setData(\\\"Text\\\",titleString);\\n\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t}\\n\\t\\t\\treturn false;\\n\\t\\t}},\\n\\t\\t{name: \\\"dragend\\\", handlerFunction: function(event) {\\n\\t\\t\\tif((options.selector && $tw.utils.domMatchesSelector(event.target,options.selector)) || event.target === domNode) {\\n\\t\\t\\t\\t// Collect the tiddlers being dragged\\n\\t\\t\\t\\tvar dragTiddler = options.dragTiddlerFn && options.dragTiddlerFn(),\\n\\t\\t\\t\\t\\tdragFilter = options.dragFilterFn && options.dragFilterFn(),\\n\\t\\t\\t\\t\\ttitles = dragTiddler ? [dragTiddler] : [],\\n\\t\\t\\t\\t\\tendActions = options.endActions,\\n\\t\\t\\t\\t\\tvariables;\\n\\t\\t\\t\\tif(dragFilter) {\\n\\t\\t\\t\\t\\ttitles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar titleString = $tw.utils.stringifyList(titles);\\n\\t\\t\\t\\t$tw.dragInProgress = null;\\n\\t\\t\\t\\t// Invoke drag-end actions if given\\n\\t\\t\\t\\tif(endActions !== undefined) {\\n\\t\\t\\t\\t\\tvariables = $tw.utils.collectDOMVariables(domNode,null,event);\\n\\t\\t\\t\\t\\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\t\\t\\tvariables[\\\"actionTiddler\\\"] = titleString;\\n\\t\\t\\t\\t\\toptions.widget.invokeActionString(endActions,options.widget,event,variables);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Remove the dragging class on the element being dragged\\n\\t\\t\\t\\t$tw.utils.removeClass(domNode,\\\"tc-dragging\\\");\\n\\t\\t\\t\\t// Delete the drag image element\\n\\t\\t\\t\\tif(dragImage) {\\n\\t\\t\\t\\t\\tdragImage.parentNode.removeChild(dragImage);\\n\\t\\t\\t\\t\\tdragImage = null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn false;\\n\\t\\t}}\\n\\t]);\\n};\\n\\nexports.importDataTransfer = function(dataTransfer,fallbackTitle,callback) {\\n\\t// Try each provided data type in turn\\n\\tif($tw.log.IMPORT) {\\n\\t\\tconsole.log(\\\"Available data types:\\\");\\n\\t\\tfor(var type=0; type<dataTransfer.types.length; type++) {\\n\\t\\t\\tconsole.log(\\\"type\\\",dataTransfer.types[type],dataTransfer.getData(dataTransfer.types[type]))\\n\\t\\t}\\n\\t}\\n\\tfor(var t=0; t<importDataTypes.length; t++) {\\n\\t\\tif(!$tw.browser.isIE || importDataTypes[t].IECompatible) {\\n\\t\\t\\t// Get the data\\n\\t\\t\\tvar dataType = importDataTypes[t];\\n\\t\\t\\tvar data = dataTransfer.getData(dataType.type);\\n\\t\\t\\t// Import the tiddlers in the data\\n\\t\\t\\tif(data !== \\\"\\\" && data !== null) {\\n\\t\\t\\t\\tif($tw.log.IMPORT) {\\n\\t\\t\\t\\t\\tconsole.log(\\\"Importing data type '\\\" + dataType.type + \\\"', data: '\\\" + data + \\\"'\\\")\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar tiddlerFields = dataType.toTiddlerFieldsArray(data,fallbackTitle);\\n\\t\\t\\t\\tcallback(tiddlerFields);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.importPaste = function(item,fallbackTitle,callback) {\\n\\t// Try each provided data type in turn\\n\\tfor(var t=0; t<importDataTypes.length; t++) {\\n\\t\\tif(item.type === importDataTypes[t].type) {\\n\\t\\t\\t// Get the data\\n\\t\\t\\tvar dataType = importDataTypes[t];\\n\\n\\t\\t\\titem.getAsString(function(data){\\n\\t\\t\\t\\tif($tw.log.IMPORT) {\\n\\t\\t\\t\\t\\tconsole.log(\\\"Importing data type '\\\" + dataType.type + \\\"', data: '\\\" + data + \\\"'\\\")\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar tiddlerFields = dataType.toTiddlerFieldsArray(data,fallbackTitle);\\n\\t\\t\\t\\tcallback(tiddlerFields);\\n\\t\\t\\t});\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.itemHasValidDataType = function(item) {\\n\\tfor(var t=0; t<importDataTypes.length; t++) {\\n\\t\\tif(!$tw.browser.isIE || importDataTypes[t].IECompatible) {\\n\\t\\t\\tif(item.type === importDataTypes[t].type) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n}\\n\\nvar importDataTypes = [\\n\\t{type: \\\"text/vnd.tiddler\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn parseJSONTiddlers(data,fallbackTitle);\\n\\t}},\\n\\t{type: \\\"URL\\\", IECompatible: true, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\t// Check for tiddler data URI\\n\\t\\tvar match = $tw.utils.decodeURIComponentSafe(data).match(/^data\\\\:text\\\\/vnd\\\\.tiddler,(.*)/i);\\n\\t\\tif(match) {\\n\\t\\t\\treturn parseJSONTiddlers(match[1],fallbackTitle);\\n\\t\\t} else {\\n\\t\\t\\treturn [{title: fallbackTitle, text: data}]; // As URL string\\n\\t\\t}\\n\\t}},\\n\\t{type: \\\"text/x-moz-url\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\t// Check for tiddler data URI\\n\\t\\tvar match = $tw.utils.decodeURIComponentSafe(data).match(/^data\\\\:text\\\\/vnd\\\\.tiddler,(.*)/i);\\n\\t\\tif(match) {\\n\\t\\t\\treturn parseJSONTiddlers(match[1],fallbackTitle);\\n\\t\\t} else {\\n\\t\\t\\treturn [{title: fallbackTitle, text: data}]; // As URL string\\n\\t\\t}\\n\\t}},\\n\\t{type: \\\"text/html\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn [{title: fallbackTitle, text: data}];\\n\\t}},\\n\\t{type: \\\"text/plain\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn [{title: fallbackTitle, text: data}];\\n\\t}},\\n\\t{type: \\\"Text\\\", IECompatible: true, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn [{title: fallbackTitle, text: data}];\\n\\t}},\\n\\t{type: \\\"text/uri-list\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\t// Check for tiddler data URI\\n\\t\\tvar match = $tw.utils.decodeURIComponentSafe(data).match(/^data\\\\:text\\\\/vnd\\\\.tiddler,(.*)/i);\\n\\t\\tif(match) {\\n\\t\\t\\treturn parseJSONTiddlers(match[1],fallbackTitle);\\n\\t\\t} else {\\n\\t\\t\\treturn [{title: fallbackTitle, text: data}]; // As URL string\\n\\t\\t}\\n\\t}}\\n];\\n\\nfunction parseJSONTiddlers(json,fallbackTitle) {\\n\\tvar data = $tw.utils.parseJSONSafe(json);\\n\\tif(!$tw.utils.isArray(data)) {\\n\\t\\tdata = [data];\\n\\t}\\n\\tdata.forEach(function(fields) {\\n\\t\\tfields.title = fields.title || fallbackTitle;\\n\\t});\\n\\treturn data;\\n};\\n\\nfunction dragEventContainsType(event,targetType) {\\n\\tif(event.dataTransfer.types) {\\n\\t\\tfor(var i=0; i<event.dataTransfer.types.length; i++) {\\n\\t\\t\\tif(event.dataTransfer.types[i] === targetType) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.dragEventContainsFiles = function(event) {\\n\\treturn (dragEventContainsType(event,\\\"Files\\\") && !dragEventContainsType(event,\\\"text/plain\\\"));\\n};\\n\\nexports.dragEventContainsType = dragEventContainsType;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/http.js\":{\"title\":\"$:/core/modules/utils/dom/http.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/http.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nHTTP support\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nManage tm-http-request events. Options include:\\nwiki: Reference to the wiki to be used for state tiddler tracking\\nstateTrackerTitle: Title of tiddler to be used for state tiddler tracking\\n*/\\nfunction HttpClient(options) {\\n\\toptions = options || {};\\n\\tthis.nextId = 1;\\n\\tthis.wiki = options.wiki || $tw.wiki;\\n\\tthis.stateTrackerTitle = options.stateTrackerTitle || \\\"$:/state/http-requests\\\";\\n\\tthis.requests = []; // Array of {id: string,request: HttpClientRequest}\\n\\tthis.updateRequestTracker();\\n}\\n\\n/*\\nReturn the index into this.requests[] corresponding to a given ID. Returns null if not found\\n*/\\nHttpClient.prototype.getRequestIndex = function(targetId) {\\n\\tvar targetIndex = null;\\n\\t$tw.utils.each(this.requests,function(requestInfo,index) {\\n\\t\\tif(requestInfo.id === targetId) {\\n\\t\\t\\ttargetIndex = index;\\n\\t\\t}\\n\\t});\\n\\treturn targetIndex;\\n};\\n\\n/*\\nUpdate the state tiddler that is tracking the outstanding requests\\n*/\\nHttpClient.prototype.updateRequestTracker = function() {\\n\\tthis.wiki.addTiddler({title: this.stateTrackerTitle, text: \\\"\\\" + this.requests.length});\\n};\\n\\nHttpClient.prototype.initiateHttpRequest = function(options) {\\n\\tvar self = this,\\n\\t\\tid = this.nextId,\\n\\t\\trequest = new HttpClientRequest(options);\\n\\tthis.nextId += 1;\\n\\tthis.requests.push({id: id, request: request});\\n\\tthis.updateRequestTracker();\\n\\trequest.send(function(err) {\\n\\t\\tvar targetIndex = self.getRequestIndex(id);\\n\\t\\tif(targetIndex !== null) {\\n\\t\\t\\tself.requests.splice(targetIndex,1);\\n\\t\\t\\tself.updateRequestTracker();\\n\\t\\t}\\n\\t});\\n\\treturn id;\\n};\\n\\nHttpClient.prototype.cancelAllHttpRequests = function() {\\n\\tvar self = this;\\n\\tif(this.requests.length > 0) {\\n\\t\\tfor(var t=this.requests.length - 1; t--; t>=0) {\\n\\t\\t\\tvar requestInfo = this.requests[t];\\n\\t\\t\\trequestInfo.request.cancel();\\n\\t\\t}\\n\\t}\\n\\tthis.requests = [];\\n\\tthis.updateRequestTracker();\\n};\\n\\nHttpClient.prototype.cancelHttpRequest = function(targetId) {\\n\\tvar targetIndex = this.getRequestIndex(targetId);\\n\\tif(targetIndex !== null) {\\n\\t\\tthis.requests[targetIndex].request.cancel();\\n\\t\\tthis.requests.splice(targetIndex,1);\\n\\t\\tthis.updateRequestTracker();\\n\\t}\\n};\\n\\n/*\\nInitiate an HTTP request. Options:\\nwiki: wiki to be used for executing action strings\\nurl: URL for request\\nmethod: method eg GET, POST\\nbody: text of request body\\nbinary: set to \\\"yes\\\" to force binary processing of response payload\\noncompletion: action string to be invoked on completion\\nonprogress: action string to be invoked on progress updates\\nbindStatus: optional title of tiddler to which status (\\\"pending\\\", \\\"complete\\\", \\\"error\\\") should be written\\nbindProgress: optional title of tiddler to which the progress of the request (0 to 100) should be bound\\nvariables: hashmap of variable name to string value passed to action strings\\nheaders: hashmap of header name to header value to be sent with the request\\npasswordHeaders: hashmap of header name to password store name to be sent with the request\\nqueryStrings: hashmap of query string parameter name to parameter value to be sent with the request\\npasswordQueryStrings: hashmap of query string parameter name to password store name to be sent with the request\\nbasicAuthUsername: plain username for basic authentication\\nbasicAuthUsernameFromStore: name of password store entry containing username\\nbasicAuthPassword: plain password for basic authentication\\nbasicAuthPasswordFromStore: name of password store entry containing password\\nbearerAuthToken: plain text token for bearer authentication\\nbearerAuthTokenFromStore: name of password store entry contain bear authorization token\\n*/\\nfunction HttpClientRequest(options) {\\n\\tvar self = this;\\n\\tconsole.log(\\\"Initiating an HTTP request\\\",options)\\n\\tthis.wiki = options.wiki;\\n\\tthis.completionActions = options.oncompletion;\\n\\tthis.progressActions = options.onprogress;\\n\\tthis.bindStatus = options[\\\"bindStatus\\\"];\\n\\tthis.bindProgress = options[\\\"bindProgress\\\"];\\n\\tthis.method = options.method || \\\"GET\\\";\\n\\tthis.body = options.body || \\\"\\\";\\n\\tthis.binary = options.binary || \\\"\\\";\\n\\tthis.useDefaultHeaders = options.useDefaultHeaders !== \\\"false\\\" ? true : false,\\n\\tthis.variables = options.variables;\\n\\tvar url = options.url;\\n\\t$tw.utils.each(options.queryStrings,function(value,name) {\\n\\t\\turl = $tw.utils.setQueryStringParameter(url,name,value);\\n\\t});\\n\\t$tw.utils.each(options.passwordQueryStrings,function(value,name) {\\n\\t\\turl = $tw.utils.setQueryStringParameter(url,name,$tw.utils.getPassword(value) || \\\"\\\");\\n\\t});\\n\\tthis.url = url;\\n\\tthis.requestHeaders = {};\\n\\t$tw.utils.each(options.headers,function(value,name) {\\n\\t\\tself.requestHeaders[name] = value;\\n\\t});\\n\\t$tw.utils.each(options.passwordHeaders,function(value,name) {\\n\\t\\tself.requestHeaders[name] = $tw.utils.getPassword(value) || \\\"\\\";\\n\\t});\\n\\tthis.basicAuthUsername = options.basicAuthUsername || (options.basicAuthUsernameFromStore && $tw.utils.getPassword(options.basicAuthUsernameFromStore)) || \\\"\\\";\\n\\tthis.basicAuthPassword = options.basicAuthPassword || (options.basicAuthPasswordFromStore && $tw.utils.getPassword(options.basicAuthPasswordFromStore)) || \\\"\\\";\\n\\tthis.bearerAuthToken = options.bearerAuthToken || (options.bearerAuthTokenFromStore && $tw.utils.getPassword(options.bearerAuthTokenFromStore)) || \\\"\\\";\\n\\tif(this.basicAuthUsername && this.basicAuthPassword) {\\n\\t\\tthis.requestHeaders.Authorization = \\\"Basic \\\" + $tw.utils.base64Encode(this.basicAuthUsername + \\\":\\\" + this.basicAuthPassword);\\n\\t} else if(this.bearerAuthToken) {\\n\\t\\tthis.requestHeaders.Authorization = \\\"Bearer \\\" + this.bearerAuthToken;\\n\\t}\\n}\\n\\nHttpClientRequest.prototype.send = function(callback) {\\n\\tvar self = this,\\n\\t\\tsetBinding = function(title,text) {\\n\\t\\t\\tif(title) {\\n\\t\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler({title: title, text: text}));\\n\\t\\t\\t}\\n\\t\\t};\\n\\tif(this.url) {\\n\\t\\tsetBinding(this.bindStatus,\\\"pending\\\");\\n\\t\\tsetBinding(this.bindProgress,\\\"0\\\");\\n\\t\\t// Set the request tracker tiddler\\n\\t\\tvar requestTrackerTitle = this.wiki.generateNewTitle(\\\"$:/temp/HttpRequest\\\");\\n\\t\\tthis.wiki.addTiddler({\\n\\t\\t\\ttitle: requestTrackerTitle,\\n\\t\\t\\ttags: \\\"$:/tags/HttpRequest\\\",\\n\\t\\t\\ttext: JSON.stringify({\\n\\t\\t\\t\\turl: this.url,\\n\\t\\t\\t\\ttype: this.method,\\n\\t\\t\\t\\tstatus: \\\"inprogress\\\",\\n\\t\\t\\t\\theaders: this.requestHeaders,\\n\\t\\t\\t\\tdata: this.body\\n\\t\\t\\t})\\n\\t\\t});\\n\\t\\tthis.xhr = $tw.utils.httpRequest({\\n\\t\\t\\turl: this.url,\\n\\t\\t\\ttype: this.method,\\n\\t\\t\\tuseDefaultHeaders: this.useDefaultHeaders,\\n\\t\\t\\theaders: this.requestHeaders,\\n\\t\\t\\tdata: this.body,\\n\\t\\t\\treturnProp: this.binary === \\\"\\\" ? \\\"responseText\\\" : \\\"response\\\",\\n\\t\\t\\tresponseType: this.binary === \\\"\\\" ? \\\"text\\\" : \\\"arraybuffer\\\",\\n\\t\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\t\\tvar hasSucceeded = xhr.status >= 200 && xhr.status < 300,\\n\\t\\t\\t\\t\\tcompletionCode = hasSucceeded ? \\\"complete\\\" : \\\"error\\\",\\n\\t\\t\\t\\t\\theaders = {};\\n\\t\\t\\t\\t$tw.utils.each(xhr.getAllResponseHeaders().split(\\\"\\\\r\\\\n\\\"),function(line) {\\n\\t\\t\\t\\t\\tvar pos = line.indexOf(\\\":\\\");\\n\\t\\t\\t\\t\\tif(pos !== -1) {\\n\\t\\t\\t\\t\\t\\theaders[line.substr(0,pos)] = line.substr(pos + 1).trim();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tsetBinding(self.bindStatus,completionCode);\\n\\t\\t\\t\\tsetBinding(self.bindProgress,\\\"100\\\");\\n\\t\\t\\t\\tvar resultVariables = {\\n\\t\\t\\t\\t\\tstatus: xhr.status.toString(),\\n\\t\\t\\t\\t\\tstatusText: xhr.statusText,\\n\\t\\t\\t\\t\\terror: (err || \\\"\\\").toString(),\\n\\t\\t\\t\\t\\tdata: (data || \\\"\\\").toString(),\\n\\t\\t\\t\\t\\theaders: JSON.stringify(headers)\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\t/* Convert data from binary to base64 */\\n\\t\\t\\t\\tif (xhr.responseType === \\\"arraybuffer\\\") {\\n\\t\\t\\t\\t\\tvar binary = \\\"\\\",\\n\\t\\t\\t\\t\\t\\tbytes = new Uint8Array(data),\\n\\t\\t\\t\\t\\t\\tlen = bytes.byteLength;\\n\\t\\t\\t\\t\\tfor (var i=0; i<len; i++) {\\n\\t\\t\\t\\t\\t\\tbinary += String.fromCharCode(bytes[i]);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tresultVariables.data = $tw.utils.base64Encode(binary,true);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler(self.wiki.getTiddler(requestTrackerTitle),{\\n\\t\\t\\t\\t\\tstatus: completionCode,\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tself.wiki.invokeActionString(self.completionActions,undefined,$tw.utils.extend({},self.variables,resultVariables),{parentWidget: $tw.rootWidget});\\n\\t\\t\\t\\tcallback(hasSucceeded ? null : xhr.statusText);\\n\\t\\t\\t\\t// console.log(\\\"Back!\\\",err,data,xhr);\\n\\t\\t\\t},\\n\\t\\t\\tprogress: function(lengthComputable,loaded,total) {\\n\\t\\t\\t\\tif(lengthComputable) {\\n\\t\\t\\t\\t\\tsetBinding(self.bindProgress,\\\"\\\" + Math.floor((loaded/total) * 100))\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.wiki.invokeActionString(self.progressActions,undefined,$tw.utils.extend({},self.variables,{\\n\\t\\t\\t\\t\\tlengthComputable: lengthComputable ? \\\"yes\\\" : \\\"no\\\",\\n\\t\\t\\t\\t\\tloaded: loaded,\\n\\t\\t\\t\\t\\ttotal: total\\n\\t\\t\\t\\t}),{parentWidget: $tw.rootWidget});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\nHttpClientRequest.prototype.cancel = function() {\\n\\tif(this.xhr) {\\n\\t\\tthis.xhr.abort();\\n\\t}\\n};\\n\\nexports.HttpClient = HttpClient;\\n\\n/*\\nMake an HTTP request. Options are:\\n\\turl: URL to retrieve\\n\\theaders: hashmap of headers to send\\n\\ttype: GET, PUT, POST etc\\n\\tcallback: function invoked with (err,data,xhr)\\n\\tprogress: optional function invoked with (lengthComputable,loaded,total)\\n\\treturnProp: string name of the property to return as first argument of callback\\n\\tresponseType: \\\"text\\\" or \\\"arraybuffer\\\"\\n*/\\nexports.httpRequest = function(options) {\\n\\tvar type = options.type || \\\"GET\\\",\\n\\t\\turl = options.url,\\n\\t\\tuseDefaultHeaders = options.useDefaultHeaders !== false ? true : false,\\n\\t\\theaders = options.headers || (useDefaultHeaders ? {accept: \\\"application/json\\\"} : {}),\\n\\t\\thasHeader = function(targetHeader) {\\n\\t\\t\\ttargetHeader = targetHeader.toLowerCase();\\n\\t\\t\\tvar result = false;\\n\\t\\t\\t$tw.utils.each(headers,function(header,headerTitle,object) {\\n\\t\\t\\t\\tif(headerTitle.toLowerCase() === targetHeader) {\\n\\t\\t\\t\\t\\tresult = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\treturn result;\\n\\t\\t},\\n\\t\\tgetHeader = function(targetHeader) {\\n\\t\\t\\treturn headers[targetHeader] || headers[targetHeader.toLowerCase()];\\n\\t\\t},\\n\\t\\tisSimpleRequest = function(type,headers) {\\n\\t\\t\\tif([\\\"GET\\\",\\\"HEAD\\\",\\\"POST\\\"].indexOf(type) === -1) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\tfor(var header in headers) {\\n\\t\\t\\t\\tif([\\\"accept\\\",\\\"accept-language\\\",\\\"content-language\\\",\\\"content-type\\\"].indexOf(header.toLowerCase()) === -1) {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(hasHeader(\\\"Content-Type\\\") && [\\\"application/x-www-form-urlencoded\\\",\\\"multipart/form-data\\\",\\\"text/plain\\\"].indexOf(getHeader[\\\"Content-Type\\\"]) === -1) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\treturn true;\\n\\t\\t},\\n\\t\\treturnProp = options.returnProp || \\\"responseText\\\",\\n\\t\\trequest = new XMLHttpRequest(),\\n\\t\\tdata = \\\"\\\",\\n\\t\\tf,results;\\n\\t// Massage the data hashmap into a string\\n\\tif(options.data) {\\n\\t\\tif(typeof options.data === \\\"string\\\") { // Already a string\\n\\t\\t\\tdata = options.data;\\n\\t\\t} else { // A hashmap of strings\\n\\t\\t\\tresults = [];\\n\\t\\t\\t$tw.utils.each(options.data,function(dataItem,dataItemTitle) {\\n\\t\\t\\t\\tresults.push(dataItemTitle + \\\"=\\\" + encodeURIComponent(dataItem));\\n\\t\\t\\t});\\n\\t\\t\\tif(type === \\\"GET\\\" || type === \\\"HEAD\\\") {\\n\\t\\t\\t\\turl += \\\"?\\\" + results.join(\\\"&\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tdata = results.join(\\\"&\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\trequest.responseType = options.responseType || \\\"text\\\";\\n\\t// Set up the state change handler\\n\\trequest.onreadystatechange = function() {\\n\\t\\tif(this.readyState === 4) {\\n\\t\\t\\tif(this.status >= 200 && this.status < 300) {\\n\\t\\t\\t\\t// Success!\\n\\t\\t\\t\\toptions.callback(null,this[returnProp],this);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t// Something went wrong\\n\\t\\toptions.callback($tw.language.getString(\\\"Error/XMLHttpRequest\\\") + \\\": \\\" + this.status,this[returnProp],this);\\n\\t\\t}\\n\\t};\\n\\t// Handle progress\\n\\tif(options.progress) {\\n\\t\\trequest.onprogress = function(event) {\\n\\t\\t\\tconsole.log(\\\"Progress event\\\",event)\\n\\t\\t\\toptions.progress(event.lengthComputable,event.loaded,event.total);\\n\\t\\t};\\n\\t}\\n\\t// Make the request\\n\\trequest.open(type,url,true);\\n\\t// Headers\\n\\tif(headers) {\\n\\t\\t$tw.utils.each(headers,function(header,headerTitle,object) {\\n\\t\\t\\trequest.setRequestHeader(headerTitle,header);\\n\\t\\t});\\n\\t}\\n\\tif(data && !hasHeader(\\\"Content-Type\\\") && useDefaultHeaders) {\\n\\t\\trequest.setRequestHeader(\\\"Content-Type\\\",\\\"application/x-www-form-urlencoded; charset=UTF-8\\\");\\n\\t}\\n\\tif(!hasHeader(\\\"X-Requested-With\\\") && !isSimpleRequest(type,headers) && useDefaultHeaders) {\\n\\t\\trequest.setRequestHeader(\\\"X-Requested-With\\\",\\\"TiddlyWiki\\\");\\n\\t}\\n\\t// Send data\\n\\ttry {\\n\\t\\trequest.send(data);\\n\\t} catch(e) {\\n\\t\\toptions.callback(e,null,this);\\n\\t}\\n\\treturn request;\\n};\\n\\nexports.setQueryStringParameter = function(url,paramName,paramValue) {\\n\\tvar URL = $tw.browser ? window.URL : require(\\\"url\\\").URL,\\n\\t\\tnewUrl;\\n\\ttry {\\n\\t\\tnewUrl = new URL(url);\\n\\t} catch(e) {\\n\\t}\\n\\tif(newUrl && paramName) {\\n\\t\\tnewUrl.searchParams.set(paramName,paramValue || \\\"\\\");\\n\\t\\treturn newUrl.toString();\\n\\t} else {\\n\\t\\treturn url;\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/keyboard.js\":{\"title\":\"$:/core/modules/utils/dom/keyboard.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/keyboard.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nKeyboard utilities; now deprecated. Instead, use $tw.keyboardManager\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n[\\\"parseKeyDescriptor\\\",\\\"checkKeyDescriptor\\\"].forEach(function(method) {\\n\\texports[method] = function() {\\n\\t\\tif($tw.keyboardManager) {\\n\\t\\t\\treturn $tw.keyboardManager[method].apply($tw.keyboardManager,Array.prototype.slice.call(arguments,0));\\n\\t\\t} else {\\n\\t\\t\\treturn null\\n\\t\\t}\\n\\t};\\n});\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/modal.js\":{\"title\":\"$:/core/modules/utils/dom/modal.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/modal.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nModal message mechanism\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\nvar navigator = require(\\\"$:/core/modules/widgets/navigator.js\\\");\\n\\nvar Modal = function(wiki) {\\n\\tthis.wiki = wiki;\\n\\tthis.modalCount = 0;\\n};\\n\\n/*\\nDisplay a modal dialogue\\n\\ttitle: Title of tiddler to display\\n\\toptions: see below\\nOptions include:\\n\\tdownloadLink: Text of a big download link to include\\n\\tevent: widget event\\n\\tvariables: from event.paramObject\\n*/\\nModal.prototype.display = function(title,options) {\\n\\toptions = options || {};\\n\\tthis.srcDocument = options.variables && (options.variables.rootwindow === \\\"true\\\" ||\\n\\t\\t\\t\\toptions.variables.rootwindow === \\\"yes\\\") ? document :\\n\\t\\t\\t\\t(options.event && options.event.event && options.event.event.target ? options.event.event.target.ownerDocument : document);\\n\\tthis.srcWindow = this.srcDocument.defaultView;\\n\\tvar self = this,\\n\\t\\trefreshHandler,\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\ttiddler = this.wiki.getTiddler(title);\\n\\t// Don't do anything if the tiddler doesn't exist\\n\\tif(!tiddler) {\\n\\t\\treturn;\\n\\t}\\n\\t// Create the variables\\n\\tvar variables = $tw.utils.extend({\\n\\t\\t\\tcurrentTiddler: title,\\n\\t\\t\\t\\\"tv-story-list\\\": (options.event && options.event.widget ? options.event.widget.getVariable(\\\"tv-story-list\\\") : \\\"\\\"),\\n\\t\\t\\t\\\"tv-history-list\\\": (options.event && options.event.widget ? options.event.widget.getVariable(\\\"tv-history-list\\\") : \\\"\\\")\\n\\t\\t},options.variables);\\n\\n\\t// Create the wrapper divs\\n\\tvar wrapper = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalBackdrop = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalWrapper = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalHeader = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\theaderTitle = this.srcDocument.createElement(\\\"h3\\\"),\\n\\t\\tmodalBody = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalLink = this.srcDocument.createElement(\\\"a\\\"),\\n\\t\\tmodalFooter = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalFooterHelp = this.srcDocument.createElement(\\\"span\\\"),\\n\\t\\tmodalFooterButtons = this.srcDocument.createElement(\\\"span\\\");\\n\\t// Up the modal count and adjust the body class\\n\\tthis.modalCount++;\\n\\tthis.adjustPageClass();\\n\\t// Add classes\\n\\t$tw.utils.addClass(wrapper,\\\"tc-modal-wrapper\\\");\\n\\tif(tiddler.fields && tiddler.fields.class) {\\n\\t\\t$tw.utils.addClass(wrapper,tiddler.fields.class);\\n\\t}\\n\\t$tw.utils.addClass(modalBackdrop,\\\"tc-modal-backdrop\\\");\\n\\t$tw.utils.addClass(modalWrapper,\\\"tc-modal\\\");\\n\\t$tw.utils.addClass(modalHeader,\\\"tc-modal-header\\\");\\n\\t$tw.utils.addClass(modalBody,\\\"tc-modal-body\\\");\\n\\t$tw.utils.addClass(modalFooter,\\\"tc-modal-footer\\\");\\n\\t// Join them together\\n\\twrapper.appendChild(modalBackdrop);\\n\\twrapper.appendChild(modalWrapper);\\n\\tmodalHeader.appendChild(headerTitle);\\n\\tmodalWrapper.appendChild(modalHeader);\\n\\tmodalWrapper.appendChild(modalBody);\\n\\tmodalFooter.appendChild(modalFooterHelp);\\n\\tmodalFooter.appendChild(modalFooterButtons);\\n\\tmodalWrapper.appendChild(modalFooter);\\n\\tvar navigatorTree = {\\n\\t\\t\\\"type\\\": \\\"navigator\\\",\\n\\t\\t\\\"attributes\\\": {\\n\\t\\t\\t\\\"story\\\": {\\n\\t\\t\\t\\t\\\"name\\\": \\\"story\\\",\\n\\t\\t\\t\\t\\\"type\\\": \\\"string\\\",\\n\\t\\t\\t\\t\\\"value\\\": variables[\\\"tv-story-list\\\"]\\n\\t\\t\\t},\\n\\t\\t\\t\\\"history\\\": {\\n\\t\\t\\t\\t\\\"name\\\": \\\"history\\\",\\n\\t\\t\\t\\t\\\"type\\\": \\\"string\\\",\\n\\t\\t\\t\\t\\\"value\\\": variables[\\\"tv-history-list\\\"]\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\\"tag\\\": \\\"$navigator\\\",\\n\\t\\t\\\"isBlock\\\": true,\\n\\t\\t\\\"children\\\": []\\n\\t};\\n\\tvar navigatorWidgetNode = new navigator.navigator(navigatorTree, {\\n\\t\\twiki: this.wiki,\\n\\t\\tdocument : this.srcDocument,\\n\\t\\tparentWidget: $tw.rootWidget\\n\\t});\\n\\tnavigatorWidgetNode.render(modalBody,null);\\n\\n\\t// Render the title of the message\\n\\tvar headerWidgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tfield: \\\"subtitle\\\",\\n\\t\\tmode: \\\"inline\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttext: {\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: title\\n\\t\\t}}}],\\n\\t\\tparentWidget: navigatorWidgetNode,\\n\\t\\tdocument: this.srcDocument,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true\\n\\t});\\n\\theaderWidgetNode.render(headerTitle,null);\\n\\t// Render the body of the message\\n\\tvar bodyWidgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tparentWidget: navigatorWidgetNode,\\n\\t\\tdocument: this.srcDocument,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true\\n\\t});\\n\\n\\tbodyWidgetNode.render(modalBody,null);\\n\\t// Setup the link if present\\n\\tif(options.downloadLink) {\\n\\t\\tmodalLink.href = options.downloadLink;\\n\\t\\tmodalLink.appendChild(this.srcDocument.createTextNode(\\\"Right-click to save changes\\\"));\\n\\t\\tmodalBody.appendChild(modalLink);\\n\\t}\\n\\t// Render the footer of the message\\n\\tif(tiddler.fields && tiddler.fields.help) {\\n\\t\\tvar link = this.srcDocument.createElement(\\\"a\\\");\\n\\t\\tlink.setAttribute(\\\"href\\\",tiddler.fields.help);\\n\\t\\tlink.setAttribute(\\\"target\\\",\\\"_blank\\\");\\n\\t\\tlink.setAttribute(\\\"rel\\\",\\\"noopener noreferrer\\\");\\n\\t\\tlink.setAttribute(\\\"class\\\",\\\"tc-tiddlylink-external\\\");\\n\\t\\tlink.appendChild(this.srcDocument.createTextNode(\\\"Help\\\"));\\n\\t\\tmodalFooterHelp.appendChild(link);\\n\\t\\tmodalFooterHelp.style.float = \\\"left\\\";\\n\\t}\\n\\tvar footerWidgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tfield: \\\"footer\\\",\\n\\t\\tmode: \\\"inline\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"button\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tmessage: {\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: \\\"tm-close-tiddler\\\"\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\ttext: {\\n\\t\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\t\\tvalue: $tw.language.getString(\\\"Buttons/Close/Caption\\\")\\n\\t\\t\\t}}}\\n\\t\\t]}],\\n\\t\\tparentWidget: navigatorWidgetNode,\\n\\t\\tdocument: this.srcDocument,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true\\n\\t});\\n\\tfooterWidgetNode.render(modalFooterButtons,null);\\n\\t// Set up the refresh handler\\n\\trefreshHandler = function(changes) {\\n\\t\\theaderWidgetNode.refresh(changes,modalHeader,null);\\n\\t\\tbodyWidgetNode.refresh(changes,modalBody,null);\\n\\t\\tfooterWidgetNode.refresh(changes,modalFooterButtons,null);\\n\\t};\\n\\tthis.wiki.addEventListener(\\\"change\\\",refreshHandler);\\n\\t// Add the close event handler\\n\\tvar closeHandler = function(event) {\\n\\t\\t// Remove our refresh handler\\n\\t\\tself.wiki.removeEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t// Decrease the modal count and adjust the body class\\n\\t\\tself.modalCount--;\\n\\t\\tself.adjustPageClass();\\n\\t\\t// Force layout and animate the modal message away\\n\\t\\t$tw.utils.forceLayout(modalBackdrop);\\n\\t\\t$tw.utils.forceLayout(modalWrapper);\\n\\t\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t\\t{opacity: \\\"0\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t\\t{transform: \\\"translateY(\\\" + self.srcWindow.innerHeight + \\\"px)\\\"}\\n\\t\\t]);\\n\\t\\t// Set up an event for the transition end\\n\\t\\tself.srcWindow.setTimeout(function() {\\n\\t\\t\\tif(wrapper.parentNode) {\\n\\t\\t\\t\\t// Remove the modal message from the DOM\\n\\t\\t\\t\\tself.srcDocument.body.removeChild(wrapper);\\n\\t\\t\\t}\\n\\t\\t},duration);\\n\\t\\t// Don't let anyone else handle the tm-close-tiddler message\\n\\t\\treturn false;\\n\\t};\\n\\theaderWidgetNode.addEventListener(\\\"tm-close-tiddler\\\",closeHandler,false);\\n\\tbodyWidgetNode.addEventListener(\\\"tm-close-tiddler\\\",closeHandler,false);\\n\\tfooterWidgetNode.addEventListener(\\\"tm-close-tiddler\\\",closeHandler,false);\\n\\t// Whether to close the modal dialog when the mask (area outside the modal) is clicked\\n\\tif(tiddler.fields && (tiddler.fields[\\\"mask-closable\\\"] === \\\"yes\\\" || tiddler.fields[\\\"mask-closable\\\"] === \\\"true\\\")) {\\n\\t\\tmodalBackdrop.addEventListener(\\\"click\\\",closeHandler,false);\\n\\t}\\n\\t// Set the initial styles for the message\\n\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t{opacity: \\\"0\\\"}\\n\\t]);\\n\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t{transformOrigin: \\\"0% 0%\\\"},\\n\\t\\t{transform: \\\"translateY(\\\" + (-this.srcWindow.innerHeight) + \\\"px)\\\"}\\n\\t]);\\n\\t// Put the message into the document\\n\\tthis.srcDocument.body.appendChild(wrapper);\\n\\t// Set up animation for the styles\\n\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t{transition: \\\"opacity \\\" + duration + \\\"ms ease-out\\\"}\\n\\t]);\\n\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out\\\"}\\n\\t]);\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(modalBackdrop);\\n\\t$tw.utils.forceLayout(modalWrapper);\\n\\t// Set final animated styles\\n\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t{opacity: \\\"0.7\\\"}\\n\\t]);\\n\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t{transform: \\\"translateY(0px)\\\"}\\n\\t]);\\n};\\n\\nModal.prototype.adjustPageClass = function() {\\n\\tvar windowContainer = $tw.pageContainer ? ($tw.pageContainer === this.srcDocument.body.firstChild ? $tw.pageContainer : this.srcDocument.body.firstChild) : null;\\n\\tif(windowContainer) {\\n\\t\\t$tw.utils.toggleClass(windowContainer,\\\"tc-modal-displayed\\\",this.modalCount > 0);\\n\\t}\\n\\t$tw.utils.toggleClass(this.srcDocument.body,\\\"tc-modal-prevent-scroll\\\",this.modalCount > 0);\\n};\\n\\nexports.Modal = Modal;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/notifier.js\":{\"title\":\"$:/core/modules/utils/dom/notifier.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/notifier.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nNotifier mechanism\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nvar Notifier = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\n/*\\nDisplay a notification\\n\\ttitle: Title of tiddler containing the notification text\\n\\toptions: see below\\nOptions include:\\n*/\\nNotifier.prototype.display = function(title,options) {\\n\\toptions = options || {};\\n\\t// Create the wrapper divs\\n\\tvar self = this,\\n\\t\\tnotification = document.createElement(\\\"div\\\"),\\n\\t\\ttiddler = this.wiki.getTiddler(title),\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\trefreshHandler;\\n\\t// Don't do anything if the tiddler doesn't exist\\n\\tif(!tiddler) {\\n\\t\\treturn;\\n\\t}\\n\\t// Add classes and roles\\n\\t$tw.utils.addClass(notification,\\\"tc-notification\\\");\\n\\tnotification.setAttribute(\\\"role\\\",\\\"alert\\\");\\n\\t// Create the variables\\n\\tvar variables = $tw.utils.extend({currentTiddler: title},options.variables);\\n\\t// Render the body of the notification\\n\\tvar widgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tparentWidget: $tw.rootWidget,\\n\\t\\tdocument: document,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true});\\n\\twidgetNode.render(notification,null);\\n\\trefreshHandler = function(changes) {\\n\\t\\twidgetNode.refresh(changes,notification,null);\\n\\t};\\n\\tthis.wiki.addEventListener(\\\"change\\\",refreshHandler);\\n\\t// Set the initial styles for the notification\\n\\t$tw.utils.setStyle(notification,[\\n\\t\\t{opacity: \\\"0\\\"},\\n\\t\\t{transformOrigin: \\\"0% 0%\\\"},\\n\\t\\t{transform: \\\"translateY(\\\" + (-window.innerHeight) + \\\"px)\\\"},\\n\\t\\t{transition: \\\"opacity \\\" + duration + \\\"ms ease-out, \\\" + $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out\\\"}\\n\\t]);\\n\\t// Add the notification to the DOM\\n\\tdocument.body.appendChild(notification);\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(notification);\\n\\t// Set final animated styles\\n\\t$tw.utils.setStyle(notification,[\\n\\t\\t{opacity: \\\"1.0\\\"},\\n\\t\\t{transform: \\\"translateY(0px)\\\"}\\n\\t]);\\n\\t// Set a timer to remove the notification\\n\\twindow.setTimeout(function() {\\n\\t\\t// Remove our change event handler\\n\\t\\tself.wiki.removeEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t// Force layout and animate the notification away\\n\\t\\t$tw.utils.forceLayout(notification);\\n\\t\\t$tw.utils.setStyle(notification,[\\n\\t\\t\\t{opacity: \\\"0.0\\\"},\\n\\t\\t\\t{transform: \\\"translateX(\\\" + (notification.offsetWidth) + \\\"px)\\\"}\\n\\t\\t]);\\n\\t\\t// Remove the modal message from the DOM once the transition ends\\n\\t\\tsetTimeout(function() {\\n\\t\\t\\tif(notification.parentNode) {\\n\\t\\t\\t\\tdocument.body.removeChild(notification);\\n\\t\\t\\t}\\n\\t\\t},duration);\\n\\t},$tw.config.preferences.notificationDuration);\\n};\\n\\nexports.Notifier = Notifier;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/popup.js\":{\"title\":\"$:/core/modules/utils/dom/popup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/popup.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nModule that creates a $tw.utils.Popup object prototype that manages popups in the browser\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nCreates a Popup object with these options:\\n\\trootElement: the DOM element to which the popup zapper should be attached\\n*/\\nvar Popup = function(options) {\\n\\toptions = options || {};\\n\\tthis.rootElement = options.rootElement || document.documentElement;\\n\\tthis.popups = []; // Array of {title:,wiki:,domNode:} objects\\n};\\n\\n/*\\nGlobal regular expression for parsing the location of a popup.\\nThis is also used by the Reveal widget.\\n*/\\nexports.popupLocationRegExp = /^(@?)\\\\((-?[0-9\\\\.E]+),(-?[0-9\\\\.E]+),(-?[0-9\\\\.E]+),(-?[0-9\\\\.E]+)\\\\)$/\\n\\n/*\\nObjekt containing the available prefixes for coordinates build with the `buildCoordinates` function:\\n - csOffsetParent: Uses a coordinate system based on the offset parent (no prefix).\\n - csAbsolute: Use an absolute coordinate system (prefix \\\"@\\\").\\n*/\\nexports.coordinatePrefix = { csOffsetParent: \\\"\\\", csAbsolute: \\\"@\\\" }\\n\\n/*\\nTrigger a popup open or closed. Parameters are in a hashmap:\\n\\ttitle: title of the tiddler where the popup details are stored\\n\\tdomNode: dom node to which the popup will be positioned (one of domNode or domNodeRect is required)\\n\\tdomNodeRect: rectangle to which the popup will be positioned\\n\\twiki: wiki\\n\\tforce: if specified, forces the popup state to true or false (instead of toggling it)\\n\\tfloating: if true, skips registering the popup, meaning that it will need manually clearing\\n*/\\nPopup.prototype.triggerPopup = function(options) {\\n\\t// Check if this popup is already active\\n\\tvar index = this.findPopup(options.title);\\n\\t// Compute the new state\\n\\tvar state = index === -1;\\n\\tif(options.force !== undefined) {\\n\\t\\tstate = options.force;\\n\\t}\\n\\t// Show or cancel the popup according to the new state\\n\\tif(state) {\\n\\t\\tthis.show(options);\\n\\t} else {\\n\\t\\tthis.cancel(index);\\n\\t}\\n};\\n\\nPopup.prototype.findPopup = function(title) {\\n\\tvar index = -1;\\n\\tfor(var t=0; t<this.popups.length; t++) {\\n\\t\\tif(this.popups[t].title === title) {\\n\\t\\t\\tindex = t;\\n\\t\\t}\\n\\t}\\n\\treturn index;\\n};\\n\\nPopup.prototype.handleEvent = function(event) {\\n\\tif(event.type === \\\"click\\\") {\\n\\t\\t// Find out what was clicked on\\n\\t\\tvar info = this.popupInfo(event.target),\\n\\t\\t\\tcancelLevel = info.popupLevel - 1;\\n\\t\\t// Don't remove the level that was clicked on if we clicked on a handle\\n\\t\\tif(info.isHandle) {\\n\\t\\t\\tcancelLevel++;\\n\\t\\t}\\n\\t\\t// Cancel\\n\\t\\tthis.cancel(cancelLevel);\\n\\t}\\n};\\n\\n/*\\nFind the popup level containing a DOM node. Returns:\\npopupLevel: count of the number of nested popups containing the specified element\\nisHandle: true if the specified element is within a popup handle\\n*/\\nPopup.prototype.popupInfo = function(domNode) {\\n\\tvar isHandle = false,\\n\\t\\tpopupCount = 0,\\n\\t\\tnode = domNode;\\n\\t// First check ancestors to see if we're within a popup handle\\n\\twhile(node) {\\n\\t\\tif($tw.utils.hasClass(node,\\\"tc-popup-handle\\\")) {\\n\\t\\t\\tisHandle = true;\\n\\t\\t\\tpopupCount++;\\n\\t\\t}\\n\\t\\tif($tw.utils.hasClass(node,\\\"tc-popup-keep\\\")) {\\n\\t\\t\\tisHandle = true;\\n\\t\\t}\\n\\t\\tnode = node.parentNode;\\n\\t}\\n\\t// Then count the number of ancestor popups\\n\\tnode = domNode;\\n\\twhile(node) {\\n\\t\\tif($tw.utils.hasClass(node,\\\"tc-popup\\\")) {\\n\\t\\t\\tpopupCount++;\\n\\t\\t}\\n\\t\\tnode = node.parentNode;\\n\\t}\\n\\tvar info = {\\n\\t\\tpopupLevel: popupCount,\\n\\t\\tisHandle: isHandle\\n\\t};\\n\\treturn info;\\n};\\n\\n/*\\nDisplay a popup by adding it to the stack\\n*/\\nPopup.prototype.show = function(options) {\\n\\t// Find out what was clicked on\\n\\tvar info = this.popupInfo(options.domNode);\\n\\t// Cancel any higher level popups\\n\\tthis.cancel(info.popupLevel);\\n\\n\\t// Store the popup details if not already there\\n\\tif(!options.floating && this.findPopup(options.title) === -1) {\\n\\t\\tthis.popups.push({\\n\\t\\t\\ttitle: options.title,\\n\\t\\t\\twiki: options.wiki,\\n\\t\\t\\tdomNode: options.domNode,\\n\\t\\t\\tnoStateReference: options.noStateReference\\n\\t\\t});\\n\\t}\\n\\t// Set the state tiddler\\n\\tvar rect;\\n\\tif(options.domNodeRect) {\\n\\t\\trect = options.domNodeRect;\\n\\t} else {\\n\\t\\trect = {\\n\\t\\t\\tleft: options.domNode.offsetLeft,\\n\\t\\t\\ttop: options.domNode.offsetTop,\\n\\t\\t\\twidth: options.domNode.offsetWidth,\\n\\t\\t\\theight: options.domNode.offsetHeight\\n\\t\\t};\\n\\t}\\n\\tif(options.absolute && options.domNode) {\\n\\t\\t// Walk the offsetParent chain and add the position of the offsetParents to make\\n\\t\\t// the position absolute to the root node of the page.\\n\\t\\tvar currentNode = options.domNode.offsetParent;\\n\\t\\twhile(currentNode) {\\n\\t\\t\\trect.left += currentNode.offsetLeft;\\n\\t\\t\\trect.top += currentNode.offsetTop;\\n\\t\\t\\tcurrentNode = currentNode.offsetParent;\\n\\t\\t}\\n\\t}\\n\\tvar popupRect = exports.buildCoordinates(options.absolute?exports.coordinatePrefix.csAbsolute:exports.coordinatePrefix.csOffsetParent,rect);\\n\\tif(options.noStateReference) {\\n\\t\\toptions.wiki.setText(options.title,\\\"text\\\",undefined,popupRect);\\n\\t} else {\\n\\t\\toptions.wiki.setTextReference(options.title,popupRect);\\n\\t}\\n\\t// Add the click handler if we have any popups\\n\\tif(this.popups.length > 0) {\\n\\t\\tthis.rootElement.addEventListener(\\\"click\\\",this,true);\\n\\t}\\n};\\n\\n/*\\nCancel all popups at or above a specified level or DOM node\\nlevel: popup level to cancel (0 cancels all popups)\\n*/\\nPopup.prototype.cancel = function(level) {\\n\\tvar numPopups = this.popups.length;\\n\\tlevel = Math.max(0,Math.min(level,numPopups));\\n\\tfor(var t=level; t<numPopups; t++) {\\n\\t\\tvar popup = this.popups.pop();\\n\\t\\tif(popup.title) {\\n\\t\\t\\tif(popup.noStateReference) {\\n\\t\\t\\t\\tpopup.wiki.deleteTiddler(popup.title);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tpopup.wiki.deleteTiddler($tw.utils.parseTextReference(popup.title).title);\\n \\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif(this.popups.length === 0) {\\n\\t\\tthis.rootElement.removeEventListener(\\\"click\\\",this,false);\\n\\t}\\n};\\n\\n/*\\nReturns true if the specified title and text identifies an active popup.\\nThis function is safe to call, even if the popup class was not initialized.\\n*/\\nexports.readPopupState = function(text) {\\n\\treturn exports.popupLocationRegExp.test(text);\\n};\\n\\n/*\\nParses a coordinate string in the format `(x,y,w,h)` or `@(x,y,z,h)` and returns\\nan object containing the position, width and height. The absolute-Mark is boolean\\nvalue that indicates the coordinate system of the coordinates. If they start with\\nan `@`, `absolute` is set to true and the coordinates are relative to the root\\nelement. If the initial `@` is missing, they are relative to the offset parent\\nelement and `absoute` is false.\\nThis function is safe to call, even if the popup class was not initialized.\\n*/\\nexports.parseCoordinates = function(coordinates) {\\n\\tvar match = exports.popupLocationRegExp.exec(coordinates);\\n\\tif(match) {\\n\\t\\treturn {\\n\\t\\t\\tabsolute: (match[1] === \\\"@\\\"),\\n\\t\\t\\tleft: parseFloat(match[2]),\\n\\t\\t\\ttop: parseFloat(match[3]),\\n\\t\\t\\twidth: parseFloat(match[4]),\\n\\t\\t\\theight: parseFloat(match[5])\\n\\t\\t};\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n}\\n\\n/*\\nBuilds a coordinate string from a coordinate system identifier and an object\\ncontaining the left, top, width and height values.\\nUse constants defined in coordinatePrefix to specify a coordinate system.\\nIf one of the parameters is invalid for building a coordinate string `(0,0,0,0)`\\nwill be returned.\\nThis function is safe to call, even if the popup class was not initialized.\\n*/\\nexports.buildCoordinates = function(prefix,position) {\\n\\tvar coord = prefix + \\\"(\\\" + position.left + \\\",\\\" + position.top + \\\",\\\" + position.width + \\\",\\\" + position.height + \\\")\\\";\\n\\tif (exports.popupLocationRegExp.test(coord)) {\\n\\t\\treturn coord;\\n\\t} else {\\n\\t\\treturn \\\"(0,0,0,0)\\\";\\n\\t}\\n}\\n\\nexports.Popup = Popup;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/scroller.js\":{\"title\":\"$:/core/modules/utils/dom/scroller.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/scroller.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nModule that creates a $tw.utils.Scroller object prototype that manages scrolling in the browser\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nEvent handler for when the `tm-scroll` event hits the document body\\n*/\\nvar PageScroller = function() {\\n\\tthis.idRequestFrame = null;\\n\\tthis.requestAnimationFrame = window.requestAnimationFrame ||\\n\\t\\twindow.webkitRequestAnimationFrame ||\\n\\t\\twindow.mozRequestAnimationFrame ||\\n\\t\\tfunction(callback) {\\n\\t\\t\\treturn window.setTimeout(callback, 1000/60);\\n\\t\\t};\\n\\tthis.cancelAnimationFrame = window.cancelAnimationFrame ||\\n\\t\\twindow.webkitCancelAnimationFrame ||\\n\\t\\twindow.webkitCancelRequestAnimationFrame ||\\n\\t\\twindow.mozCancelAnimationFrame ||\\n\\t\\twindow.mozCancelRequestAnimationFrame ||\\n\\t\\tfunction(id) {\\n\\t\\t\\twindow.clearTimeout(id);\\n\\t\\t};\\n};\\n\\nPageScroller.prototype.isScrolling = function() {\\n\\treturn this.idRequestFrame !== null;\\n}\\n\\nPageScroller.prototype.cancelScroll = function(srcWindow) {\\n\\tif(this.idRequestFrame) {\\n\\t\\tthis.cancelAnimationFrame.call(srcWindow,this.idRequestFrame);\\n\\t\\tthis.idRequestFrame = null;\\n\\t}\\n};\\n\\n/*\\nHandle an event\\n*/\\nPageScroller.prototype.handleEvent = function(event) {\\n\\tif(event.type === \\\"tm-scroll\\\") {\\n\\t\\tvar options = {};\\n\\t\\tif($tw.utils.hop(event.paramObject,\\\"animationDuration\\\")) {\\n\\t\\t\\toptions.animationDuration = event.paramObject.animationDuration;\\n\\t\\t}\\n\\t\\tif(event.paramObject && event.paramObject.selector) {\\n\\t\\t\\tthis.scrollSelectorIntoView(null,event.paramObject.selector,null,options);\\n\\t\\t} else {\\n\\t\\t\\tthis.scrollIntoView(event.target,null,options);\\n\\t\\t}\\n\\t\\treturn false; // Event was handled\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nHandle a scroll event hitting the page document\\n*/\\nPageScroller.prototype.scrollIntoView = function(element,callback,options) {\\n\\tvar self = this,\\n\\t\\tduration = $tw.utils.hop(options,\\\"animationDuration\\\") ? parseInt(options.animationDuration) : $tw.utils.getAnimationDuration(),\\n\\t\\tsrcWindow = element ? element.ownerDocument.defaultView : window;\\n\\t// Now get ready to scroll the body\\n\\tthis.cancelScroll(srcWindow);\\n\\tthis.startTime = Date.now();\\n\\t// Get the height of any position:fixed toolbars\\n\\tvar toolbar = srcWindow.document.querySelector(\\\".tc-adjust-top-of-scroll\\\"),\\n\\t\\toffset = 0;\\n\\tif(toolbar) {\\n\\t\\toffset = toolbar.offsetHeight;\\n\\t}\\n\\t// Get the client bounds of the element and adjust by the scroll position\\n\\tvar getBounds = function() {\\n\\t\\t\\tvar clientBounds = typeof callback === 'function' ? callback() : element.getBoundingClientRect(),\\n\\t\\t\\t\\tscrollPosition = $tw.utils.getScrollPosition(srcWindow);\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tleft: clientBounds.left + scrollPosition.x,\\n\\t\\t\\t\\ttop: clientBounds.top + scrollPosition.y - offset,\\n\\t\\t\\t\\twidth: clientBounds.width,\\n\\t\\t\\t\\theight: clientBounds.height\\n\\t\\t\\t};\\n\\t\\t},\\n\\t\\t// We'll consider the horizontal and vertical scroll directions separately via this function\\n\\t\\t// targetPos/targetSize - position and size of the target element\\n\\t\\t// currentPos/currentSize - position and size of the current scroll viewport\\n\\t\\t// returns: new position of the scroll viewport\\n\\t\\tgetEndPos = function(targetPos,targetSize,currentPos,currentSize) {\\n\\t\\t\\tvar newPos = targetPos;\\n\\t\\t\\t// If we are scrolling within 50 pixels of the top/left then snap to zero\\n\\t\\t\\tif(newPos < 50) {\\n\\t\\t\\t\\tnewPos = 0;\\n\\t\\t\\t}\\n\\t\\t\\treturn newPos;\\n\\t\\t},\\n\\t\\tdrawFrame = function drawFrame() {\\n\\t\\t\\tvar t;\\n\\t\\t\\tif(duration <= 0) {\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tt = ((Date.now()) - self.startTime) / duration;\\n\\t\\t\\t}\\n\\t\\t\\tif(t >= 1) {\\n\\t\\t\\t\\tself.cancelScroll(srcWindow);\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t}\\n\\t\\t\\tt = $tw.utils.slowInSlowOut(t);\\n\\t\\t\\tvar scrollPosition = $tw.utils.getScrollPosition(srcWindow),\\n\\t\\t\\t\\tbounds = getBounds(),\\n\\t\\t\\t\\tendX = getEndPos(bounds.left,bounds.width,scrollPosition.x,srcWindow.innerWidth),\\n\\t\\t\\t\\tendY = getEndPos(bounds.top,bounds.height,scrollPosition.y,srcWindow.innerHeight);\\n\\t\\t\\tsrcWindow.scrollTo(scrollPosition.x + (endX - scrollPosition.x) * t,scrollPosition.y + (endY - scrollPosition.y) * t);\\n\\t\\t\\tif(t < 1) {\\n\\t\\t\\t\\tself.idRequestFrame = self.requestAnimationFrame.call(srcWindow,drawFrame);\\n\\t\\t\\t}\\n\\t\\t};\\n\\tdrawFrame();\\n};\\n\\nPageScroller.prototype.scrollSelectorIntoView = function(baseElement,selector,callback,options) {\\n\\tbaseElement = baseElement || document;\\n\\tvar element = $tw.utils.querySelectorSafe(selector,baseElement);\\n\\tif(element) {\\n\\t\\tthis.scrollIntoView(element,callback,options);\\n\\t}\\n};\\n\\nexports.PageScroller = PageScroller;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/edition-info.js\":{\"title\":\"$:/core/modules/utils/edition-info.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/edition-info.js\\ntype: application/javascript\\nmodule-type: utils-node\\n\\nInformation about the available editions\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar fs = require(\\\"fs\\\"),\\n\\tpath = require(\\\"path\\\");\\n\\nvar editionInfo;\\n\\nexports.getEditionInfo = function() {\\n\\tif(!editionInfo) {\\n\\t\\t// Enumerate the edition paths\\n\\t\\tvar editionPaths = $tw.getLibraryItemSearchPaths($tw.config.editionsPath,$tw.config.editionsEnvVar);\\n\\t\\teditionInfo = {};\\n\\t\\tfor(var editionIndex=0; editionIndex<editionPaths.length; editionIndex++) {\\n\\t\\t\\tvar editionPath = editionPaths[editionIndex];\\n\\t\\t\\t// Enumerate the folders\\n\\t\\t\\tvar entries = fs.readdirSync(editionPath);\\n\\t\\t\\tfor(var entryIndex=0; entryIndex<entries.length; entryIndex++) {\\n\\t\\t\\t\\tvar entry = entries[entryIndex];\\n\\t\\t\\t\\t// Check if directories have a valid tiddlywiki.info\\n\\t\\t\\t\\t// Check if the entry is a hidden directory\\n\\t\\t\\t\\tif((entry.charAt(0) !== \\\".\\\") && !editionInfo[entry] && $tw.utils.isDirectory(path.resolve(editionPath,entry))) {\\n\\t\\t\\t\\t\\tvar file=path.resolve(editionPath,entry,\\\"tiddlywiki.info\\\");\\n\\t\\t\\t\\t\\tif(fs.existsSync(file)) {\\n\\t\\t\\t\\t\\t\\tvar info = $tw.utils.parseJSONSafe(fs.readFileSync(file,\\\"utf8\\\"),null);\\n\\t\\t\\t\\t\\t\\tif(info) {\\n\\t\\t\\t\\t\\t\\t\\teditionInfo[entry] = info;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn editionInfo;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils-node\"},\"$:/core/modules/utils/errors.js\":{\"title\":\"$:/core/modules/utils/errors.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/errors.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nCustom errors for TiddlyWiki.\\n\\n\\\\*/\\nfunction TranscludeRecursionError() {\\n\\tError.apply(this,arguments);\\n\\tthis.signatures = Object.create(null);\\n};\\n\\n/* Maximum permitted depth of the widget tree for recursion detection */\\nTranscludeRecursionError.MAX_WIDGET_TREE_DEPTH = 1000;\\n\\nTranscludeRecursionError.prototype = Object.create(Error);\\n\\nexports.TranscludeRecursionError = TranscludeRecursionError;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/escapecss.js\":{\"title\":\"$:/core/modules/utils/escapecss.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/escapecss.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nProvides CSS.escape() functionality.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// TODO -- resolve this construction\\nexports.escapeCSS = (function() {\\n\\t// use browser's native CSS.escape() function if available\\n\\tif ($tw.browser && window.CSS && window.CSS.escape) {\\n\\t\\treturn window.CSS.escape;\\n\\t}\\n\\n\\t// otherwise, a utility method is provided\\n\\t// see also https://drafts.csswg.org/cssom/#serialize-an-identifier\\n\\n\\t/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */\\n\\treturn function(value) {\\n\\t\\tif (arguments.length == 0) {\\n\\t\\t\\tthrow new TypeError('`CSS.escape` requires an argument.');\\n\\t\\t}\\n\\t\\tvar string = String(value);\\n\\t\\tvar length = string.length;\\n\\t\\tvar index = -1;\\n\\t\\tvar codeUnit;\\n\\t\\tvar result = '';\\n\\t\\tvar firstCodeUnit = string.charCodeAt(0);\\n\\t\\twhile (++index < length) {\\n\\t\\t\\tcodeUnit = string.charCodeAt(index);\\n\\t\\t\\t// Note: theres no need to special-case astral symbols, surrogate\\n\\t\\t\\t// pairs, or lone surrogates.\\n\\n\\t\\t\\t// If the character is NULL (U+0000), then the REPLACEMENT CHARACTER\\n\\t\\t\\t// (U+FFFD).\\n\\t\\t\\tif (codeUnit == 0x0000) {\\n\\t\\t\\t\\tresult += '\\\\uFFFD';\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (\\n\\t\\t\\t\\t// If the character is in the range [\\\\1-\\\\1F] (U+0001 to U+001F) or is\\n\\t\\t\\t\\t// U+007F, […]\\n\\t\\t\\t\\t(codeUnit >= 0x0001 && codeUnit <= 0x001F) || codeUnit == 0x007F ||\\n\\t\\t\\t\\t// If the character is the first character and is in the range [0-9]\\n\\t\\t\\t\\t// (U+0030 to U+0039), […]\\n\\t\\t\\t\\t(index == 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) ||\\n\\t\\t\\t\\t// If the character is the second character and is in the range [0-9]\\n\\t\\t\\t\\t// (U+0030 to U+0039) and the first character is a `-` (U+002D), […]\\n\\t\\t\\t\\t(\\n\\t\\t\\t\\t\\tindex == 1 &&\\n\\t\\t\\t\\t\\tcodeUnit >= 0x0030 && codeUnit <= 0x0039 &&\\n\\t\\t\\t\\t\\tfirstCodeUnit == 0x002D\\n\\t\\t\\t\\t)\\n\\t\\t\\t) {\\n\\t\\t\\t\\t// https://drafts.csswg.org/cssom/#escape-a-character-as-code-point\\n\\t\\t\\t\\tresult += '\\\\\\\\' + codeUnit.toString(16) + ' ';\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (\\n\\t\\t\\t\\t// If the character is the first character and is a `-` (U+002D), and\\n\\t\\t\\t\\t// there is no second character, […]\\n\\t\\t\\t\\tindex == 0 &&\\n\\t\\t\\t\\tlength == 1 &&\\n\\t\\t\\t\\tcodeUnit == 0x002D\\n\\t\\t\\t) {\\n\\t\\t\\t\\tresult += '\\\\\\\\' + string.charAt(index);\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// If the character is not handled by one of the above rules and is\\n\\t\\t\\t// greater than or equal to U+0080, is `-` (U+002D) or `_` (U+005F), or\\n\\t\\t\\t// is in one of the ranges [0-9] (U+0030 to U+0039), [A-Z] (U+0041 to\\n\\t\\t\\t// U+005A), or [a-z] (U+0061 to U+007A), […]\\n\\t\\t\\tif (\\n\\t\\t\\t\\tcodeUnit >= 0x0080 ||\\n\\t\\t\\t\\tcodeUnit == 0x002D ||\\n\\t\\t\\t\\tcodeUnit == 0x005F ||\\n\\t\\t\\t\\tcodeUnit >= 0x0030 && codeUnit <= 0x0039 ||\\n\\t\\t\\t\\tcodeUnit >= 0x0041 && codeUnit <= 0x005A ||\\n\\t\\t\\t\\tcodeUnit >= 0x0061 && codeUnit <= 0x007A\\n\\t\\t\\t) {\\n\\t\\t\\t\\t// the character itself\\n\\t\\t\\t\\tresult += string.charAt(index);\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Otherwise, the escaped character.\\n\\t\\t\\t// https://drafts.csswg.org/cssom/#escape-a-character\\n\\t\\t\\tresult += '\\\\\\\\' + string.charAt(index);\\n\\n\\t\\t}\\n\\t\\treturn result;\\n\\t};\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/fakedom.js\":{\"title\":\"$:/core/modules/utils/fakedom.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/fakedom.js\\ntype: application/javascript\\nmodule-type: global\\n\\nA barebones implementation of DOM interfaces needed by the rendering mechanism.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Sequence number used to enable us to track objects for testing\\nvar sequenceNumber = null;\\n\\nvar bumpSequenceNumber = function(object) {\\n\\tif(sequenceNumber !== null) {\\n\\t\\tobject.sequenceNumber = sequenceNumber++;\\n\\t}\\n};\\n\\nvar TW_Node = function (){\\n\\tthrow TypeError(\\\"Illegal constructor\\\");\\n};\\n\\nObject.defineProperty(TW_Node.prototype, 'ELEMENT_NODE', {\\n\\tget: function() {\\n\\t\\treturn 1;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Node.prototype, 'TEXT_NODE', {\\n\\tget: function() {\\n\\t\\treturn 3;\\n\\t}\\n});\\n\\nvar TW_TextNode = function(text) {\\n\\tbumpSequenceNumber(this);\\n\\tthis.textContent = text + \\\"\\\";\\n};\\n\\nObject.setPrototypeOf(TW_TextNode.prototype,TW_Node.prototype);\\n\\nObject.defineProperty(TW_TextNode.prototype, \\\"nodeType\\\", {\\n\\tget: function() {\\n\\t\\treturn this.TEXT_NODE;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_TextNode.prototype, \\\"formattedTextContent\\\", {\\n\\tget: function() {\\n\\t\\treturn this.textContent.replace(/(\\\\r?\\\\n)/g,\\\"\\\");\\n\\t}\\n});\\n\\nvar TW_Style = function(el) {\\n\\t// Define the internal style object\\n\\tvar styleObject = {\\n\\t\\t// Method to get the entire style object\\n\\t\\tget: function() {\\n\\t\\t\\treturn el._style;\\n\\t\\t},\\n\\t\\t// Method to set styles using a string (e.g. \\\"color:red; background-color:blue;\\\")\\n\\t\\tset: function(str) {\\n\\t\\t\\tvar self = this;\\n\\t\\t\\tstr = str || \\\"\\\";\\n\\t\\t\\t$tw.utils.each(str.split(\\\";\\\"),function(declaration) {\\n\\t\\t\\t\\tvar parts = declaration.split(\\\":\\\"),\\n\\t\\t\\t\\t\\tname = $tw.utils.trim(parts[0]),\\n\\t\\t\\t\\t\\tvalue = $tw.utils.trim(parts[1]);\\n\\t\\t\\t\\tif(name && value) {\\n\\t\\t\\t\\t\\tel._style[$tw.utils.convertStyleNameToPropertyName(name)] = value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t},\\n\\t\\t// Method to set a specific property without transforming the property name, such as a custom property\\n\\t\\tsetProperty: function(name, value) {\\n\\t\\t\\tel._style[name] = value;\\n\\t\\t}\\n\\t};\\n\\n\\t// Return a Proxy to handle direct access to individual style properties\\n\\treturn new Proxy(styleObject, {\\n\\t\\tget: function(target, property) {\\n\\t\\t\\t// If the property exists on styleObject, return it (get, set, setProperty methods)\\n\\t\\t\\tif (property in target) {\\n\\t\\t\\t\\treturn target[property];\\n\\t\\t\\t}\\n\\t\\t\\t// Otherwise, return the corresponding property from _style\\n\\t\\t\\treturn el._style[$tw.utils.convertStyleNameToPropertyName(property)] || \\\"\\\";\\n\\t\\t},\\n\\t\\tset: function(target, property, value) {\\n\\t\\t\\t// Set the property in _style\\n\\t\\t\\tel._style[$tw.utils.convertStyleNameToPropertyName(property)] = value;\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t});\\n};\\n\\nvar TW_Element = function(tag, namespace) {\\n\\tbumpSequenceNumber(this);\\n\\tthis.isTiddlyWikiFakeDom = true;\\n\\tthis.tag = tag;\\n\\tthis.attributes = {};\\n\\tthis.isRaw = false;\\n\\tthis.children = [];\\n\\tthis._style = {}; // Internal style object\\n\\tthis.style = new TW_Style(this); // Proxy for style management\\n\\tthis.namespaceURI = namespace || \\\"http://www.w3.org/1999/xhtml\\\";\\n};\\n\\n\\nObject.setPrototypeOf(TW_Element.prototype,TW_Node.prototype);\\n\\nObject.defineProperty(TW_Element.prototype, \\\"nodeType\\\", {\\n\\tget: function() {\\n\\t\\treturn this.ELEMENT_NODE;\\n\\t}\\n});\\n\\nTW_Element.prototype.getAttribute = function(name) {\\n\\tif(this.isRaw) {\\n\\t\\tthrow \\\"Cannot getAttribute on a raw TW_Element\\\";\\n\\t}\\n\\treturn this.attributes[name];\\n};\\n\\nTW_Element.prototype.setAttribute = function(name,value) {\\n\\tif(this.isRaw) {\\n\\t\\tthrow \\\"Cannot setAttribute on a raw TW_Element\\\";\\n\\t}\\n\\tif(name === \\\"style\\\") {\\n\\t\\tthis.style.set(value);\\n\\t} else {\\n\\t\\tthis.attributes[name] = value + \\\"\\\";\\n\\t}\\n};\\n\\nTW_Element.prototype.setAttributeNS = function(namespace,name,value) {\\n\\tthis.setAttribute(name,value);\\n};\\n\\nTW_Element.prototype.removeAttribute = function(name) {\\n\\tif(this.isRaw) {\\n\\t\\tthrow \\\"Cannot removeAttribute on a raw TW_Element\\\";\\n\\t}\\n\\tif($tw.utils.hop(this.attributes,name)) {\\n\\t\\tdelete this.attributes[name];\\n\\t}\\n};\\n\\nTW_Element.prototype.appendChild = function(node) {\\n\\tthis.children.push(node);\\n\\tnode.parentNode = this;\\n};\\n\\nTW_Element.prototype.insertBefore = function(node,nextSibling) {\\n\\tif(nextSibling) {\\n\\t\\tvar p = this.children.indexOf(nextSibling);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tthis.children.splice(p,0,node);\\n\\t\\t\\tnode.parentNode = this;\\n\\t\\t} else {\\n\\t\\t\\tthis.appendChild(node);\\n\\t\\t}\\n\\t} else {\\n\\t\\tthis.appendChild(node);\\n\\t}\\n};\\n\\nTW_Element.prototype.removeChild = function(node) {\\n\\tvar p = this.children.indexOf(node);\\n\\tif(p !== -1) {\\n\\t\\tthis.children.splice(p,1);\\n\\t}\\n};\\n\\nTW_Element.prototype.hasChildNodes = function() {\\n\\treturn !!this.children.length;\\n};\\n\\nObject.defineProperty(TW_Element.prototype, \\\"childNodes\\\", {\\n\\tget: function() {\\n\\t\\treturn this.children;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"firstChild\\\", {\\n\\tget: function() {\\n\\t\\treturn this.children[0];\\n\\t}\\n});\\n\\nTW_Element.prototype.addEventListener = function(type,listener,useCapture) {\\n\\t// Do nothing\\n};\\n\\nObject.defineProperty(TW_Element.prototype, \\\"tagName\\\", {\\n\\tget: function() {\\n\\t\\treturn this.tag || \\\"\\\";\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"className\\\", {\\n\\tget: function() {\\n\\t\\treturn this.attributes[\\\"class\\\"] || \\\"\\\";\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.attributes[\\\"class\\\"] = value + \\\"\\\";\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"value\\\", {\\n\\tget: function() {\\n\\t\\treturn this.attributes.value || \\\"\\\";\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.attributes.value = value + \\\"\\\";\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"outerHTML\\\", {\\n\\tget: function() {\\n\\t\\tvar output = [],attr,a,v;\\n\\t\\toutput.push(\\\"<\\\",this.tag);\\n\\t\\tif(this.attributes) {\\n\\t\\t\\tattr = [];\\n\\t\\t\\tfor(a in this.attributes) {\\n\\t\\t\\t\\tattr.push(a);\\n\\t\\t\\t}\\n\\t\\t\\tattr.sort();\\n\\t\\t\\tfor(a=0; a<attr.length; a++) {\\n\\t\\t\\t\\tv = this.attributes[attr[a]];\\n\\t\\t\\t\\tif(v !== undefined) {\\n\\t\\t\\t\\t\\toutput.push(\\\" \\\",attr[a],\\\"=\\\\\\\"\\\",$tw.utils.htmlEncode(v),\\\"\\\\\\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(this._style) {\\n\\t\\t\\tvar style = [];\\n\\t\\t\\tfor(var s in this._style) {\\n\\t\\t\\t\\tstyle.push($tw.utils.convertPropertyNameToStyleName(s) + \\\":\\\" + this._style[s] + \\\";\\\");\\n\\t\\t\\t}\\n\\t\\t\\tif(style.length > 0) {\\n\\t\\t\\t\\toutput.push(\\\" style=\\\\\\\"\\\",style.join(\\\"\\\"),\\\"\\\\\\\"\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\toutput.push(\\\">\\\");\\n\\t\\tif($tw.config.htmlVoidElements.indexOf(this.tag) === -1) {\\n\\t\\t\\toutput.push(this.innerHTML);\\n\\t\\t\\toutput.push(\\\"</\\\",this.tag,\\\">\\\");\\n\\t\\t}\\n\\t\\treturn output.join(\\\"\\\");\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"innerHTML\\\", {\\n\\tget: function() {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\treturn this.rawHTML;\\n\\t\\t} else {\\n\\t\\t\\tvar b = [];\\n\\t\\t\\t$tw.utils.each(this.children,function(node) {\\n\\t\\t\\t\\tif(node instanceof TW_Element) {\\n\\t\\t\\t\\t\\tb.push(node.outerHTML);\\n\\t\\t\\t\\t} else if(node instanceof TW_TextNode) {\\n\\t\\t\\t\\t\\tb.push($tw.utils.htmlTextEncode(node.textContent));\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\treturn b.join(\\\"\\\");\\n\\t\\t}\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.isRaw = true;\\n\\t\\tthis.rawHTML = value;\\n\\t\\tthis.rawTextContent = null;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"textInnerHTML\\\", {\\n\\tset: function(value) {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\tthis.rawTextContent = value;\\n\\t\\t} else {\\n\\t\\t\\tthrow \\\"Cannot set textInnerHTML of a non-raw TW_Element\\\";\\n\\t\\t}\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"textContent\\\", {\\n\\tget: function() {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\tif(this.rawTextContent === null) {\\n\\t\\t\\t\\treturn \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn this.rawTextContent;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar b = [];\\n\\t\\t\\t$tw.utils.each(this.children,function(node) {\\n\\t\\t\\t\\tb.push(node.textContent);\\n\\t\\t\\t});\\n\\t\\t\\treturn b.join(\\\"\\\");\\n\\t\\t}\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.children = [new TW_TextNode(value)];\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"formattedTextContent\\\", {\\n\\tget: function() {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\treturn \\\"\\\";\\n\\t\\t} else {\\n\\t\\t\\tvar b = [],\\n\\t\\t\\t\\tisBlock = $tw.config.htmlBlockElements.indexOf(this.tag) !== -1;\\n\\t\\t\\tif(isBlock) {\\n\\t\\t\\t\\tb.push(\\\"\\\\n\\\");\\n\\t\\t\\t}\\n\\t\\t\\tif(this.tag === \\\"li\\\") {\\n\\t\\t\\t\\tb.push(\\\"* \\\");\\n\\t\\t\\t}\\n\\t\\t\\t$tw.utils.each(this.children,function(node) {\\n\\t\\t\\t\\tb.push(node.formattedTextContent);\\n\\t\\t\\t});\\n\\t\\t\\tif(isBlock) {\\n\\t\\t\\t\\tb.push(\\\"\\\\n\\\");\\n\\t\\t\\t}\\n\\t\\t\\treturn b.join(\\\"\\\");\\n\\t\\t}\\n\\t}\\n});\\n\\nvar document = {\\n\\tsetSequenceNumber: function(value) {\\n\\t\\tsequenceNumber = value;\\n\\t},\\n\\tcreateElementNS: function(namespace,tag) {\\n\\t\\treturn new TW_Element(tag,namespace);\\n\\t},\\n\\tcreateElement: function(tag) {\\n\\t\\treturn new TW_Element(tag);\\n\\t},\\n\\tcreateTextNode: function(text) {\\n\\t\\treturn new TW_TextNode(text);\\n\\t},\\n\\tcompatMode: \\\"CSS1Compat\\\", // For KaTeX to know that we're not a browser in quirks mode\\n\\tisTiddlyWikiFakeDom: true\\n};\\n\\nexports.fakeDocument = document;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/utils/filesystem.js\":{\"title\":\"$:/core/modules/utils/filesystem.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/filesystem.js\\ntype: application/javascript\\nmodule-type: utils-node\\n\\nFile system utilities\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar fs = require(\\\"fs\\\"),\\n\\tpath = require(\\\"path\\\");\\n\\n/*\\nReturn the subdirectories of a path\\n*/\\nexports.getSubdirectories = function(dirPath) {\\n\\tif(!$tw.utils.isDirectory(dirPath)) {\\n\\t\\treturn null;\\n\\t}\\n\\tvar subdirs = [];\\n\\t$tw.utils.each(fs.readdirSync(dirPath),function(item) {\\n\\t\\tif($tw.utils.isDirectory(path.resolve(dirPath,item))) {\\n\\t\\t\\tsubdirs.push(item);\\n\\t\\t}\\n\\t});\\n\\treturn subdirs;\\n}\\n\\n/*\\nRecursively (and synchronously) copy a directory and all its content\\n*/\\nexports.copyDirectory = function(srcPath,dstPath) {\\n\\t// Remove any trailing path separators\\n\\tsrcPath = path.resolve($tw.utils.removeTrailingSeparator(srcPath));\\n\\tdstPath = path.resolve($tw.utils.removeTrailingSeparator(dstPath));\\n\\t// Check that neither director is within the other\\n\\tif(srcPath.substring(0,dstPath.length) === dstPath || dstPath.substring(0,srcPath.length) === srcPath) {\\n\\t\\treturn \\\"Cannot copy nested directories\\\";\\n\\t}\\n\\t// Create the destination directory\\n\\tvar err = $tw.utils.createDirectory(dstPath);\\n\\tif(err) {\\n\\t\\treturn err;\\n\\t}\\n\\t// Function to copy a folder full of files\\n\\tvar copy = function(srcPath,dstPath) {\\n\\t\\tvar srcStats = fs.lstatSync(srcPath),\\n\\t\\t\\tdstExists = fs.existsSync(dstPath);\\n\\t\\tif(srcStats.isFile()) {\\n\\t\\t\\t$tw.utils.copyFile(srcPath,dstPath);\\n\\t\\t} else if(srcStats.isDirectory()) {\\n\\t\\t\\tvar items = fs.readdirSync(srcPath);\\n\\t\\t\\tfor(var t=0; t<items.length; t++) {\\n\\t\\t\\t\\tvar item = items[t],\\n\\t\\t\\t\\t\\terr = copy(srcPath + path.sep + item,dstPath + path.sep + item);\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn err;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\tcopy(srcPath,dstPath);\\n\\treturn null;\\n};\\n\\n/*\\nCopy a file\\n*/\\nvar FILE_BUFFER_LENGTH = 64 * 1024,\\n\\tfileBuffer;\\n\\nexports.copyFile = function(srcPath,dstPath) {\\n\\t// Create buffer if required\\n\\tif(!fileBuffer) {\\n\\t\\tfileBuffer = Buffer.alloc(FILE_BUFFER_LENGTH);\\n\\t}\\n\\t// Create any directories in the destination\\n\\t$tw.utils.createDirectory(path.dirname(dstPath));\\n\\t// Copy the file\\n\\tvar srcFile = fs.openSync(srcPath,\\\"r\\\"),\\n\\t\\tdstFile = fs.openSync(dstPath,\\\"w\\\"),\\n\\t\\tbytesRead = 1,\\n\\t\\tpos = 0;\\n\\twhile (bytesRead > 0) {\\n\\t\\tbytesRead = fs.readSync(srcFile,fileBuffer,0,FILE_BUFFER_LENGTH,pos);\\n\\t\\tfs.writeSync(dstFile,fileBuffer,0,bytesRead);\\n\\t\\tpos += bytesRead;\\n\\t}\\n\\tfs.closeSync(srcFile);\\n\\tfs.closeSync(dstFile);\\n\\treturn null;\\n};\\n\\n/*\\nRemove trailing path separator\\n*/\\nexports.removeTrailingSeparator = function(dirPath) {\\n\\tvar len = dirPath.length;\\n\\tif(dirPath.charAt(len-1) === path.sep) {\\n\\t\\tdirPath = dirPath.substr(0,len-1);\\n\\t}\\n\\treturn dirPath;\\n};\\n\\n/*\\nRecursively create a directory\\n*/\\nexports.createDirectory = function(dirPath) {\\n\\tif(dirPath.substr(dirPath.length-1,1) !== path.sep) {\\n\\t\\tdirPath = dirPath + path.sep;\\n\\t}\\n\\tvar pos = 1;\\n\\tpos = dirPath.indexOf(path.sep,pos);\\n\\twhile(pos !== -1) {\\n\\t\\tvar subDirPath = dirPath.substr(0,pos);\\n\\t\\tif(!$tw.utils.isDirectory(subDirPath)) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tfs.mkdirSync(subDirPath);\\n\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\treturn \\\"Error creating directory '\\\" + subDirPath + \\\"'\\\";\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tpos = dirPath.indexOf(path.sep,pos + 1);\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRecursively create directories needed to contain a specified file\\n*/\\nexports.createFileDirectories = function(filePath) {\\n\\treturn $tw.utils.createDirectory(path.dirname(filePath));\\n};\\n\\n/*\\nRecursively delete a directory\\n*/\\nexports.deleteDirectory = function(dirPath) {\\n\\tif(fs.existsSync(dirPath)) {\\n\\t\\tvar entries = fs.readdirSync(dirPath);\\n\\t\\tfor(var entryIndex=0; entryIndex<entries.length; entryIndex++) {\\n\\t\\t\\tvar currPath = dirPath + path.sep + entries[entryIndex];\\n\\t\\t\\tif(fs.lstatSync(currPath).isDirectory()) {\\n\\t\\t\\t\\t$tw.utils.deleteDirectory(currPath);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tfs.unlinkSync(currPath);\\n\\t\\t\\t}\\n\\t\\t}\\n\\tfs.rmdirSync(dirPath);\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nCheck if a path identifies a directory\\n*/\\nexports.isDirectory = function(dirPath) {\\n\\treturn fs.existsSync(dirPath) && fs.statSync(dirPath).isDirectory();\\n};\\n\\n/*\\nCheck if a path identifies a directory that is empty\\n*/\\nexports.isDirectoryEmpty = function(dirPath) {\\n\\tif(!$tw.utils.isDirectory(dirPath)) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar files = fs.readdirSync(dirPath),\\n\\t\\tempty = true;\\n\\t$tw.utils.each(files,function(file,index) {\\n\\t\\tif(file.charAt(0) !== \\\".\\\") {\\n\\t\\t\\tempty = false;\\n\\t\\t}\\n\\t});\\n\\treturn empty;\\n};\\n\\n/*\\nRecursively delete a tree of empty directories\\n*/\\nexports.deleteEmptyDirs = function(dirpath,callback) {\\n\\tvar self = this;\\n\\tfs.readdir(dirpath,function(err,files) {\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\tif(files.length > 0) {\\n\\t\\t\\treturn callback(null);\\n\\t\\t}\\n\\t\\tfs.rmdir(dirpath,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tself.deleteEmptyDirs(path.dirname(dirpath),callback);\\n\\t\\t});\\n\\t});\\n};\\n\\n/*\\nCreate a fileInfo object for saving a tiddler:\\n\\tfilepath: the absolute path to the file containing the tiddler\\n\\ttype: the type of the tiddler file on disk (NOT the type of the tiddler)\\n\\thasMetaFile: true if the file also has a companion .meta file\\n\\tisEditableFile: true if the tiddler was loaded via non-standard options & marked editable\\nOptions include:\\n\\tdirectory: absolute path of root directory to which we are saving\\n\\tpathFilters: optional array of filters to be used to generate the base path\\n\\textFilters: optional array of filters to be used to generate the base path\\n\\twiki: optional wiki for evaluating the pathFilters,\\n\\tfileInfo: an existing fileInfo to check against\\n*/\\nexports.generateTiddlerFileInfo = function(tiddler,options) {\\n\\tvar fileInfo = {}, metaExt;\\n\\t// Propagate the isEditableFile flag\\n\\tif(options.fileInfo && !!options.fileInfo.isEditableFile) {\\n\\t\\tfileInfo.isEditableFile = true;\\n\\t\\tfileInfo.originalpath = options.fileInfo.originalpath;\\n\\t}\\n\\t// Check if the tiddler has any unsafe fields that can't be expressed in a .tid or .meta file: containing control characters, or leading/trailing whitespace\\n\\tvar hasUnsafeFields = false;\\n\\t$tw.utils.each(tiddler.getFieldStrings(),function(value,fieldName) {\\n\\t\\tif(fieldName !== \\\"text\\\") {\\n\\t\\t\\thasUnsafeFields = hasUnsafeFields || /[\\\\x00-\\\\x1F]/mg.test(value);\\n\\t\\t\\thasUnsafeFields = hasUnsafeFields || ($tw.utils.trim(value) !== value);\\n\\t\\t}\\n\\t\\thasUnsafeFields = hasUnsafeFields || /:|#/mg.test(fieldName);\\n\\t});\\n\\t// Check for field values \\n\\tif(hasUnsafeFields) {\\n\\t\\t// Save as a JSON file\\n\\t\\tfileInfo.type = \\\"application/json\\\";\\n\\t\\tfileInfo.hasMetaFile = false;\\n\\t} else {\\n\\t\\t// Save as a .tid or a text/binary file plus a .meta file\\n\\t\\tvar tiddlerType = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\tif(tiddlerType === \\\"text/vnd.tiddlywiki\\\" || tiddlerType === \\\"text/vnd.tiddlywiki-multiple\\\" || tiddler.hasField(\\\"_canonical_uri\\\")) {\\n\\t\\t\\t// Save as a .tid file\\n\\t\\t\\tfileInfo.type = \\\"application/x-tiddler\\\";\\n\\t\\t\\tfileInfo.hasMetaFile = false;\\n\\t\\t} else {\\n\\t\\t\\t// Save as a text/binary file and a .meta file\\n\\t\\t\\tfileInfo.type = tiddlerType;\\n\\t\\t\\tfileInfo.hasMetaFile = true;\\n\\t\\t}\\n\\t\\tif(options.extFilters) {\\n\\t\\t\\t// Check for extension overrides\\n\\t\\t\\tmetaExt = $tw.utils.generateTiddlerExtension(tiddler.fields.title,{\\n\\t\\t\\t\\textFilters: options.extFilters,\\n\\t\\t\\t\\twiki: options.wiki\\n\\t\\t\\t});\\n\\t\\t\\tif(metaExt) {\\n\\t\\t\\t\\tif(metaExt === \\\".tid\\\") {\\n\\t\\t\\t\\t\\t// Overriding to the .tid extension needs special handling\\n\\t\\t\\t\\t\\tfileInfo.type = \\\"application/x-tiddler\\\";\\n\\t\\t\\t\\t\\tfileInfo.hasMetaFile = false;\\n\\t\\t\\t\\t} else if (metaExt === \\\".json\\\") {\\n\\t\\t\\t\\t\\t// Overriding to the .json extension needs special handling\\n\\t\\t\\t\\t\\tfileInfo.type = \\\"application/json\\\";\\n\\t\\t\\t\\t\\tfileInfo.hasMetaFile = false;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t//If the new type matches a known extention, use that MIME type's encoding\\n\\t\\t\\t\\t\\tvar extInfo = $tw.utils.getFileExtensionInfo(metaExt);\\n\\t\\t\\t\\t\\tfileInfo.type = extInfo ? extInfo.type : null;\\n\\t\\t\\t\\t\\tfileInfo.encoding = $tw.utils.getTypeEncoding(metaExt);\\n\\t\\t\\t\\t\\tfileInfo.hasMetaFile = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Take the file extension from the tiddler content type or metaExt\\n\\tvar contentTypeInfo = $tw.config.contentTypeInfo[fileInfo.type] || {extension: \\\"\\\"};\\n\\t// Generate the filepath\\n\\tfileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{\\n\\t\\textension: metaExt || contentTypeInfo.extension,\\n\\t\\tdirectory: options.directory,\\n\\t\\tpathFilters: options.pathFilters,\\n\\t\\twiki: options.wiki,\\n\\t\\tfileInfo: options.fileInfo\\n\\t});\\n\\treturn fileInfo;\\n};\\n\\n/*\\nGenerate the file extension for saving a tiddler\\nOptions include:\\n\\textFilters: optional array of filters to be used to generate the extention\\n\\twiki: optional wiki for evaluating the extFilters\\n*/\\nexports.generateTiddlerExtension = function(title,options) {\\n\\tvar extension;\\n\\t// Check if any of the extFilters applies\\n\\tif(options.extFilters && options.wiki) { \\n\\t\\t$tw.utils.each(options.extFilters,function(filter) {\\n\\t\\t\\tif(!extension) {\\n\\t\\t\\t\\tvar source = options.wiki.makeTiddlerIterator([title]),\\n\\t\\t\\t\\t\\tresult = options.wiki.filterTiddlers(filter,null,source);\\n\\t\\t\\t\\tif(result.length > 0) {\\n\\t\\t\\t\\t\\textension = result[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn extension;\\n};\\n\\n/*\\nGenerate the filepath for saving a tiddler\\nOptions include:\\n\\textension: file extension to be added the finished filepath\\n\\tdirectory: absolute path of root directory to which we are saving\\n\\tpathFilters: optional array of filters to be used to generate the base path\\n\\twiki: optional wiki for evaluating the pathFilters\\n\\tfileInfo: an existing fileInfo object to check against\\n\\tfileInfo.overwrite: if true, turns off filename clash numbers (defaults to false)\\n*/\\nexports.generateTiddlerFilepath = function(title,options) {\\n\\tvar directory = options.directory || \\\"\\\",\\n\\t\\textension = options.extension || \\\"\\\",\\n\\t\\toriginalpath = (options.fileInfo && options.fileInfo.originalpath) ? options.fileInfo.originalpath : \\\"\\\",\\n\\t\\toverwrite = options.fileInfo && options.fileInfo.overwrite || false,\\n\\t\\tfilepath;\\n\\t// Check if any of the pathFilters applies\\n\\tif(options.pathFilters && options.wiki) {\\n\\t\\t$tw.utils.each(options.pathFilters,function(filter) {\\n\\t\\t\\tif(!filepath) {\\n\\t\\t\\t\\tvar source = options.wiki.makeTiddlerIterator([title]),\\n\\t\\t\\t\\t\\tresult = options.wiki.filterTiddlers(filter,null,source);\\n\\t\\t\\t\\tif(result.length > 0) {\\n\\t\\t\\t\\t\\tfilepath = result[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\tif(!filepath && !!originalpath) {\\n\\t\\t//Use the originalpath without the extension\\n\\t\\tvar ext = path.extname(originalpath);\\n\\t\\tfilepath = originalpath.substring(0,originalpath.length - ext.length);\\n\\t} else if(!filepath) {\\n\\t\\tfilepath = title;\\n\\t\\t// Remove any forward or backward slashes so we don't create directories\\n\\t\\tfilepath = filepath.replace(/\\\\/|\\\\\\\\/g,\\\"_\\\");\\n\\t}\\n\\t// Replace any Windows control codes\\n\\tfilepath = filepath.replace(/^(con|prn|aux|nul|com[0-9]|lpt[0-9])$/i,\\\"_$1_\\\");\\n\\t// Replace any leading spaces with the same number of underscores\\n\\tfilepath = filepath.replace(/^ +/,function (u) { return u.replace(/ /g, \\\"_\\\")});\\n\\t//If the path does not start with \\\".\\\" or \\\"..\\\" && a path seperator, then\\n\\tif(!/^\\\\.{1,2}[/\\\\\\\\]/g.test(filepath)) {\\n\\t\\t// Don't let the filename start with any dots because such files are invisible on *nix\\n\\t\\tfilepath = filepath.replace(/^\\\\.+/g,function (u) { return u.replace(/\\\\./g, \\\"_\\\")});\\n\\t}\\n\\t// Replace any Unicode control codes\\n\\tfilepath = filepath.replace(/[\\\\x00-\\\\x1f\\\\x80-\\\\x9f]/g,\\\"_\\\");\\n\\t// Replace any characters that can't be used in cross-platform filenames\\n\\tfilepath = $tw.utils.transliterate(filepath.replace(/<|>|~|\\\\:|\\\\\\\"|\\\\||\\\\?|\\\\*|\\\\^/g,\\\"_\\\"));\\n\\t// Replace any dots or spaces at the end of the extension with the same number of underscores\\n\\textension = extension.replace(/[\\\\. ]+$/, function (u) { return u.replace(/[\\\\. ]/g, \\\"_\\\")});\\n\\t// Truncate the extension if it is too long\\n\\tif(extension.length > 32) {\\n\\t\\textension = extension.substr(0,32);\\n\\t}\\n\\t// If the filepath already ends in the extension then remove it\\n\\tif(filepath.substring(filepath.length - extension.length) === extension) {\\n\\t\\tfilepath = filepath.substring(0,filepath.length - extension.length);\\n\\t}\\n\\t// Truncate the filename if it is too long\\n\\tif(filepath.length > 200) {\\n\\t\\tfilepath = filepath.substr(0,200);\\n\\t}\\n\\t// If the resulting filename is blank (eg because the title is just punctuation)\\n\\tif(!filepath || /^_+$/g.test(filepath)) {\\n\\t\\t// ...then just use the character codes of the title\\n\\t\\tfilepath = \\\"\\\";\\n\\t\\t$tw.utils.each(title.split(\\\"\\\"),function(char) {\\n\\t\\t\\tif(filepath) {\\n\\t\\t\\t\\tfilepath += \\\"-\\\";\\n\\t\\t\\t}\\n\\t\\t\\tfilepath += char.charCodeAt(0).toString();\\n\\t\\t});\\n\\t}\\n\\t// Add a uniquifier if the file already exists (default)\\n\\tvar fullPath = path.resolve(directory, filepath + extension);\\n\\tif (!overwrite) {\\n\\t\\tvar oldPath = (options.fileInfo) ? options.fileInfo.filepath : undefined,\\n\\t\\tcount = 0;\\n\\t\\tdo {\\n\\t\\t\\tfullPath = path.resolve(directory,filepath + (count ? \\\"_\\\" + count : \\\"\\\") + extension);\\n\\t\\t\\tif(oldPath && oldPath == fullPath) break;\\n\\t\\t\\tcount++;\\n\\t\\t} while(fs.existsSync(fullPath));\\n\\t}\\n\\t// If the last write failed with an error, or if path does not start with:\\n\\t//\\tthe resolved options.directory, the resolved wikiPath directory, the wikiTiddlersPath directory, \\n\\t//\\tor the 'originalpath' directory, then $tw.utils.encodeURIComponentExtended() and resolve to options.directory.\\n\\tvar writePath = $tw.hooks.invokeHook(\\\"th-make-tiddler-path\\\",fullPath,fullPath),\\n\\t\\tencode = (options.fileInfo || {writeError: false}).writeError == true;\\n\\tif(!encode) {\\n\\t\\tencode = !(writePath.indexOf($tw.boot.wikiTiddlersPath) == 0 ||\\n\\t\\t\\twritePath.indexOf(path.resolve(directory)) == 0 ||\\n\\t\\t\\twritePath.indexOf(path.resolve($tw.boot.wikiPath)) == 0 ||\\n\\t\\t\\twritePath.indexOf(path.resolve($tw.boot.wikiTiddlersPath,originalpath)) == 0 );\\n\\t\\t}\\n\\tif(encode) {\\n\\t\\twritePath = path.resolve(directory,$tw.utils.encodeURIComponentExtended(fullPath));\\n\\t}\\n\\t// Return the full path to the file\\n\\treturn writePath;\\n};\\n\\n/*\\nSave a tiddler to a file described by the fileInfo:\\n\\tfilepath: the absolute path to the file containing the tiddler\\n\\ttype: the type of the tiddler file (NOT the type of the tiddler)\\n\\thasMetaFile: true if the file also has a companion .meta file\\n*/\\nexports.saveTiddlerToFile = function(tiddler,fileInfo,callback) {\\n\\t$tw.utils.createDirectory(path.dirname(fileInfo.filepath));\\n\\tif(fileInfo.hasMetaFile) {\\n\\t\\t// Save the tiddler as a separate body and meta file\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/plain\\\"] || {encoding: \\\"utf8\\\"};\\n\\t\\tfs.writeFile(fileInfo.filepath,tiddler.fields.text || \\\"\\\",typeInfo.encoding,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tfs.writeFile(fileInfo.filepath + \\\".meta\\\",tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}),\\\"utf8\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t} else {\\n\\t\\t// Save the tiddler as a self contained templated file\\n\\t\\tif(fileInfo.type === \\\"application/x-tiddler\\\") {\\n\\t\\t\\tfs.writeFile(fileInfo.filepath,tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}) + (!!tiddler.fields.text ? \\\"\\\\n\\\\n\\\" + tiddler.fields.text : \\\"\\\"),\\\"utf8\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tfs.writeFile(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: [\\\"bag\\\"]})],null,$tw.config.preferences.jsonSpaces),\\\"utf8\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nSave a tiddler to a file described by the fileInfo:\\n\\tfilepath: the absolute path to the file containing the tiddler\\n\\ttype: the type of the tiddler file (NOT the type of the tiddler)\\n\\thasMetaFile: true if the file also has a companion .meta file\\n*/\\nexports.saveTiddlerToFileSync = function(tiddler,fileInfo) {\\n\\t$tw.utils.createDirectory(path.dirname(fileInfo.filepath));\\n\\tif(fileInfo.hasMetaFile) {\\n\\t\\t// Save the tiddler as a separate body and meta file\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/plain\\\"] || {encoding: \\\"utf8\\\"};\\n\\t\\tfs.writeFileSync(fileInfo.filepath,tiddler.fields.text || \\\"\\\",typeInfo.encoding);\\n\\t\\tfs.writeFileSync(fileInfo.filepath + \\\".meta\\\",tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}),\\\"utf8\\\");\\n\\t} else {\\n\\t\\t// Save the tiddler as a self contained templated file\\n\\t\\tif(fileInfo.type === \\\"application/x-tiddler\\\") {\\n\\t\\t\\tfs.writeFileSync(fileInfo.filepath,tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}) + (!!tiddler.fields.text ? \\\"\\\\n\\\\n\\\" + tiddler.fields.text : \\\"\\\"),\\\"utf8\\\");\\n\\t\\t} else {\\n\\t\\t\\tfs.writeFileSync(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: [\\\"bag\\\"]})],null,$tw.config.preferences.jsonSpaces),\\\"utf8\\\");\\n\\t\\t}\\n\\t}\\n\\treturn fileInfo;\\n};\\n\\n/*\\nDelete a file described by the fileInfo if it exits\\n*/\\nexports.deleteTiddlerFile = function(fileInfo,callback) {\\n\\t//Only attempt to delete files that exist on disk\\n\\tif(!fileInfo.filepath || !fs.existsSync(fileInfo.filepath)) {\\n\\t\\t//For some reason, the tiddler is only in memory or we can't modify the file at this path\\n\\t\\t$tw.syncer.displayError(\\\"Server deleteTiddlerFile task failed for filepath: \\\"+fileInfo.filepath);\\n\\t\\treturn callback(null,fileInfo);\\n\\t}\\n\\t// Delete the file\\n\\tfs.unlink(fileInfo.filepath,function(err) {\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\t// Delete the metafile if present\\n\\t\\tif(fileInfo.hasMetaFile && fs.existsSync(fileInfo.filepath + \\\".meta\\\")) {\\n\\t\\t\\tfs.unlink(fileInfo.filepath + \\\".meta\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),function(err) {\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t\\t});\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\treturn $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nCleanup old files on disk, by comparing the options values:\\n\\tadaptorInfo from $tw.syncer.tiddlerInfo\\n\\tbootInfo from $tw.boot.files\\n*/\\nexports.cleanupTiddlerFiles = function(options,callback) {\\n\\tvar adaptorInfo = options.adaptorInfo || {},\\n\\tbootInfo = options.bootInfo || {},\\n\\ttitle = options.title || \\\"undefined\\\";\\n\\tif(adaptorInfo.filepath && bootInfo.filepath && adaptorInfo.filepath !== bootInfo.filepath) {\\n\\t\\t$tw.utils.deleteTiddlerFile(adaptorInfo,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tif ((err.code == \\\"EPERM\\\" || err.code == \\\"EACCES\\\") && err.syscall == \\\"unlink\\\") {\\n\\t\\t\\t\\t\\t// Error deleting the previous file on disk, should fail gracefully\\n\\t\\t\\t\\t\\t$tw.syncer.displayError(\\\"Server desynchronized. Error cleaning up previous file for tiddler: \\\\\\\"\\\"+title+\\\"\\\\\\\"\\\",err);\\n\\t\\t\\t\\t\\treturn callback(null,bootInfo);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn callback(null,bootInfo);\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn callback(null,bootInfo);\\n\\t}\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils-node\"},\"$:/core/modules/utils/linkedlist.js\":{\"title\":\"$:/core/modules/utils/linkedlist.js\",\"text\":\"/*\\\\\\nmodule-type: utils\\ntitle: $:/core/modules/utils/linkedlist.js\\ntype: application/javascript\\n\\nThis is a doubly-linked indexed list intended for manipulation, particularly\\npushTop, which it does with significantly better performance than an array.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction LinkedList() {\\n\\tthis.clear();\\n};\\n\\nLinkedList.prototype.clear = function() {\\n\\t// LinkedList performs the duty of both the head and tail node\\n\\tthis.next = new LLMap();\\n\\tthis.prev = new LLMap();\\n\\t// Linked list head initially points to itself\\n\\tthis.next.set(null, null);\\n\\tthis.prev.set(null, null);\\n\\tthis.length = 0;\\n};\\n\\nLinkedList.prototype.remove = function(value) {\\n\\tif($tw.utils.isArray(value)) {\\n\\t\\tfor(var t=0; t<value.length; t++) {\\n\\t\\t\\t_assertString(value[t]);\\n\\t\\t}\\n\\t\\tfor(var t=0; t<value.length; t++) {\\n\\t\\t\\t_removeOne(this,value[t]);\\n\\t\\t}\\n\\t} else {\\n\\t\\t_assertString(value);\\n\\t\\t_removeOne(this,value);\\n\\t}\\n};\\n\\n/*\\nPush behaves like array.push and accepts multiple string arguments. But it also\\naccepts a single array argument too, to be consistent with its other methods.\\n*/\\nLinkedList.prototype.push = function(/* values */) {\\n\\tvar i, values = arguments;\\n\\tif($tw.utils.isArray(values[0])) {\\n\\t\\tvalues = values[0];\\n\\t}\\n\\tfor(i = 0; i < values.length; i++) {\\n\\t\\t_assertString(values[i]);\\n\\t}\\n\\tfor(i = 0; i < values.length; i++) {\\n\\t\\t_linkToEnd(this,values[i]);\\n\\t}\\n\\treturn this.length;\\n};\\n\\nLinkedList.prototype.pushTop = function(value) {\\n\\tvar t;\\n\\tif($tw.utils.isArray(value)) {\\n\\t\\tfor (t=0; t<value.length; t++) {\\n\\t\\t\\t_assertString(value[t]);\\n\\t\\t}\\n\\t\\tfor(t=0; t<value.length; t++) {\\n\\t\\t\\t_removeOne(this,value[t]);\\n\\t\\t}\\n\\t\\tfor(t=0; t<value.length; t++) {\\n\\t\\t\\t_linkToEnd(this,value[t]);\\n\\t\\t}\\n\\t} else {\\n\\t\\t_assertString(value);\\n\\t\\t_removeOne(this,value);\\n\\t\\t_linkToEnd(this,value);\\n\\t}\\n};\\n\\nLinkedList.prototype.each = function(callback) {\\n\\tvar visits = Object.create(null),\\n\\t\\tvalue = this.next.get(null);\\n\\twhile(value !== null) {\\n\\t\\tcallback(value);\\n\\t\\tvar next = this.next.get(value);\\n\\t\\tif(Array.isArray(next)) {\\n\\t\\t\\tvar i = visits[value] || 0;\\n\\t\\t\\tvisits[value] = i+1;\\n\\t\\t\\tvalue = next[i];\\n\\t\\t} else {\\n\\t\\t\\tvalue = next;\\n\\t\\t}\\n\\t}\\n};\\n\\nLinkedList.prototype.toArray = function() {\\n\\tvar output = new Array(this.length),\\n\\t\\tindex = 0;\\n\\tthis.each(function(value) { output[index++] = value; });\\n\\treturn output;\\n};\\n\\nLinkedList.prototype.makeTiddlerIterator = function(wiki) {\\n\\tvar self = this;\\n\\treturn function(callback) {\\n\\t\\tself.each(function(title) {\\n\\t\\t\\tcallback(wiki.getTiddler(title),title);\\n\\t\\t});\\n\\t};\\n};\\n\\nfunction _removeOne(list,value) {\\n\\tvar nextEntry = list.next.get(value);\\n\\tif(nextEntry === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar prevEntry = list.prev.get(value),\\n\\t\\tprev = prevEntry,\\n\\t\\tnext = nextEntry,\\n\\t\\tref;\\n\\tif(Array.isArray(nextEntry)) {\\n\\t\\tnext = nextEntry[0];\\n\\t\\tprev = prevEntry[0];\\n\\t}\\n\\t// Relink preceding element.\\n\\tref = list.next.get(prev);\\n\\tif(Array.isArray(ref)) {\\n\\t\\tvar i = ref.indexOf(value);\\n\\t\\tref[i] = next;\\n\\t} else {\\n\\t\\tlist.next.set(prev,next);\\n\\t}\\n\\n\\t// Now relink following element\\n\\tref = list.prev.get(next);\\n\\tif(Array.isArray(ref)) {\\n\\t\\tvar i = ref.indexOf(value);\\n\\t\\tref[i] = prev;\\n\\t} else {\\n\\t\\tlist.prev.set(next,prev);\\n\\t}\\n\\n\\t// Delink actual value. If it uses arrays, just remove first entries.\\n\\tif(Array.isArray(nextEntry) && nextEntry.length > 1) {\\n\\t\\tnextEntry.shift();\\n\\t\\tprevEntry.shift();\\n\\t} else {\\n\\t\\tlist.next.set(value,undefined);\\n\\t\\tlist.prev.set(value,undefined);\\n\\t}\\n\\tlist.length -= 1;\\n};\\n\\n// Sticks the given node onto the end of the list.\\nfunction _linkToEnd(list,value) {\\n\\tvar old = list.next.get(value);\\n\\tvar last = list.prev.get(null);\\n\\t// Does it already exists?\\n\\tif(old !== undefined) {\\n\\t\\tif(!Array.isArray(old)) {\\n\\t\\t\\told = [old];\\n\\t\\t\\tlist.next.set(value,old);\\n\\t\\t\\tlist.prev.set(value,[list.prev.get(value)]);\\n\\t\\t}\\n\\t\\told.push(null);\\n\\t\\tlist.prev.get(value).push(last);\\n\\t} else {\\n\\t\\tlist.next.set(value,null);\\n\\t\\tlist.prev.set(value,last);\\n\\t}\\n\\t// Make the old last point to this new one.\\n\\tif(value !== last) {\\n\\t\\tvar array = list.next.get(last);\\n\\t\\tif(Array.isArray(array)) {\\n\\t\\t\\tarray[array.length-1] = value;\\n\\t\\t} else {\\n\\t\\t\\tlist.next.set(last,value);\\n\\t\\t}\\n\\t\\tlist.prev.set(null,value);\\n\\t} else {\\n\\t\\t// Edge case, the pushed value was already the last value.\\n\\t\\t// The second-to-last nextPtr for that value must point to itself now.\\n\\t\\tvar array = list.next.get(last);\\n\\t\\tarray[array.length-2] = value;\\n\\t}\\n\\tlist.length += 1;\\n};\\n\\nfunction _assertString(value) {\\n\\tif(typeof value !== \\\"string\\\") {\\n\\t\\tthrow \\\"Linked List only accepts string values, not \\\" + value;\\n\\t}\\n};\\n\\nvar LLMap = function() {\\n\\tthis.map = Object.create(null);\\n};\\n\\n// Just a wrapper so our object map can also accept null.\\nLLMap.prototype = {\\n\\tset: function(key,val) {\\n\\t\\t(key === null) ? (this.null = val) : (this.map[key] = val);\\n\\t},\\n\\tget: function(key) {\\n\\t\\treturn (key === null) ? this.null : this.map[key];\\n\\t}\\n};\\n\\nexports.LinkedList = LinkedList;\\n\",\"module-type\":\"utils\",\"type\":\"application/javascript\"},\"$:/core/modules/utils/logger.js\":{\"title\":\"$:/core/modules/utils/logger.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/logger.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nA basic logging implementation\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar ALERT_TAG = \\\"$:/tags/Alert\\\";\\n\\n/*\\nMake a new logger\\n*/\\nfunction Logger(componentName,options) {\\n\\toptions = options || {};\\n\\tthis.componentName = componentName || \\\"\\\";\\n\\tthis.colour = options.colour || \\\"white\\\";\\n\\tthis.enable = \\\"enable\\\" in options ? options.enable : true;\\n\\tthis.save = \\\"save\\\" in options ? options.save : true;\\n\\tthis.saveLimit = options.saveLimit || 100 * 1024;\\n\\tthis.saveBufferLogger = this;\\n\\tthis.buffer = \\\"\\\";\\n\\tthis.alertCount = 0;\\n}\\n\\nLogger.prototype.setSaveBuffer = function(logger) {\\n\\tthis.saveBufferLogger = logger;\\n};\\n\\n/*\\nLog a message\\n*/\\nLogger.prototype.log = function(/* args */) {\\n\\tvar self = this;\\n\\tif(this.enable) {\\n\\t\\tif(this.saveBufferLogger.save) {\\n\\t\\t\\tthis.saveBufferLogger.buffer += $tw.utils.formatDateString(new Date(),\\\"YYYY MM DD 0hh:0mm:0ss.0XXX\\\") + \\\":\\\";\\n\\t\\t\\t$tw.utils.each(Array.prototype.slice.call(arguments,0),function(arg,index) {\\n\\t\\t\\t\\tself.saveBufferLogger.buffer += \\\" \\\" + arg;\\n\\t\\t\\t});\\n\\t\\t\\tthis.saveBufferLogger.buffer += \\\"\\\\n\\\";\\n\\t\\t\\tthis.saveBufferLogger.buffer = this.saveBufferLogger.buffer.slice(-this.saveBufferLogger.saveLimit);\\n\\t\\t}\\n\\t\\tif(console !== undefined && console.log !== undefined) {\\n\\t\\t\\tvar logMessage = [$tw.utils.terminalColour(this.colour) + this.componentName + \\\":\\\"].concat(Array.prototype.slice.call(arguments,0));\\n\\t\\t\\tlogMessage[logMessage.length-1] += $tw.utils.terminalColour();\\n\\t\\t\\treturn Function.apply.call(console.log, console, logMessage);\\n\\t\\t}\\n\\t} \\n};\\n\\n/*\\nRead the message buffer\\n*/\\nLogger.prototype.getBuffer = function() {\\n\\treturn this.saveBufferLogger.buffer;\\n};\\n\\n/*\\nLog a structure as a table\\n*/\\nLogger.prototype.table = function(value) {\\n\\t(console.table || console.log)(value);\\n};\\n\\n/*\\nAlert a message\\n*/\\nLogger.prototype.alert = function(/* args */) {\\n\\tif(this.enable) {\\n\\t\\t// Prepare the text of the alert\\n\\t\\tvar text = Array.prototype.join.call(arguments,\\\" \\\");\\n\\t\\t// Create alert tiddlers in the browser\\n\\t\\tif($tw.browser) {\\n\\t\\t\\t// Check if there is an existing alert with the same text and the same component\\n\\t\\t\\tvar existingAlerts = $tw.wiki.getTiddlersWithTag(ALERT_TAG),\\n\\t\\t\\t\\talertFields,\\n\\t\\t\\t\\texistingCount,\\n\\t\\t\\t\\tself = this;\\n\\t\\t\\t$tw.utils.each(existingAlerts,function(title) {\\n\\t\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler.fields.text === text && tiddler.fields.component === self.componentName && tiddler.fields.modified && (!alertFields || tiddler.fields.modified < alertFields.modified)) {\\n\\t\\t\\t\\t\\t\\talertFields = $tw.utils.extend({},tiddler.fields);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tif(alertFields) {\\n\\t\\t\\t\\texistingCount = alertFields.count || 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\talertFields = {\\n\\t\\t\\t\\t\\ttitle: $tw.wiki.generateNewTitle(\\\"$:/temp/alerts/alert\\\",{prefix: \\\"\\\"}),\\n\\t\\t\\t\\t\\ttext: text,\\n\\t\\t\\t\\t\\ttags: [ALERT_TAG],\\n\\t\\t\\t\\t\\tcomponent: this.componentName\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\texistingCount = 0;\\n\\t\\t\\t\\tthis.alertCount += 1;\\n\\t\\t\\t}\\n\\t\\t\\talertFields.modified = new Date();\\n\\t\\t\\tif(++existingCount > 1) {\\n\\t\\t\\t\\talertFields.count = existingCount;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\talertFields.count = undefined;\\n\\t\\t\\t}\\n\\t\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler(alertFields));\\n\\t\\t\\t// Log the alert as well\\n\\t\\t\\tthis.log.apply(this,Array.prototype.slice.call(arguments,0));\\n\\t\\t} else {\\n\\t\\t\\t// Print an orange message to the console if not in the browser\\n\\t\\t\\tconsole.error(\\\"\\\\x1b[1;33m\\\" + text + \\\"\\\\x1b[0m\\\");\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nClear outstanding alerts\\n*/\\nLogger.prototype.clearAlerts = function() {\\n\\tvar self = this;\\n\\tif($tw.browser && this.alertCount > 0) {\\n\\t\\t$tw.utils.each($tw.wiki.getTiddlersWithTag(ALERT_TAG),function(title) {\\n\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title);\\n\\t\\t\\tif(tiddler.fields.component === self.componentName) {\\n\\t\\t\\t\\t$tw.wiki.deleteTiddler(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tthis.alertCount = 0;\\n\\t}\\n};\\n\\nexports.Logger = Logger;\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/parsetree.js\":{\"title\":\"$:/core/modules/utils/parsetree.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/parsetree.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nParse tree utility functions.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nAdd attribute to parse tree node\\nCan be invoked as (node,name,value) or (node,attr)\\n*/\\nexports.addAttributeToParseTreeNode = function(node,name,value) {\\n\\tvar attribute = typeof name === \\\"object\\\" ? name : {name: name, type: \\\"string\\\", value: value};\\n\\tname = attribute.name;\\n\\tnode.attributes = node.attributes || {};\\n\\tnode.orderedAttributes = node.orderedAttributes || [];\\n\\tnode.attributes[name] = attribute;\\n\\tvar foundIndex = -1;\\n\\t$tw.utils.each(node.orderedAttributes,function(attr,index) {\\n\\t\\tif(attr.name === name) {\\n\\t\\t\\tfoundIndex = index;\\n\\t\\t}\\n\\t});\\n\\tif(foundIndex === -1) {\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t} else {\\n\\t\\tnode.orderedAttributes[foundIndex] = attribute;\\n\\t}\\n};\\n\\nexports.getOrderedAttributesFromParseTreeNode = function(node) {\\n\\tif(node.orderedAttributes) {\\n\\t\\treturn node.orderedAttributes;\\n\\t} else {\\n\\t\\tvar attributes = [];\\n\\t\\t$tw.utils.each(node.attributes,function(attribute) {\\n\\t\\t\\tattributes.push(attribute);\\n\\t\\t});\\n\\t\\treturn attributes.sort(function(a,b) {\\n\\t\\t\\treturn a.name < b.name ? -1 : (a.name > b.name ? 1 : 0);\\n\\t\\t});\\n\\t}\\n};\\n\\nexports.getAttributeValueFromParseTreeNode = function(node,name,defaultValue) {\\n\\tif(node.attributes && node.attributes[name] && node.attributes[name].value !== undefined) {\\n\\t\\treturn node.attributes[name].value;\\n\\t}\\n\\treturn defaultValue;\\n};\\n\\nexports.addClassToParseTreeNode = function(node,classString) {\\n\\tvar classes = [],\\n\\t\\tattribute;\\n\\tnode.attributes = node.attributes || {};\\n\\tattribute = node.attributes[\\\"class\\\"];\\n\\tif(!attribute) {\\n\\t\\t// If the class attribute does not exist, we must create it first.\\n\\t\\tattribute = {name: \\\"class\\\", type: \\\"string\\\", value: \\\"\\\"};\\n\\t\\tnode.attributes[\\\"class\\\"] = attribute;\\n\\t\\tnode.orderedAttributes = node.orderedAttributes || [];\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t}\\n\\tif(attribute.type === \\\"string\\\") {\\n\\t\\tif(attribute.value !== \\\"\\\") {\\n\\t\\t\\tclasses = attribute.value.split(\\\" \\\");\\n\\t\\t}\\n\\t\\tif(classString !== \\\"\\\") {\\n\\t\\t\\t$tw.utils.pushTop(classes,classString.split(\\\" \\\"));\\n\\t\\t}\\n\\t\\tattribute.value = classes.join(\\\" \\\");\\n\\t}\\n};\\n\\nexports.addStyleToParseTreeNode = function(node,name,value) {\\n\\tvar attribute;\\n\\tnode.attributes = node.attributes || {};\\n\\tattribute = node.attributes.style;\\n\\tif(!attribute) {\\n\\t\\tattribute = {name: \\\"style\\\", type: \\\"string\\\", value: \\\"\\\"};\\n\\t\\tnode.attributes.style = attribute;\\n\\t\\tnode.orderedAttributes = node.orderedAttributes || [];\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t}\\n\\tif(attribute.type === \\\"string\\\") {\\n\\t\\tattribute.value += name + \\\":\\\" + value + \\\";\\\";\\n\\t}\\n};\\n\\nexports.findParseTreeNode = function(nodeArray,search) {\\n\\tfor(var t=0; t<nodeArray.length; t++) {\\n\\t\\tif(nodeArray[t].type === search.type && nodeArray[t].tag === search.tag) {\\n\\t\\t\\treturn nodeArray[t];\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nHelper to get the text of a parse tree node or array of nodes\\n*/\\nexports.getParseTreeText = function getParseTreeText(tree) {\\n\\tvar output = [];\\n\\tif($tw.utils.isArray(tree)) {\\n\\t\\t$tw.utils.each(tree,function(node) {\\n\\t\\t\\toutput.push(getParseTreeText(node));\\n\\t\\t});\\n\\t} else {\\n\\t\\tif(tree.type === \\\"text\\\") {\\n\\t\\t\\toutput.push(tree.text);\\n\\t\\t}\\n\\t\\tif(tree.children) {\\n\\t\\t\\treturn getParseTreeText(tree.children);\\n\\t\\t}\\n\\t}\\n\\treturn output.join(\\\"\\\");\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/performance.js\":{\"title\":\"$:/core/modules/utils/performance.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/performance.js\\ntype: application/javascript\\nmodule-type: global\\n\\nPerformance measurement.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nfunction Performance(enabled) {\\n\\tthis.enabled = !!enabled;\\n\\tthis.measures = {}; // Hashmap by measurement name of {time:, invocations:}\\n\\tthis.logger = new $tw.utils.Logger(\\\"performance\\\");\\n\\tthis.showGreeting();\\n}\\n\\nPerformance.prototype.showGreeting = function() {\\n\\tif($tw.browser) {\\n\\t\\tthis.logger.log(\\\"Execute $tw.perf.log(); to see filter execution timings\\\");\\n\\t}\\n};\\n\\n/*\\nWrap performance reporting around a top level function\\n*/\\nPerformance.prototype.report = function(name,fn) {\\n\\tvar self = this;\\n\\tif(this.enabled) {\\n\\t\\treturn function() {\\n\\t\\t\\tvar startTime = $tw.utils.timer(),\\n\\t\\t\\t\\tresult = fn.apply(this,arguments);\\n\\t\\t\\tself.logger.log(name + \\\": \\\" + $tw.utils.timer(startTime).toFixed(2) + \\\"ms\\\");\\n\\t\\t\\treturn result;\\n\\t\\t};\\n\\t} else {\\n\\t\\treturn fn;\\n\\t}\\n};\\n\\nPerformance.prototype.log = function() {\\n\\tvar self = this,\\n\\t\\ttotalTime = 0,\\n\\t\\torderedMeasures = Object.keys(this.measures).sort(function(a,b) {\\n\\t\\t\\tif(self.measures[a].time > self.measures[b].time) {\\n\\t\\t\\t\\treturn -1;\\n\\t\\t\\t} else if (self.measures[a].time < self.measures[b].time) {\\n\\t\\t\\t\\treturn + 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t$tw.utils.each(orderedMeasures,function(name) {\\n\\t\\ttotalTime += self.measures[name].time;\\n\\t});\\n\\tvar results = []\\n\\t$tw.utils.each(orderedMeasures,function(name) {\\n\\t\\tvar measure = self.measures[name];\\n\\t\\tresults.push({name: name,invocations: measure.invocations, avgTime: measure.time / measure.invocations, totalTime: measure.time, percentTime: (measure.time / totalTime) * 100})\\n\\t});\\n\\tself.logger.table(results);\\n};\\n\\n/*\\nWrap performance measurements around a subfunction\\n*/\\nPerformance.prototype.measure = function(name,fn) {\\n\\tvar self = this;\\n\\tif(this.enabled) {\\n\\t\\treturn function() {\\n\\t\\t\\tvar startTime = $tw.utils.timer(),\\n\\t\\t\\t\\tresult = fn.apply(this,arguments);\\n\\t\\t\\tif(!(name in self.measures)) {\\n\\t\\t\\t\\tself.measures[name] = {time: 0, invocations: 0};\\n\\t\\t\\t}\\n\\t\\t\\tself.measures[name].time += $tw.utils.timer(startTime);\\n\\t\\t\\tself.measures[name].invocations++;\\n\\t\\t\\treturn result;\\n\\t\\t};\\n\\t} else {\\n\\t\\treturn fn;\\n\\t}\\n};\\n\\nexports.Performance = Performance;\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/utils/pluginmaker.js\":{\"title\":\"$:/core/modules/utils/pluginmaker.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/pluginmaker.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nA quick and dirty way to pack up plugins within the browser.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nRepack a plugin, and then delete any non-shadow payload tiddlers\\n*/\\nexports.repackPlugin = function(title,additionalTiddlers,excludeTiddlers) {\\n\\tadditionalTiddlers = additionalTiddlers || [];\\n\\texcludeTiddlers = excludeTiddlers || [];\\n\\t// Get the plugin tiddler\\n\\tvar pluginTiddler = $tw.wiki.getTiddler(title);\\n\\tif(!pluginTiddler) {\\n\\t\\tthrow \\\"No such tiddler as \\\" + title;\\n\\t}\\n\\t// Extract the JSON\\n\\tvar jsonPluginTiddler = $tw.utils.parseJSONSafe(pluginTiddler.fields.text,null);\\n\\tif(!jsonPluginTiddler) {\\n\\t\\tthrow \\\"Cannot parse plugin tiddler \\\" + title + \\\"\\\\n\\\" + $tw.language.getString(\\\"Error/Caption\\\") + \\\": \\\" + e;\\n\\t}\\n\\t// Get the list of tiddlers\\n\\tvar tiddlers = Object.keys(jsonPluginTiddler.tiddlers);\\n\\t// Add the additional tiddlers\\n\\t$tw.utils.pushTop(tiddlers,additionalTiddlers);\\n\\t// Remove any excluded tiddlers\\n\\tfor(var t=tiddlers.length-1; t>=0; t--) {\\n\\t\\tif(excludeTiddlers.indexOf(tiddlers[t]) !== -1) {\\n\\t\\t\\ttiddlers.splice(t,1);\\n\\t\\t}\\n\\t}\\n\\t// Pack up the tiddlers into a block of JSON\\n\\tvar plugins = {};\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = $tw.wiki.getTiddler(title),\\n\\t\\t\\tfields = {};\\n\\t\\t$tw.utils.each(tiddler.fields,function (value,name) {\\n\\t\\t\\tfields[name] = tiddler.getFieldString(name);\\n\\t\\t});\\n\\t\\tplugins[title] = fields;\\n\\t});\\n\\t// Retrieve and bump the version number\\n\\tvar pluginVersion = $tw.utils.parseVersion(pluginTiddler.getFieldString(\\\"version\\\") || \\\"0.0.0\\\") || {\\n\\t\\t\\tmajor: \\\"0\\\",\\n\\t\\t\\tminor: \\\"0\\\",\\n\\t\\t\\tpatch: \\\"0\\\"\\n\\t\\t};\\n\\tpluginVersion.patch++;\\n\\tvar version = pluginVersion.major + \\\".\\\" + pluginVersion.minor + \\\".\\\" + pluginVersion.patch;\\n\\tif(pluginVersion.prerelease) {\\n\\t\\tversion += \\\"-\\\" + pluginVersion.prerelease;\\n\\t}\\n\\tif(pluginVersion.build) {\\n\\t\\tversion += \\\"+\\\" + pluginVersion.build;\\n\\t}\\n\\t// Save the tiddler\\n\\t$tw.wiki.addTiddler(new $tw.Tiddler(pluginTiddler,{text: JSON.stringify({tiddlers: plugins},null,4), version: version}));\\n\\t// Delete any non-shadow constituent tiddlers\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tif($tw.wiki.tiddlerExists(title)) {\\n\\t\\t\\t$tw.wiki.deleteTiddler(title);\\n\\t\\t}\\n\\t});\\n\\t// Trigger an autosave\\n\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n\\t// Return a heartwarming confirmation\\n\\treturn \\\"Plugin \\\" + title + \\\" successfully saved\\\";\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/repository.js\":{\"title\":\"$:/core/modules/utils/repository.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/repository.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nUtilities for working with the TiddlyWiki repository file structure\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\n/*\\nGet an object containing all the plugins as a hashmap by title of the JSON representation of the plugin\\nOptions:\\n\\nignoreEnvironmentVariables: defaults to false\\n*/\\nexports.getAllPlugins = function(options) {\\n\\toptions = options || {};\\n\\tvar fs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\ttiddlers = {};\\n\\t// Collect up the library plugins\\n\\tvar collectPlugins = function(folder) {\\n\\t\\t\\tvar pluginFolders = $tw.utils.getSubdirectories(folder) || [];\\n\\t\\t\\tfor(var p=0; p<pluginFolders.length; p++) {\\n\\t\\t\\t\\tif(!$tw.boot.excludeRegExp.test(pluginFolders[p])) {\\n\\t\\t\\t\\t\\tvar pluginFields = $tw.loadPluginFolder(path.resolve(folder,\\\"./\\\" + pluginFolders[p]));\\n\\t\\t\\t\\t\\tif(pluginFields && pluginFields.title) {\\n\\t\\t\\t\\t\\t\\ttiddlers[pluginFields.title] = pluginFields;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tcollectPublisherPlugins = function(folder) {\\n\\t\\t\\tvar publisherFolders = $tw.utils.getSubdirectories(folder) || [];\\n\\t\\t\\tfor(var t=0; t<publisherFolders.length; t++) {\\n\\t\\t\\t\\tif(!$tw.boot.excludeRegExp.test(publisherFolders[t])) {\\n\\t\\t\\t\\t\\tcollectPlugins(path.resolve(folder,\\\"./\\\" + publisherFolders[t]));\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,options.ignoreEnvironmentVariables ? undefined : $tw.config.pluginsEnvVar),collectPublisherPlugins);\\n\\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,options.ignoreEnvironmentVariables ? undefined : $tw.config.themesEnvVar),collectPublisherPlugins);\\n\\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,options.ignoreEnvironmentVariables ? undefined : $tw.config.languagesEnvVar),collectPlugins);\\n\\treturn tiddlers;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/transliterate.js\":{\"title\":\"$:/core/modules/utils/transliterate.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/transliterate.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nTransliteration static utility functions.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nTransliterate string to ASCII\\n\\n(Some pairs taken from http://semplicewebsites.com/removing-accents-javascript)\\n*/\\nexports.transliterationPairs = {\\n\\t\\\"Á\\\":\\\"A\\\",\\n\\t\\\"Ă\\\":\\\"A\\\",\\n\\t\\\"Ắ\\\":\\\"A\\\",\\n\\t\\\"Ặ\\\":\\\"A\\\",\\n\\t\\\"Ằ\\\":\\\"A\\\",\\n\\t\\\"Ẳ\\\":\\\"A\\\",\\n\\t\\\"Ẵ\\\":\\\"A\\\",\\n\\t\\\"Ǎ\\\":\\\"A\\\",\\n\\t\\\"Â\\\":\\\"A\\\",\\n\\t\\\"Ấ\\\":\\\"A\\\",\\n\\t\\\"Ậ\\\":\\\"A\\\",\\n\\t\\\"Ầ\\\":\\\"A\\\",\\n\\t\\\"Ẩ\\\":\\\"A\\\",\\n\\t\\\"Ẫ\\\":\\\"A\\\",\\n\\t\\\"Ä\\\":\\\"A\\\",\\n\\t\\\"Ǟ\\\":\\\"A\\\",\\n\\t\\\"Ȧ\\\":\\\"A\\\",\\n\\t\\\"Ǡ\\\":\\\"A\\\",\\n\\t\\\"Ạ\\\":\\\"A\\\",\\n\\t\\\"Ȁ\\\":\\\"A\\\",\\n\\t\\\"À\\\":\\\"A\\\",\\n\\t\\\"Ả\\\":\\\"A\\\",\\n\\t\\\"Ȃ\\\":\\\"A\\\",\\n\\t\\\"Ā\\\":\\\"A\\\",\\n\\t\\\"Ą\\\":\\\"A\\\",\\n\\t\\\"Å\\\":\\\"A\\\",\\n\\t\\\"Ǻ\\\":\\\"A\\\",\\n\\t\\\"Ḁ\\\":\\\"A\\\",\\n\\t\\\"Ⱥ\\\":\\\"A\\\",\\n\\t\\\"Ã\\\":\\\"A\\\",\\n\\t\\\"Ꜳ\\\":\\\"AA\\\",\\n\\t\\\"Æ\\\":\\\"AE\\\",\\n\\t\\\"Ǽ\\\":\\\"AE\\\",\\n\\t\\\"Ǣ\\\":\\\"AE\\\",\\n\\t\\\"Ꜵ\\\":\\\"AO\\\",\\n\\t\\\"Ꜷ\\\":\\\"AU\\\",\\n\\t\\\"Ꜹ\\\":\\\"AV\\\",\\n\\t\\\"Ꜻ\\\":\\\"AV\\\",\\n\\t\\\"Ꜽ\\\":\\\"AY\\\",\\n\\t\\\"Ḃ\\\":\\\"B\\\",\\n\\t\\\"Ḅ\\\":\\\"B\\\",\\n\\t\\\"Ɓ\\\":\\\"B\\\",\\n\\t\\\"Ḇ\\\":\\\"B\\\",\\n\\t\\\"Ƀ\\\":\\\"B\\\",\\n\\t\\\"Ƃ\\\":\\\"B\\\",\\n\\t\\\"Ć\\\":\\\"C\\\",\\n\\t\\\"Č\\\":\\\"C\\\",\\n\\t\\\"Ç\\\":\\\"C\\\",\\n\\t\\\"Ḉ\\\":\\\"C\\\",\\n\\t\\\"Ĉ\\\":\\\"C\\\",\\n\\t\\\"Ċ\\\":\\\"C\\\",\\n\\t\\\"Ƈ\\\":\\\"C\\\",\\n\\t\\\"Ȼ\\\":\\\"C\\\",\\n\\t\\\"Ď\\\":\\\"D\\\",\\n\\t\\\"Ḑ\\\":\\\"D\\\",\\n\\t\\\"Ḓ\\\":\\\"D\\\",\\n\\t\\\"Ḋ\\\":\\\"D\\\",\\n\\t\\\"Ḍ\\\":\\\"D\\\",\\n\\t\\\"Ɗ\\\":\\\"D\\\",\\n\\t\\\"Ḏ\\\":\\\"D\\\",\\n\\t\\\"Dz\\\":\\\"D\\\",\\n\\t\\\"Dž\\\":\\\"D\\\",\\n\\t\\\"Đ\\\":\\\"D\\\",\\n\\t\\\"Ƌ\\\":\\\"D\\\",\\n\\t\\\"DZ\\\":\\\"DZ\\\",\\n\\t\\\"DŽ\\\":\\\"DZ\\\",\\n\\t\\\"É\\\":\\\"E\\\",\\n\\t\\\"Ĕ\\\":\\\"E\\\",\\n\\t\\\"Ě\\\":\\\"E\\\",\\n\\t\\\"Ȩ\\\":\\\"E\\\",\\n\\t\\\"Ḝ\\\":\\\"E\\\",\\n\\t\\\"Ê\\\":\\\"E\\\",\\n\\t\\\"Ế\\\":\\\"E\\\",\\n\\t\\\"Ệ\\\":\\\"E\\\",\\n\\t\\\"Ề\\\":\\\"E\\\",\\n\\t\\\"Ể\\\":\\\"E\\\",\\n\\t\\\"Ễ\\\":\\\"E\\\",\\n\\t\\\"Ḙ\\\":\\\"E\\\",\\n\\t\\\"Ë\\\":\\\"E\\\",\\n\\t\\\"Ė\\\":\\\"E\\\",\\n\\t\\\"Ẹ\\\":\\\"E\\\",\\n\\t\\\"Ȅ\\\":\\\"E\\\",\\n\\t\\\"È\\\":\\\"E\\\",\\n\\t\\\"Ẻ\\\":\\\"E\\\",\\n\\t\\\"Ȇ\\\":\\\"E\\\",\\n\\t\\\"Ē\\\":\\\"E\\\",\\n\\t\\\"Ḗ\\\":\\\"E\\\",\\n\\t\\\"Ḕ\\\":\\\"E\\\",\\n\\t\\\"Ę\\\":\\\"E\\\",\\n\\t\\\"Ɇ\\\":\\\"E\\\",\\n\\t\\\"Ẽ\\\":\\\"E\\\",\\n\\t\\\"Ḛ\\\":\\\"E\\\",\\n\\t\\\"\\\":\\\"ET\\\",\\n\\t\\\"Ḟ\\\":\\\"F\\\",\\n\\t\\\"Ƒ\\\":\\\"F\\\",\\n\\t\\\"Ǵ\\\":\\\"G\\\",\\n\\t\\\"Ğ\\\":\\\"G\\\",\\n\\t\\\"Ǧ\\\":\\\"G\\\",\\n\\t\\\"Ģ\\\":\\\"G\\\",\\n\\t\\\"Ĝ\\\":\\\"G\\\",\\n\\t\\\"Ġ\\\":\\\"G\\\",\\n\\t\\\"Ɠ\\\":\\\"G\\\",\\n\\t\\\"Ḡ\\\":\\\"G\\\",\\n\\t\\\"Ǥ\\\":\\\"G\\\",\\n\\t\\\"Ḫ\\\":\\\"H\\\",\\n\\t\\\"Ȟ\\\":\\\"H\\\",\\n\\t\\\"Ḩ\\\":\\\"H\\\",\\n\\t\\\"Ĥ\\\":\\\"H\\\",\\n\\t\\\"Ⱨ\\\":\\\"H\\\",\\n\\t\\\"Ḧ\\\":\\\"H\\\",\\n\\t\\\"Ḣ\\\":\\\"H\\\",\\n\\t\\\"Ḥ\\\":\\\"H\\\",\\n\\t\\\"Ħ\\\":\\\"H\\\",\\n\\t\\\"Í\\\":\\\"I\\\",\\n\\t\\\"Ĭ\\\":\\\"I\\\",\\n\\t\\\"Ǐ\\\":\\\"I\\\",\\n\\t\\\"Î\\\":\\\"I\\\",\\n\\t\\\"Ï\\\":\\\"I\\\",\\n\\t\\\"Ḯ\\\":\\\"I\\\",\\n\\t\\\"İ\\\":\\\"I\\\",\\n\\t\\\"Ị\\\":\\\"I\\\",\\n\\t\\\"Ȉ\\\":\\\"I\\\",\\n\\t\\\"Ì\\\":\\\"I\\\",\\n\\t\\\"Ỉ\\\":\\\"I\\\",\\n\\t\\\"Ȋ\\\":\\\"I\\\",\\n\\t\\\"Ī\\\":\\\"I\\\",\\n\\t\\\"Į\\\":\\\"I\\\",\\n\\t\\\"Ɨ\\\":\\\"I\\\",\\n\\t\\\"Ĩ\\\":\\\"I\\\",\\n\\t\\\"Ḭ\\\":\\\"I\\\",\\n\\t\\\"Ꝺ\\\":\\\"D\\\",\\n\\t\\\"Ꝼ\\\":\\\"F\\\",\\n\\t\\\"Ᵹ\\\":\\\"G\\\",\\n\\t\\\"Ꞃ\\\":\\\"R\\\",\\n\\t\\\"Ꞅ\\\":\\\"S\\\",\\n\\t\\\"Ꞇ\\\":\\\"T\\\",\\n\\t\\\"Ꝭ\\\":\\\"IS\\\",\\n\\t\\\"Ĵ\\\":\\\"J\\\",\\n\\t\\\"Ɉ\\\":\\\"J\\\",\\n\\t\\\"Ḱ\\\":\\\"K\\\",\\n\\t\\\"Ǩ\\\":\\\"K\\\",\\n\\t\\\"Ķ\\\":\\\"K\\\",\\n\\t\\\"Ⱪ\\\":\\\"K\\\",\\n\\t\\\"Ꝃ\\\":\\\"K\\\",\\n\\t\\\"Ḳ\\\":\\\"K\\\",\\n\\t\\\"Ƙ\\\":\\\"K\\\",\\n\\t\\\"Ḵ\\\":\\\"K\\\",\\n\\t\\\"Ꝁ\\\":\\\"K\\\",\\n\\t\\\"Ꝅ\\\":\\\"K\\\",\\n\\t\\\"Ĺ\\\":\\\"L\\\",\\n\\t\\\"Ƚ\\\":\\\"L\\\",\\n\\t\\\"Ľ\\\":\\\"L\\\",\\n\\t\\\"Ļ\\\":\\\"L\\\",\\n\\t\\\"Ḽ\\\":\\\"L\\\",\\n\\t\\\"Ḷ\\\":\\\"L\\\",\\n\\t\\\"Ḹ\\\":\\\"L\\\",\\n\\t\\\"Ⱡ\\\":\\\"L\\\",\\n\\t\\\"Ꝉ\\\":\\\"L\\\",\\n\\t\\\"Ḻ\\\":\\\"L\\\",\\n\\t\\\"Ŀ\\\":\\\"L\\\",\\n\\t\\\"Ɫ\\\":\\\"L\\\",\\n\\t\\\"Lj\\\":\\\"L\\\",\\n\\t\\\"Ł\\\":\\\"L\\\",\\n\\t\\\"LJ\\\":\\\"LJ\\\",\\n\\t\\\"Ḿ\\\":\\\"M\\\",\\n\\t\\\"Ṁ\\\":\\\"M\\\",\\n\\t\\\"Ṃ\\\":\\\"M\\\",\\n\\t\\\"Ɱ\\\":\\\"M\\\",\\n\\t\\\"Ń\\\":\\\"N\\\",\\n\\t\\\"Ň\\\":\\\"N\\\",\\n\\t\\\"Ņ\\\":\\\"N\\\",\\n\\t\\\"Ṋ\\\":\\\"N\\\",\\n\\t\\\"Ṅ\\\":\\\"N\\\",\\n\\t\\\"Ṇ\\\":\\\"N\\\",\\n\\t\\\"Ǹ\\\":\\\"N\\\",\\n\\t\\\"Ɲ\\\":\\\"N\\\",\\n\\t\\\"Ṉ\\\":\\\"N\\\",\\n\\t\\\"Ƞ\\\":\\\"N\\\",\\n\\t\\\"Nj\\\":\\\"N\\\",\\n\\t\\\"Ñ\\\":\\\"N\\\",\\n\\t\\\"NJ\\\":\\\"NJ\\\",\\n\\t\\\"ð\\\":\\\"d\\\",\\n\\t\\\"Ð\\\":\\\"D\\\",\\n\\t\\\"Ó\\\":\\\"O\\\",\\n\\t\\\"Ŏ\\\":\\\"O\\\",\\n\\t\\\"Ǒ\\\":\\\"O\\\",\\n\\t\\\"Ô\\\":\\\"O\\\",\\n\\t\\\"Ố\\\":\\\"O\\\",\\n\\t\\\"Ộ\\\":\\\"O\\\",\\n\\t\\\"Ồ\\\":\\\"O\\\",\\n\\t\\\"Ổ\\\":\\\"O\\\",\\n\\t\\\"Ỗ\\\":\\\"O\\\",\\n\\t\\\"Ö\\\":\\\"O\\\",\\n\\t\\\"Ȫ\\\":\\\"O\\\",\\n\\t\\\"Ȯ\\\":\\\"O\\\",\\n\\t\\\"Ȱ\\\":\\\"O\\\",\\n\\t\\\"Ọ\\\":\\\"O\\\",\\n\\t\\\"Ő\\\":\\\"O\\\",\\n\\t\\\"Ȍ\\\":\\\"O\\\",\\n\\t\\\"Ò\\\":\\\"O\\\",\\n\\t\\\"Ỏ\\\":\\\"O\\\",\\n\\t\\\"Ơ\\\":\\\"O\\\",\\n\\t\\\"Ớ\\\":\\\"O\\\",\\n\\t\\\"Ợ\\\":\\\"O\\\",\\n\\t\\\"Ờ\\\":\\\"O\\\",\\n\\t\\\"Ở\\\":\\\"O\\\",\\n\\t\\\"Ỡ\\\":\\\"O\\\",\\n\\t\\\"Ȏ\\\":\\\"O\\\",\\n\\t\\\"Ꝋ\\\":\\\"O\\\",\\n\\t\\\"Ꝍ\\\":\\\"O\\\",\\n\\t\\\"Ō\\\":\\\"O\\\",\\n\\t\\\"Ṓ\\\":\\\"O\\\",\\n\\t\\\"Ṑ\\\":\\\"O\\\",\\n\\t\\\"Ɵ\\\":\\\"O\\\",\\n\\t\\\"Ǫ\\\":\\\"O\\\",\\n\\t\\\"Ǭ\\\":\\\"O\\\",\\n\\t\\\"Ø\\\":\\\"O\\\",\\n\\t\\\"Ǿ\\\":\\\"O\\\",\\n\\t\\\"Õ\\\":\\\"O\\\",\\n\\t\\\"Ṍ\\\":\\\"O\\\",\\n\\t\\\"Ṏ\\\":\\\"O\\\",\\n\\t\\\"Ȭ\\\":\\\"O\\\",\\n\\t\\\"Ƣ\\\":\\\"OI\\\",\\n\\t\\\"Ꝏ\\\":\\\"OO\\\",\\n\\t\\\"Ɛ\\\":\\\"E\\\",\\n\\t\\\"Ɔ\\\":\\\"O\\\",\\n\\t\\\"Ȣ\\\":\\\"OU\\\",\\n\\t\\\"Ṕ\\\":\\\"P\\\",\\n\\t\\\"Ṗ\\\":\\\"P\\\",\\n\\t\\\"Ꝓ\\\":\\\"P\\\",\\n\\t\\\"Ƥ\\\":\\\"P\\\",\\n\\t\\\"Ꝕ\\\":\\\"P\\\",\\n\\t\\\"Ᵽ\\\":\\\"P\\\",\\n\\t\\\"Ꝑ\\\":\\\"P\\\",\\n\\t\\\"Ꝙ\\\":\\\"Q\\\",\\n\\t\\\"Ꝗ\\\":\\\"Q\\\",\\n\\t\\\"Ŕ\\\":\\\"R\\\",\\n\\t\\\"Ř\\\":\\\"R\\\",\\n\\t\\\"Ŗ\\\":\\\"R\\\",\\n\\t\\\"Ṙ\\\":\\\"R\\\",\\n\\t\\\"Ṛ\\\":\\\"R\\\",\\n\\t\\\"Ṝ\\\":\\\"R\\\",\\n\\t\\\"Ȑ\\\":\\\"R\\\",\\n\\t\\\"Ȓ\\\":\\\"R\\\",\\n\\t\\\"Ṟ\\\":\\\"R\\\",\\n\\t\\\"Ɍ\\\":\\\"R\\\",\\n\\t\\\"Ɽ\\\":\\\"R\\\",\\n\\t\\\"Ꜿ\\\":\\\"C\\\",\\n\\t\\\"Ǝ\\\":\\\"E\\\",\\n\\t\\\"ß\\\":\\\"ss\\\",\\n\\t\\\"ẞ\\\":\\\"SS\\\",\\n\\t\\\"Ś\\\":\\\"S\\\",\\n\\t\\\"Ṥ\\\":\\\"S\\\",\\n\\t\\\"Š\\\":\\\"S\\\",\\n\\t\\\"Ṧ\\\":\\\"S\\\",\\n\\t\\\"Ş\\\":\\\"S\\\",\\n\\t\\\"Ŝ\\\":\\\"S\\\",\\n\\t\\\"Ș\\\":\\\"S\\\",\\n\\t\\\"Ṡ\\\":\\\"S\\\",\\n\\t\\\"Ṣ\\\":\\\"S\\\",\\n\\t\\\"Ṩ\\\":\\\"S\\\",\\n\\t\\\"þ\\\": \\\"th\\\",\\n\\t\\\"Þ\\\": \\\"TH\\\",\\n\\t\\\"Ť\\\":\\\"T\\\",\\n\\t\\\"Ţ\\\":\\\"T\\\",\\n\\t\\\"Ṱ\\\":\\\"T\\\",\\n\\t\\\"Ț\\\":\\\"T\\\",\\n\\t\\\"Ⱦ\\\":\\\"T\\\",\\n\\t\\\"Ṫ\\\":\\\"T\\\",\\n\\t\\\"Ṭ\\\":\\\"T\\\",\\n\\t\\\"Ƭ\\\":\\\"T\\\",\\n\\t\\\"Ṯ\\\":\\\"T\\\",\\n\\t\\\"Ʈ\\\":\\\"T\\\",\\n\\t\\\"Ŧ\\\":\\\"T\\\",\\n\\t\\\"Ɐ\\\":\\\"A\\\",\\n\\t\\\"Ꞁ\\\":\\\"L\\\",\\n\\t\\\"Ɯ\\\":\\\"M\\\",\\n\\t\\\"Ʌ\\\":\\\"V\\\",\\n\\t\\\"Ꜩ\\\":\\\"TZ\\\",\\n\\t\\\"Ú\\\":\\\"U\\\",\\n\\t\\\"Ŭ\\\":\\\"U\\\",\\n\\t\\\"Ǔ\\\":\\\"U\\\",\\n\\t\\\"Û\\\":\\\"U\\\",\\n\\t\\\"Ṷ\\\":\\\"U\\\",\\n\\t\\\"Ü\\\":\\\"U\\\",\\n\\t\\\"Ǘ\\\":\\\"U\\\",\\n\\t\\\"Ǚ\\\":\\\"U\\\",\\n\\t\\\"Ǜ\\\":\\\"U\\\",\\n\\t\\\"Ǖ\\\":\\\"U\\\",\\n\\t\\\"Ṳ\\\":\\\"U\\\",\\n\\t\\\"Ụ\\\":\\\"U\\\",\\n\\t\\\"Ű\\\":\\\"U\\\",\\n\\t\\\"Ȕ\\\":\\\"U\\\",\\n\\t\\\"Ù\\\":\\\"U\\\",\\n\\t\\\"Ủ\\\":\\\"U\\\",\\n\\t\\\"Ư\\\":\\\"U\\\",\\n\\t\\\"Ứ\\\":\\\"U\\\",\\n\\t\\\"Ự\\\":\\\"U\\\",\\n\\t\\\"Ừ\\\":\\\"U\\\",\\n\\t\\\"Ử\\\":\\\"U\\\",\\n\\t\\\"Ữ\\\":\\\"U\\\",\\n\\t\\\"Ȗ\\\":\\\"U\\\",\\n\\t\\\"Ū\\\":\\\"U\\\",\\n\\t\\\"Ṻ\\\":\\\"U\\\",\\n\\t\\\"Ų\\\":\\\"U\\\",\\n\\t\\\"Ů\\\":\\\"U\\\",\\n\\t\\\"Ũ\\\":\\\"U\\\",\\n\\t\\\"Ṹ\\\":\\\"U\\\",\\n\\t\\\"Ṵ\\\":\\\"U\\\",\\n\\t\\\"Ꝟ\\\":\\\"V\\\",\\n\\t\\\"Ṿ\\\":\\\"V\\\",\\n\\t\\\"Ʋ\\\":\\\"V\\\",\\n\\t\\\"Ṽ\\\":\\\"V\\\",\\n\\t\\\"Ꝡ\\\":\\\"VY\\\",\\n\\t\\\"Ẃ\\\":\\\"W\\\",\\n\\t\\\"Ŵ\\\":\\\"W\\\",\\n\\t\\\"Ẅ\\\":\\\"W\\\",\\n\\t\\\"Ẇ\\\":\\\"W\\\",\\n\\t\\\"Ẉ\\\":\\\"W\\\",\\n\\t\\\"Ẁ\\\":\\\"W\\\",\\n\\t\\\"Ⱳ\\\":\\\"W\\\",\\n\\t\\\"Ẍ\\\":\\\"X\\\",\\n\\t\\\"Ẋ\\\":\\\"X\\\",\\n\\t\\\"Ý\\\":\\\"Y\\\",\\n\\t\\\"Ŷ\\\":\\\"Y\\\",\\n\\t\\\"Ÿ\\\":\\\"Y\\\",\\n\\t\\\"Ẏ\\\":\\\"Y\\\",\\n\\t\\\"Ỵ\\\":\\\"Y\\\",\\n\\t\\\"Ỳ\\\":\\\"Y\\\",\\n\\t\\\"Ƴ\\\":\\\"Y\\\",\\n\\t\\\"Ỷ\\\":\\\"Y\\\",\\n\\t\\\"Ỿ\\\":\\\"Y\\\",\\n\\t\\\"Ȳ\\\":\\\"Y\\\",\\n\\t\\\"Ɏ\\\":\\\"Y\\\",\\n\\t\\\"Ỹ\\\":\\\"Y\\\",\\n\\t\\\"Ź\\\":\\\"Z\\\",\\n\\t\\\"Ž\\\":\\\"Z\\\",\\n\\t\\\"Ẑ\\\":\\\"Z\\\",\\n\\t\\\"Ⱬ\\\":\\\"Z\\\",\\n\\t\\\"Ż\\\":\\\"Z\\\",\\n\\t\\\"Ẓ\\\":\\\"Z\\\",\\n\\t\\\"Ȥ\\\":\\\"Z\\\",\\n\\t\\\"Ẕ\\\":\\\"Z\\\",\\n\\t\\\"Ƶ\\\":\\\"Z\\\",\\n\\t\\\"IJ\\\":\\\"IJ\\\",\\n\\t\\\"Œ\\\":\\\"OE\\\",\\n\\t\\\"ᴀ\\\":\\\"A\\\",\\n\\t\\\"ᴁ\\\":\\\"AE\\\",\\n\\t\\\"ʙ\\\":\\\"B\\\",\\n\\t\\\"ᴃ\\\":\\\"B\\\",\\n\\t\\\"\\\":\\\"C\\\",\\n\\t\\\"ᴅ\\\":\\\"D\\\",\\n\\t\\\"ᴇ\\\":\\\"E\\\",\\n\\t\\\"ꜰ\\\":\\\"F\\\",\\n\\t\\\"ɢ\\\":\\\"G\\\",\\n\\t\\\"ʛ\\\":\\\"G\\\",\\n\\t\\\"ʜ\\\":\\\"H\\\",\\n\\t\\\"ɪ\\\":\\\"I\\\",\\n\\t\\\"ʁ\\\":\\\"R\\\",\\n\\t\\\"ᴊ\\\":\\\"J\\\",\\n\\t\\\"ᴋ\\\":\\\"K\\\",\\n\\t\\\"ʟ\\\":\\\"L\\\",\\n\\t\\\"ᴌ\\\":\\\"L\\\",\\n\\t\\\"ᴍ\\\":\\\"M\\\",\\n\\t\\\"ɴ\\\":\\\"N\\\",\\n\\t\\\"\\\":\\\"O\\\",\\n\\t\\\"ɶ\\\":\\\"OE\\\",\\n\\t\\\"ᴐ\\\":\\\"O\\\",\\n\\t\\\"ᴕ\\\":\\\"OU\\\",\\n\\t\\\"ᴘ\\\":\\\"P\\\",\\n\\t\\\"ʀ\\\":\\\"R\\\",\\n\\t\\\"ᴎ\\\":\\\"N\\\",\\n\\t\\\"ᴙ\\\":\\\"R\\\",\\n\\t\\\"\\\":\\\"S\\\",\\n\\t\\\"ᴛ\\\":\\\"T\\\",\\n\\t\\\"ⱻ\\\":\\\"E\\\",\\n\\t\\\"ᴚ\\\":\\\"R\\\",\\n\\t\\\"\\\":\\\"U\\\",\\n\\t\\\"\\\":\\\"V\\\",\\n\\t\\\"\\\":\\\"W\\\",\\n\\t\\\"ʏ\\\":\\\"Y\\\",\\n\\t\\\"\\\":\\\"Z\\\",\\n\\t\\\"á\\\":\\\"a\\\",\\n\\t\\\"ă\\\":\\\"a\\\",\\n\\t\\\"ắ\\\":\\\"a\\\",\\n\\t\\\"ặ\\\":\\\"a\\\",\\n\\t\\\"ằ\\\":\\\"a\\\",\\n\\t\\\"ẳ\\\":\\\"a\\\",\\n\\t\\\"ẵ\\\":\\\"a\\\",\\n\\t\\\"ǎ\\\":\\\"a\\\",\\n\\t\\\"â\\\":\\\"a\\\",\\n\\t\\\"ấ\\\":\\\"a\\\",\\n\\t\\\"ậ\\\":\\\"a\\\",\\n\\t\\\"ầ\\\":\\\"a\\\",\\n\\t\\\"ẩ\\\":\\\"a\\\",\\n\\t\\\"ẫ\\\":\\\"a\\\",\\n\\t\\\"ä\\\":\\\"a\\\",\\n\\t\\\"ǟ\\\":\\\"a\\\",\\n\\t\\\"ȧ\\\":\\\"a\\\",\\n\\t\\\"ǡ\\\":\\\"a\\\",\\n\\t\\\"ạ\\\":\\\"a\\\",\\n\\t\\\"ȁ\\\":\\\"a\\\",\\n\\t\\\"à\\\":\\\"a\\\",\\n\\t\\\"ả\\\":\\\"a\\\",\\n\\t\\\"ȃ\\\":\\\"a\\\",\\n\\t\\\"ā\\\":\\\"a\\\",\\n\\t\\\"ą\\\":\\\"a\\\",\\n\\t\\\"ᶏ\\\":\\\"a\\\",\\n\\t\\\"ẚ\\\":\\\"a\\\",\\n\\t\\\"å\\\":\\\"a\\\",\\n\\t\\\"ǻ\\\":\\\"a\\\",\\n\\t\\\"ḁ\\\":\\\"a\\\",\\n\\t\\\"ⱥ\\\":\\\"a\\\",\\n\\t\\\"ã\\\":\\\"a\\\",\\n\\t\\\"ꜳ\\\":\\\"aa\\\",\\n\\t\\\"æ\\\":\\\"ae\\\",\\n\\t\\\"ǽ\\\":\\\"ae\\\",\\n\\t\\\"ǣ\\\":\\\"ae\\\",\\n\\t\\\"ꜵ\\\":\\\"ao\\\",\\n\\t\\\"ꜷ\\\":\\\"au\\\",\\n\\t\\\"ꜹ\\\":\\\"av\\\",\\n\\t\\\"ꜻ\\\":\\\"av\\\",\\n\\t\\\"ꜽ\\\":\\\"ay\\\",\\n\\t\\\"ḃ\\\":\\\"b\\\",\\n\\t\\\"ḅ\\\":\\\"b\\\",\\n\\t\\\"ɓ\\\":\\\"b\\\",\\n\\t\\\"ḇ\\\":\\\"b\\\",\\n\\t\\\"ᵬ\\\":\\\"b\\\",\\n\\t\\\"ᶀ\\\":\\\"b\\\",\\n\\t\\\"ƀ\\\":\\\"b\\\",\\n\\t\\\"ƃ\\\":\\\"b\\\",\\n\\t\\\"ɵ\\\":\\\"o\\\",\\n\\t\\\"ć\\\":\\\"c\\\",\\n\\t\\\"č\\\":\\\"c\\\",\\n\\t\\\"ç\\\":\\\"c\\\",\\n\\t\\\"ḉ\\\":\\\"c\\\",\\n\\t\\\"ĉ\\\":\\\"c\\\",\\n\\t\\\"ɕ\\\":\\\"c\\\",\\n\\t\\\"ċ\\\":\\\"c\\\",\\n\\t\\\"ƈ\\\":\\\"c\\\",\\n\\t\\\"ȼ\\\":\\\"c\\\",\\n\\t\\\"ď\\\":\\\"d\\\",\\n\\t\\\"ḑ\\\":\\\"d\\\",\\n\\t\\\"ḓ\\\":\\\"d\\\",\\n\\t\\\"ȡ\\\":\\\"d\\\",\\n\\t\\\"ḋ\\\":\\\"d\\\",\\n\\t\\\"ḍ\\\":\\\"d\\\",\\n\\t\\\"ɗ\\\":\\\"d\\\",\\n\\t\\\"ᶑ\\\":\\\"d\\\",\\n\\t\\\"ḏ\\\":\\\"d\\\",\\n\\t\\\"ᵭ\\\":\\\"d\\\",\\n\\t\\\"ᶁ\\\":\\\"d\\\",\\n\\t\\\"đ\\\":\\\"d\\\",\\n\\t\\\"ɖ\\\":\\\"d\\\",\\n\\t\\\"ƌ\\\":\\\"d\\\",\\n\\t\\\"ı\\\":\\\"i\\\",\\n\\t\\\"ȷ\\\":\\\"j\\\",\\n\\t\\\"ɟ\\\":\\\"j\\\",\\n\\t\\\"ʄ\\\":\\\"j\\\",\\n\\t\\\"dz\\\":\\\"dz\\\",\\n\\t\\\"dž\\\":\\\"dz\\\",\\n\\t\\\"é\\\":\\\"e\\\",\\n\\t\\\"ĕ\\\":\\\"e\\\",\\n\\t\\\"ě\\\":\\\"e\\\",\\n\\t\\\"ȩ\\\":\\\"e\\\",\\n\\t\\\"ḝ\\\":\\\"e\\\",\\n\\t\\\"ê\\\":\\\"e\\\",\\n\\t\\\"ế\\\":\\\"e\\\",\\n\\t\\\"ệ\\\":\\\"e\\\",\\n\\t\\\"ề\\\":\\\"e\\\",\\n\\t\\\"ể\\\":\\\"e\\\",\\n\\t\\\"ễ\\\":\\\"e\\\",\\n\\t\\\"ḙ\\\":\\\"e\\\",\\n\\t\\\"ë\\\":\\\"e\\\",\\n\\t\\\"ė\\\":\\\"e\\\",\\n\\t\\\"ẹ\\\":\\\"e\\\",\\n\\t\\\"ȅ\\\":\\\"e\\\",\\n\\t\\\"è\\\":\\\"e\\\",\\n\\t\\\"ẻ\\\":\\\"e\\\",\\n\\t\\\"ȇ\\\":\\\"e\\\",\\n\\t\\\"ē\\\":\\\"e\\\",\\n\\t\\\"ḗ\\\":\\\"e\\\",\\n\\t\\\"ḕ\\\":\\\"e\\\",\\n\\t\\\"ⱸ\\\":\\\"e\\\",\\n\\t\\\"ę\\\":\\\"e\\\",\\n\\t\\\"ᶒ\\\":\\\"e\\\",\\n\\t\\\"ɇ\\\":\\\"e\\\",\\n\\t\\\"ẽ\\\":\\\"e\\\",\\n\\t\\\"ḛ\\\":\\\"e\\\",\\n\\t\\\"ꝫ\\\":\\\"et\\\",\\n\\t\\\"ḟ\\\":\\\"f\\\",\\n\\t\\\"ƒ\\\":\\\"f\\\",\\n\\t\\\"ᵮ\\\":\\\"f\\\",\\n\\t\\\"ᶂ\\\":\\\"f\\\",\\n\\t\\\"ǵ\\\":\\\"g\\\",\\n\\t\\\"ğ\\\":\\\"g\\\",\\n\\t\\\"ǧ\\\":\\\"g\\\",\\n\\t\\\"ģ\\\":\\\"g\\\",\\n\\t\\\"ĝ\\\":\\\"g\\\",\\n\\t\\\"ġ\\\":\\\"g\\\",\\n\\t\\\"ɠ\\\":\\\"g\\\",\\n\\t\\\"ḡ\\\":\\\"g\\\",\\n\\t\\\"\\\":\\\"g\\\",\\n\\t\\\"ǥ\\\":\\\"g\\\",\\n\\t\\\"ḫ\\\":\\\"h\\\",\\n\\t\\\"ȟ\\\":\\\"h\\\",\\n\\t\\\"ḩ\\\":\\\"h\\\",\\n\\t\\\"ĥ\\\":\\\"h\\\",\\n\\t\\\"ⱨ\\\":\\\"h\\\",\\n\\t\\\"ḧ\\\":\\\"h\\\",\\n\\t\\\"ḣ\\\":\\\"h\\\",\\n\\t\\\"ḥ\\\":\\\"h\\\",\\n\\t\\\"ɦ\\\":\\\"h\\\",\\n\\t\\\"ẖ\\\":\\\"h\\\",\\n\\t\\\"ħ\\\":\\\"h\\\",\\n\\t\\\"ƕ\\\":\\\"hv\\\",\\n\\t\\\"í\\\":\\\"i\\\",\\n\\t\\\"ĭ\\\":\\\"i\\\",\\n\\t\\\"ǐ\\\":\\\"i\\\",\\n\\t\\\"î\\\":\\\"i\\\",\\n\\t\\\"ï\\\":\\\"i\\\",\\n\\t\\\"ḯ\\\":\\\"i\\\",\\n\\t\\\"ị\\\":\\\"i\\\",\\n\\t\\\"ȉ\\\":\\\"i\\\",\\n\\t\\\"ì\\\":\\\"i\\\",\\n\\t\\\"ỉ\\\":\\\"i\\\",\\n\\t\\\"ȋ\\\":\\\"i\\\",\\n\\t\\\"ī\\\":\\\"i\\\",\\n\\t\\\"į\\\":\\\"i\\\",\\n\\t\\\"ᶖ\\\":\\\"i\\\",\\n\\t\\\"ɨ\\\":\\\"i\\\",\\n\\t\\\"ĩ\\\":\\\"i\\\",\\n\\t\\\"ḭ\\\":\\\"i\\\",\\n\\t\\\"ꝺ\\\":\\\"d\\\",\\n\\t\\\"ꝼ\\\":\\\"f\\\",\\n\\t\\\"ᵹ\\\":\\\"g\\\",\\n\\t\\\"ꞃ\\\":\\\"r\\\",\\n\\t\\\"ꞅ\\\":\\\"s\\\",\\n\\t\\\"ꞇ\\\":\\\"t\\\",\\n\\t\\\"ꝭ\\\":\\\"is\\\",\\n\\t\\\"ǰ\\\":\\\"j\\\",\\n\\t\\\"ĵ\\\":\\\"j\\\",\\n\\t\\\"ʝ\\\":\\\"j\\\",\\n\\t\\\"ɉ\\\":\\\"j\\\",\\n\\t\\\"ḱ\\\":\\\"k\\\",\\n\\t\\\"ǩ\\\":\\\"k\\\",\\n\\t\\\"ķ\\\":\\\"k\\\",\\n\\t\\\"ⱪ\\\":\\\"k\\\",\\n\\t\\\"ꝃ\\\":\\\"k\\\",\\n\\t\\\"ḳ\\\":\\\"k\\\",\\n\\t\\\"ƙ\\\":\\\"k\\\",\\n\\t\\\"ḵ\\\":\\\"k\\\",\\n\\t\\\"ᶄ\\\":\\\"k\\\",\\n\\t\\\"ꝁ\\\":\\\"k\\\",\\n\\t\\\"ꝅ\\\":\\\"k\\\",\\n\\t\\\"ĺ\\\":\\\"l\\\",\\n\\t\\\"ƚ\\\":\\\"l\\\",\\n\\t\\\"ɬ\\\":\\\"l\\\",\\n\\t\\\"ľ\\\":\\\"l\\\",\\n\\t\\\"ļ\\\":\\\"l\\\",\\n\\t\\\"ḽ\\\":\\\"l\\\",\\n\\t\\\"ȴ\\\":\\\"l\\\",\\n\\t\\\"ḷ\\\":\\\"l\\\",\\n\\t\\\"ḹ\\\":\\\"l\\\",\\n\\t\\\"ⱡ\\\":\\\"l\\\",\\n\\t\\\"ꝉ\\\":\\\"l\\\",\\n\\t\\\"ḻ\\\":\\\"l\\\",\\n\\t\\\"ŀ\\\":\\\"l\\\",\\n\\t\\\"ɫ\\\":\\\"l\\\",\\n\\t\\\"ᶅ\\\":\\\"l\\\",\\n\\t\\\"ɭ\\\":\\\"l\\\",\\n\\t\\\"ł\\\":\\\"l\\\",\\n\\t\\\"lj\\\":\\\"lj\\\",\\n\\t\\\"ſ\\\":\\\"s\\\",\\n\\t\\\"ẜ\\\":\\\"s\\\",\\n\\t\\\"ẛ\\\":\\\"s\\\",\\n\\t\\\"\\\":\\\"s\\\",\\n\\t\\\"ḿ\\\":\\\"m\\\",\\n\\t\\\"ṁ\\\":\\\"m\\\",\\n\\t\\\"ṃ\\\":\\\"m\\\",\\n\\t\\\"ɱ\\\":\\\"m\\\",\\n\\t\\\"ᵯ\\\":\\\"m\\\",\\n\\t\\\"ᶆ\\\":\\\"m\\\",\\n\\t\\\"ń\\\":\\\"n\\\",\\n\\t\\\"ň\\\":\\\"n\\\",\\n\\t\\\"ņ\\\":\\\"n\\\",\\n\\t\\\"ṋ\\\":\\\"n\\\",\\n\\t\\\"ȵ\\\":\\\"n\\\",\\n\\t\\\"ṅ\\\":\\\"n\\\",\\n\\t\\\"ṇ\\\":\\\"n\\\",\\n\\t\\\"ǹ\\\":\\\"n\\\",\\n\\t\\\"ɲ\\\":\\\"n\\\",\\n\\t\\\"ṉ\\\":\\\"n\\\",\\n\\t\\\"ƞ\\\":\\\"n\\\",\\n\\t\\\"ᵰ\\\":\\\"n\\\",\\n\\t\\\"ᶇ\\\":\\\"n\\\",\\n\\t\\\"ɳ\\\":\\\"n\\\",\\n\\t\\\"ñ\\\":\\\"n\\\",\\n\\t\\\"nj\\\":\\\"nj\\\",\\n\\t\\\"ó\\\":\\\"o\\\",\\n\\t\\\"ŏ\\\":\\\"o\\\",\\n\\t\\\"ǒ\\\":\\\"o\\\",\\n\\t\\\"ô\\\":\\\"o\\\",\\n\\t\\\"ố\\\":\\\"o\\\",\\n\\t\\\"ộ\\\":\\\"o\\\",\\n\\t\\\"ồ\\\":\\\"o\\\",\\n\\t\\\"ổ\\\":\\\"o\\\",\\n\\t\\\"ỗ\\\":\\\"o\\\",\\n\\t\\\"ö\\\":\\\"o\\\",\\n\\t\\\"ȫ\\\":\\\"o\\\",\\n\\t\\\"ȯ\\\":\\\"o\\\",\\n\\t\\\"ȱ\\\":\\\"o\\\",\\n\\t\\\"ọ\\\":\\\"o\\\",\\n\\t\\\"ő\\\":\\\"o\\\",\\n\\t\\\"ȍ\\\":\\\"o\\\",\\n\\t\\\"ò\\\":\\\"o\\\",\\n\\t\\\"ỏ\\\":\\\"o\\\",\\n\\t\\\"ơ\\\":\\\"o\\\",\\n\\t\\\"ớ\\\":\\\"o\\\",\\n\\t\\\"ợ\\\":\\\"o\\\",\\n\\t\\\"ờ\\\":\\\"o\\\",\\n\\t\\\"ở\\\":\\\"o\\\",\\n\\t\\\"ỡ\\\":\\\"o\\\",\\n\\t\\\"ȏ\\\":\\\"o\\\",\\n\\t\\\"ꝋ\\\":\\\"o\\\",\\n\\t\\\"ꝍ\\\":\\\"o\\\",\\n\\t\\\"ⱺ\\\":\\\"o\\\",\\n\\t\\\"ō\\\":\\\"o\\\",\\n\\t\\\"ṓ\\\":\\\"o\\\",\\n\\t\\\"ṑ\\\":\\\"o\\\",\\n\\t\\\"ǫ\\\":\\\"o\\\",\\n\\t\\\"ǭ\\\":\\\"o\\\",\\n\\t\\\"ø\\\":\\\"o\\\",\\n\\t\\\"ǿ\\\":\\\"o\\\",\\n\\t\\\"õ\\\":\\\"o\\\",\\n\\t\\\"ṍ\\\":\\\"o\\\",\\n\\t\\\"ṏ\\\":\\\"o\\\",\\n\\t\\\"ȭ\\\":\\\"o\\\",\\n\\t\\\"ƣ\\\":\\\"oi\\\",\\n\\t\\\"ꝏ\\\":\\\"oo\\\",\\n\\t\\\"ɛ\\\":\\\"e\\\",\\n\\t\\\"ᶓ\\\":\\\"e\\\",\\n\\t\\\"ɔ\\\":\\\"o\\\",\\n\\t\\\"ᶗ\\\":\\\"o\\\",\\n\\t\\\"ȣ\\\":\\\"ou\\\",\\n\\t\\\"ṕ\\\":\\\"p\\\",\\n\\t\\\"ṗ\\\":\\\"p\\\",\\n\\t\\\"ꝓ\\\":\\\"p\\\",\\n\\t\\\"ƥ\\\":\\\"p\\\",\\n\\t\\\"ᵱ\\\":\\\"p\\\",\\n\\t\\\"ᶈ\\\":\\\"p\\\",\\n\\t\\\"ꝕ\\\":\\\"p\\\",\\n\\t\\\"ᵽ\\\":\\\"p\\\",\\n\\t\\\"ꝑ\\\":\\\"p\\\",\\n\\t\\\"ꝙ\\\":\\\"q\\\",\\n\\t\\\"ʠ\\\":\\\"q\\\",\\n\\t\\\"ɋ\\\":\\\"q\\\",\\n\\t\\\"ꝗ\\\":\\\"q\\\",\\n\\t\\\"ŕ\\\":\\\"r\\\",\\n\\t\\\"ř\\\":\\\"r\\\",\\n\\t\\\"ŗ\\\":\\\"r\\\",\\n\\t\\\"ṙ\\\":\\\"r\\\",\\n\\t\\\"ṛ\\\":\\\"r\\\",\\n\\t\\\"ṝ\\\":\\\"r\\\",\\n\\t\\\"ȑ\\\":\\\"r\\\",\\n\\t\\\"ɾ\\\":\\\"r\\\",\\n\\t\\\"ᵳ\\\":\\\"r\\\",\\n\\t\\\"ȓ\\\":\\\"r\\\",\\n\\t\\\"ṟ\\\":\\\"r\\\",\\n\\t\\\"ɼ\\\":\\\"r\\\",\\n\\t\\\"ᵲ\\\":\\\"r\\\",\\n\\t\\\"ᶉ\\\":\\\"r\\\",\\n\\t\\\"ɍ\\\":\\\"r\\\",\\n\\t\\\"ɽ\\\":\\\"r\\\",\\n\\t\\\"ↄ\\\":\\\"c\\\",\\n\\t\\\"ꜿ\\\":\\\"c\\\",\\n\\t\\\"ɘ\\\":\\\"e\\\",\\n\\t\\\"ɿ\\\":\\\"r\\\",\\n\\t\\\"ś\\\":\\\"s\\\",\\n\\t\\\"ṥ\\\":\\\"s\\\",\\n\\t\\\"š\\\":\\\"s\\\",\\n\\t\\\"ṧ\\\":\\\"s\\\",\\n\\t\\\"ş\\\":\\\"s\\\",\\n\\t\\\"ŝ\\\":\\\"s\\\",\\n\\t\\\"ș\\\":\\\"s\\\",\\n\\t\\\"ṡ\\\":\\\"s\\\",\\n\\t\\\"ṣ\\\":\\\"s\\\",\\n\\t\\\"ṩ\\\":\\\"s\\\",\\n\\t\\\"ʂ\\\":\\\"s\\\",\\n\\t\\\"ᵴ\\\":\\\"s\\\",\\n\\t\\\"ᶊ\\\":\\\"s\\\",\\n\\t\\\"ȿ\\\":\\\"s\\\",\\n\\t\\\"ɡ\\\":\\\"g\\\",\\n\\t\\\"\\\":\\\"o\\\",\\n\\t\\\"ᴓ\\\":\\\"o\\\",\\n\\t\\\"ᴝ\\\":\\\"u\\\",\\n\\t\\\"ť\\\":\\\"t\\\",\\n\\t\\\"ţ\\\":\\\"t\\\",\\n\\t\\\"ṱ\\\":\\\"t\\\",\\n\\t\\\"ț\\\":\\\"t\\\",\\n\\t\\\"ȶ\\\":\\\"t\\\",\\n\\t\\\"ẗ\\\":\\\"t\\\",\\n\\t\\\"ⱦ\\\":\\\"t\\\",\\n\\t\\\"ṫ\\\":\\\"t\\\",\\n\\t\\\"ṭ\\\":\\\"t\\\",\\n\\t\\\"ƭ\\\":\\\"t\\\",\\n\\t\\\"ṯ\\\":\\\"t\\\",\\n\\t\\\"ᵵ\\\":\\\"t\\\",\\n\\t\\\"ƫ\\\":\\\"t\\\",\\n\\t\\\"ʈ\\\":\\\"t\\\",\\n\\t\\\"ŧ\\\":\\\"t\\\",\\n\\t\\\"ᵺ\\\":\\\"th\\\",\\n\\t\\\"ɐ\\\":\\\"a\\\",\\n\\t\\\"ᴂ\\\":\\\"ae\\\",\\n\\t\\\"ǝ\\\":\\\"e\\\",\\n\\t\\\"ᵷ\\\":\\\"g\\\",\\n\\t\\\"ɥ\\\":\\\"h\\\",\\n\\t\\\"ʮ\\\":\\\"h\\\",\\n\\t\\\"ʯ\\\":\\\"h\\\",\\n\\t\\\"ᴉ\\\":\\\"i\\\",\\n\\t\\\"ʞ\\\":\\\"k\\\",\\n\\t\\\"ꞁ\\\":\\\"l\\\",\\n\\t\\\"ɯ\\\":\\\"m\\\",\\n\\t\\\"ɰ\\\":\\\"m\\\",\\n\\t\\\"ᴔ\\\":\\\"oe\\\",\\n\\t\\\"ɹ\\\":\\\"r\\\",\\n\\t\\\"ɻ\\\":\\\"r\\\",\\n\\t\\\"ɺ\\\":\\\"r\\\",\\n\\t\\\"ⱹ\\\":\\\"r\\\",\\n\\t\\\"ʇ\\\":\\\"t\\\",\\n\\t\\\"ʌ\\\":\\\"v\\\",\\n\\t\\\"ʍ\\\":\\\"w\\\",\\n\\t\\\"ʎ\\\":\\\"y\\\",\\n\\t\\\"ꜩ\\\":\\\"tz\\\",\\n\\t\\\"ú\\\":\\\"u\\\",\\n\\t\\\"ŭ\\\":\\\"u\\\",\\n\\t\\\"ǔ\\\":\\\"u\\\",\\n\\t\\\"û\\\":\\\"u\\\",\\n\\t\\\"ṷ\\\":\\\"u\\\",\\n\\t\\\"ü\\\":\\\"u\\\",\\n\\t\\\"ǘ\\\":\\\"u\\\",\\n\\t\\\"ǚ\\\":\\\"u\\\",\\n\\t\\\"ǜ\\\":\\\"u\\\",\\n\\t\\\"ǖ\\\":\\\"u\\\",\\n\\t\\\"ṳ\\\":\\\"u\\\",\\n\\t\\\"ụ\\\":\\\"u\\\",\\n\\t\\\"ű\\\":\\\"u\\\",\\n\\t\\\"ȕ\\\":\\\"u\\\",\\n\\t\\\"ù\\\":\\\"u\\\",\\n\\t\\\"ủ\\\":\\\"u\\\",\\n\\t\\\"ư\\\":\\\"u\\\",\\n\\t\\\"ứ\\\":\\\"u\\\",\\n\\t\\\"ự\\\":\\\"u\\\",\\n\\t\\\"ừ\\\":\\\"u\\\",\\n\\t\\\"ử\\\":\\\"u\\\",\\n\\t\\\"ữ\\\":\\\"u\\\",\\n\\t\\\"ȗ\\\":\\\"u\\\",\\n\\t\\\"ū\\\":\\\"u\\\",\\n\\t\\\"ṻ\\\":\\\"u\\\",\\n\\t\\\"ų\\\":\\\"u\\\",\\n\\t\\\"ᶙ\\\":\\\"u\\\",\\n\\t\\\"ů\\\":\\\"u\\\",\\n\\t\\\"ũ\\\":\\\"u\\\",\\n\\t\\\"ṹ\\\":\\\"u\\\",\\n\\t\\\"ṵ\\\":\\\"u\\\",\\n\\t\\\"ᵫ\\\":\\\"ue\\\",\\n\\t\\\"\\\":\\\"um\\\",\\n\\t\\\"ⱴ\\\":\\\"v\\\",\\n\\t\\\"ꝟ\\\":\\\"v\\\",\\n\\t\\\"ṿ\\\":\\\"v\\\",\\n\\t\\\"ʋ\\\":\\\"v\\\",\\n\\t\\\"\\\":\\\"v\\\",\\n\\t\\\"ⱱ\\\":\\\"v\\\",\\n\\t\\\"ṽ\\\":\\\"v\\\",\\n\\t\\\"ꝡ\\\":\\\"vy\\\",\\n\\t\\\"ẃ\\\":\\\"w\\\",\\n\\t\\\"ŵ\\\":\\\"w\\\",\\n\\t\\\"ẅ\\\":\\\"w\\\",\\n\\t\\\"ẇ\\\":\\\"w\\\",\\n\\t\\\"ẉ\\\":\\\"w\\\",\\n\\t\\\"ẁ\\\":\\\"w\\\",\\n\\t\\\"ⱳ\\\":\\\"w\\\",\\n\\t\\\"ẘ\\\":\\\"w\\\",\\n\\t\\\"ẍ\\\":\\\"x\\\",\\n\\t\\\"ẋ\\\":\\\"x\\\",\\n\\t\\\"ᶍ\\\":\\\"x\\\",\\n\\t\\\"ý\\\":\\\"y\\\",\\n\\t\\\"ŷ\\\":\\\"y\\\",\\n\\t\\\"ÿ\\\":\\\"y\\\",\\n\\t\\\"ẏ\\\":\\\"y\\\",\\n\\t\\\"ỵ\\\":\\\"y\\\",\\n\\t\\\"ỳ\\\":\\\"y\\\",\\n\\t\\\"ƴ\\\":\\\"y\\\",\\n\\t\\\"ỷ\\\":\\\"y\\\",\\n\\t\\\"ỿ\\\":\\\"y\\\",\\n\\t\\\"ȳ\\\":\\\"y\\\",\\n\\t\\\"ẙ\\\":\\\"y\\\",\\n\\t\\\"ɏ\\\":\\\"y\\\",\\n\\t\\\"ỹ\\\":\\\"y\\\",\\n\\t\\\"ź\\\":\\\"z\\\",\\n\\t\\\"ž\\\":\\\"z\\\",\\n\\t\\\"ẑ\\\":\\\"z\\\",\\n\\t\\\"ʑ\\\":\\\"z\\\",\\n\\t\\\"ⱬ\\\":\\\"z\\\",\\n\\t\\\"ż\\\":\\\"z\\\",\\n\\t\\\"ẓ\\\":\\\"z\\\",\\n\\t\\\"ȥ\\\":\\\"z\\\",\\n\\t\\\"ẕ\\\":\\\"z\\\",\\n\\t\\\"ᵶ\\\":\\\"z\\\",\\n\\t\\\"ᶎ\\\":\\\"z\\\",\\n\\t\\\"ʐ\\\":\\\"z\\\",\\n\\t\\\"ƶ\\\":\\\"z\\\",\\n\\t\\\"ɀ\\\":\\\"z\\\",\\n\\t\\\"ff\\\":\\\"ff\\\",\\n\\t\\\"ffi\\\":\\\"ffi\\\",\\n\\t\\\"ffl\\\":\\\"ffl\\\",\\n\\t\\\"fi\\\":\\\"fi\\\",\\n\\t\\\"fl\\\":\\\"fl\\\",\\n\\t\\\"ij\\\":\\\"ij\\\",\\n\\t\\\"œ\\\":\\\"oe\\\",\\n\\t\\\"st\\\":\\\"st\\\",\\n\\t\\\"ₐ\\\":\\\"a\\\",\\n\\t\\\"ₑ\\\":\\\"e\\\",\\n\\t\\\"ᵢ\\\":\\\"i\\\",\\n\\t\\\"ⱼ\\\":\\\"j\\\",\\n\\t\\\"ₒ\\\":\\\"o\\\",\\n\\t\\\"ᵣ\\\":\\\"r\\\",\\n\\t\\\"ᵤ\\\":\\\"u\\\",\\n\\t\\\"ᵥ\\\":\\\"v\\\",\\n\\t\\\"ₓ\\\":\\\"x\\\",\\n\\t\\\"Ё\\\":\\\"YO\\\",\\n\\t\\\"Й\\\":\\\"I\\\",\\n\\t\\\"Ц\\\":\\\"TS\\\",\\n\\t\\\"У\\\":\\\"U\\\",\\n\\t\\\"К\\\":\\\"K\\\",\\n\\t\\\"Е\\\":\\\"E\\\",\\n\\t\\\"Н\\\":\\\"N\\\",\\n\\t\\\"Г\\\":\\\"G\\\",\\n\\t\\\"Ш\\\":\\\"SH\\\",\\n\\t\\\"Щ\\\":\\\"SCH\\\",\\n\\t\\\"З\\\":\\\"Z\\\",\\n\\t\\\"Х\\\":\\\"H\\\",\\n\\t\\\"Ъ\\\":\\\"'\\\",\\n\\t\\\"ё\\\":\\\"yo\\\",\\n\\t\\\"й\\\":\\\"i\\\",\\n\\t\\\"ц\\\":\\\"ts\\\",\\n\\t\\\"у\\\":\\\"u\\\",\\n\\t\\\"к\\\":\\\"k\\\",\\n\\t\\\"е\\\":\\\"e\\\",\\n\\t\\\"н\\\":\\\"n\\\",\\n\\t\\\"г\\\":\\\"g\\\",\\n\\t\\\"ш\\\":\\\"sh\\\",\\n\\t\\\"щ\\\":\\\"sch\\\",\\n\\t\\\"з\\\":\\\"z\\\",\\n\\t\\\"х\\\":\\\"h\\\",\\n\\t\\\"ъ\\\":\\\"'\\\",\\n\\t\\\"Ф\\\":\\\"F\\\",\\n\\t\\\"Ы\\\":\\\"I\\\",\\n\\t\\\"В\\\":\\\"V\\\",\\n\\t\\\"А\\\":\\\"a\\\",\\n\\t\\\"П\\\":\\\"P\\\",\\n\\t\\\"Р\\\":\\\"R\\\",\\n\\t\\\"О\\\":\\\"O\\\",\\n\\t\\\"Л\\\":\\\"L\\\",\\n\\t\\\"Д\\\":\\\"D\\\",\\n\\t\\\"Ж\\\":\\\"ZH\\\",\\n\\t\\\"Э\\\":\\\"E\\\",\\n\\t\\\"ф\\\":\\\"f\\\",\\n\\t\\\"ы\\\":\\\"i\\\",\\n\\t\\\"в\\\":\\\"v\\\",\\n\\t\\\"а\\\":\\\"a\\\",\\n\\t\\\"п\\\":\\\"p\\\",\\n\\t\\\"р\\\":\\\"r\\\",\\n\\t\\\"о\\\":\\\"o\\\",\\n\\t\\\"л\\\":\\\"l\\\",\\n\\t\\\"д\\\":\\\"d\\\",\\n\\t\\\"ж\\\":\\\"zh\\\",\\n\\t\\\"э\\\":\\\"e\\\",\\n\\t\\\"Я\\\":\\\"Ya\\\",\\n\\t\\\"Ч\\\":\\\"CH\\\",\\n\\t\\\"С\\\":\\\"S\\\",\\n\\t\\\"М\\\":\\\"M\\\",\\n\\t\\\"И\\\":\\\"I\\\",\\n\\t\\\"Т\\\":\\\"T\\\",\\n\\t\\\"Ь\\\":\\\"'\\\",\\n\\t\\\"Б\\\":\\\"B\\\",\\n\\t\\\"Ю\\\":\\\"YU\\\",\\n\\t\\\"я\\\":\\\"ya\\\",\\n\\t\\\"ч\\\":\\\"ch\\\",\\n\\t\\\"с\\\":\\\"s\\\",\\n\\t\\\"м\\\":\\\"m\\\",\\n\\t\\\"и\\\":\\\"i\\\",\\n\\t\\\"т\\\":\\\"t\\\",\\n\\t\\\"ь\\\":\\\"'\\\",\\n\\t\\\"б\\\":\\\"b\\\",\\n\\t\\\"ю\\\":\\\"yu\\\",\\n\\t\\\"…\\\":\\\"...\\\"\\n};\\n\\nexports.transliterate = function(str) {\\n\\treturn str.replace(/[^A-Za-z0-9\\\\[\\\\] ]/g,function(ch) {\\n\\t\\treturn exports.transliterationPairs[ch] || ch\\n\\t});\\n};\\n\\nexports.transliterateToSafeASCII = function(str) {\\n\\treturn str.replace(/[^\\\\x20-\\\\x7F]/g,function(ch) {\\n\\t\\treturn exports.transliterationPairs[ch] || \\\"\\\"\\n\\t});\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/utils.js\":{\"title\":\"$:/core/modules/utils/utils.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/utils.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nVarious static utility functions.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar base64utf8 = require(\\\"$:/core/modules/utils/base64-utf8/base64-utf8.module.js\\\");\\n\\n/*\\nDisplay a message, in colour if we're on a terminal\\n*/\\nexports.log = function(text,colour) {\\n\\tconsole.log($tw.node ? exports.terminalColour(colour) + text + exports.terminalColour() : text);\\n};\\n\\nexports.terminalColour = function(colour) {\\n\\tif(!$tw.browser && $tw.node && process.stdout.isTTY) {\\n\\t\\tif(colour) {\\n\\t\\t\\tvar code = exports.terminalColourLookup[colour];\\n\\t\\t\\tif(code) {\\n\\t\\t\\t\\treturn \\\"\\\\x1b[\\\" + code + \\\"m\\\";\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\treturn \\\"\\\\x1b[0m\\\"; // Cancel colour\\n\\t\\t}\\n\\t}\\n\\treturn \\\"\\\";\\n};\\n\\nexports.terminalColourLookup = {\\n\\t\\\"black\\\": \\\"0;30\\\",\\n\\t\\\"red\\\": \\\"0;31\\\",\\n\\t\\\"green\\\": \\\"0;32\\\",\\n\\t\\\"brown/orange\\\": \\\"0;33\\\",\\n\\t\\\"blue\\\": \\\"0;34\\\",\\n\\t\\\"purple\\\": \\\"0;35\\\",\\n\\t\\\"cyan\\\": \\\"0;36\\\",\\n\\t\\\"light gray\\\": \\\"0;37\\\"\\n};\\n\\n/*\\nDisplay a warning, in colour if we're on a terminal\\n*/\\nexports.warning = function(text) {\\n\\texports.log(text,\\\"brown/orange\\\");\\n};\\n\\n/*\\nLog a table of name: value pairs\\n*/\\nexports.logTable = function(data) {\\n\\tif(console.table) {\\n\\t\\tconsole.table(data);\\n\\t} else {\\n\\t\\t$tw.utils.each(data,function(value,name) {\\n\\t\\t\\tconsole.log(name + \\\": \\\" + value);\\n\\t\\t});\\n\\t}\\n}\\n\\n/*\\nReturn the integer represented by the str (string).\\nReturn the dflt (default) parameter if str is not a base-10 number.\\n*/\\nexports.getInt = function(str,deflt) {\\n\\tvar i = parseInt(str,10);\\n\\treturn isNaN(i) ? deflt : i;\\n}\\n\\n/*\\nRepeatedly replaces a substring within a string. Like String.prototype.replace, but without any of the default special handling of $ sequences in the replace string\\n*/\\nexports.replaceString = function(text,search,replace) {\\n\\treturn text.replace(search,function() {\\n\\t\\treturn replace;\\n\\t});\\n};\\n\\n/*\\nRepeats a string\\n*/\\nexports.repeat = function(str,count) {\\n\\tvar result = \\\"\\\";\\n\\tfor(var t=0;t<count;t++) {\\n\\t\\tresult += str;\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nCheck if a string starts with another string\\n*/\\nexports.startsWith = function(str,search) {\\n\\treturn str.substring(0, search.length) === search;\\n};\\n\\n/*\\nCheck if a string ends with another string\\n*/\\nexports.endsWith = function(str,search) {\\n\\treturn str.substring(str.length - search.length) === search;\\n};\\n\\n/*\\nTrim whitespace from the start and end of a string\\nThanks to Steven Levithan, http://blog.stevenlevithan.com/archives/faster-trim-javascript\\n*/\\nexports.trim = function(str) {\\n\\tif(typeof str === \\\"string\\\") {\\n\\t\\treturn str.replace(/^\\\\s\\\\s*/, '').replace(/\\\\s\\\\s*$/, '');\\n\\t} else {\\n\\t\\treturn str;\\n\\t}\\n};\\n\\nexports.trimPrefix = function(str,unwanted) {\\n\\tif(typeof str === \\\"string\\\" && typeof unwanted === \\\"string\\\") {\\n\\t\\tif(unwanted === \\\"\\\") {\\n\\t\\t\\treturn str.replace(/^\\\\s\\\\s*/, '');\\n\\t\\t} else {\\n\\t\\t\\t// Safely regexp-escape the unwanted text\\n\\t\\t\\tunwanted = unwanted.replace(/[\\\\\\\\^$*+?.()|[\\\\]{}]/g, '\\\\\\\\$&');\\n\\t\\t\\tvar regex = new RegExp('^(' + unwanted + ')+');\\n\\t\\t\\treturn str.replace(regex, '');\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn str;\\n\\t}\\n};\\n\\nexports.trimSuffix = function(str,unwanted) {\\n\\tif(typeof str === \\\"string\\\" && typeof unwanted === \\\"string\\\") {\\n\\t\\tif(unwanted === \\\"\\\") {\\n\\t\\t\\treturn str.replace(/\\\\s\\\\s*$/, '');\\n\\t\\t} else {\\n\\t\\t\\t// Safely regexp-escape the unwanted text\\n\\t\\t\\tunwanted = unwanted.replace(/[\\\\\\\\^$*+?.()|[\\\\]{}]/g, '\\\\\\\\$&');\\n\\t\\t\\tvar regex = new RegExp('(' + unwanted + ')+$');\\n\\t\\t\\treturn str.replace(regex, '');\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn str;\\n\\t}\\n};\\n\\n/*\\nConvert a string to sentence case (ie capitalise first letter)\\n*/\\nexports.toSentenceCase = function(str) {\\n\\treturn (str || \\\"\\\").replace(/^\\\\S/, function(c) {return c.toUpperCase();});\\n}\\n\\n/*\\nConvert a string to title case (ie capitalise each initial letter)\\n*/\\nexports.toTitleCase = function(str) {\\n\\treturn (str || \\\"\\\").replace(/(^|\\\\s)\\\\S/g, function(c) {return c.toUpperCase();});\\n}\\n\\n/*\\nFind the line break preceding a given position in a string\\nReturns position immediately after that line break, or the start of the string\\n*/\\nexports.findPrecedingLineBreak = function(text,pos) {\\n\\tvar result = text.lastIndexOf(\\\"\\\\n\\\",pos - 1);\\n\\tif(result === -1) {\\n\\t\\tresult = 0;\\n\\t} else {\\n\\t\\tresult++;\\n\\t\\tif(text.charAt(result) === \\\"\\\\r\\\") {\\n\\t\\t\\tresult++;\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nFind the line break following a given position in a string\\n*/\\nexports.findFollowingLineBreak = function(text,pos) {\\n\\t// Cut to just past the following line break, or to the end of the text\\n\\tvar result = text.indexOf(\\\"\\\\n\\\",pos);\\n\\tif(result === -1) {\\n\\t\\tresult = text.length;\\n\\t} else {\\n\\t\\tif(text.charAt(result) === \\\"\\\\r\\\") {\\n\\t\\t\\tresult++;\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nReturn the number of keys in an object\\n*/\\nexports.count = function(object) {\\n\\treturn Object.keys(object || {}).length;\\n};\\n\\n/*\\nDetermine whether an array-item is an object-property\\n*/\\nexports.hopArray = function(object,array) {\\n\\tfor(var i=0; i<array.length; i++) {\\n\\t\\tif($tw.utils.hop(object,array[i])) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nRemove entries from an array\\n\\tarray: array to modify\\n\\tvalue: a single value to remove, or an array of values to remove\\n*/\\nexports.removeArrayEntries = function(array,value) {\\n\\tvar t,p;\\n\\tif($tw.utils.isArray(value)) {\\n\\t\\tfor(t=0; t<value.length; t++) {\\n\\t\\t\\tp = array.indexOf(value[t]);\\n\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\tarray.splice(p,1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tp = array.indexOf(value);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tarray.splice(p,1);\\n\\t\\t}\\n\\t}\\n\\treturn array;\\n};\\n\\n/*\\nCheck whether any members of a hashmap are present in another hashmap\\n*/\\nexports.checkDependencies = function(dependencies,changes) {\\n\\tvar hit = false;\\n\\t$tw.utils.each(changes,function(change,title) {\\n\\t\\tif($tw.utils.hop(dependencies,title)) {\\n\\t\\t\\thit = true;\\n\\t\\t}\\n\\t});\\n\\treturn hit;\\n};\\n\\nexports.extend = function(object /* [, src] */) {\\n\\t$tw.utils.each(Array.prototype.slice.call(arguments, 1), function(source) {\\n\\t\\tif(source) {\\n\\t\\t\\tfor(var property in source) {\\n\\t\\t\\t\\tobject[property] = source[property];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn object;\\n};\\n\\nexports.deepCopy = function(object) {\\n\\tvar result,t;\\n\\tif($tw.utils.isArray(object)) {\\n\\t\\t// Copy arrays\\n\\t\\tresult = object.slice(0);\\n\\t} else if(typeof object === \\\"object\\\") {\\n\\t\\tresult = {};\\n\\t\\tfor(t in object) {\\n\\t\\t\\tif(object[t] !== undefined) {\\n\\t\\t\\t\\tresult[t] = $tw.utils.deepCopy(object[t]);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tresult = object;\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.extendDeepCopy = function(object,extendedProperties) {\\n\\tvar result = $tw.utils.deepCopy(object),t;\\n\\tfor(t in extendedProperties) {\\n\\t\\tif(extendedProperties[t] !== undefined) {\\n\\t\\t\\tresult[t] = $tw.utils.deepCopy(extendedProperties[t]);\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.deepFreeze = function deepFreeze(object) {\\n\\tvar property, key;\\n\\tif(object) {\\n\\t\\tObject.freeze(object);\\n\\t\\tfor(key in object) {\\n\\t\\t\\tproperty = object[key];\\n\\t\\t\\tif($tw.utils.hop(object,key) && (typeof property === \\\"object\\\") && !Object.isFrozen(property)) {\\n\\t\\t\\t\\tdeepFreeze(property);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.slowInSlowOut = function(t) {\\n\\treturn (1 - ((Math.cos(t * Math.PI) + 1) / 2));\\n};\\n\\nexports.formatTitleString = function(template,options) {\\n\\tvar base = options.base || \\\"\\\",\\n\\t\\tseparator = options.separator || \\\"\\\",\\n\\t\\tcounter = options.counter || \\\"\\\";\\n\\tvar result = \\\"\\\",\\n\\t\\tt = template,\\n\\t\\tmatches = [\\n\\t\\t\\t[/^\\\\$basename\\\\$/i, function() {\\n\\t\\t\\t\\treturn base;\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\$count:(\\\\d+)\\\\$/i, function(match) {\\n\\t\\t\\t\\treturn $tw.utils.pad(counter,match[1]);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\$separator\\\\$/i, function() {\\n\\t\\t\\t\\treturn separator;\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\$count\\\\$/i, function() {\\n\\t\\t\\t\\treturn counter + \\\"\\\";\\n\\t\\t\\t}]\\n\\t\\t];\\n\\twhile(t.length){\\n\\t\\tvar matchString = \\\"\\\",\\n\\t\\t\\tfound = false;\\n\\t\\t$tw.utils.each(matches, function(m) {\\n\\t\\t\\tvar match = m[0].exec(t);\\n\\t\\t\\tif(match) {\\n\\t\\t\\t\\tfound = true;\\n\\t\\t\\t\\tmatchString = m[1].call(null,match);\\n\\t\\t\\t\\tt = t.substr(match[0].length);\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(found) {\\n\\t\\t\\tresult += matchString;\\n\\t\\t} else {\\n\\t\\t\\tresult += t.charAt(0);\\n\\t\\t\\tt = t.substr(1);\\n\\t\\t}\\n\\t}\\n\\tresult = result.replace(/\\\\\\\\(.)/g,\\\"$1\\\");\\n\\treturn result;\\n};\\n\\nexports.formatDateString = function(date,template) {\\n\\tvar result = \\\"\\\",\\n\\t\\tt = template,\\n\\t\\tmatches = [\\n\\t\\t\\t[/^TIMESTAMP/, function() {\\n\\t\\t\\t\\treturn date.getTime();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0hh12/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getHours12(date));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^wYYYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getYearForWeekNo(date),4);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^hh12/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getHours12(date);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^DDth/, function() {\\n\\t\\t\\t\\treturn date.getDate() + $tw.utils.getDaySuffix(date);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^YYYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getFullYear(),4);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^aYYYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(Math.abs(date.getFullYear()),4);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\{era:([^,\\\\|}]*)\\\\|([^}\\\\|]*)\\\\|([^}]*)\\\\}/, function(match) {\\n\\t\\t\\t\\tvar year = date.getFullYear();\\n\\t\\t\\t\\treturn year === 0 ? match[2] : (year < 0 ? match[1] : match[3]);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0hh/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getHours());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0mm/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getMinutes());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0ss/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getSeconds());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0XXX/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getMilliseconds(),3);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0DD/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getDate());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0MM/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getMonth()+1);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0WW/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getWeek(date));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0ddddd/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(Math.floor((date - new Date(date.getFullYear(), 0, 0)) / 1000 / 60 / 60 / 24),3);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^ddddd/, function() {\\n\\t\\t\\t\\treturn Math.floor((date - new Date(date.getFullYear(), 0, 0)) / 1000 / 60 / 60 / 24);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^dddd/, function() {\\n\\t\\t\\t\\treturn [7,1,2,3,4,5,6][date.getDay()];\\n\\t\\t\\t}],\\n\\t\\t\\t[/^ddd/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Short/Day/\\\" + date.getDay());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^mmm/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Short/Month/\\\" + (date.getMonth() + 1));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^DDD/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Long/Day/\\\" + date.getDay());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^MMM/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Long/Month/\\\" + (date.getMonth() + 1));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^TZD/, function() {\\n\\t\\t\\t\\tvar tz = date.getTimezoneOffset(),\\n\\t\\t\\t\\tatz = Math.abs(tz);\\n\\t\\t\\t\\treturn (tz < 0 ? '+' : '-') + $tw.utils.pad(Math.floor(atz / 60)) + ':' + $tw.utils.pad(atz % 60);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^wYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getYearForWeekNo(date) - 2000);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^[ap]m/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getAmPm(date).toLowerCase();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^hh/, function() {\\n\\t\\t\\t\\treturn date.getHours();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^mm/, function() {\\n\\t\\t\\t\\treturn date.getMinutes();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^ss/, function() {\\n\\t\\t\\t\\treturn date.getSeconds();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^XXX/, function() {\\n\\t\\t\\t\\treturn date.getMilliseconds();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^[AP]M/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getAmPm(date).toUpperCase();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^DD/, function() {\\n\\t\\t\\t\\treturn date.getDate();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^MM/, function() {\\n\\t\\t\\t\\treturn date.getMonth() + 1;\\n\\t\\t\\t}],\\n\\t\\t\\t[/^WW/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getWeek(date);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^YY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getFullYear() - 2000);\\n\\t\\t\\t}]\\n\\t\\t];\\n\\t// If the user wants everything in UTC, shift the datestamp\\n\\t// Optimize for format string that essentially means\\n\\t// 'return raw UTC (tiddlywiki style) date string.'\\n\\tif(t.indexOf(\\\"[UTC]\\\") == 0 ) {\\n\\t\\tif(t == \\\"[UTC]YYYY0MM0DD0hh0mm0ssXXX\\\")\\n\\t\\t\\treturn $tw.utils.stringifyDate(date || new Date());\\n\\t\\tvar offset = date.getTimezoneOffset() ; // in minutes\\n\\t\\tdate = new Date(date.getTime()+offset*60*1000) ;\\n\\t\\tt = t.substr(5) ;\\n\\t}\\n\\twhile(t.length){\\n\\t\\tvar matchString = \\\"\\\";\\n\\t\\t$tw.utils.each(matches, function(m) {\\n\\t\\t\\tvar match = m[0].exec(t);\\n\\t\\t\\tif(match) {\\n\\t\\t\\t\\tmatchString = m[1].call(null,match);\\n\\t\\t\\t\\tt = t.substr(match[0].length);\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(matchString) {\\n\\t\\t\\tresult += matchString;\\n\\t\\t} else {\\n\\t\\t\\tresult += t.charAt(0);\\n\\t\\t\\tt = t.substr(1);\\n\\t\\t}\\n\\t}\\n\\tresult = result.replace(/\\\\\\\\(.)/g,\\\"$1\\\");\\n\\treturn result;\\n};\\n\\nexports.getAmPm = function(date) {\\n\\treturn $tw.language.getString(\\\"Date/Period/\\\" + (date.getHours() >= 12 ? \\\"pm\\\" : \\\"am\\\"));\\n};\\n\\nexports.getDaySuffix = function(date) {\\n\\treturn $tw.language.getString(\\\"Date/DaySuffix/\\\" + date.getDate());\\n};\\n\\nexports.getWeek = function(date) {\\n\\tvar dt = new Date(date.getTime());\\n\\tvar d = dt.getDay();\\n\\tif(d === 0) {\\n\\t\\td = 7; // JavaScript Sun=0, ISO Sun=7\\n\\t}\\n\\tdt.setTime(dt.getTime() + (4 - d) * 86400000);// shift day to Thurs of same week to calculate weekNo\\n\\tvar x = new Date(dt.getFullYear(),0,1);\\n\\tvar n = Math.floor((dt.getTime() - x.getTime()) / 86400000);\\n\\treturn Math.floor(n / 7) + 1;\\n};\\n\\nexports.getYearForWeekNo = function(date) {\\n\\tvar dt = new Date(date.getTime());\\n\\tvar d = dt.getDay();\\n\\tif(d === 0) {\\n\\t\\td = 7; // JavaScript Sun=0, ISO Sun=7\\n\\t}\\n\\tdt.setTime(dt.getTime() + (4 - d) * 86400000);// shift day to Thurs of same week\\n\\treturn dt.getFullYear();\\n};\\n\\nexports.getHours12 = function(date) {\\n\\tvar h = date.getHours();\\n\\treturn h > 12 ? h-12 : ( h > 0 ? h : 12 );\\n};\\n\\n/*\\nConvert a date delta in milliseconds into a string representation of \\\"23 seconds ago\\\", \\\"27 minutes ago\\\" etc.\\n\\tdelta: delta in milliseconds\\nReturns an object with these members:\\n\\tdescription: string describing the delta period\\n\\tupdatePeriod: time in millisecond until the string will be inaccurate\\n*/\\nexports.getRelativeDate = function(delta) {\\n\\tvar futurep = false;\\n\\tif(delta < 0) {\\n\\t\\tdelta = -1 * delta;\\n\\t\\tfuturep = true;\\n\\t}\\n\\tvar units = [\\n\\t\\t{name: \\\"Years\\\", duration: 365 * 24 * 60 * 60 * 1000},\\n\\t\\t{name: \\\"Months\\\", duration: (365/12) * 24 * 60 * 60 * 1000},\\n\\t\\t{name: \\\"Days\\\", duration: 24 * 60 * 60 * 1000},\\n\\t\\t{name: \\\"Hours\\\", duration: 60 * 60 * 1000},\\n\\t\\t{name: \\\"Minutes\\\", duration: 60 * 1000},\\n\\t\\t{name: \\\"Seconds\\\", duration: 1000}\\n\\t];\\n\\tfor(var t=0; t<units.length; t++) {\\n\\t\\tvar result = Math.floor(delta / units[t].duration);\\n\\t\\tif(result >= 2) {\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tdelta: delta,\\n\\t\\t\\t\\tdescription: $tw.language.getString(\\n\\t\\t\\t\\t\\t\\\"RelativeDate/\\\" + (futurep ? \\\"Future\\\" : \\\"Past\\\") + \\\"/\\\" + units[t].name,\\n\\t\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t\\t{period: result.toString()}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t),\\n\\t\\t\\t\\tupdatePeriod: units[t].duration\\n\\t\\t\\t};\\n\\t\\t}\\n\\t}\\n\\treturn {\\n\\t\\tdelta: delta,\\n\\t\\tdescription: $tw.language.getString(\\n\\t\\t\\t\\\"RelativeDate/\\\" + (futurep ? \\\"Future\\\" : \\\"Past\\\") + \\\"/Second\\\",\\n\\t\\t\\t{variables:\\n\\t\\t\\t\\t{period: \\\"1\\\"}\\n\\t\\t\\t}\\n\\t\\t),\\n\\t\\tupdatePeriod: 1000\\n\\t};\\n};\\n\\n// Convert & to \\\"&amp;\\\", < to \\\"&lt;\\\", > to \\\"&gt;\\\", \\\" to \\\"&quot;\\\"\\nexports.htmlEncode = function(s) {\\n\\tif(s) {\\n\\t\\treturn s.toString().replace(/&/mg,\\\"&amp;\\\").replace(/</mg,\\\"&lt;\\\").replace(/>/mg,\\\"&gt;\\\").replace(/\\\\\\\"/mg,\\\"&quot;\\\");\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n// Converts like htmlEncode, but forgets the double quote for brevity\\nexports.htmlTextEncode = function(s) {\\n\\tif(s) {\\n\\t\\treturn s.toString().replace(/&/mg,\\\"&amp;\\\").replace(/</mg,\\\"&lt;\\\").replace(/>/mg,\\\"&gt;\\\");\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n// Converts all HTML entities to their character equivalents\\nexports.entityDecode = function(s) {\\n\\tvar converter = String.fromCodePoint || String.fromCharCode,\\n\\t\\te = s.substr(1,s.length-2), // Strip the & and the ;\\n\\t\\tc;\\n\\tif(e.charAt(0) === \\\"#\\\") {\\n\\t\\tif(e.charAt(1) === \\\"x\\\" || e.charAt(1) === \\\"X\\\") {\\n\\t\\t\\tc = parseInt(e.substr(2),16);\\n\\t\\t} else {\\n\\t\\t\\tc = parseInt(e.substr(1),10);\\n\\t\\t}\\n\\t\\tif(isNaN(c)) {\\n\\t\\t\\treturn s;\\n\\t\\t} else {\\n\\t\\t\\treturn converter(c);\\n\\t\\t}\\n\\t} else {\\n\\t\\tc = $tw.config.htmlEntities[e];\\n\\t\\tif(c) {\\n\\t\\t\\treturn converter(c);\\n\\t\\t} else {\\n\\t\\t\\treturn s; // Couldn't convert it as an entity, just return it raw\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.unescapeLineBreaks = function(s) {\\n\\treturn s.replace(/\\\\\\\\n/mg,\\\"\\\\n\\\").replace(/\\\\\\\\b/mg,\\\" \\\").replace(/\\\\\\\\s/mg,\\\"\\\\\\\\\\\").replace(/\\\\r/mg,\\\"\\\");\\n};\\n\\n/*\\n * Returns an escape sequence for given character. Uses \\\\x for characters <=\\n * 0xFF to save space, \\\\u for the rest.\\n *\\n * The code needs to be in sync with th code template in the compilation\\n * function for \\\"action\\\" nodes.\\n */\\n// Copied from peg.js, thanks to David Majda\\nexports.escape = function(ch) {\\n\\tvar charCode = ch.charCodeAt(0);\\n\\tif(charCode <= 0xFF) {\\n\\t\\treturn '\\\\\\\\x' + $tw.utils.pad(charCode.toString(16).toUpperCase());\\n\\t} else {\\n\\t\\treturn '\\\\\\\\u' + $tw.utils.pad(charCode.toString(16).toUpperCase(),4);\\n\\t}\\n};\\n\\n// Turns a string into a legal JavaScript string\\n// Copied from peg.js, thanks to David Majda\\nexports.stringify = function(s, rawUnicode) {\\n\\t/*\\n\\t* ECMA-262, 5th ed., 7.8.4: All characters may appear literally in a string\\n\\t* literal except for the closing quote character, backslash, carriage return,\\n\\t* line separator, paragraph separator, and line feed. Any character may\\n\\t* appear in the form of an escape sequence.\\n\\t*\\n\\t* For portability, we also escape all non-ASCII characters.\\n\\t*/\\n\\tvar regex = rawUnicode ? /[\\\\x00-\\\\x1f]/g : /[\\\\x00-\\\\x1f\\\\x80-\\\\uFFFF]/g;\\n\\treturn (s || \\\"\\\")\\n\\t\\t.replace(/\\\\\\\\/g, '\\\\\\\\\\\\\\\\') // backslash\\n\\t\\t.replace(/\\\"/g, '\\\\\\\\\\\"') // double quote character\\n\\t\\t.replace(/'/g, \\\"\\\\\\\\'\\\") // single quote character\\n\\t\\t.replace(/\\\\r/g, '\\\\\\\\r') // carriage return\\n\\t\\t.replace(/\\\\n/g, '\\\\\\\\n') // line feed\\n\\t\\t.replace(regex, exports.escape); // non-ASCII characters\\n};\\n\\n// Turns a string into a legal JSON string\\n// Derived from peg.js, thanks to David Majda\\nexports.jsonStringify = function(s, rawUnicode) {\\n\\t// See http://www.json.org/\\n\\tvar regex = rawUnicode ? /[\\\\x00-\\\\x1f]/g : /[\\\\x00-\\\\x1f\\\\x80-\\\\uFFFF]/g;\\n\\treturn (s || \\\"\\\")\\n\\t\\t.replace(/\\\\\\\\/g, '\\\\\\\\\\\\\\\\') // backslash\\n\\t\\t.replace(/\\\"/g, '\\\\\\\\\\\"') // double quote character\\n\\t\\t.replace(/\\\\r/g, '\\\\\\\\r') // carriage return\\n\\t\\t.replace(/\\\\n/g, '\\\\\\\\n') // line feed\\n\\t\\t.replace(/\\\\x08/g, '\\\\\\\\b') // backspace\\n\\t\\t.replace(/\\\\x0c/g, '\\\\\\\\f') // formfeed\\n\\t\\t.replace(/\\\\t/g, '\\\\\\\\t') // tab\\n\\t\\t.replace(regex,function(s) {\\n\\t\\t\\treturn '\\\\\\\\u' + $tw.utils.pad(s.charCodeAt(0).toString(16).toUpperCase(),4);\\n\\t\\t}); // non-ASCII characters\\n};\\n\\n/*\\nEscape the RegExp special characters with a preceding backslash\\n*/\\nexports.escapeRegExp = function(s) {\\n return s.replace(/[\\\\-\\\\/\\\\\\\\\\\\^\\\\$\\\\*\\\\+\\\\?\\\\.\\\\(\\\\)\\\\|\\\\[\\\\]\\\\{\\\\}]/g, '\\\\\\\\$&');\\n};\\n\\n/*\\nExtended version of encodeURIComponent that encodes additional characters including\\nthose that are illegal within filepaths on various platforms including Windows\\n*/\\nexports.encodeURIComponentExtended = function(s) {\\n\\treturn encodeURIComponent(s).replace(/[!'()*]/g,function(c) {\\n\\t\\treturn \\\"%\\\" + c.charCodeAt(0).toString(16).toUpperCase();\\n\\t});\\n};\\n\\n// Checks whether a link target is external, i.e. not a tiddler title\\nexports.isLinkExternal = function(to) {\\n\\tvar externalRegExp = /^(?:file|http|https|mailto|ftp|irc|news|obsidian|data|skype):[^\\\\s<>{}\\\\[\\\\]`|\\\"\\\\\\\\^]+(?:\\\\/|\\\\b)/i;\\n\\treturn externalRegExp.test(to);\\n};\\n\\nexports.nextTick = function(fn) {\\n/*global window: false */\\n\\tif(typeof process === \\\"undefined\\\") {\\n\\t\\t// Apparently it would be faster to use postMessage - http://dbaron.org/log/20100309-faster-timeouts\\n\\t\\twindow.setTimeout(fn,0);\\n\\t} else {\\n\\t\\tprocess.nextTick(fn);\\n\\t}\\n};\\n\\n/*\\nConvert a hyphenated CSS property name into a camel case one\\n*/\\nexports.unHyphenateCss = function(propName) {\\n\\treturn propName.replace(/-([a-z])/gi, function(match0,match1) {\\n\\t\\treturn match1.toUpperCase();\\n\\t});\\n};\\n\\n/*\\nConvert a camelcase CSS property name into a dashed one (\\\"backgroundColor\\\" --> \\\"background-color\\\")\\n*/\\nexports.hyphenateCss = function(propName) {\\n\\treturn propName.replace(/([A-Z])/g, function(match0,match1) {\\n\\t\\treturn \\\"-\\\" + match1.toLowerCase();\\n\\t});\\n};\\n\\n/*\\nParse a text reference of one of these forms:\\n* title\\n* !!field\\n* title!!field\\n* title##index\\n* etc\\nReturns an object with the following fields, all optional:\\n* title: tiddler title\\n* field: tiddler field name\\n* index: JSON property index\\n*/\\nexports.parseTextReference = function(textRef) {\\n\\t// Separate out the title, field name and/or JSON indices\\n\\tvar reTextRef = /(?:(.*?)!!(.+))|(?:(.*?)##(.+))|(.*)/mg,\\n\\t\\tmatch = reTextRef.exec(textRef),\\n\\t\\tresult = {};\\n\\tif(match && reTextRef.lastIndex === textRef.length) {\\n\\t\\t// Return the parts\\n\\t\\tif(match[1]) {\\n\\t\\t\\tresult.title = match[1];\\n\\t\\t}\\n\\t\\tif(match[2]) {\\n\\t\\t\\tresult.field = match[2];\\n\\t\\t}\\n\\t\\tif(match[3]) {\\n\\t\\t\\tresult.title = match[3];\\n\\t\\t}\\n\\t\\tif(match[4]) {\\n\\t\\t\\tresult.index = match[4];\\n\\t\\t}\\n\\t\\tif(match[5]) {\\n\\t\\t\\tresult.title = match[5];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// If we couldn't parse it\\n\\t\\tresult.title = textRef\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nChecks whether a string is a valid fieldname\\n*/\\nexports.isValidFieldName = function(name) {\\n\\tif(!name || typeof name !== \\\"string\\\") {\\n\\t\\treturn false;\\n\\t}\\n\\t// Since v5.2.x, there are no restrictions on characters in field names\\n\\treturn name;\\n};\\n\\n/*\\nExtract the version number from the meta tag or from the boot file\\n*/\\n\\n// Browser version\\nexports.extractVersionInfo = function() {\\n\\tif($tw.packageInfo) {\\n\\t\\treturn $tw.packageInfo.version;\\n\\t} else {\\n\\t\\tvar metatags = document.getElementsByTagName(\\\"meta\\\");\\n\\t\\tfor(var t=0; t<metatags.length; t++) {\\n\\t\\t\\tvar m = metatags[t];\\n\\t\\t\\tif(m.name === \\\"tiddlywiki-version\\\") {\\n\\t\\t\\t\\treturn m.content;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nGet the animation duration in ms\\n*/\\nexports.getAnimationDuration = function() {\\n\\treturn parseInt($tw.wiki.getTiddlerText(\\\"$:/config/AnimationDuration\\\",\\\"400\\\"),10) || 0;\\n};\\n\\n/*\\nHash a string to a number\\nDerived from http://stackoverflow.com/a/15710692\\n*/\\nexports.hashString = function(str) {\\n\\treturn str.split(\\\"\\\").reduce(function(a,b) {\\n\\t\\ta = ((a << 5) - a) + b.charCodeAt(0);\\n\\t\\treturn a & a;\\n\\t},0);\\n};\\n\\n/*\\nCryptographic hash function as used by sha256 filter operator\\noptions.length .. number of characters returned defaults to 64\\n*/\\nexports.sha256 = function(str, options) {\\n\\toptions = options || {}\\n\\treturn $tw.sjcl.codec.hex.fromBits($tw.sjcl.hash.sha256.hash(str)).substr(0,options.length || 64);\\n}\\n\\n/*\\nBase64 utility functions that work in either browser or Node.js\\n*/\\nif(typeof window !== 'undefined') {\\n\\texports.btoa = function(binstr) { return window.btoa(binstr); }\\n\\texports.atob = function(b64) { return window.atob(b64); }\\n} else {\\n\\texports.btoa = function(binstr) {\\n\\t\\treturn Buffer.from(binstr, 'binary').toString('base64');\\n\\t}\\n\\texports.atob = function(b64) {\\n\\t\\treturn Buffer.from(b64, 'base64').toString('binary');\\n\\t}\\n}\\n\\n/*\\nDecode a base64 string\\n*/\\nexports.base64Decode = function(string64,binary,urlsafe) {\\n\\tvar encoded = urlsafe ? string64.replace(/_/g,'/').replace(/-/g,'+') : string64;\\n\\tif(binary) return exports.atob(encoded)\\n\\telse return base64utf8.base64.decode.call(base64utf8,encoded);\\n};\\n\\n/*\\nEncode a string to base64\\n*/\\nexports.base64Encode = function(string64,binary,urlsafe) {\\n\\tvar encoded;\\n\\tif(binary) encoded = exports.btoa(string64);\\n\\telse encoded = base64utf8.base64.encode.call(base64utf8,string64);\\n\\tif(urlsafe) {\\n\\t\\tencoded = encoded.replace(/\\\\+/g,'-').replace(/\\\\//g,'_');\\n\\t}\\n\\treturn encoded;\\n};\\n\\n/*\\nConvert a hashmap into a tiddler dictionary format sequence of name:value pairs\\n*/\\nexports.makeTiddlerDictionary = function(data) {\\n\\tvar output = [];\\n\\tfor(var name in data) {\\n\\t\\toutput.push(name + \\\": \\\" + data[name]);\\n\\t}\\n\\treturn output.join(\\\"\\\\n\\\");\\n};\\n\\n/*\\nHigh resolution microsecond timer for profiling\\n*/\\nexports.timer = function(base) {\\n\\tvar m;\\n\\tif($tw.node) {\\n\\t\\tvar r = process.hrtime();\\n\\t\\tm = r[0] * 1e3 + (r[1] / 1e6);\\n\\t} else if(window.performance) {\\n\\t\\tm = performance.now();\\n\\t} else {\\n\\t\\tm = Date.now();\\n\\t}\\n\\tif(typeof base !== \\\"undefined\\\") {\\n\\t\\tm = m - base;\\n\\t}\\n\\treturn m;\\n};\\n\\n/*\\nConvert text and content type to a data URI\\n*/\\nexports.makeDataUri = function(text,type,_canonical_uri) {\\n\\ttype = type || \\\"text/vnd.tiddlywiki\\\";\\n\\tvar typeInfo = $tw.config.contentTypeInfo[type] || $tw.config.contentTypeInfo[\\\"text/plain\\\"],\\n\\t\\tisBase64 = typeInfo.encoding === \\\"base64\\\",\\n\\t\\tparts = [];\\n\\tif(_canonical_uri) {\\n\\t\\tparts.push(_canonical_uri);\\n\\t} else {\\n\\t\\tparts.push(\\\"data:\\\");\\n\\t\\tparts.push(type);\\n\\t\\tparts.push(isBase64 ? \\\";base64\\\" : \\\"\\\");\\n\\t\\tparts.push(\\\",\\\");\\n\\t\\tparts.push(isBase64 ? text : encodeURIComponent(text));\\n\\t}\\n\\treturn parts.join(\\\"\\\");\\n};\\n\\n/*\\nUseful for finding out the fully escaped CSS selector equivalent to a given tag. For example:\\n\\n$tw.utils.tagToCssSelector(\\\"$:/tags/Stylesheet\\\") --> tc-tagged-\\\\%24\\\\%3A\\\\%2Ftags\\\\%2FStylesheet\\n*/\\nexports.tagToCssSelector = function(tagName) {\\n\\treturn \\\"tc-tagged-\\\" + encodeURIComponent(tagName).replace(/[!\\\"#$%&'()*+,\\\\-./:;<=>?@[\\\\\\\\\\\\]^`{\\\\|}~,]/mg,function(c) {\\n\\t\\treturn \\\"\\\\\\\\\\\" + c;\\n\\t});\\n};\\n\\n/*\\nIE does not have sign function\\n*/\\nexports.sign = Math.sign || function(x) {\\n\\tx = +x; // convert to a number\\n\\tif(x === 0 || isNaN(x)) {\\n\\t\\treturn x;\\n\\t}\\n\\treturn x > 0 ? 1 : -1;\\n};\\n\\n/*\\nIE does not have an endsWith function\\n*/\\nexports.strEndsWith = function(str,ending,position) {\\n\\tif(str.endsWith) {\\n\\t\\treturn str.endsWith(ending,position);\\n\\t} else {\\n\\t\\tif(typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > str.length) {\\n\\t\\t\\tposition = str.length;\\n\\t\\t}\\n\\t\\tposition -= ending.length;\\n\\t\\tvar lastIndex = str.indexOf(ending, position);\\n\\t\\treturn lastIndex !== -1 && lastIndex === position;\\n\\t}\\n};\\n\\n/*\\nReturn system information useful for debugging\\n*/\\nexports.getSystemInfo = function(str,ending,position) {\\n\\tvar results = [],\\n\\t\\tsave = function(desc,value) {\\n\\t\\t\\tresults.push(desc + \\\": \\\" + value);\\n\\t\\t};\\n\\tif($tw.browser) {\\n\\t\\tsave(\\\"User Agent\\\",navigator.userAgent);\\n\\t\\tsave(\\\"Online Status\\\",window.navigator.onLine);\\n\\t}\\n\\tif($tw.node) {\\n\\t\\tsave(\\\"Node Version\\\",process.version);\\n\\t}\\n\\treturn results.join(\\\"\\\\n\\\");\\n};\\n\\nexports.parseNumber = function(str) {\\n\\treturn parseFloat(str) || 0;\\n};\\n\\nexports.parseInt = function(str) {\\n\\treturn parseInt(str,10) || 0;\\n};\\n\\nexports.stringifyNumber = function(num) {\\n\\treturn num + \\\"\\\";\\n};\\n\\nexports.makeCompareFunction = function(type,options) {\\n\\toptions = options || {};\\n\\t// set isCaseSensitive to true if not defined in options\\n\\tvar isCaseSensitive = (options.isCaseSensitive === false) ? false : true,\\n\\t\\tgt = options.invert ? -1 : +1,\\n\\t\\tlt = options.invert ? +1 : -1,\\n\\t\\tcompare = function(a,b) {\\n\\t\\t\\tif(a > b) {\\n\\t\\t\\t\\treturn gt ;\\n\\t\\t\\t} else if(a < b) {\\n\\t\\t\\t\\treturn lt;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\ttypes = {\\n\\t\\t\\t\\\"number\\\": function(a,b) {\\n\\t\\t\\t\\treturn compare($tw.utils.parseNumber(a),$tw.utils.parseNumber(b));\\n\\t\\t\\t},\\n\\t\\t\\t\\\"integer\\\": function(a,b) {\\n\\t\\t\\t\\treturn compare($tw.utils.parseInt(a),$tw.utils.parseInt(b));\\n\\t\\t\\t},\\n\\t\\t\\t\\\"string\\\": function(a,b) {\\n\\t\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn compare(\\\"\\\" + a,\\\"\\\" + b);\\n\\t\\t\\t},\\n\\t\\t\\t\\\"date\\\": function(a,b) {\\n\\t\\t\\t\\tvar dateA = $tw.utils.parseDate(a),\\n\\t\\t\\t\\t\\tdateB = $tw.utils.parseDate(b);\\n\\t\\t\\t\\tif(!isFinite(dateA)) {\\n\\t\\t\\t\\t\\tdateA = new Date(0);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(!isFinite(dateB)) {\\n\\t\\t\\t\\t\\tdateB = new Date(0);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn compare(dateA,dateB);\\n\\t\\t\\t},\\n\\t\\t\\t\\\"version\\\": function(a,b) {\\n\\t\\t\\t\\treturn $tw.utils.compareVersions(a,b);\\n\\t\\t\\t},\\n\\t\\t\\t\\\"alphanumeric\\\": function(a,b) {\\n\\t\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn options.invert ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \\\"base\\\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \\\"base\\\"});\\n\\t\\t\\t}\\n\\t\\t};\\n\\treturn (types[type] || types[options.defaultType] || types.number);\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/widgets/action-confirm.js\":{\"title\":\"$:/core/modules/widgets/action-confirm.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/core/modules/widgets/action-confirm.js\\ntype: application/javascript\\nmodule-type: widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ConfirmWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nConfirmWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nConfirmWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.parentDomNode = parent;\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nConfirmWidget.prototype.execute = function() {\\n\\tthis.message = this.getAttribute(\\\"$message\\\",$tw.language.getString(\\\"ConfirmAction\\\"));\\n\\tthis.prompt = (this.getAttribute(\\\"$prompt\\\",\\\"yes\\\") == \\\"no\\\" ? false : true);\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nConfirmWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$message\\\"] || changedAttributes[\\\"$prompt\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nConfirmWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar invokeActions = true,\\n\\t\\thandled = true,\\n\\t \\twin = event && event.event && event.event.view ? event.event.view : window;\\n\\tif(this.prompt) {\\n\\t\\tinvokeActions = win.confirm(this.message);\\n\\t}\\n\\tif(invokeActions) {\\n\\t\\thandled = this.invokeActions(triggeringWidget,event);\\n\\t}\\n\\treturn handled;\\n};\\n\\nConfirmWidget.prototype.allowActionPropagation = function() {\\n\\treturn false;\\n};\\n\\nexports[\\\"action-confirm\\\"] = ConfirmWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-createtiddler.js\":{\"title\":\"$:/core/modules/widgets/action-createtiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-createtiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to create a new tiddler with a unique name and specified fields.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CreateTiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCreateTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCreateTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Render children\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCreateTiddlerWidget.prototype.execute = function() {\\n\\tthis.actionBaseTitle = this.getAttribute(\\\"$basetitle\\\");\\n\\tthis.hasBase = !!this.actionBaseTitle;\\n\\tthis.actionSaveTitle = this.getAttribute(\\\"$savetitle\\\");\\n\\tthis.actionSaveDraftTitle = this.getAttribute(\\\"$savedrafttitle\\\");\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\t//Following params are new since 5.1.22\\n\\tthis.actionTemplate = this.getAttribute(\\\"$template\\\");\\n\\tthis.useTemplate = !!this.actionTemplate;\\n\\tthis.actionOverwrite = this.getAttribute(\\\"$overwrite\\\",\\\"no\\\");\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nCreateTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nCreateTiddlerWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar title = this.wiki.getTiddlerText(\\\"$:/language/DefaultNewTiddlerTitle\\\"), // Get the initial new-tiddler title\\n\\t\\tfields = {},\\n\\t\\tcreationFields,\\n\\t\\tmodificationFields;\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tfields[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\tif(this.actionTimestamp) {\\n\\t\\tcreationFields = this.wiki.getCreationFields();\\n\\t\\tmodificationFields = this.wiki.getModificationFields();\\n\\t}\\n\\tif(this.hasBase && this.actionOverwrite === \\\"no\\\") {\\n\\t\\ttitle = this.wiki.generateNewTitle(this.actionBaseTitle);\\n\\t} else if (this.hasBase && this.actionOverwrite === \\\"yes\\\") {\\n\\t\\ttitle = this.actionBaseTitle\\n\\t}\\n\\t// NO $basetitle BUT $template parameter is available\\n\\t// the title MUST be unique, otherwise the template would be overwritten\\n\\tif (!this.hasBase && this.useTemplate) {\\n\\t\\ttitle = this.wiki.generateNewTitle(this.actionTemplate);\\n\\t} else if (!this.hasBase && !this.useTemplate) {\\n\\t\\t// If no $basetitle and no $template then use initial title\\n\\t\\ttitle = this.wiki.generateNewTitle(title);\\n\\t}\\n\\tvar templateTiddler = this.wiki.getTiddler(this.actionTemplate) || {};\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(templateTiddler.fields,creationFields,fields,modificationFields,{title: title}));\\n\\tvar draftTitle = this.wiki.generateDraftTitle(title);\\n\\tif(this.actionSaveTitle) {\\n\\t\\tthis.wiki.setTextReference(this.actionSaveTitle,title,this.getVariable(\\\"currentTiddler\\\"));\\n\\t}\\n\\tif(this.actionSaveDraftTitle) {\\n\\t\\tthis.wiki.setTextReference(this.actionSaveDraftTitle,draftTitle,this.getVariable(\\\"currentTiddler\\\"));\\n\\t}\\n\\tthis.setVariable(\\\"createTiddler-title\\\",title);\\n\\tthis.setVariable(\\\"createTiddler-draftTitle\\\",draftTitle);\\n\\tthis.refreshChildren();\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-createtiddler\\\"] = CreateTiddlerWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-deletefield.js\":{\"title\":\"$:/core/modules/widgets/action-deletefield.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-deletefield.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to delete fields of a tiddler.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DeleteFieldWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDeleteFieldWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDeleteFieldWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDeleteFieldWidget.prototype.execute = function() {\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.actionField = this.getAttribute(\\\"$field\\\",null);\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nDeleteFieldWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$tiddler\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nDeleteFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar self = this,\\n\\t\\ttiddler = this.wiki.getTiddler(self.actionTiddler),\\n\\t\\tremoveFields = {},\\n\\t\\thasChanged = false;\\n\\tif((this.actionField !== null) && tiddler) {\\n\\t\\tremoveFields[this.actionField] = undefined;\\n\\t\\tif(this.actionField in tiddler.fields) {\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t}\\n\\tif(tiddler) {\\n\\t\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\t\\tif(name.charAt(0) !== \\\"$\\\" && name !== \\\"title\\\") {\\n\\t\\t\\t\\tremoveFields[name] = undefined;\\n\\t\\t\\t\\tif(name in tiddler.fields) {\\n\\t\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(hasChanged) {\\n\\t\\t\\tvar creationFields = this.actionTimestamp ? this.wiki.getCreationFields() : {};\\n\\t\\t\\tvar modificationFields = this.actionTimestamp ? this.wiki.getModificationFields() : {};\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(creationFields,tiddler,removeFields,modificationFields));\\n\\t\\t}\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-deletefield\\\"] = DeleteFieldWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-deletetiddler.js\":{\"title\":\"$:/core/modules/widgets/action-deletetiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-deletetiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to delete a tiddler.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DeleteTiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDeleteTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDeleteTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDeleteTiddlerWidget.prototype.execute = function() {\\n\\tthis.actionFilter = this.getAttribute(\\\"$filter\\\");\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\");\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nDeleteTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$filter\\\"] || changedAttributes[\\\"$tiddler\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nDeleteTiddlerWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar tiddlers = [];\\n\\tif(this.actionFilter) {\\n\\t\\ttiddlers = this.wiki.filterTiddlers(this.actionFilter,this);\\n\\t}\\n\\tif(this.actionTiddler) {\\n\\t\\ttiddlers.push(this.actionTiddler);\\n\\t}\\n\\tfor(var t=0; t<tiddlers.length; t++) {\\n\\t\\tthis.wiki.deleteTiddler(tiddlers[t]);\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-deletetiddler\\\"] = DeleteTiddlerWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-listops.js\":{\"title\":\"$:/core/modules/widgets/action-listops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-listops.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to apply list operations to any tiddler field (defaults to the 'list' field of the current tiddler)\\n\\n\\\\*/\\n\\\"use strict\\\";\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar ActionListopsWidget = function(parseTreeNode, options) {\\n\\tthis.initialise(parseTreeNode, options);\\n};\\n/**\\n * Inherit from the base widget class\\n */\\nActionListopsWidget.prototype = new Widget();\\n/**\\n * Render this widget into the DOM\\n */\\nActionListopsWidget.prototype.render = function(parent, nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n/**\\n * Compute the internal state of the widget\\n */\\nActionListopsWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.target = this.getAttribute(\\\"$tiddler\\\", this.getVariable(\\n\\t\\t\\\"currentTiddler\\\"));\\n\\tthis.filter = this.getAttribute(\\\"$filter\\\");\\n\\tthis.subfilter = this.getAttribute(\\\"$subfilter\\\");\\n\\tthis.listField = this.getAttribute(\\\"$field\\\", \\\"list\\\");\\n\\tthis.listIndex = this.getAttribute(\\\"$index\\\");\\n\\tthis.filtertags = this.getAttribute(\\\"$tags\\\");\\n};\\n/**\\n * \\tRefresh the widget by ensuring our attributes are up to date\\n */\\nActionListopsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n/**\\n * \\tInvoke the action associated with this widget\\n */\\nActionListopsWidget.prototype.invokeAction = function(triggeringWidget,\\n\\tevent) {\\n\\t//Apply the specified filters to the lists\\n\\tvar field = this.listField,\\n\\t\\tindex,\\n\\t\\tlist = this.listField;\\n\\tif(this.listIndex) {\\n\\t\\tfield = undefined;\\n\\t\\tindex = this.listIndex;\\n\\t\\tlist = this.listIndex;\\n\\t}\\n\\tif(this.filter) {\\n\\t\\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(\\n\\t\\t\\tthis.wiki\\n\\t\\t\\t.filterTiddlers(this.filter, this)));\\n\\t}\\n\\tif(this.subfilter) {\\n\\t\\tvar inputList = this.wiki.getTiddlerList(this.target,field,index),\\n\\t\\t\\tsubfilter = \\\"[all[]] \\\" + this.subfilter;\\n\\t\\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(this.wiki.filterTiddlers(subfilter,this,this.wiki.makeTiddlerIterator(inputList))));\\n\\t}\\n\\tif(this.filtertags) {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.target),\\n\\t\\t\\toldtags = tiddler ? (tiddler.fields.tags || []).slice(0) : [],\\n\\t\\t\\ttagfilter = $tw.utils.stringifyList(oldtags) + \\\" \\\" + this.filtertags,\\n\\t\\t\\tnewtags = this.wiki.filterTiddlers(tagfilter,this);\\n\\t\\tif($tw.utils.stringifyList(oldtags.sort()) !== $tw.utils.stringifyList(newtags.sort())) {\\n\\t\\t\\tthis.wiki.setText(this.target,\\\"tags\\\",undefined,$tw.utils.stringifyList(newtags));\\n\\t\\t}\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-listops\\\"] = ActionListopsWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-log.js\":{\"title\":\"$:/core/modules/widgets/action-log.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-log.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to log debug messages\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LogWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLogWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLogWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\nLogWidget.prototype.execute = function(){\\n\\tthis.message = this.getAttribute(\\\"$$message\\\",\\\"debug\\\");\\n\\tthis.logAll = this.getAttribute(\\\"$$all\\\",\\\"no\\\") === \\\"yes\\\" ? true : false;\\n\\tthis.filter = this.getAttribute(\\\"$$filter\\\");\\n}\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nLogWidget.prototype.refresh = function(changedTiddlers) {\\n\\tthis.refreshSelf();\\n\\treturn true;\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nLogWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tthis.log();\\n\\treturn true; // Action was invoked\\n};\\n\\nLogWidget.prototype.log = function() {\\n\\tvar data = {},\\n\\t\\tdataCount,\\n\\t\\tallVars = {},\\n\\t\\tfilteredVars;\\n\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.substring(0,2) !== \\\"$$\\\") {\\n\\t\\t\\tdata[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\n\\tfor(var v in this.variables) {\\n\\t\\tvar variable = this.parentWidget && this.parentWidget.variables[v];\\n\\t\\tif(variable && variable.isFunctionDefinition) {\\n\\t\\t\\tallVars[v] = variable.value;\\n\\t\\t} else {\\n\\t\\t\\tallVars[v] = this.getVariable(v,{defaultValue:\\\"\\\"});\\n\\t\\t}\\n\\t}\\n\\tif(this.filter) {\\n\\t\\tfilteredVars = this.wiki.compileFilter(this.filter).call(this.wiki,this.wiki.makeTiddlerIterator(allVars));\\n\\t\\t$tw.utils.each(filteredVars,function(name) {\\n\\t\\t\\tdata[name] = allVars[name];\\n\\t\\t});\\n\\t}\\n\\tdataCount = $tw.utils.count(data);\\n\\n\\tconsole.group(this.message);\\n\\tif(dataCount > 0) {\\n\\t\\t$tw.utils.logTable(data);\\n\\t}\\n\\tif(this.logAll || !dataCount) {\\n\\t\\tconsole.groupCollapsed(\\\"All variables\\\");\\n\\t\\t$tw.utils.logTable(allVars);\\n\\t\\tconsole.groupEnd();\\n\\t}\\n\\tconsole.groupEnd();\\n}\\n\\nexports[\\\"action-log\\\"] = LogWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-navigate.js\":{\"title\":\"$:/core/modules/widgets/action-navigate.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-navigate.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to navigate to a tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar NavigateWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nNavigateWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nNavigateWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nNavigateWidget.prototype.execute = function() {\\n\\tthis.actionTo = this.getAttribute(\\\"$to\\\");\\n\\tthis.actionScroll = this.getAttribute(\\\"$scroll\\\");\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nNavigateWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$to\\\"] || changedAttributes[\\\"$scroll\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nNavigateWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tevent = event || {};\\n\\tvar bounds = triggeringWidget && triggeringWidget.getBoundingClientRect && triggeringWidget.getBoundingClientRect(),\\n\\t\\tsuppressNavigation = event.metaKey || event.ctrlKey || (event.button === 1);\\n\\tif(this.actionScroll === \\\"yes\\\") {\\n\\t\\tsuppressNavigation = false;\\n\\t} else if(this.actionScroll === \\\"no\\\") {\\n\\t\\tsuppressNavigation = true;\\n\\t}\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: this.actionTo === undefined ? this.getVariable(\\\"currentTiddler\\\") : this.actionTo,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: triggeringWidget,\\n\\t\\tnavigateFromClientRect: bounds && { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateFromClientTop: bounds && bounds.top,\\n\\t\\tnavigateFromClientLeft: bounds && bounds.left,\\n\\t\\tnavigateFromClientWidth: bounds && bounds.width,\\n\\t\\tnavigateFromClientRight: bounds && bounds.right,\\n\\t\\tnavigateFromClientBottom: bounds && bounds.bottom,\\n\\t\\tnavigateFromClientHeight: bounds && bounds.height,\\n\\t\\tnavigateSuppressNavigation: suppressNavigation,\\n\\t\\tmetaKey: event.metaKey,\\n\\t\\tctrlKey: event.ctrlKey,\\n\\t\\taltKey: event.altKey,\\n\\t\\tshiftKey: event.shiftKey,\\n\\t\\tevent: event\\n\\t});\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-navigate\\\"] = NavigateWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-popup.js\":{\"title\":\"$:/core/modules/widgets/action-popup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-popup.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to trigger a popup.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\nvar ActionPopupWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nActionPopupWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nActionPopupWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nActionPopupWidget.prototype.execute = function() {\\n\\tthis.actionState = this.getAttribute(\\\"$state\\\");\\n\\tthis.actionCoords = this.getAttribute(\\\"$coords\\\");\\n\\tthis.floating = this.getAttribute(\\\"$floating\\\",\\\"no\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nActionPopupWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$state\\\"] || changedAttributes[\\\"$coords\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nActionPopupWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\t// Trigger the popup\\n\\tvar coordinates = Popup.parseCoordinates(this.actionCoords || \\\"\\\");\\n\\tif(coordinates) {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: null,\\n\\t\\t\\tdomNodeRect: {\\n\\t\\t\\t\\tleft: coordinates.left,\\n\\t\\t\\t\\ttop: coordinates.top,\\n\\t\\t\\t\\twidth: coordinates.width,\\n\\t\\t\\t\\theight: coordinates.height\\n\\t\\t\\t},\\n\\t\\t\\ttitle: this.actionState,\\n\\t\\t\\twiki: this.wiki,\\n\\t\\t\\tfloating: this.floating,\\n\\t\\t\\tabsolute: coordinates.absolute\\n\\t\\t});\\n\\t} else {\\n\\t\\t$tw.popup.cancel(0);\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-popup\\\"] = ActionPopupWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-sendmessage.js\":{\"title\":\"$:/core/modules/widgets/action-sendmessage.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-sendmessage.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to send a message\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SendMessageWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSendMessageWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSendMessageWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSendMessageWidget.prototype.execute = function() {\\n\\tthis.actionMessage = this.getAttribute(\\\"$message\\\");\\n\\tthis.actionParam = this.getAttribute(\\\"$param\\\");\\n\\tthis.actionName = this.getAttribute(\\\"$name\\\");\\n\\tthis.actionValue = this.getAttribute(\\\"$value\\\",\\\"\\\");\\n\\tthis.actionNames = this.getAttribute(\\\"$names\\\");\\n\\tthis.actionValues = this.getAttribute(\\\"$values\\\");\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSendMessageWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(Object.keys(changedAttributes).length) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nSendMessageWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\t// Get the string parameter\\n\\tvar param = this.actionParam;\\n\\t// Assemble the parameters as a hashmap\\n\\tvar paramObject = Object.create(null);\\n\\t// Add names/values pairs if present\\n\\tif(this.actionNames && this.actionValues) {\\n\\t\\tvar names = this.wiki.filterTiddlers(this.actionNames,this),\\n\\t\\t\\tvalues = this.wiki.filterTiddlers(this.actionValues,this);\\n\\t\\t$tw.utils.each(names,function(name,index) {\\n\\t\\t\\tparamObject[name] = values[index] || \\\"\\\";\\n\\t\\t});\\n\\t}\\n\\t// Add raw parameters\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tparamObject[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\t// Add name/value pair if present\\n\\tif(this.actionName) {\\n\\t\\tparamObject[this.actionName] = this.actionValue;\\n\\t}\\n\\t// Dispatch the message\\n\\tvar params = {\\n\\t\\ttype: this.actionMessage,\\n\\t\\tparam: param,\\n\\t\\tparamObject: paramObject,\\n\\t\\tevent: event,\\n\\t\\ttiddlerTitle: this.getVariable(\\\"currentTiddler\\\"),\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\")\\n\\t};\\n\\tthis.dispatchEvent(params);\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-sendmessage\\\"] = SendMessageWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-setfield.js\":{\"title\":\"$:/core/modules/widgets/action-setfield.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-setfield.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to set a single field or index on a tiddler.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetFieldWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetFieldWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetFieldWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetFieldWidget.prototype.execute = function() {\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\") || (!this.hasParseTreeNodeAttribute(\\\"$tiddler\\\") && this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.actionField = this.getAttribute(\\\"$field\\\");\\n\\tthis.actionIndex = this.getAttribute(\\\"$index\\\");\\n\\tthis.actionValue = this.getAttribute(\\\"$value\\\");\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSetFieldWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// Nothing to refresh\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nSetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar self = this,\\n\\t\\toptions = {};\\n\\tif(this.actionTiddler) {\\n\\t\\toptions.suppressTimestamp = !this.actionTimestamp;\\n\\t\\tif((typeof this.actionField == \\\"string\\\") || (typeof this.actionIndex == \\\"string\\\") || (typeof this.actionValue == \\\"string\\\")) {\\n\\t\\t\\tthis.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue,options);\\n\\t\\t}\\n\\t\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\t\\tself.wiki.setText(self.actionTiddler,name,undefined,attribute,options);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-setfield\\\"] = SetFieldWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-setmultiplefields.js\":{\"title\":\"$:/core/modules/widgets/action-setmultiplefields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-setmultiplefields.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to set multiple fields or indexes on a tiddler\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetMultipleFieldsWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetMultipleFieldsWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetMultipleFieldsWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetMultipleFieldsWidget.prototype.execute = function() {\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.actionFields = this.getAttribute(\\\"$fields\\\");\\n\\tthis.actionIndexes = this.getAttribute(\\\"$indexes\\\");\\n\\tthis.actionValues = this.getAttribute(\\\"$values\\\");\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSetMultipleFieldsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$tiddler\\\"] || changedAttributes[\\\"$fields\\\"] || changedAttributes[\\\"$indexes\\\"] || changedAttributes[\\\"$values\\\"] || changedAttributes[\\\"$timestamp\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nSetMultipleFieldsWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.actionTiddler),\\n\\t\\tnames, values = this.wiki.filterTiddlers(this.actionValues,this);\\n\\tif(this.actionFields) {\\n\\t\\tvar additions = {};\\n\\t\\tnames = this.wiki.filterTiddlers(this.actionFields,this);\\n\\t\\t$tw.utils.each(names,function(fieldname,index) {\\n\\t\\t\\tadditions[fieldname] = values[index] || \\\"\\\";\\n\\t\\t});\\n\\t\\tvar creationFields = this.actionTimestamp ? this.wiki.getCreationFields() : undefined,\\n\\t\\t\\tmodificationFields = this.actionTimestamp ? this.wiki.getModificationFields() : undefined;\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(creationFields,tiddler,{title: this.actionTiddler},modificationFields,additions));\\n\\t} else if(this.actionIndexes) {\\n\\t\\tvar data = this.wiki.getTiddlerData(this.actionTiddler,Object.create(null));\\n\\t\\tnames = this.wiki.filterTiddlers(this.actionIndexes,this);\\n\\t\\t$tw.utils.each(names,function(name,index) {\\n\\t\\t\\tdata[name] = values[index] || \\\"\\\";\\n\\t\\t});\\n\\t\\tthis.wiki.setTiddlerData(this.actionTiddler,data,{},{suppressTimestamp: !this.actionTimestamp});\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-setmultiplefields\\\"] = SetMultipleFieldsWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/browse.js\":{\"title\":\"$:/core/modules/widgets/browse.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/browse.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nBrowse widget for browsing for files to import\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar BrowseWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nBrowseWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nBrowseWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(\\\"input\\\");\\n\\tdomNode.setAttribute(\\\"type\\\",\\\"file\\\");\\n\\tif(this.browseMultiple) {\\n\\t\\tdomNode.setAttribute(\\\"multiple\\\",\\\"multiple\\\");\\n\\t}\\n\\tif(this.tooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.tooltip);\\n\\t}\\n\\tif(this.tabIndex) {\\n\\t\\tdomNode.setAttribute(\\\"tabindex\\\", this.tabIndex);\\n\\t}\\n\\t// Nw.js supports \\\"nwsaveas\\\" to force a \\\"save as\\\" dialogue that allows a new or existing file to be selected\\n\\tif(this.nwsaveas) {\\n\\t\\tdomNode.setAttribute(\\\"nwsaveas\\\",this.nwsaveas);\\n\\t}\\n\\tif(this.accept) {\\n\\t\\tdomNode.setAttribute(\\\"accept\\\",this.accept);\\n\\t}\\n\\t// Nw.js supports \\\"webkitdirectory\\\" and \\\"nwdirectory\\\" to allow a directory to be selected\\n\\tif(this.webkitdirectory) {\\n\\t\\tdomNode.setAttribute(\\\"webkitdirectory\\\",this.webkitdirectory);\\n\\t}\\n\\tif(this.nwdirectory) {\\n\\t\\tdomNode.setAttribute(\\\"nwdirectory\\\",this.nwdirectory);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tdomNode.setAttribute(\\\"disabled\\\", true);\\n\\t}\\n\\t// Add a click event handler\\n\\tdomNode.addEventListener(\\\"change\\\",function (event) {\\n\\t\\tif(self.message) {\\n\\t\\t\\tself.dispatchEvent({type: self.message, param: self.param, files: event.target.files});\\n\\t\\t} else {\\n\\t\\t\\tself.wiki.readFiles(event.target.files,{\\n\\t\\t\\t\\tcallback: function(tiddlerFieldsArray) {\\n\\t\\t\\t\\t\\tself.dispatchEvent({type: \\\"tm-import-tiddlers\\\", param: JSON.stringify(tiddlerFieldsArray)});\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tdeserializer: self.deserializer\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\treturn false;\\n\\t},false);\\n\\t// Assign data- attributes\\n\\tthis.assignAttributes(domNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nBrowseWidget.prototype.execute = function() {\\n\\tthis.browseMultiple = this.getAttribute(\\\"multiple\\\");\\n\\tthis.deserializer = this.getAttribute(\\\"deserializer\\\");\\n\\tthis.message = this.getAttribute(\\\"message\\\");\\n\\tthis.param = this.getAttribute(\\\"param\\\");\\n\\tthis.tooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.nwsaveas = this.getAttribute(\\\"nwsaveas\\\");\\n\\tthis.accept = this.getAttribute(\\\"accept\\\");\\n\\tthis.webkitdirectory = this.getAttribute(\\\"webkitdirectory\\\");\\n\\tthis.nwdirectory = this.getAttribute(\\\"nwdirectory\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\", \\\"no\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nBrowseWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\t\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.browse = BrowseWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/button.js\":{\"title\":\"$:/core/modules/widgets/button.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/button.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nButton widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\nvar ButtonWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nButtonWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nButtonWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this,\\n\\t\\ttag = \\\"button\\\",\\n\\t\\tdomNode;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tif(this.buttonTag && $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {\\n\\t\\ttag = this.buttonTag;\\n\\t}\\n\\tdomNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\t// Assign classes\\n\\tvar classes = this[\\\"class\\\"].split(\\\" \\\") || [],\\n\\t\\tisPoppedUp = (this.popup || this.popupTitle) && this.isPoppedUp();\\n\\tif(this.selectedClass) {\\n\\t\\tif((this.set || this.setTitle) && this.setTo && this.isSelected()) {\\n\\t\\t\\t$tw.utils.pushTop(classes, this.selectedClass.split(\\\" \\\"));\\n\\t\\t\\tdomNode.setAttribute(\\\"aria-checked\\\", \\\"true\\\");\\n\\t\\t}\\n\\t\\tif(isPoppedUp) {\\n\\t\\t\\t$tw.utils.pushTop(classes,this.selectedClass.split(\\\" \\\"));\\n\\t\\t}\\n\\t}\\n\\tif(isPoppedUp) {\\n\\t\\t$tw.utils.pushTop(classes,\\\"tc-popup-handle\\\");\\n\\t}\\n\\tdomNode.className = classes.join(\\\" \\\");\\n\\t// Assign data- attributes\\n\\tthis.assignAttributes(domNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Assign other attributes\\n\\tif(this.style) {\\n\\t\\tdomNode.setAttribute(\\\"style\\\",this.style);\\n\\t}\\n\\tif(this.tooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.tooltip);\\n\\t}\\n\\tif(this[\\\"aria-label\\\"]) {\\n\\t\\tdomNode.setAttribute(\\\"aria-label\\\",this[\\\"aria-label\\\"]);\\n\\t}\\n\\tif (this.role) {\\n\\t\\tdomNode.setAttribute(\\\"role\\\", this.role);\\n\\t}\\n\\tif(this.popup || this.popupTitle) {\\n\\t\\tdomNode.setAttribute(\\\"aria-expanded\\\",isPoppedUp ? \\\"true\\\" : \\\"false\\\");\\n\\t}\\n\\t// Set the tabindex\\n\\tif(this.tabIndex) {\\n\\t\\tdomNode.setAttribute(\\\"tabindex\\\",this.tabIndex);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tdomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\t// Add a click event handler\\n\\tdomNode.addEventListener(\\\"click\\\",function (event) {\\n\\t\\tvar handled = false;\\n\\t\\tif(self.invokeActions(self,event)) {\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.to) {\\n\\t\\t\\tself.navigateTo(event);\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.message) {\\n\\t\\t\\tself.dispatchMessage(event);\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.popup || self.popupTitle) {\\n\\t\\t\\tself.triggerPopup(event);\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.set || self.setTitle) {\\n\\t\\t\\tself.setTiddler();\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.actions) {\\n\\t\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\tself.invokeActionString(self.actions,self,event,{modifier: modifierKey});\\n\\t\\t}\\n\\t\\tif(handled) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t}\\n\\t\\treturn handled;\\n\\t},false);\\n\\t// Make it draggable if required\\n\\tif(this.dragTiddler || this.dragFilter) {\\n\\t\\t$tw.utils.makeDraggable({\\n\\t\\t\\tdomNode: domNode,\\n\\t\\t\\tdragTiddlerFn: function() {return self.dragTiddler;},\\n\\t\\t\\tdragFilterFn: function() {return self.dragFilter;},\\n\\t\\t\\twidget: this\\n\\t\\t});\\n\\t}\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nWe don't allow actions to propagate because we trigger actions ourselves\\n*/\\nButtonWidget.prototype.allowActionPropagation = function() {\\n\\treturn false;\\n};\\n\\nButtonWidget.prototype.getBoundingClientRect = function() {\\n\\treturn this.domNodes[0].getBoundingClientRect();\\n};\\n\\nButtonWidget.prototype.isSelected = function() {\\n return this.setTitle ? (this.setField ? this.wiki.getTiddler(this.setTitle).getFieldString(this.setField) === this.setTo :\\n\\t\\t(this.setIndex ? this.wiki.extractTiddlerDataItem(this.setTitle,this.setIndex) === this.setTo :\\n\\t\\t\\tthis.wiki.getTiddlerText(this.setTitle))) || this.defaultSetValue || this.getVariable(\\\"currentTiddler\\\") :\\n\\t\\tthis.wiki.getTextReference(this.set,this.defaultSetValue,this.getVariable(\\\"currentTiddler\\\")) === this.setTo;\\n};\\n\\nButtonWidget.prototype.isPoppedUp = function() {\\n\\tvar tiddler = this.popupTitle ? this.wiki.getTiddler(this.popupTitle) : this.wiki.getTiddler(this.popup);\\n\\tvar result = tiddler && tiddler.fields.text ? Popup.readPopupState(tiddler.fields.text) : false;\\n\\treturn result;\\n};\\n\\nButtonWidget.prototype.navigateTo = function(event) {\\n\\tvar bounds = this.getBoundingClientRect();\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: this.to,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: this,\\n\\t\\tnavigateFromClientRect: { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateSuppressNavigation: event.metaKey || event.ctrlKey || (event.button === 1),\\n\\t\\tevent: event\\n\\t});\\n};\\n\\nButtonWidget.prototype.dispatchMessage = function(event) {\\n\\tthis.dispatchEvent({type: this.message, param: this.param, tiddlerTitle: this.getVariable(\\\"currentTiddler\\\"), event: event});\\n};\\n\\nButtonWidget.prototype.triggerPopup = function(event) {\\n\\tif(this.popupTitle) {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: this.domNodes[0],\\n\\t\\t\\tabsolute: (this.popupAbsCoords === \\\"yes\\\"),\\n\\t\\t\\ttitle: this.popupTitle,\\n\\t\\t\\twiki: this.wiki,\\n\\t\\t\\tnoStateReference: true\\n\\t\\t});\\n\\t} else {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: this.domNodes[0],\\n\\t\\t\\tabsolute: (this.popupAbsCoords === \\\"yes\\\"),\\n\\t\\t\\ttitle: this.popup,\\n\\t\\t\\twiki: this.wiki\\n\\t\\t});\\n\\t}\\n};\\n\\nButtonWidget.prototype.setTiddler = function() {\\n\\tif(this.setTitle) {\\n\\t\\tthis.setField ? this.wiki.setText(this.setTitle,this.setField,undefined,this.setTo) :\\n\\t\\t\\t\\t(this.setIndex ? this.wiki.setText(this.setTitle,undefined,this.setIndex,this.setTo) :\\n\\t\\t\\t\\tthis.wiki.setText(this.setTitle,\\\"text\\\",undefined,this.setTo));\\n\\t} else {\\n\\t\\tthis.wiki.setTextReference(this.set,this.setTo,this.getVariable(\\\"currentTiddler\\\"));\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nButtonWidget.prototype.execute = function() {\\n\\t// Get attributes\\n\\tthis.actions = this.getAttribute(\\\"actions\\\");\\n\\tthis.to = this.getAttribute(\\\"to\\\");\\n\\tthis.message = this.getAttribute(\\\"message\\\");\\n\\tthis.param = this.getAttribute(\\\"param\\\");\\n\\tthis.set = this.getAttribute(\\\"set\\\");\\n\\tthis.setTo = this.getAttribute(\\\"setTo\\\");\\n\\tthis.popup = this.getAttribute(\\\"popup\\\");\\n\\tthis.hover = this.getAttribute(\\\"hover\\\");\\n\\tthis[\\\"aria-label\\\"] = this.getAttribute(\\\"aria-label\\\");\\n\\tthis.role = this.getAttribute(\\\"role\\\");\\n\\tthis.tooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.style = this.getAttribute(\\\"style\\\");\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.selectedClass = this.getAttribute(\\\"selectedClass\\\");\\n\\tthis.defaultSetValue = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.buttonTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.dragTiddler = this.getAttribute(\\\"dragTiddler\\\");\\n\\tthis.dragFilter = this.getAttribute(\\\"dragFilter\\\");\\n\\tthis.setTitle = this.getAttribute(\\\"setTitle\\\");\\n\\tthis.setField = this.getAttribute(\\\"setField\\\");\\n\\tthis.setIndex = this.getAttribute(\\\"setIndex\\\");\\n\\tthis.popupTitle = this.getAttribute(\\\"popupTitle\\\");\\n\\tthis.popupAbsCoords = this.getAttribute(\\\"popupAbsCoords\\\", \\\"no\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nButtonWidget.prototype.updateDomNodeClasses = function() {\\n\\tvar domNodeClasses = this.domNode.className.split(\\\" \\\"),\\n\\t\\toldClasses = this.class.split(\\\" \\\"),\\n\\t\\tnewClasses;\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tnewClasses = this.class.split(\\\" \\\");\\n\\t//Remove classes assigned from the old value of class attribute\\n\\t$tw.utils.each(oldClasses,function(oldClass){\\n\\t\\tvar i = domNodeClasses.indexOf(oldClass);\\n\\t\\tif(i !== -1) {\\n\\t\\t\\tdomNodeClasses.splice(i,1);\\n\\t\\t}\\n\\t});\\n\\t//Add new classes from updated class attribute.\\n\\t$tw.utils.pushTop(domNodeClasses,newClasses);\\n\\tthis.domNode.className = domNodeClasses.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nButtonWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tooltip || changedAttributes.actions || changedAttributes.to || changedAttributes.message || changedAttributes.param || changedAttributes.set || changedAttributes.setTo || changedAttributes.popup || changedAttributes.hover || changedAttributes.selectedClass || changedAttributes.style || changedAttributes.dragFilter || changedAttributes.dragTiddler || (this.set && changedTiddlers[this.set]) || (this.popup && changedTiddlers[this.popup]) || (this.popupTitle && changedTiddlers[this.popupTitle]) || changedAttributes.popupAbsCoords || changedAttributes.setTitle || changedAttributes.setField || changedAttributes.setIndex || changedAttributes.popupTitle || changedAttributes.disabled || changedAttributes[\\\"default\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\t\\tthis.updateDomNodeClasses();\\n\\t\\t}\\n\\t\\tthis.assignAttributes(this.domNodes[0],{\\n\\t\\t\\tchangedAttributes: changedAttributes,\\n\\t\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\t\\tdestPrefix: \\\"data-\\\"\\n\\t\\t});\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.button = ButtonWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/checkbox.js\":{\"title\":\"$:/core/modules/widgets/checkbox.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/checkbox.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nCheckbox widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CheckboxWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCheckboxWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCheckboxWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar isChecked;\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Create our elements\\n\\tthis.labelDomNode = this.document.createElement(\\\"label\\\");\\n\\tthis.labelDomNode.setAttribute(\\\"class\\\",\\\"tc-checkbox \\\" + this.checkboxClass);\\n\\tthis.inputDomNode = this.document.createElement(\\\"input\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"type\\\",\\\"checkbox\\\");\\n\\tisChecked = this.getValue();\\n\\tif(isChecked) {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"checked\\\",\\\"true\\\");\\n\\t\\t$tw.utils.addClass(this.labelDomNode,\\\"tc-checkbox-checked\\\");\\n\\t}\\n\\tif(isChecked === undefined && this.checkboxIndeterminate === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.indeterminate = true;\\n\\t}\\n\\tif(this.tabIndex) {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"tabindex\\\", this.tabIndex);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\tthis.labelDomNode.appendChild(this.inputDomNode);\\n\\tthis.spanDomNode = this.document.createElement(\\\"span\\\");\\n\\tthis.labelDomNode.appendChild(this.spanDomNode);\\n\\t// Assign data- attributes\\n\\tthis.assignAttributes(this.inputDomNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(this.inputDomNode,[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(this.labelDomNode,nextSibling);\\n\\tthis.renderChildren(this.spanDomNode,null);\\n\\tthis.domNodes.push(this.labelDomNode);\\n};\\n\\nCheckboxWidget.prototype.getValue = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.checkboxTitle);\\n\\tif(tiddler || this.checkboxFilter) {\\n\\t\\tif(tiddler && this.checkboxTag) {\\n\\t\\t\\tif(this.checkboxInvertTag === \\\"yes\\\") {\\n\\t\\t\\t\\treturn !tiddler.hasTag(this.checkboxTag);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn tiddler.hasTag(this.checkboxTag);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(tiddler && (this.checkboxField || this.checkboxIndex)) {\\n\\t\\t\\t// Same logic applies to fields and indexes\\n\\t\\t\\tvar value;\\n\\t\\t\\tif(this.checkboxField) {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.checkboxField)) {\\n\\t\\t\\t\\t\\tvalue = tiddler.fields[this.checkboxField] || \\\"\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tvalue = this.checkboxDefault || \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(tiddler,this.checkboxIndex,this.checkboxDefault || \\\"\\\");\\n\\t\\t\\t}\\n\\t\\t\\tif(value === this.checkboxChecked) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tif(value === this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\t// Neither value found: were both specified?\\n\\t\\t\\tif(this.checkboxChecked && !this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false; // Absence of checked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxUnchecked && !this.checkboxChecked) {\\n\\t\\t\\t\\treturn true; // Absence of unchecked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxChecked && this.checkboxUnchecked) {\\n\\t\\t\\t\\t// Both specified but neither found: indeterminate or false, depending\\n\\t\\t\\t\\tif(this.checkboxIndeterminate === \\\"yes\\\") {\\n\\t\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(this.checkboxListField || this.checkboxListIndex || this.checkboxFilter) {\\n\\t\\t\\t// Same logic applies to lists and filters\\n\\t\\t\\tvar list;\\n\\t\\t\\tif(this.checkboxListField) {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.checkboxListField)) {\\n\\t\\t\\t\\t\\tlist = tiddler.getFieldList(this.checkboxListField) || [];\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tlist = $tw.utils.parseStringArray(this.checkboxDefault || \\\"\\\") || [];\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if(this.checkboxListIndex) {\\n\\t\\t\\t\\tlist = $tw.utils.parseStringArray(this.wiki.extractTiddlerDataItem(tiddler,this.checkboxListIndex,this.checkboxDefault || \\\"\\\")) || [];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tlist = this.wiki.filterTiddlers(this.checkboxFilter,this) || [];\\n\\t\\t\\t}\\n\\t\\t\\tif(list.indexOf(this.checkboxChecked) !== -1) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tif(list.indexOf(this.checkboxUnchecked) !== -1) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\t// Neither one present\\n\\t\\t\\tif(this.checkboxChecked && !this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false; // Absence of checked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxUnchecked && !this.checkboxChecked) {\\n\\t\\t\\t\\treturn true; // Absence of unchecked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxChecked && this.checkboxUnchecked) {\\n\\t\\t\\t\\t// Both specified but neither found: indeterminate or false, depending\\n\\t\\t\\t\\tif(this.checkboxIndeterminate === \\\"yes\\\") {\\n\\t\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Neither specified, so empty list is false, non-empty is true\\n\\t\\t\\treturn !!list.length;\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(this.checkboxTag) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\tif(this.checkboxField || this.checkboxIndex) {\\n\\t\\t\\tif(this.checkboxDefault === this.checkboxChecked) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxDefault === this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nCheckboxWidget.prototype.handleChangeEvent = function(event) {\\n\\tvar checked = this.inputDomNode.checked,\\n\\t\\ttiddler = this.wiki.getTiddler(this.checkboxTitle),\\n\\t\\tfallbackFields = {text: \\\"\\\"},\\n\\t\\tnewFields = {title: this.checkboxTitle},\\n\\t\\thasChanged = false,\\n\\t\\ttagCheck = false,\\n\\t\\thasTag = tiddler && tiddler.hasTag(this.checkboxTag),\\n\\t\\tvalue = checked ? this.checkboxChecked : this.checkboxUnchecked,\\n\\t\\tnotValue = checked ? this.checkboxUnchecked : this.checkboxChecked;\\n\\tif(this.checkboxTag && this.checkboxInvertTag === \\\"yes\\\") {\\n\\t\\ttagCheck = hasTag === checked;\\n\\t} else {\\n\\t\\ttagCheck = hasTag !== checked;\\n\\t}\\n\\t// Set the tag if specified\\n\\tif(this.checkboxTag && (!tiddler || tagCheck)) {\\n\\t\\tnewFields.tags = tiddler ? (tiddler.fields.tags || []).slice(0) : [];\\n\\t\\tvar pos = newFields.tags.indexOf(this.checkboxTag);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tnewFields.tags.splice(pos,1);\\n\\t\\t}\\n\\t\\tif(this.checkboxInvertTag === \\\"yes\\\" && !checked) {\\n\\t\\t\\tnewFields.tags.push(this.checkboxTag);\\n\\t\\t} else if(this.checkboxInvertTag !== \\\"yes\\\" && checked) {\\n\\t\\t\\tnewFields.tags.push(this.checkboxTag);\\n\\t\\t}\\n\\t\\thasChanged = true;\\n\\t}\\n\\t// Set the field if specified\\n\\tif(this.checkboxField) {\\n\\t\\tif(!tiddler || tiddler.fields[this.checkboxField] !== value) {\\n\\t\\t\\tnewFields[this.checkboxField] = value;\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t}\\n\\t// Set the index if specified\\n\\tif(this.checkboxIndex) {\\n\\t\\tvar indexValue = this.wiki.extractTiddlerDataItem(this.checkboxTitle,this.checkboxIndex);\\n\\t\\tif(!tiddler || indexValue !== value) {\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t}\\n\\t// Set the list field (or index) if specified\\n\\tif(this.checkboxListField || this.checkboxListIndex) {\\n\\t\\tvar fieldContents, listContents, oldPos, newPos;\\n\\t\\tif(this.checkboxListField) {\\n\\t\\t\\tfieldContents = (tiddler ? tiddler.fields[this.checkboxListField] : undefined) || [];\\n\\t\\t} else {\\n\\t\\t\\tfieldContents = this.wiki.extractTiddlerDataItem(this.checkboxTitle,this.checkboxListIndex);\\n\\t\\t}\\n\\t\\tif($tw.utils.isArray(fieldContents)) {\\n\\t\\t\\t// Make a copy so we can modify it without changing original that's refrenced elsewhere\\n\\t\\t\\tlistContents = fieldContents.slice(0);\\n\\t\\t} else if(fieldContents === undefined) {\\n\\t\\t\\tlistContents = [];\\n\\t\\t} else if(typeof fieldContents === \\\"string\\\") {\\n\\t\\t\\tlistContents = $tw.utils.parseStringArray(fieldContents);\\n\\t\\t\\t// No need to copy since parseStringArray returns a fresh array, not refrenced elsewhere\\n\\t\\t} else {\\n\\t\\t\\t// Field was neither an array nor a string; it's probably something that shouldn't become\\n\\t\\t\\t// an array (such as a date field), so bail out *without* triggering actions\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\toldPos = notValue ? listContents.indexOf(notValue) : -1;\\n\\t\\tnewPos = value ? listContents.indexOf(value) : -1;\\n\\t\\tif(oldPos === -1 && newPos !== -1) {\\n\\t\\t\\t// old value absent, new value present: no change needed\\n\\t\\t} else if(oldPos === -1) {\\n\\t\\t\\t// neither one was present\\n\\t\\t\\tif(value) {\\n\\t\\t\\t\\tlistContents.push(value);\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// value unspecified? then leave list unchanged\\n\\t\\t\\t}\\n\\t\\t} else if(newPos === -1) {\\n\\t\\t\\t// old value present, new value absent\\n\\t\\t\\tif(value) {\\n\\t\\t\\t\\tlistContents[oldPos] = value;\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tlistContents.splice(oldPos, 1)\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// both were present: just remove the old one, leave new alone\\n\\t\\t\\tlistContents.splice(oldPos, 1)\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t\\tif(this.checkboxListField) {\\n\\t\\t\\tnewFields[this.checkboxListField] = $tw.utils.stringifyList(listContents);\\n\\t\\t}\\n\\t\\t// The listIndex case will be handled in the if(hasChanged) block below\\n\\t}\\n\\tif(hasChanged) {\\n\\t\\tif(this.checkboxIndex) {\\n\\t\\t\\tthis.wiki.setText(this.checkboxTitle,\\\"\\\",this.checkboxIndex,value);\\n\\t\\t} else if(this.checkboxListIndex) {\\n\\t\\t\\tvar listIndexValue = (listContents && listContents.length) ? $tw.utils.stringifyList(listContents) : undefined;\\n\\t\\t\\tthis.wiki.setText(this.checkboxTitle,\\\"\\\",this.checkboxListIndex,listIndexValue);\\n\\t\\t} else {\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),fallbackFields,tiddler,newFields,this.wiki.getModificationFields()));\\n\\t\\t}\\n\\t}\\n\\t// Trigger actions\\n\\tif(this.checkboxActions) {\\n\\t\\tthis.invokeActionString(this.checkboxActions,this,event);\\n\\t}\\n\\tif(this.checkboxCheckActions && checked) {\\n\\t\\tthis.invokeActionString(this.checkboxCheckActions,this,event);\\n\\t}\\n\\tif(this.checkboxUncheckActions && !checked) {\\n\\t\\tthis.invokeActionString(this.checkboxUncheckActions,this,event);\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCheckboxWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n\\tthis.checkboxActions = this.getAttribute(\\\"actions\\\");\\n\\tthis.checkboxCheckActions = this.getAttribute(\\\"checkactions\\\");\\n\\tthis.checkboxUncheckActions = this.getAttribute(\\\"uncheckactions\\\");\\n\\tthis.checkboxTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.checkboxTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.checkboxField = this.getAttribute(\\\"field\\\");\\n\\tthis.checkboxIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.checkboxListField = this.getAttribute(\\\"listField\\\");\\n\\tthis.checkboxListIndex = this.getAttribute(\\\"listIndex\\\");\\n\\tthis.checkboxFilter = this.getAttribute(\\\"filter\\\");\\n\\tthis.checkboxChecked = this.getAttribute(\\\"checked\\\");\\n\\tthis.checkboxUnchecked = this.getAttribute(\\\"unchecked\\\");\\n\\tthis.checkboxDefault = this.getAttribute(\\\"default\\\");\\n\\tthis.checkboxIndeterminate = this.getAttribute(\\\"indeterminate\\\",\\\"no\\\");\\n\\tthis.checkboxClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.checkboxInvertTag = this.getAttribute(\\\"invertTag\\\",\\\"\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\tthis.tabIndex = this.getAttribute();\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nCheckboxWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.tag || changedAttributes.invertTag || changedAttributes.field || changedAttributes.index || changedAttributes.listField || changedAttributes.listIndex || changedAttributes.filter || changedAttributes.checked || changedAttributes.unchecked || changedAttributes[\\\"default\\\"] || changedAttributes.indeterminate || changedAttributes[\\\"class\\\"] || changedAttributes.disabled || changedAttributes.tabindex) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar refreshed = false;\\n\\t\\tif(changedTiddlers[this.checkboxTitle]) {\\n\\t\\t\\tvar isChecked = this.getValue();\\n\\t\\t\\tthis.inputDomNode.checked = !!isChecked;\\n\\t\\t\\tthis.inputDomNode.indeterminate = (isChecked === undefined);\\n\\t\\t\\trefreshed = true;\\n\\t\\t\\tif(isChecked) {\\n\\t\\t\\t\\t$tw.utils.addClass(this.labelDomNode,\\\"tc-checkbox-checked\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t$tw.utils.removeClass(this.labelDomNode,\\\"tc-checkbox-checked\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.assignAttributes(this.inputDomNode,{\\n\\t\\t\\tchangedAttributes: changedAttributes,\\n\\t\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\t\\tdestPrefix: \\\"data-\\\"\\n\\t\\t});\\n\\t\\treturn this.refreshChildren(changedTiddlers) || refreshed;\\n\\t}\\n};\\n\\nexports.checkbox = CheckboxWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/codeblock.js\":{\"title\":\"$:/core/modules/widgets/codeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/codeblock.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nCode block node widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CodeBlockWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCodeBlockWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCodeBlockWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar codeNode = this.document.createElement(\\\"code\\\"),\\n\\t\\tdomNode = this.document.createElement(\\\"pre\\\");\\n\\tcodeNode.appendChild(this.document.createTextNode(this.getAttribute(\\\"code\\\")));\\n\\tdomNode.appendChild(codeNode);\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.domNodes.push(domNode);\\n\\tif(this.postRender) {\\n\\t\\tthis.postRender();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCodeBlockWidget.prototype.execute = function() {\\n\\tthis.language = this.getAttribute(\\\"language\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nCodeBlockWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.code || changedAttributes.language) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.codeblock = CodeBlockWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/count.js\":{\"title\":\"$:/core/modules/widgets/count.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/count.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nCount widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CountWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCountWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCountWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar textNode = this.document.createTextNode(this.currentCount);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCountWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.filter = this.getAttribute(\\\"filter\\\");\\n\\t// Execute the filter\\n\\tif(this.filter) {\\n\\t\\tthis.currentCount = this.wiki.filterTiddlers(this.filter,this).length;\\n\\t} else {\\n\\t\\tthis.currentCount = \\\"0\\\";\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nCountWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// Re-execute the filter to get the count\\n\\tthis.computeAttributes();\\n\\tvar oldCount = this.currentCount;\\n\\tthis.execute();\\n\\tif(this.currentCount !== oldCount) {\\n\\t\\t// Regenerate and rerender the widget and replace the existing DOM node\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n\\n};\\n\\nexports.count = CountWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/data.js\":{\"title\":\"$:/core/modules/widgets/data.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/data.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to dynamically represent one or more tiddlers\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DataWidget = function(parseTreeNode,options) {\\n\\tthis.dataWidgetTag = parseTreeNode.type;\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDataWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDataWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.dataPayload = this.computeDataTiddlerValues(); // Array of $tw.Tiddler objects\\n\\tthis.domNode = this.document.createTextNode(this.readDataTiddlerValuesAsJson());\\n\\tparent.insertBefore(this.domNode,nextSibling);\\n\\tthis.domNodes.push(this.domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDataWidget.prototype.execute = function() {\\n\\t// Nothing to do here\\n};\\n\\n/*\\nRead the tiddler value(s) from a data widget as an array of tiddler field objects (not $tw.Tiddler objects)\\n*/\\nDataWidget.prototype.readDataTiddlerValues = function() {\\n\\tvar results = [];\\n\\t$tw.utils.each(this.dataPayload,function(tiddler,index) {\\n\\t\\tresults.push(tiddler.getFieldStrings());\\n\\t});\\n\\treturn results;\\n};\\n\\n/*\\nRead the tiddler value(s) from a data widget as an array of tiddler field objects (not $tw.Tiddler objects)\\n*/\\nDataWidget.prototype.readDataTiddlerValuesAsJson = function() {\\n\\treturn JSON.stringify(this.readDataTiddlerValues(),null,4);\\n};\\n\\n/*\\nCompute list of tiddlers from a data widget\\n*/\\nDataWidget.prototype.computeDataTiddlerValues = function() {\\n\\tvar self = this;\\n\\t// Read any attributes not prefixed with $\\n\\tvar item = Object.create(null);\\n\\t$tw.utils.each(this.attributes,function(value,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\titem[name] = value;\\t\\n\\t\\t}\\n\\t});\\n\\t// Deal with $tiddler, $filter or $compound-tiddler attributes\\n\\tvar tiddlers = [],\\n\\t\\tcompoundTiddlers,\\n\\t\\ttitle;\\n\\tif(this.hasAttribute(\\\"$tiddler\\\")) {\\n\\t\\ttitle = this.getAttribute(\\\"$tiddler\\\");\\n\\t\\tif(title) {\\n\\t\\t\\tvar tiddler = this.wiki.getTiddler(title);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\ttiddlers.push(tiddler);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif(this.hasAttribute(\\\"$filter\\\")) {\\n\\t\\tvar filter = this.getAttribute(\\\"$filter\\\");\\n\\t\\tif(filter) {\\n\\t\\t\\tvar titles = this.wiki.filterTiddlers(filter);\\n\\t\\t\\t$tw.utils.each(titles,function(title) {\\n\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\ttiddlers.push(tiddler);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\tif(this.hasAttribute(\\\"$compound-tiddler\\\")) {\\n\\t\\ttitle = this.getAttribute(\\\"$compound-tiddler\\\");\\n\\t\\tif(title) {\\n\\t\\t\\ttiddlers.push.apply(tiddlers,this.extractCompoundTiddler(title));\\n\\t\\t}\\n\\t}\\n\\tif(this.hasAttribute(\\\"$compound-filter\\\")) {\\n\\t\\tfilter = this.getAttribute(\\\"$compound-filter\\\");\\n\\t\\tif(filter) {\\n\\t\\t\\tcompoundTiddlers = this.wiki.filterTiddlers(filter);\\n\\t\\t\\t$tw.utils.each(compoundTiddlers, function(title){\\n\\t\\t\\t\\ttiddlers.push.apply(tiddlers,self.extractCompoundTiddler(title));\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\t// Return the literal item if none of the special attributes were used\\n\\tif(!this.hasAttribute(\\\"$tiddler\\\") && !this.hasAttribute(\\\"$filter\\\") && !this.hasAttribute(\\\"$compound-tiddler\\\") && !this.hasAttribute(\\\"$compound-filter\\\")) {\\n\\t\\tif(Object.keys(item).length > 0 && !!item.title) {\\n\\t\\t\\treturn [new $tw.Tiddler(item)];\\n\\t\\t} else {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Apply the item fields to each of the tiddlers\\n\\t\\tif(Object.keys(item).length > 0) {\\n\\t\\t\\t$tw.utils.each(tiddlers,function(tiddler,index) {\\n\\t\\t\\t\\ttiddlers[index] = new $tw.Tiddler(tiddler,item);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\treturn tiddlers;\\n\\t}\\n};\\n\\n/*\\nHelper to extract tiddlers from text/vnd.tiddlywiki-multiple tiddlers\\n*/\\nDataWidget.prototype.extractCompoundTiddler = function(title) {\\n\\tvar tiddler = this.wiki.getTiddler(title);\\n\\tif(tiddler && tiddler.fields.type === \\\"text/vnd.tiddlywiki-multiple\\\") {\\n\\t\\tvar text = tiddler.fields.text || \\\"\\\",\\n\\t\\t\\trawTiddlers = text.split(/\\\\r?\\\\n\\\\+\\\\r?\\\\n/),\\n\\t\\t\\ttiddlers = [];\\n\\t\\t$tw.utils.each(rawTiddlers,function(rawTiddler) {\\n\\t\\t\\tvar fields = Object.create(null),\\n\\t\\t\\t\\tsplit = rawTiddler.split(/\\\\r?\\\\n\\\\r?\\\\n/mg);\\n\\t\\t\\tif(split.length >= 1) {\\n\\t\\t\\t\\tfields = $tw.utils.parseFields(split[0],fields);\\n\\t\\t\\t}\\n\\t\\t\\tif(split.length >= 2) {\\n\\t\\t\\t\\tfields.text = split.slice(1).join(\\\"\\\\n\\\\n\\\");\\n\\t\\t\\t}\\n\\t\\t\\ttiddlers.push(new $tw.Tiddler(fields));\\n\\t\\t});\\n\\t\\treturn tiddlers;\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDataWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tvar newPayload = this.computeDataTiddlerValues();\\n\\tif(hasPayloadChanged(this.dataPayload,newPayload)) {\\n\\t\\tthis.dataPayload = newPayload;\\n\\t\\tthis.domNode.textContent = this.readDataTiddlerValuesAsJson();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nCompare two arrays of tiddlers and return true if they are different\\n*/\\nfunction hasPayloadChanged(a,b) {\\n\\tif(a.length === b.length) {\\n\\t\\tfor(var t=0; t<a.length; t++) {\\n\\t\\t\\tif(!(a[t].isEqual(b[t]))) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn false;\\n\\t} else {\\n\\t\\treturn true;\\n\\t}\\n}\\n\\nexports.data = DataWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/diff-text.js\":{\"title\":\"$:/core/modules/widgets/diff-text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/diff-text.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to display a diff between two texts\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n\\tdmp = require(\\\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\\\");\\n\\nvar DiffTextWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDiffTextWidget.prototype = new Widget();\\n\\nDiffTextWidget.prototype.invisibleCharacters = {\\n\\t\\\"\\\\n\\\": \\\"↩︎\\\\n\\\",\\n\\t\\\"\\\\r\\\": \\\"⇠\\\",\\n\\t\\\"\\\\t\\\": \\\"⇥\\\\t\\\"\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDiffTextWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create the diff\\n\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\tdiffs = dmpObject.diff_main(this.getAttribute(\\\"source\\\",\\\"\\\"),this.getAttribute(\\\"dest\\\",\\\"\\\"));\\n\\t// Apply required cleanup\\n\\tswitch(this.getAttribute(\\\"cleanup\\\",\\\"semantic\\\")) {\\n\\t\\tcase \\\"none\\\":\\n\\t\\t\\t// No cleanup\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"efficiency\\\":\\n\\t\\t\\tdmpObject.diff_cleanupEfficiency(diffs);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: // case \\\"semantic\\\"\\n\\t\\t\\tdmpObject.diff_cleanupSemantic(diffs);\\n\\t\\t\\tbreak;\\n\\t}\\n\\t// Create the elements\\n\\tvar domContainer = this.document.createElement(\\\"div\\\"), \\n\\t\\tdomDiff = this.createDiffDom(diffs);\\n\\tparent.insertBefore(domContainer,nextSibling);\\n\\t// Set variables\\n\\tthis.setVariable(\\\"diff-count\\\",diffs.reduce(function(acc,diff) {\\n\\t\\tif(diff[0] !== dmp.DIFF_EQUAL) {\\n\\t\\t\\tacc++;\\n\\t\\t}\\n\\t\\treturn acc;\\n\\t},0).toString());\\n\\t// Render child widgets\\n\\tthis.renderChildren(domContainer,null);\\n\\t// Render the diff\\n\\tdomContainer.appendChild(domDiff);\\n\\t// Save our container\\n\\tthis.domNodes.push(domContainer);\\n};\\n\\n/*\\nCreate DOM elements representing a list of diffs\\n*/\\nDiffTextWidget.prototype.createDiffDom = function(diffs) {\\n\\tvar self = this;\\n\\t// Create the element and assign the attributes\\n\\tvar domPre = this.document.createElement(\\\"pre\\\"),\\n\\t\\tdomCode = this.document.createElement(\\\"code\\\");\\n\\t$tw.utils.each(diffs,function(diff) {\\n\\t\\tvar tag = diff[0] === dmp.DIFF_INSERT ? \\\"ins\\\" : (diff[0] === dmp.DIFF_DELETE ? \\\"del\\\" : \\\"span\\\"),\\n\\t\\t\\tclassName = diff[0] === dmp.DIFF_INSERT ? \\\"tc-diff-insert\\\" : (diff[0] === dmp.DIFF_DELETE ? \\\"tc-diff-delete\\\" : \\\"tc-diff-equal\\\"),\\n\\t\\t\\tdom = self.document.createElement(tag),\\n\\t\\t\\ttext = diff[1],\\n\\t\\t\\tcurrPos = 0,\\n\\t\\t\\tre = /([\\\\x00-\\\\x1F])/mg,\\n\\t\\t\\tmatch = re.exec(text),\\n\\t\\t\\tspan,\\n\\t\\t\\tprintable;\\n\\t\\tdom.className = className;\\n\\t\\twhile(match) {\\n\\t\\t\\tif(currPos < match.index) {\\n\\t\\t\\t\\tdom.appendChild(self.document.createTextNode(text.slice(currPos,match.index)));\\n\\t\\t\\t}\\n\\t\\t\\tspan = self.document.createElement(\\\"span\\\");\\n\\t\\t\\tspan.className = \\\"tc-diff-invisible\\\";\\n\\t\\t\\tprintable = self.invisibleCharacters[match[0]] || (\\\"[0x\\\" + match[0].charCodeAt(0).toString(16) + \\\"]\\\");\\n\\t\\t\\tspan.appendChild(self.document.createTextNode(printable));\\n\\t\\t\\tdom.appendChild(span);\\n\\t\\t\\tcurrPos = match.index + match[0].length;\\n\\t\\t\\tmatch = re.exec(text);\\n\\t\\t}\\n\\t\\tif(currPos < text.length) {\\n\\t\\t\\tdom.appendChild(self.document.createTextNode(text.slice(currPos)));\\n\\t\\t}\\n\\t\\tdomCode.appendChild(dom);\\n\\t});\\n\\tdomPre.appendChild(domCode);\\n\\treturn domPre;\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDiffTextWidget.prototype.execute = function() {\\n\\t// Make child widgets\\n\\tvar parseTreeNodes;\\n\\tif(this.parseTreeNode && this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n\\t\\tparseTreeNodes = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\tparseTreeNodes = [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {type: \\\"string\\\", value: \\\"$:/language/Diffs/CountMessage\\\"}\\n\\t\\t\\t}\\n\\t\\t}];\\n\\t}\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDiffTextWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.source || changedAttributes.dest || changedAttributes.cleanup) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports[\\\"diff-text\\\"] = DiffTextWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/draggable.js\":{\"title\":\"$:/core/modules/widgets/draggable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/draggable.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nDraggable widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DraggableWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDraggableWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDraggableWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this,\\n\\t\\ttag,\\n\\t\\tdomNode,\\n\\t\\tclasses = [];\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Sanitise the specified tag\\n\\ttag = this.draggableTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"div\\\";\\n\\t}\\n\\t// Create our element\\n\\tdomNode = this.document.createElement(tag);\\n\\t// Assign classes\\n\\tif(this.draggableClasses) {\\n\\t\\tclasses.push(this.draggableClasses);\\n\\t}\\n\\tif(!this.dragHandleSelector && this.dragEnable) {\\n\\t\\tclasses.push(\\\"tc-draggable\\\");\\n\\t}\\n\\tdomNode.setAttribute(\\\"class\\\",classes.join(\\\" \\\"));\\n\\t// Assign data- attributes and style. attributes\\n\\tthis.assignAttributes(domNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Insert the node into the DOM and render any children\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\t// Add event handlers\\n\\tif(this.dragEnable) {\\n\\t\\t$tw.utils.makeDraggable({\\n\\t\\t\\tdomNode: domNode,\\n\\t\\t\\tdragTiddlerFn: function() {return self.getAttribute(\\\"tiddler\\\");},\\n\\t\\t\\tdragFilterFn: function() {return self.getAttribute(\\\"filter\\\");},\\n\\t\\t\\tstartActions: self.startActions,\\n\\t\\t\\tendActions: self.endActions,\\n\\t\\t\\tdragImageType: self.dragImageType,\\n\\t\\t\\twidget: this,\\n\\t\\t\\tselector: self.dragHandleSelector\\n\\t\\t});\\n\\t}\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDraggableWidget.prototype.execute = function() {\\n\\t// Pick up our attributes\\n\\tthis.draggableTag = this.getAttribute(\\\"tag\\\",\\\"div\\\");\\n\\tthis.draggableClasses = this.getAttribute(\\\"class\\\");\\n\\tthis.startActions = this.getAttribute(\\\"startactions\\\");\\n\\tthis.endActions = this.getAttribute(\\\"endactions\\\");\\n\\tthis.dragImageType = this.getAttribute(\\\"dragimagetype\\\");\\n\\tthis.dragHandleSelector = this.getAttribute(\\\"selector\\\");\\n\\tthis.dragEnable = this.getAttribute(\\\"enable\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n\\nDraggableWidget.prototype.updateDomNodeClasses = function() {\\n\\tvar domNodeClasses = this.domNodes[0].className.split(\\\" \\\"),\\n\\t\\toldClasses = this.draggableClasses.split(\\\" \\\");\\n\\tthis.draggableClasses = this.getAttribute(\\\"class\\\");\\n\\t//Remove classes assigned from the old value of class attribute\\n\\t$tw.utils.each(oldClasses,function(oldClass){\\n\\t\\tvar i = domNodeClasses.indexOf(oldClass);\\n\\t\\tif(i !== -1) {\\n\\t\\t\\tdomNodeClasses.splice(i,1);\\n\\t\\t}\\n\\t});\\n\\t//Add new classes from updated class attribute.\\n\\t$tw.utils.pushTop(domNodeClasses,this.draggableClasses);\\n\\tthis.domNodes[0].setAttribute(\\\"class\\\",domNodeClasses.join(\\\" \\\"))\\n}\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDraggableWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tag || changedAttributes.selector || changedAttributes.dragimagetype || changedAttributes.enable || changedAttributes.startactions || changedAttributes.endactions) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\t\\tthis.updateDomNodeClasses();\\n\\t\\t}\\n\\t\\tthis.assignAttributes(this.domNodes[0],{\\n\\t\\t\\tchangedAttributes: changedAttributes,\\n\\t\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\t\\tdestPrefix: \\\"data-\\\"\\n\\t\\t});\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.draggable = DraggableWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/droppable.js\":{\"title\":\"$:/core/modules/widgets/droppable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/droppable.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nDroppable widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DroppableWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDroppableWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDroppableWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this,\\n\\t\\ttag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\",\\n\\t\\tdomNode;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tif(this.droppableTag && $tw.config.htmlUnsafeElements.indexOf(this.droppableTag) === -1) {\\n\\t\\ttag = this.droppableTag;\\n\\t}\\n\\t// Create element and assign classes\\n\\tdomNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\tthis.assignDomNodeClasses();\\n\\t// Assign data- attributes and style. attributes\\n\\tthis.assignAttributes(domNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Add event handlers\\n\\tif(this.droppableEnable) {\\n\\t\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t\\t{name: \\\"dragenter\\\", handlerObject: this, handlerMethod: \\\"handleDragEnterEvent\\\"},\\n\\t\\t\\t{name: \\\"dragover\\\", handlerObject: this, handlerMethod: \\\"handleDragOverEvent\\\"},\\n\\t\\t\\t{name: \\\"dragleave\\\", handlerObject: this, handlerMethod: \\\"handleDragLeaveEvent\\\"},\\n\\t\\t\\t{name: \\\"drop\\\", handlerObject: this, handlerMethod: \\\"handleDropEvent\\\"}\\n\\t\\t]);\\n\\t} else {\\n\\t\\t$tw.utils.addClass(this.domNode,this.disabledClass);\\n\\t}\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n\\t// Stack of outstanding enter/leave events\\n\\tthis.currentlyEntered = [];\\n};\\n\\nDroppableWidget.prototype.enterDrag = function(event) {\\n\\tif(this.currentlyEntered.indexOf(event.target) === -1) {\\n\\t\\tthis.currentlyEntered.push(event.target);\\n\\t}\\n\\t// If we're entering for the first time we need to apply highlighting\\n\\t$tw.utils.addClass(this.domNodes[0],\\\"tc-dragover\\\");\\n};\\n\\nDroppableWidget.prototype.leaveDrag = function(event) {\\n\\tvar pos = this.currentlyEntered.indexOf(event.target);\\n\\tif(pos !== -1) {\\n\\t\\tthis.currentlyEntered.splice(pos,1);\\n\\t}\\n\\t// Remove highlighting if we're leaving externally. The hacky second condition is to resolve a problem with Firefox whereby there is an erroneous dragenter event if the node being dragged is within the dropzone\\n\\tif(this.currentlyEntered.length === 0 || (this.currentlyEntered.length === 1 && this.currentlyEntered[0] === $tw.dragInProgress)) {\\n\\t\\tthis.currentlyEntered = [];\\n\\t\\tif(this.domNodes[0]) {\\n\\t\\t\\t$tw.utils.removeClass(this.domNodes[0],\\\"tc-dragover\\\");\\n\\t\\t}\\n\\t}\\n};\\n\\nDroppableWidget.prototype.handleDragEnterEvent = function(event) {\\n\\tthis.enterDrag(event);\\n\\t// Tell the browser that we're ready to handle the drop\\n\\tevent.preventDefault();\\n\\t// Tell the browser not to ripple the drag up to any parent drop handlers\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.handleDragOverEvent = function(event) {\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Tell the browser that we're still interested in the drop\\n\\tevent.preventDefault();\\n\\t// Set the drop effect\\n\\tevent.dataTransfer.dropEffect = this.droppableEffect;\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.handleDragLeaveEvent = function(event) {\\n\\tthis.leaveDrag(event);\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.handleDropEvent = function(event) {\\n\\tvar self = this;\\n\\tthis.leaveDrag(event);\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar dataTransfer = event.dataTransfer;\\n\\t// Remove highlighting\\n\\t$tw.utils.removeClass(this.domNodes[0],\\\"tc-dragover\\\");\\n\\t// Try to import the various data types we understand\\n\\tif(this.droppableActions) {\\n\\t\\t$tw.utils.importDataTransfer(dataTransfer,null,function(fieldsArray) {\\n\\t\\t\\tfieldsArray.forEach(function(fields) {\\n\\t\\t\\t\\tself.performActions(fields.title || fields.text,event);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n\\t// Send a TitleList to performListActions\\n\\tif(this.droppableListActions) {\\n\\t\\t$tw.utils.importDataTransfer(dataTransfer,null,function(fieldsArray) {\\n\\t\\t\\tvar titleList = [];\\n\\t\\t\\tfieldsArray.forEach(function(fields) {\\n\\t\\t\\t\\ttitleList.push(fields.title || fields.text);\\n\\t\\t\\t});\\n\\t\\t\\tself.performListActions($tw.utils.stringifyList(titleList),event);\\n\\t\\t});\\n\\t}\\n\\t// Tell the browser that we handled the drop\\n\\tevent.preventDefault();\\n\\t// Stop the drop ripple up to any parent handlers\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.performListActions = function(titleList,event) {\\n\\tif(this.droppableListActions) {\\n\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\tthis.invokeActionString(this.droppableListActions,this,event,{actionTiddlerList: titleList, modifier: modifierKey});\\n\\t}\\n};\\n\\nDroppableWidget.prototype.performActions = function(title,event) {\\n\\tif(this.droppableActions) {\\n\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\tthis.invokeActionString(this.droppableActions,this,event,{actionTiddler: title, modifier: modifierKey});\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDroppableWidget.prototype.execute = function() {\\n\\tthis.droppableActions = this.getAttribute(\\\"actions\\\");\\n\\tthis.droppableListActions = this.getAttribute(\\\"listActions\\\");\\n\\tthis.droppableEffect = this.getAttribute(\\\"effect\\\",\\\"copy\\\");\\n\\tthis.droppableTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.droppableEnable = (this.getAttribute(\\\"enable\\\") || \\\"yes\\\") === \\\"yes\\\";\\n\\tthis.disabledClass = this.getAttribute(\\\"disabledClass\\\",\\\"\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nDroppableWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-droppable\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDroppableWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tag || changedAttributes.enable || changedAttributes.disabledClass ||\\n\\t\\tchangedAttributes.actions|| changedAttributes.listActions || changedAttributes.effect) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\t\\tthis.assignDomNodeClasses();\\n\\t\\t}\\n\\t\\tthis.assignAttributes(this.domNodes[0],{\\n\\t\\t\\tchangedAttributes: changedAttributes,\\n\\t\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\t\\tdestPrefix: \\\"data-\\\"\\n\\t\\t});\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.droppable = DroppableWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/dropzone.js\":{\"title\":\"$:/core/modules/widgets/dropzone.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/dropzone.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nDropzone widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar IMPORT_TITLE = \\\"$:/Import\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DropZoneWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDropZoneWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDropZoneWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(\\\"div\\\");\\n\\tthis.domNode = domNode;\\n\\tdomNode.className = this.dropzoneClass || \\\"tc-dropzone\\\";\\n\\t// Add event handlers\\n\\tif(this.dropzoneEnable) {\\n\\t\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t\\t{name: \\\"dragenter\\\", handlerObject: this, handlerMethod: \\\"handleDragEnterEvent\\\"},\\n\\t\\t\\t{name: \\\"dragover\\\", handlerObject: this, handlerMethod: \\\"handleDragOverEvent\\\"},\\n\\t\\t\\t{name: \\\"dragleave\\\", handlerObject: this, handlerMethod: \\\"handleDragLeaveEvent\\\"},\\n\\t\\t\\t{name: \\\"drop\\\", handlerObject: this, handlerMethod: \\\"handleDropEvent\\\"},\\n\\t\\t\\t{name: \\\"paste\\\", handlerObject: this, handlerMethod: \\\"handlePasteEvent\\\"},\\n\\t\\t\\t{name: \\\"dragend\\\", handlerObject: this, handlerMethod: \\\"handleDragEndEvent\\\"}\\n\\t\\t]);\\n\\t}\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n\\t// Stack of outstanding enter/leave events\\n\\tthis.currentlyEntered = [];\\n};\\n\\n// Handler for transient event listeners added when the dropzone has an active drag in progress\\nDropZoneWidget.prototype.handleEvent = function(event) {\\n\\tif(event.type === \\\"click\\\") {\\n\\t\\tif(this.currentlyEntered.length) {\\n\\t\\t\\tthis.resetState();\\n\\t\\t}\\n\\t} else if(event.type === \\\"dragenter\\\") {\\n\\t\\tif(event.target && event.target !== this.domNode && !$tw.utils.domContains(this.domNode,event.target)) {\\n\\t\\t\\tthis.resetState();\\n\\t\\t}\\n\\t} else if(event.type === \\\"dragleave\\\") {\\n\\t\\t// Check if drag left the window\\n\\t\\tif(event.relatedTarget === null || (event.relatedTarget && event.relatedTarget.nodeName === \\\"HTML\\\")) {\\n\\t\\t\\tthis.resetState();\\n\\t\\t}\\n\\t}\\n};\\n\\n// Reset the state of the dropzone after a drag has ended\\nDropZoneWidget.prototype.resetState = function() {\\n\\t$tw.utils.removeClass(this.domNode,\\\"tc-dragover\\\");\\n\\tthis.currentlyEntered = [];\\n\\tthis.document.body.removeEventListener(\\\"click\\\",this,true);\\n\\tthis.document.body.removeEventListener(\\\"dragenter\\\",this,true);\\n\\tthis.document.body.removeEventListener(\\\"dragleave\\\",this,true);\\n\\tthis.dragInProgress = false;\\n};\\n\\nDropZoneWidget.prototype.enterDrag = function(event) {\\n\\tif(this.currentlyEntered.indexOf(event.target) === -1) {\\n\\t\\tthis.currentlyEntered.push(event.target);\\n\\t}\\n\\tif(!this.dragInProgress) {\\n\\t\\tthis.dragInProgress = true;\\n\\t\\t// If we're entering for the first time we need to apply highlighting\\n\\t\\t$tw.utils.addClass(this.domNodes[0],\\\"tc-dragover\\\");\\n\\t\\tthis.document.body.addEventListener(\\\"click\\\",this,true);\\n\\t\\tthis.document.body.addEventListener(\\\"dragenter\\\",this,true);\\n\\t\\tthis.document.body.addEventListener(\\\"dragleave\\\",this,true);\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.leaveDrag = function(event) {\\n\\tvar pos = this.currentlyEntered.indexOf(event.target);\\n\\tif(pos !== -1) {\\n\\t\\tthis.currentlyEntered.splice(pos,1);\\n\\t}\\n\\t// Remove highlighting if we're leaving externally\\n\\tif(this.currentlyEntered.length === 0) {\\n\\t\\tthis.resetState();\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.handleDragEnterEvent = function(event) {\\n\\tif($tw.dragInProgress) {\\n\\t\\treturn false;\\n\\t}\\n\\tif(this.filesOnly && !$tw.utils.dragEventContainsFiles(event)) {\\n\\t\\treturn false;\\n\\t}\\n\\tthis.enterDrag(event);\\n\\t// Tell the browser that we're ready to handle the drop\\n\\tevent.preventDefault();\\n\\t// Tell the browser not to ripple the drag up to any parent drop handlers\\n\\tevent.stopPropagation();\\n};\\n\\nDropZoneWidget.prototype.handleDragOverEvent = function(event) {\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Check for this window being the source of the drag\\n\\tif($tw.dragInProgress) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Tell the browser that we're still interested in the drop\\n\\tevent.preventDefault();\\n\\t// Check if this is a synthetic event, IE does not allow accessing dropEffect outside of original event handler\\n\\tif(event.isTrusted) {\\n\\t\\tevent.dataTransfer.dropEffect = \\\"copy\\\"; // Explicitly show this is a copy\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.handleDragLeaveEvent = function(event) {\\n\\tthis.leaveDrag(event);\\n};\\n\\nDropZoneWidget.prototype.handleDragEndEvent = function(event) {\\n\\tthis.resetState();\\n};\\n\\nDropZoneWidget.prototype.filterByContentTypes = function(tiddlerFieldsArray) {\\n\\tvar filteredTypes,\\n\\t\\tfiltered = [],\\n\\t\\ttypes = [];\\n\\t$tw.utils.each(tiddlerFieldsArray,function(tiddlerFields) {\\n\\t\\ttypes.push(tiddlerFields.type || \\\"\\\");\\n\\t});\\n\\tfilteredTypes = this.wiki.filterTiddlers(this.contentTypesFilter,this,this.wiki.makeTiddlerIterator(types));\\n\\t$tw.utils.each(tiddlerFieldsArray,function(tiddlerFields) {\\n\\t\\tif(filteredTypes.indexOf(tiddlerFields.type) !== -1) {\\n\\t\\t\\tfiltered.push(tiddlerFields);\\n\\t\\t}\\n\\t});\\n\\treturn filtered;\\n};\\n\\nDropZoneWidget.prototype.readFileCallback = function(tiddlerFieldsArray) {\\n\\tif(this.contentTypesFilter) {\\n\\t\\ttiddlerFieldsArray = this.filterByContentTypes(tiddlerFieldsArray);\\n\\t}\\n\\tif(tiddlerFieldsArray.length) {\\n\\t\\tthis.dispatchEvent({type: \\\"tm-import-tiddlers\\\", param: JSON.stringify(tiddlerFieldsArray), autoOpenOnImport: this.autoOpenOnImport, importTitle: this.importTitle});\\n\\t\\tif(this.actions) {\\n\\t\\t\\tthis.invokeActionString(this.actions,this,event,{importTitle: this.importTitle});\\n\\t\\t}\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.handleDropEvent = function(event) {\\n\\tvar self = this,\\n\\t\\treadFileCallback = function(tiddlerFieldsArray) {\\n\\t\\t\\tself.readFileCallback(tiddlerFieldsArray);\\n\\t\\t};\\n\\tthis.leaveDrag(event);\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Check for this window being the source of the drag\\n\\tif($tw.dragInProgress) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar self = this,\\n\\t\\tdataTransfer = event.dataTransfer;\\n\\t// Remove highlighting\\n\\tthis.resetState();\\n\\t// Import any files in the drop\\n\\tvar numFiles = 0;\\n\\t// If we have type text/vnd.tiddlywiki then skip trying to import files\\n\\tif(dataTransfer.files && !$tw.utils.dragEventContainsType(event,\\\"text/vnd.tiddler\\\")) {\\n\\t\\tnumFiles = this.wiki.readFiles(dataTransfer.files,{\\n\\t\\t\\tcallback: readFileCallback,\\n\\t\\t\\tdeserializer: this.dropzoneDeserializer\\n\\t\\t});\\n\\t}\\n\\t// Try to import the various data types we understand\\n\\tif(numFiles === 0) {\\n\\t\\tvar fallbackTitle = self.wiki.generateNewTitle(\\\"Untitled\\\");\\n\\t\\t//Use the deserializer specified if any\\n\\t\\tif(this.dropzoneDeserializer) {\\n\\t\\t\\tfor(var t= 0; t<dataTransfer.items.length; t++) {\\n\\t\\t\\t\\tvar item = dataTransfer.items[t];\\n\\t\\t\\t\\tif(item.kind === \\\"string\\\") {\\n\\t\\t\\t\\t\\titem.getAsString(function(str){\\n\\t\\t\\t\\t\\t\\tvar tiddlerFields = self.wiki.deserializeTiddlers(null,str,{title: fallbackTitle},{deserializer:self.dropzoneDeserializer});\\n\\t\\t\\t\\t\\t\\tif(tiddlerFields && tiddlerFields.length) {\\n\\t\\t\\t\\t\\t\\t\\treadFileCallback(tiddlerFields);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.importDataTransfer(dataTransfer,fallbackTitle,readFileCallback);\\n\\t\\t}\\n\\t}\\n\\t// Tell the browser that we handled the drop\\n\\tevent.preventDefault();\\n\\t// Stop the drop ripple up to any parent handlers\\n\\tevent.stopPropagation();\\n};\\n\\nDropZoneWidget.prototype.handlePasteEvent = function(event) {\\n\\tvar self = this;\\n\\tvar\\treadFileCallback = function(tiddlerFieldsArray) {\\n\\t\\t\\tself.readFileCallback(tiddlerFieldsArray);\\n\\t\\t};\\n\\tvar getItem = function(type) {\\n\\t\\t\\ttype = type || \\\"text/plain\\\";\\n\\t\\t\\treturn function(str) {\\n\\t\\t\\t\\t// Use the deserializer specified if any\\n\\t\\t\\t\\tif(self.dropzoneDeserializer) {\\n\\t\\t\\t\\t\\ttiddlerFields = self.wiki.deserializeTiddlers(null,str,{title: self.wiki.generateNewTitle(\\\"Untitled \\\" + type)},{deserializer:self.dropzoneDeserializer});\\n\\t\\t\\t\\t\\tif(tiddlerFields && tiddlerFields.length) {\\n\\t\\t\\t\\t\\t\\treadFileCallback(tiddlerFields);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttiddlerFields = {\\n\\t\\t\\t\\t\\t\\ttitle: self.wiki.generateNewTitle(\\\"Untitled \\\" + type),\\n\\t\\t\\t\\t\\t\\ttext: str,\\n\\t\\t\\t\\t\\t\\ttype: type\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tif($tw.log.IMPORT) {\\n\\t\\t\\t\\t\\t\\tconsole.log(\\\"Importing string '\\\" + str + \\\"', type: '\\\" + type + \\\"'\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\treadFileCallback([tiddlerFields]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Let the browser handle it if we're in a textarea or input box\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) == -1 && !event.target.isContentEditable && !event.twEditor) {\\n\\t\\tvar self = this,\\n\\t\\t\\titems = event.clipboardData.items;\\n\\t\\t// Enumerate the clipboard items\\n\\t\\tfor(var t = 0; t<items.length; t++) {\\n\\t\\t\\tvar item = items[t];\\n\\t\\t\\tif(item.kind === \\\"file\\\") {\\n\\t\\t\\t\\t// Import any files\\n\\t\\t\\t\\tthis.wiki.readFile(item.getAsFile(),{\\n\\t\\t\\t\\t\\tcallback: readFileCallback,\\n\\t\\t\\t\\t\\tdeserializer: this.dropzoneDeserializer\\n\\t\\t\\t\\t});\\n\\t\\t\\t} else if(item.kind === \\\"string\\\" && ![\\\"text/html\\\", \\\"text/plain\\\", \\\"Text\\\"].includes(item.type) && $tw.utils.itemHasValidDataType(item)) {\\n\\t\\t\\t\\t// Try to import the various data types we understand\\n\\t\\t\\t\\tvar fallbackTitle = self.wiki.generateNewTitle(\\\"Untitled\\\");\\n\\t\\t\\t\\t//Use the deserializer specified if any\\n\\t\\t\\t\\tif(this.dropzoneDeserializer) {\\n\\t\\t\\t\\t\\titem.getAsString(function(str){\\n\\t\\t\\t\\t\\t\\tvar tiddlerFields = self.wiki.deserializeTiddlers(null,str,{title: fallbackTitle},{deserializer:self.dropzoneDeserializer});\\n\\t\\t\\t\\t\\t\\tif(tiddlerFields && tiddlerFields.length) {\\n\\t\\t\\t\\t\\t\\t\\treadFileCallback(tiddlerFields);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t$tw.utils.importPaste(item,fallbackTitle,readFileCallback);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if(item.kind === \\\"string\\\") {\\n\\t\\t\\t\\t// Create tiddlers from string items\\n\\t\\t\\t\\tvar tiddlerFields;\\n\\t\\t\\t\\t// It's important to give getAsString a closure with the right type\\n\\t\\t\\t\\t// So it can be added to the import queue\\n\\t\\t\\t\\titem.getAsString(getItem(item.type));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Tell the browser that we've handled the paste\\n\\t\\tevent.stopPropagation();\\n\\t\\tevent.preventDefault();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDropZoneWidget.prototype.execute = function() {\\n\\tthis.dropzoneClass = this.getAttribute(\\\"class\\\");\\n\\tthis.dropzoneDeserializer = this.getAttribute(\\\"deserializer\\\");\\n\\tthis.dropzoneEnable = (this.getAttribute(\\\"enable\\\") || \\\"yes\\\") === \\\"yes\\\";\\n\\tthis.autoOpenOnImport = this.getAttribute(\\\"autoOpenOnImport\\\");\\n\\tthis.importTitle = this.getAttribute(\\\"importTitle\\\",IMPORT_TITLE);\\n\\tthis.actions = this.getAttribute(\\\"actions\\\");\\n\\tthis.contentTypesFilter = this.getAttribute(\\\"contentTypesFilter\\\");\\n\\tthis.filesOnly = this.getAttribute(\\\"filesOnly\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDropZoneWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.dropzone = DropZoneWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-binary.js\":{\"title\":\"$:/core/modules/widgets/edit-binary.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-binary.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-binary widget; placeholder for editing binary tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar BINARY_WARNING_MESSAGE = \\\"$:/core/ui/BinaryWarning\\\";\\nvar EXPORT_BUTTON_IMAGE = \\\"$:/core/images/export-button\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditBinaryWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditBinaryWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditBinaryWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditBinaryWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tvar editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tvar tiddler = this.wiki.getTiddler(editTitle);\\n\\tvar type = tiddler.fields.type;\\n\\tvar text = tiddler.fields.text;\\n\\t// Transclude the binary data tiddler warning message\\n\\tvar warn = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"p\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {type: \\\"string\\\", value: BINARY_WARNING_MESSAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Create download link based on draft tiddler title\\n\\tvar link = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"a\\\",\\n\\t\\tattributes: {\\n\\t\\t\\ttitle: {type: \\\"indirect\\\", textReference: \\\"!!draft.title\\\"},\\n\\t\\t\\tdownload: {type: \\\"indirect\\\", textReference: \\\"!!draft.title\\\"}\\n\\t\\t},\\n\\t\\tchildren: [{\\n\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {type: \\\"string\\\", value: EXPORT_BUTTON_IMAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Set the link href to internal data URI (no external)\\n\\tif(text) {\\n\\t\\tlink.attributes.href = {\\n\\t\\t\\ttype: \\\"string\\\", \\n\\t\\t\\tvalue: \\\"data:\\\" + type + \\\";base64,\\\" + text\\n\\t\\t};\\n\\t}\\n\\t// Combine warning message and download link in a div\\n\\tvar element = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"div\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tclass: {type: \\\"string\\\", value: \\\"tc-binary-warning\\\"}\\n\\t\\t},\\n\\t\\tchildren: [warn, link]\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets([element]);\\n};\\n\\n/*\\nRefresh by refreshing our child widget\\n*/\\nEditBinaryWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"edit-binary\\\"] = EditBinaryWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-bitmap.js\":{\"title\":\"$:/core/modules/widgets/edit-bitmap.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-bitmap.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-bitmap widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n// Default image sizes\\nvar DEFAULT_IMAGE_WIDTH = 600,\\n\\tDEFAULT_IMAGE_HEIGHT = 370,\\n\\tDEFAULT_IMAGE_TYPE = \\\"image/png\\\";\\n\\n// Configuration tiddlers\\nvar LINE_WIDTH_TITLE = \\\"$:/config/BitmapEditor/LineWidth\\\",\\n\\tLINE_COLOUR_TITLE = \\\"$:/config/BitmapEditor/Colour\\\",\\n\\tLINE_OPACITY_TITLE = \\\"$:/config/BitmapEditor/Opacity\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditBitmapWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditBitmapWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditBitmapWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Initialise the editor operations if they've not been done already\\n\\tif(!this.editorOperations) {\\n\\t\\tEditBitmapWidget.prototype.editorOperations = {};\\n\\t\\t$tw.modules.applyMethods(\\\"bitmapeditoroperation\\\",this.editorOperations);\\n\\t}\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Create the wrapper for the toolbar and render its content\\n\\tthis.toolbarNode = this.document.createElement(\\\"div\\\");\\n\\tthis.toolbarNode.className = \\\"tc-editor-toolbar\\\";\\n\\tparent.insertBefore(this.toolbarNode,nextSibling);\\n\\tthis.domNodes.push(this.toolbarNode);\\n\\t// Create the on-screen canvas\\n\\tthis.canvasDomNode = $tw.utils.domMaker(\\\"canvas\\\",{\\n\\t\\tdocument: this.document,\\n\\t\\t\\\"class\\\":\\\"tc-edit-bitmapeditor\\\",\\n\\t\\teventListeners: [{\\n\\t\\t\\tname: \\\"touchstart\\\", handlerObject: this, handlerMethod: \\\"handleTouchStartEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"touchmove\\\", handlerObject: this, handlerMethod: \\\"handleTouchMoveEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"touchend\\\", handlerObject: this, handlerMethod: \\\"handleTouchEndEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"mousedown\\\", handlerObject: this, handlerMethod: \\\"handleMouseDownEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"mousemove\\\", handlerObject: this, handlerMethod: \\\"handleMouseMoveEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"mouseup\\\", handlerObject: this, handlerMethod: \\\"handleMouseUpEvent\\\"\\n\\t\\t}]\\n\\t});\\n\\t// Set the width and height variables\\n\\tthis.setVariable(\\\"tv-bitmap-editor-width\\\",this.canvasDomNode.width + \\\"px\\\");\\n\\tthis.setVariable(\\\"tv-bitmap-editor-height\\\",this.canvasDomNode.height + \\\"px\\\");\\n\\t// Render toolbar child widgets\\n\\tthis.renderChildren(this.toolbarNode,null);\\n\\t// // Insert the elements into the DOM\\n\\tparent.insertBefore(this.canvasDomNode,nextSibling);\\n\\tthis.domNodes.push(this.canvasDomNode);\\n\\t// Load the image into the canvas\\n\\tif($tw.browser) {\\n\\t\\tthis.loadCanvas();\\n\\t}\\n\\t// Add widget message listeners\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-edit-bitmap-operation\\\", handler: \\\"handleEditBitmapOperationMessage\\\"}\\n\\t]);\\n};\\n\\n/*\\nHandle an edit bitmap operation message from the toolbar\\n*/\\nEditBitmapWidget.prototype.handleEditBitmapOperationMessage = function(event) {\\n\\t// Invoke the handler\\n\\tvar handler = this.editorOperations[event.param];\\n\\tif(handler) {\\n\\t\\thandler.call(this,event);\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditBitmapWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nJust refresh the toolbar\\n*/\\nEditBitmapWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nSet the bitmap size variables and refresh the toolbar\\n*/\\nEditBitmapWidget.prototype.refreshToolbar = function() {\\n\\t// Set the width and height variables\\n\\tthis.setVariable(\\\"tv-bitmap-editor-width\\\",this.canvasDomNode.width + \\\"px\\\");\\n\\tthis.setVariable(\\\"tv-bitmap-editor-height\\\",this.canvasDomNode.height + \\\"px\\\");\\n\\t// Refresh each of our child widgets\\n\\t$tw.utils.each(this.children,function(childWidget) {\\n\\t\\tchildWidget.refreshSelf();\\n\\t});\\n};\\n\\nEditBitmapWidget.prototype.loadCanvas = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.editTitle),\\n\\t\\tcurrImage = new Image();\\n\\t// Set up event handlers for loading the image\\n\\tvar self = this;\\n\\tcurrImage.onload = function() {\\n\\t\\t// Copy the image to the on-screen canvas\\n\\t\\tself.initCanvas(self.canvasDomNode,currImage.width,currImage.height,currImage);\\n\\t\\t// And also copy the current bitmap to the off-screen canvas\\n\\t\\tself.currCanvas = self.document.createElement(\\\"canvas\\\");\\n\\t\\tself.initCanvas(self.currCanvas,currImage.width,currImage.height,currImage);\\n\\t\\t// Set the width and height input boxes\\n\\t\\tself.refreshToolbar();\\n\\t};\\n\\tcurrImage.onerror = function() {\\n\\t\\t// Set the on-screen canvas size and clear it\\n\\t\\tself.initCanvas(self.canvasDomNode,DEFAULT_IMAGE_WIDTH,DEFAULT_IMAGE_HEIGHT);\\n\\t\\t// Set the off-screen canvas size and clear it\\n\\t\\tself.currCanvas = self.document.createElement(\\\"canvas\\\");\\n\\t\\tself.initCanvas(self.currCanvas,DEFAULT_IMAGE_WIDTH,DEFAULT_IMAGE_HEIGHT);\\n\\t\\t// Set the width and height input boxes\\n\\t\\tself.refreshToolbar();\\n\\t};\\n\\t// Get the current bitmap into an image object\\n\\tif(tiddler && tiddler.fields.type && tiddler.fields.text) {\\n\\t\\tcurrImage.src = \\\"data:\\\" + tiddler.fields.type + \\\";base64,\\\" + tiddler.fields.text;\\n\\t} else {\\n\\t\\tcurrImage.width = DEFAULT_IMAGE_WIDTH;\\n\\t\\tcurrImage.height = DEFAULT_IMAGE_HEIGHT;\\n\\t\\tcurrImage.onerror();\\n\\t}\\n};\\n\\nEditBitmapWidget.prototype.initCanvas = function(canvas,width,height,image) {\\n\\tcanvas.width = width;\\n\\tcanvas.height = height;\\n\\tvar ctx = canvas.getContext(\\\"2d\\\");\\n\\tif(image) {\\n\\t\\tctx.drawImage(image,0,0);\\n\\t} else {\\n\\t\\tctx.fillStyle = \\\"#fff\\\";\\n\\t\\tctx.fillRect(0,0,canvas.width,canvas.height);\\n\\t}\\n};\\n\\n/*\\n** Change the size of the canvas, preserving the current image\\n*/\\nEditBitmapWidget.prototype.changeCanvasSize = function(newWidth,newHeight) {\\n\\t// Create and size a new canvas\\n\\tvar newCanvas = this.document.createElement(\\\"canvas\\\");\\n\\tthis.initCanvas(newCanvas,newWidth,newHeight);\\n\\t// Copy the old image\\n\\tvar ctx = newCanvas.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.currCanvas,0,0);\\n\\t// Set the new canvas as the current one\\n\\tthis.currCanvas = newCanvas;\\n\\t// Set the size of the onscreen canvas\\n\\tthis.canvasDomNode.width = newWidth;\\n\\tthis.canvasDomNode.height = newHeight;\\n\\t// Paint the onscreen canvas with the offscreen canvas\\n\\tctx = this.canvasDomNode.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.currCanvas,0,0);\\n};\\n\\n/*\\n** Rotate the canvas left by 90 degrees\\n*/\\nEditBitmapWidget.prototype.rotateCanvasLeft = function() {\\n\\t// Get the current size of the image\\n\\tvar origWidth = this.currCanvas.width,\\n\\t\\torigHeight = this.currCanvas.height;\\n\\t// Create and size a new canvas\\n\\tvar newCanvas = this.document.createElement(\\\"canvas\\\"),\\n\\t\\tnewWidth = origHeight,\\n\\t\\tnewHeight = origWidth;\\n\\tthis.initCanvas(newCanvas,newWidth,newHeight);\\n\\t// Copy the old image\\n\\tvar ctx = newCanvas.getContext(\\\"2d\\\");\\n\\tctx.save();\\n\\tctx.translate(newWidth / 2,newHeight / 2);\\n\\tctx.rotate(-Math.PI / 2);\\n\\tctx.drawImage(this.currCanvas,-origWidth / 2,-origHeight / 2);\\n\\tctx.restore();\\n\\t// Set the new canvas as the current one\\n\\tthis.currCanvas = newCanvas;\\n\\t// Set the size of the onscreen canvas\\n\\tthis.canvasDomNode.width = newWidth;\\n\\tthis.canvasDomNode.height = newHeight;\\n\\t// Paint the onscreen canvas with the offscreen canvas\\n\\tctx = this.canvasDomNode.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.currCanvas,0,0);\\n};\\n\\nEditBitmapWidget.prototype.handleTouchStartEvent = function(event) {\\n\\tthis.brushDown = true;\\n\\tthis.strokeStart(event.touches[0].clientX,event.touches[0].clientY);\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleTouchMoveEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.strokeMove(event.touches[0].clientX,event.touches[0].clientY);\\n\\t}\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleTouchEndEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.brushDown = false;\\n\\t\\tthis.strokeEnd();\\n\\t}\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleMouseDownEvent = function(event) {\\n\\tthis.strokeStart(event.clientX,event.clientY);\\n\\tthis.brushDown = true;\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleMouseMoveEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.strokeMove(event.clientX,event.clientY);\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\treturn false;\\n\\t}\\n\\treturn true;\\n};\\n\\nEditBitmapWidget.prototype.handleMouseUpEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.brushDown = false;\\n\\t\\tthis.strokeEnd();\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\treturn false;\\n\\t}\\n\\treturn true;\\n};\\n\\nEditBitmapWidget.prototype.adjustCoordinates = function(x,y) {\\n\\tvar canvasRect = this.canvasDomNode.getBoundingClientRect(),\\n\\t\\tscale = this.canvasDomNode.width/canvasRect.width;\\n\\treturn {x: (x - canvasRect.left) * scale, y: (y - canvasRect.top) * scale};\\n};\\n\\nEditBitmapWidget.prototype.strokeStart = function(x,y) {\\n\\t// Start off a new stroke\\n\\tthis.stroke = [this.adjustCoordinates(x,y)];\\n};\\n\\nEditBitmapWidget.prototype.strokeMove = function(x,y) {\\n\\tvar ctx = this.canvasDomNode.getContext(\\\"2d\\\"),\\n\\t\\tt;\\n\\t// Add the new position to the end of the stroke\\n\\tthis.stroke.push(this.adjustCoordinates(x,y));\\n\\t// Redraw the previous image\\n\\tctx.drawImage(this.currCanvas,0,0);\\n\\t// Render the stroke\\n\\tctx.globalAlpha = parseFloat(this.wiki.getTiddlerText(LINE_OPACITY_TITLE,\\\"1.0\\\"));\\n\\tctx.strokeStyle = this.wiki.getTiddlerText(LINE_COLOUR_TITLE,\\\"#ff0\\\");\\n\\tctx.lineWidth = parseFloat(this.wiki.getTiddlerText(LINE_WIDTH_TITLE,\\\"3\\\"));\\n\\tctx.lineCap = \\\"round\\\";\\n\\tctx.lineJoin = \\\"round\\\";\\n\\tctx.beginPath();\\n\\tctx.moveTo(this.stroke[0].x,this.stroke[0].y);\\n\\tfor(t=1; t<this.stroke.length-1; t++) {\\n\\t\\tvar s1 = this.stroke[t],\\n\\t\\t\\ts2 = this.stroke[t-1],\\n\\t\\t\\ttx = (s1.x + s2.x)/2,\\n\\t\\t\\tty = (s1.y + s2.y)/2;\\n\\t\\tctx.quadraticCurveTo(s2.x,s2.y,tx,ty);\\n\\t}\\n\\tctx.stroke();\\n};\\n\\nEditBitmapWidget.prototype.strokeEnd = function() {\\n\\t// Copy the bitmap to the off-screen canvas\\n\\tvar ctx = this.currCanvas.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.canvasDomNode,0,0);\\n\\t// Save the image into the tiddler\\n\\tthis.saveChanges();\\n};\\n\\nEditBitmapWidget.prototype.saveChanges = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.editTitle) || new $tw.Tiddler({title: this.editTitle,type: DEFAULT_IMAGE_TYPE});\\n\\t// data URIs look like \\\"data:<type>;base64,<text>\\\"\\n\\tvar dataURL = this.canvasDomNode.toDataURL(tiddler.fields.type),\\n\\t\\tposColon = dataURL.indexOf(\\\":\\\"),\\n\\t\\tposSemiColon = dataURL.indexOf(\\\";\\\"),\\n\\t\\tposComma = dataURL.indexOf(\\\",\\\"),\\n\\t\\ttype = dataURL.substring(posColon+1,posSemiColon),\\n\\t\\ttext = dataURL.substring(posComma+1);\\n\\tvar update = {type: type, text: text};\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getModificationFields(),tiddler,update,this.wiki.getCreationFields()));\\n};\\n\\nexports[\\\"edit-bitmap\\\"] = EditBitmapWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-shortcut.js\":{\"title\":\"$:/core/modules/widgets/edit-shortcut.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-shortcut.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to display an editable keyboard shortcut\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditShortcutWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditShortcutWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditShortcutWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.inputNode = this.document.createElement(\\\"input\\\");\\n\\t// Assign classes\\n\\tif(this.shortcutClass) {\\n\\t\\tthis.inputNode.className = this.shortcutClass;\\n\\t}\\n\\t// Assign other attributes\\n\\tif(this.shortcutStyle) {\\n\\t\\tthis.inputNode.setAttribute(\\\"style\\\",this.shortcutStyle);\\n\\t}\\n\\tif(this.shortcutTooltip) {\\n\\t\\tthis.inputNode.setAttribute(\\\"title\\\",this.shortcutTooltip);\\n\\t}\\n\\tif(this.shortcutPlaceholder) {\\n\\t\\tthis.inputNode.setAttribute(\\\"placeholder\\\",this.shortcutPlaceholder);\\n\\t}\\n\\tif(this.shortcutAriaLabel) {\\n\\t\\tthis.inputNode.setAttribute(\\\"aria-label\\\",this.shortcutAriaLabel);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputNode.setAttribute(\\\"disabled\\\", true);\\n\\t}\\n\\t// Assign the current shortcut\\n\\tthis.updateInputNode();\\n\\t// Add event handlers\\n\\t$tw.utils.addEventListeners(this.inputNode,[\\n\\t\\t{name: \\\"keydown\\\", handlerObject: this, handlerMethod: \\\"handleKeydownEvent\\\"}\\n\\t]);\\n\\t// Link into the DOM\\n\\tparent.insertBefore(this.inputNode,nextSibling);\\n\\tthis.domNodes.push(this.inputNode);\\n\\t// Focus the input Node if focus === \\\"yes\\\" or focus === \\\"true\\\"\\n\\tif(this.shortcutFocus === \\\"yes\\\" || this.shortcutFocus === \\\"true\\\") {\\n\\t\\tthis.focus();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditShortcutWidget.prototype.execute = function() {\\n\\tthis.shortcutTiddler = this.getAttribute(\\\"tiddler\\\");\\n\\tthis.shortcutField = this.getAttribute(\\\"field\\\");\\n\\tthis.shortcutIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.shortcutPlaceholder = this.getAttribute(\\\"placeholder\\\");\\n\\tthis.shortcutDefault = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.shortcutClass = this.getAttribute(\\\"class\\\");\\n\\tthis.shortcutStyle = this.getAttribute(\\\"style\\\");\\n\\tthis.shortcutTooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.shortcutAriaLabel = this.getAttribute(\\\"aria-label\\\");\\n\\tthis.shortcutFocus = this.getAttribute(\\\"focus\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\", \\\"no\\\");\\n};\\n\\n/*\\nUpdate the value of the input node\\n*/\\nEditShortcutWidget.prototype.updateInputNode = function() {\\n\\tif(this.shortcutField) {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.shortcutTiddler);\\n\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,this.shortcutField)) {\\n\\t\\t\\tthis.inputNode.value = tiddler.getFieldString(this.shortcutField);\\n\\t\\t} else {\\n\\t\\t\\tthis.inputNode.value = this.shortcutDefault;\\n\\t\\t}\\n\\t} else if(this.shortcutIndex) {\\n\\t\\tthis.inputNode.value = this.wiki.extractTiddlerDataItem(this.shortcutTiddler,this.shortcutIndex,this.shortcutDefault);\\n\\t} else {\\n\\t\\tthis.inputNode.value = this.wiki.getTiddlerText(this.shortcutTiddler,this.shortcutDefault);\\n\\t}\\n};\\n\\n/*\\nHandle a dom \\\"keydown\\\" event\\n*/\\nEditShortcutWidget.prototype.handleKeydownEvent = function(event) {\\n\\t// Ignore shift, ctrl, meta, alt\\n\\tif(event.keyCode && $tw.keyboardManager.getModifierKeys().indexOf(event.keyCode) === -1) {\\n\\t\\t// Get the shortcut text representation\\n\\t\\tvar value = $tw.keyboardManager.getPrintableShortcuts([{\\n\\t\\t\\tctrlKey: event.ctrlKey,\\n\\t\\t\\tshiftKey: event.shiftKey,\\n\\t\\t\\taltKey: event.altKey,\\n\\t\\t\\tmetaKey: event.metaKey,\\n\\t\\t\\tkeyCode: event.keyCode\\n\\t\\t}]);\\n\\t\\tif(value.length > 0) {\\n\\t\\t\\tthis.wiki.setText(this.shortcutTiddler,this.shortcutField,this.shortcutIndex,value[0]);\\n\\t\\t}\\n\\t\\t// Ignore the keydown if it was already handled\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nfocus the input node\\n*/\\nEditShortcutWidget.prototype.focus = function() {\\n\\tif(this.inputNode.focus && this.inputNode.select) {\\n\\t\\tthis.inputNode.focus();\\n\\t\\tthis.inputNode.select();\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget needed re-rendering\\n*/\\nEditShortcutWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.placeholder || changedAttributes[\\\"default\\\"] || changedAttributes[\\\"class\\\"] || changedAttributes.style || changedAttributes.tooltip || changedAttributes[\\\"aria-label\\\"] || changedAttributes.focus || changedAttributes.disabled) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedTiddlers[this.shortcutTiddler]) {\\n\\t\\tthis.updateInputNode();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports[\\\"edit-shortcut\\\"] = EditShortcutWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-text.js\":{\"title\":\"$:/core/modules/widgets/edit-text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-text.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-text widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar editTextWidgetFactory = require(\\\"$:/core/modules/editor/factory.js\\\").editTextWidgetFactory,\\n\\tFramedEngine = require(\\\"$:/core/modules/editor/engines/framed.js\\\").FramedEngine,\\n\\tSimpleEngine = require(\\\"$:/core/modules/editor/engines/simple.js\\\").SimpleEngine;\\n\\nexports[\\\"edit-text\\\"] = editTextWidgetFactory(FramedEngine,SimpleEngine);\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit.js\":{\"title\":\"$:/core/modules/widgets/edit.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit widget is a meta-widget chooses the appropriate actual editting widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n// Mappings from content type to editor type are stored in tiddlers with this prefix\\nvar EDITOR_MAPPING_PREFIX = \\\"$:/config/EditorTypeMappings/\\\";\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.editField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\t// Choose the appropriate edit widget\\n\\tthis.editorType = this.getEditorType();\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets([{\\n\\t\\ttype: \\\"edit-\\\" + this.editorType,\\n\\t\\tattributes: this.parseTreeNode.attributes,\\n\\t\\tchildren: this.parseTreeNode.children\\n\\t}]);\\n};\\n\\nEditWidget.prototype.getEditorType = function() {\\n\\t// Get the content type of the thing we're editing\\n\\tvar type;\\n\\tif(this.editField === \\\"text\\\") {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.editTitle);\\n\\t\\tif(tiddler) {\\n\\t\\t\\ttype = tiddler.fields.type;\\n\\t\\t}\\n\\t}\\n\\ttype = type || \\\"text/vnd.tiddlywiki\\\";\\n\\tvar editorType = this.wiki.getTiddlerText(EDITOR_MAPPING_PREFIX + type);\\n\\tif(!editorType) {\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[type];\\n\\t\\tif(typeInfo && typeInfo.encoding === \\\"base64\\\") {\\n\\t\\t\\teditorType = \\\"binary\\\";\\n\\t\\t} else {\\n\\t\\t\\teditorType = \\\"text\\\";\\n\\t\\t}\\n\\t}\\n\\treturn editorType;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEditWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\t// Refresh if the editor type has changed\\n\\tif(changedAttributes.tiddler || changedAttributes.field || (this.getEditorType() !== this.editorType)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.edit = EditWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/element.js\":{\"title\":\"$:/core/modules/widgets/element.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/element.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nElement widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ElementWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nElementWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nElementWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\t// Neuter blacklisted elements\\n\\tthis.tag = this.parseTreeNode.tag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(this.tag) !== -1) {\\n\\t\\tthis.tag = \\\"safe-\\\" + this.tag;\\n\\t}\\n\\t// Restrict tag name to digits, letts and dashes\\n\\tthis.tag = this.tag.replace(/[^0-9a-zA-Z\\\\-]/mg,\\\"\\\");\\n\\t// Default to a span\\n\\tthis.tag = this.tag || \\\"span\\\";\\n\\t// Adjust headings by the current base level\\n\\tvar headingLevel = [\\\"h1\\\",\\\"h2\\\",\\\"h3\\\",\\\"h4\\\",\\\"h5\\\",\\\"h6\\\"].indexOf(this.tag);\\n\\tif(headingLevel !== -1) {\\n\\t\\tvar baseLevel = parseInt(this.getVariable(\\\"tv-adjust-heading-level\\\",\\\"0\\\"),10) || 0;\\n\\t\\theadingLevel = Math.min(Math.max(headingLevel + 1 + baseLevel,1),6);\\n\\t\\tthis.tag = \\\"h\\\" + headingLevel;\\n\\t}\\n\\t// Select the namespace for the tag\\n\\tvar XHTML_NAMESPACE = \\\"http://www.w3.org/1999/xhtml\\\",\\n\\t\\ttagNamespaces = {\\n\\t\\t\\tsvg: \\\"http://www.w3.org/2000/svg\\\",\\n\\t\\t\\tmath: \\\"http://www.w3.org/1998/Math/MathML\\\",\\n\\t\\t\\tbody: XHTML_NAMESPACE\\n\\t\\t};\\n\\tthis.namespace = tagNamespaces[this.tag];\\n\\tif(this.namespace) {\\n\\t\\tthis.setVariable(\\\"namespace\\\",this.namespace);\\n\\t} else {\\n\\t\\tif(this.hasAttribute(\\\"xmlns\\\")) {\\n\\t\\t\\tthis.namespace = this.getAttribute(\\\"xmlns\\\");\\n\\t\\t\\tthis.setVariable(\\\"namespace\\\",this.namespace);\\n\\t\\t} else {\\n\\t\\t\\tthis.namespace = this.getVariable(\\\"namespace\\\",{defaultValue: XHTML_NAMESPACE});\\n\\t\\t}\\n\\t}\\n\\t// Invoke the th-rendering-element hook\\n\\tvar parseTreeNodes = $tw.hooks.invokeHook(\\\"th-rendering-element\\\",null,this);\\n\\tthis.isReplaced = !!parseTreeNodes;\\n\\tif(parseTreeNodes) {\\n\\t\\t// Use the parse tree nodes provided by the hook\\n\\t\\tthis.makeChildWidgets(parseTreeNodes);\\n\\t\\tthis.renderChildren(this.parentDomNode,null);\\n\\t\\treturn;\\n\\t}\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n\\t// Create the DOM node and render children\\n\\tvar domNode = this.document.createElementNS(this.namespace,this.tag);\\n\\tthis.assignAttributes(domNode,{excludeEventAttributes: true});\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nElementWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\thasChangedAttributes = $tw.utils.count(changedAttributes) > 0;\\n\\tif(hasChangedAttributes) {\\n\\t\\tif(!this.isReplaced) {\\n\\t\\t\\t// Update our attributes\\n\\t\\t\\tthis.assignAttributes(this.domNodes[0],{excludeEventAttributes: true});\\n\\t\\t} else {\\n\\t\\t\\t// If we were replaced then completely refresh ourselves\\n\\t\\t\\treturn this.refreshSelf();\\n\\t\\t}\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers) || hasChangedAttributes;\\n};\\n\\nexports.element = ElementWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/encrypt.js\":{\"title\":\"$:/core/modules/widgets/encrypt.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/encrypt.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEncrypt widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EncryptWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEncryptWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEncryptWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar textNode = this.document.createTextNode(this.encryptedText);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEncryptWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.filter = this.getAttribute(\\\"filter\\\",\\\"[!is[system]]\\\");\\n\\t// Encrypt the filtered tiddlers\\n\\tvar tiddlers = this.wiki.filterTiddlers(this.filter),\\n\\t\\tjson = {},\\n\\t\\tself = this;\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title),\\n\\t\\t\\tjsonTiddler = {};\\n\\t\\tfor(var f in tiddler.fields) {\\n\\t\\t\\tjsonTiddler[f] = tiddler.getFieldString(f);\\n\\t\\t}\\n\\t\\tjson[title] = jsonTiddler;\\n\\t});\\n\\tthis.encryptedText = $tw.utils.htmlEncode($tw.crypto.encrypt(JSON.stringify(json)));\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEncryptWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// We don't need to worry about refreshing because the encrypt widget isn't for interactive use\\n\\treturn false;\\n};\\n\\nexports.encrypt = EncryptWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/entity.js\":{\"title\":\"$:/core/modules/widgets/entity.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/entity.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nHTML entity widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EntityWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEntityWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEntityWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar entityString = this.getAttribute(\\\"entity\\\",this.parseTreeNode.entity || \\\"\\\"),\\n\\t\\ttextNode = this.document.createTextNode($tw.utils.entityDecode(entityString));\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEntityWidget.prototype.execute = function() {\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEntityWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.entity) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.entity = EntityWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/error.js\":{\"title\":\"$:/core/modules/widgets/error.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/error.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nError widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ErrorWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nErrorWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nErrorWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar message = this.getAttribute(\\\"$message\\\",\\\"Unknown error\\\"),\\n\\t\\tdomNode = this.document.createElement(\\\"span\\\");\\n\\tdomNode.appendChild(this.document.createTextNode(message));\\n\\tdomNode.className = \\\"tc-error\\\";\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nErrorWidget.prototype.execute = function() {\\n\\t// Nothing to do for a text node\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nErrorWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$message\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.error = ErrorWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/eventcatcher.js\":{\"title\":\"$:/core/modules/widgets/eventcatcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/eventcatcher.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEvent handler widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EventWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEventWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEventWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.elementTag && $tw.config.htmlUnsafeElements.indexOf(this.elementTag) === -1) {\\n\\t\\ttag = this.elementTag;\\n\\t}\\n\\tvar domNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\t// Assign classes\\n\\tthis.assignDomNodeClasses();\\n\\t// Add our event handler\\n\\t$tw.utils.each(this.types,function(type) {\\n\\t\\tdomNode.addEventListener(type,function(event) {\\n\\t\\t\\tvar selector = self.getAttribute(\\\"selector\\\"),\\n\\t\\t\\t\\tmatchSelector = self.getAttribute(\\\"matchSelector\\\"),\\n\\t\\t\\t\\tactions = self.getAttribute(\\\"$\\\"+type) || self.getAttribute(\\\"actions-\\\"+type),\\n\\t\\t\\t\\tstopPropagation = self.getAttribute(\\\"stopPropagation\\\",\\\"onaction\\\"),\\n\\t\\t\\t\\tselectedNode = event.target,\\n\\t\\t\\t\\tselectedNodeRect,\\n\\t\\t\\t\\tcatcherNodeRect,\\n\\t\\t\\t\\tvariables = {};\\n\\t\\t\\t// Firefox can fire dragover and dragenter events on text nodes instead of their parents\\n\\t\\t\\tif(selectedNode.nodeType === 3) {\\n\\t\\t\\t\\tselectedNode = selectedNode.parentNode;\\n\\t\\t\\t}\\n\\t\\t\\t// Check that the selected node matches any matchSelector\\n\\t\\t\\tif(matchSelector && !$tw.utils.domMatchesSelector(selectedNode,matchSelector)) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\tif(selector) {\\n\\t\\t\\t\\t// Search ancestors for a node that matches the selector\\n\\t\\t\\t\\twhile(!$tw.utils.domMatchesSelector(selectedNode,selector) && selectedNode !== domNode) {\\n\\t\\t\\t\\t\\tselectedNode = selectedNode.parentNode;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Exit if we didn't find one\\n\\t\\t\\t\\tif(selectedNode === domNode) {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Only set up variables if we have actions to invoke\\n\\t\\t\\t\\tif(actions) {\\n\\t\\t\\t\\t\\tvariables = $tw.utils.collectDOMVariables(selectedNode,self.domNode,event);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Execute our actions with the variables\\n\\t\\t\\tif(actions) {\\n\\t\\t\\t\\t// Add a variable for the modifier key\\n\\t\\t\\t\\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\t\\t// Add a variable for the mouse button\\n\\t\\t\\t\\tif(\\\"button\\\" in event) {\\n\\t\\t\\t\\t\\tif(event.button === 0) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-mousebutton\\\"] = \\\"left\\\";\\n\\t\\t\\t\\t\\t} else if(event.button === 1) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-mousebutton\\\"] = \\\"middle\\\";\\n\\t\\t\\t\\t\\t} else if(event.button === 2) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-mousebutton\\\"] = \\\"right\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvariables[\\\"event-type\\\"] = event.type.toString();\\n\\t\\t\\t\\tif(typeof event.detail === \\\"object\\\" && !!event.detail) {\\n\\t\\t\\t\\t\\t$tw.utils.each(event.detail,function(detailValue,detail) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-detail-\\\" + detail] = detailValue.toString();\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else if(!!event.detail) {\\n\\t\\t\\t\\t\\tvariables[\\\"event-detail\\\"] = event.detail.toString();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.invokeActionString(actions,self,event,variables);\\n\\t\\t\\t}\\n\\t\\t\\tif((actions && stopPropagation === \\\"onaction\\\") || stopPropagation === \\\"always\\\") {\\n\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\treturn false;\\n\\t\\t},false);\\n\\t});\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEventWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Get attributes that require a refresh on change\\n\\tthis.types = [];\\n\\t$tw.utils.each(this.attributes,function(value,key) {\\n\\t\\tif(key.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tself.types.push(key.slice(1));\\n\\t\\t}\\n\\t});\\n\\tif(!this.types.length) {\\n\\t\\tthis.types = this.getAttribute(\\\"events\\\",\\\"\\\").split(\\\" \\\");\\n\\t}\\n\\tthis.elementTag = this.getAttribute(\\\"tag\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nEventWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-eventcatcher\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEventWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tchangedAttributesCount = $tw.utils.count(changedAttributes);\\n\\tif(changedAttributesCount === 1 && changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.assignDomNodeClasses();\\n\\t} else if(changedAttributesCount > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.eventcatcher = EventWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/fieldmangler.js\":{\"title\":\"$:/core/modules/widgets/fieldmangler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/fieldmangler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nField mangler widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar FieldManglerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nFieldManglerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nFieldManglerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-remove-field\\\", handler: \\\"handleRemoveFieldEvent\\\"},\\n\\t\\t{type: \\\"tm-add-field\\\", handler: \\\"handleAddFieldEvent\\\"},\\n\\t\\t{type: \\\"tm-remove-tag\\\", handler: \\\"handleRemoveTagEvent\\\"},\\n\\t\\t{type: \\\"tm-add-tag\\\", handler: \\\"handleAddTagEvent\\\"}\\n\\t]);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nFieldManglerWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.mangleTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nFieldManglerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nFieldManglerWidget.prototype.handleRemoveFieldEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\tdeletion = {};\\n\\tdeletion[event.param] = undefined;\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,deletion));\\n\\treturn false;\\n};\\n\\nFieldManglerWidget.prototype.handleAddFieldEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\taddition = this.wiki.getModificationFields(),\\n\\t\\taddField = function(name,value) {\\n\\t\\t\\tvar trimmedName = name.trim();\\n\\t\\t\\tif(!value && tiddler) {\\n\\t\\t\\t\\tvalue = tiddler.fields[trimmedName];\\n\\t\\t\\t}\\n\\t\\t\\taddition[trimmedName] = value || \\\"\\\";\\n\\t\\t\\treturn;\\n\\t\\t};\\n\\taddition.title = this.mangleTitle;\\n\\tif(typeof event.param === \\\"string\\\") {\\n\\t\\taddField(event.param,\\\"\\\");\\n\\t}\\n\\tif(typeof event.paramObject === \\\"object\\\") {\\n\\t\\tfor(var name in event.paramObject) {\\n\\t\\t\\taddField(name,event.paramObject[name]);\\n\\t\\t}\\n\\t}\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,addition));\\n\\treturn false;\\n};\\n\\nFieldManglerWidget.prototype.handleRemoveTagEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\tmodification = this.wiki.getModificationFields();\\n\\tif(tiddler && tiddler.fields.tags) {\\n\\t\\tvar p = tiddler.fields.tags.indexOf(event.param);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tmodification.tags = (tiddler.fields.tags || []).slice(0);\\n\\t\\t\\tmodification.tags.splice(p,1);\\n\\t\\t\\tif(modification.tags.length === 0) {\\n\\t\\t\\t\\tmodification.tags = undefined;\\n\\t\\t\\t}\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,modification));\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nFieldManglerWidget.prototype.handleAddTagEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\tmodification = this.wiki.getModificationFields();\\n\\tif(tiddler && typeof event.param === \\\"string\\\") {\\n\\t\\tvar tag = event.param.trim();\\n\\t\\tif(tag !== \\\"\\\") {\\n\\t\\t\\tmodification.tags = (tiddler.fields.tags || []).slice(0);\\n\\t\\t\\t$tw.utils.pushTop(modification.tags,tag);\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,modification));\\n\\t\\t}\\n\\t} else if(typeof event.param === \\\"string\\\" && event.param.trim() !== \\\"\\\" && this.mangleTitle.trim() !== \\\"\\\") {\\n\\t\\tvar tag = [];\\n\\t\\ttag.push(event.param.trim());\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler({title: this.mangleTitle, tags: tag},modification));\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.fieldmangler = FieldManglerWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/fields.js\":{\"title\":\"$:/core/modules/widgets/fields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/fields.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nFields widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar FieldsWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nFieldsWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nFieldsWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar textNode = this.document.createTextNode(this.text);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nFieldsWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.tiddlerTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.template = this.getAttribute(\\\"template\\\");\\n\\tthis.sort = this.getAttribute(\\\"sort\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\tthis.sortReverse = this.getAttribute(\\\"sortReverse\\\",\\\"no\\\") === \\\"yes\\\";\\n\\tthis.exclude = this.getAttribute(\\\"exclude\\\");\\n\\tthis.include = this.getAttribute(\\\"include\\\",null);\\n\\tthis.stripTitlePrefix = this.getAttribute(\\\"stripTitlePrefix\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t// Get the value to display\\n\\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\\n\\n\\t// Get the inclusion and exclusion list\\n\\tvar excludeArr = (this.exclude) ? this.exclude.split(\\\" \\\") : [\\\"text\\\"];\\n\\t// Include takes precedence\\n\\tvar includeArr = (this.include) ? this.include.split(\\\" \\\") : null;\\n\\n\\t// Compose the template\\n\\tvar text = [];\\n\\tif(this.template && tiddler) {\\n\\t\\tvar fields = [];\\n\\t\\tif (includeArr) { // Include takes precedence\\n\\t\\t\\tfor(var i=0; i<includeArr.length; i++) {\\n\\t\\t\\t\\tif(tiddler.fields[includeArr[i]]) {\\n\\t\\t\\t\\t\\tfields.push(includeArr[i]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tfor(var fieldName in tiddler.fields) {\\n\\t\\t\\t\\tif(excludeArr.indexOf(fieldName) === -1) {\\n\\t\\t\\t\\t\\tfields.push(fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (this.sort) fields.sort();\\n\\t\\tif (this.sortReverse) fields.reverse();\\n\\t\\tfor(var f=0, fmax=fields.length; f<fmax; f++) {\\n\\t\\t\\tfieldName = fields[f];\\n\\t\\t\\tvar row = this.template,\\n\\t\\t\\t\\tvalue = tiddler.getFieldString(fieldName);\\n\\t\\t\\tif(this.stripTitlePrefix && fieldName === \\\"title\\\") {\\n\\t\\t\\t\\tvar reStrip = /^\\\\{[^\\\\}]+\\\\}(.+)/mg,\\n\\t\\t\\t\\t\\treMatch = reStrip.exec(value);\\n\\t\\t\\t\\tif(reMatch) {\\n\\t\\t\\t\\t\\tvalue = reMatch[1];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\trow = $tw.utils.replaceString(row,\\\"$name$\\\",fieldName);\\n\\t\\t\\trow = $tw.utils.replaceString(row,\\\"$value$\\\",value);\\n\\t\\t\\trow = $tw.utils.replaceString(row,\\\"$encoded_value$\\\",$tw.utils.htmlEncode(value));\\n\\t\\t\\ttext.push(row);\\n\\t\\t}\\n\\t}\\n\\tthis.text = text.join(\\\"\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nFieldsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif( changedAttributes.tiddler || changedAttributes.template || changedAttributes.exclude ||\\n\\t\\tchangedAttributes.include || changedAttributes.sort || changedAttributes.sortReverse ||\\n\\t\\tchangedTiddlers[this.tiddlerTitle] || changedAttributes.stripTitlePrefix) {\\n\\t\\t\\tthis.refreshSelf();\\n\\t\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.fields = FieldsWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/fill.js\":{\"title\":\"$:/core/modules/widgets/fill.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/fill.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSub-widget used by the transclude widget for specifying values for slots within transcluded content. It doesn't do anything by itself because the transclude widget only ever deals with the parse tree nodes, and doesn't instantiate the widget itself\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar FillWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nFillWidget.prototype = new Widget();\\n\\nFillWidget.prototype.execute = function() {\\n\\t// Do nothing. Make no child widgets. $Fill widgets should be invisible when naturally encountered. Instead, their parseTreeNodes are made available to $slot widgets that want it.\\n};\\n\\nexports.fill = FillWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/genesis.js\":{\"title\":\"$:/core/modules/widgets/genesis.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/genesis.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nGenesis widget for dynamically creating widgets\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar GenesisWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nGenesisWidget.prototype = new Widget();\\n\\nGenesisWidget.prototype.computeAttributes = function(options) {\\n\\toptions = options || Object.create(null);\\n\\toptions.filterFn = function(name) {\\n\\t\\t// Only compute our own attributes which start with a single dollar\\n\\t\\treturn name.charAt(0) === \\\"$\\\" && name.charAt(1) !== \\\"$\\\";\\n\\t}\\n\\treturn Widget.prototype.computeAttributes.call(this,options);\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nGenesisWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nGenesisWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Collect attributes\\n\\tthis.genesisType = this.getAttribute(\\\"$type\\\");\\n\\tthis.genesisRemappable = this.getAttribute(\\\"$remappable\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\tthis.genesisNames = this.getAttribute(\\\"$names\\\",\\\"\\\");\\n\\tthis.genesisValues = this.getAttribute(\\\"$values\\\",\\\"\\\");\\n\\tthis.genesisIsBlock = this.getAttribute(\\\"$mode\\\",this.parseTreeNode.isBlock && \\\"block\\\") === \\\"block\\\";\\n\\t// Do not create a child widget if the $type attribute is missing or blank\\n\\tif(!this.genesisType) {\\n\\t\\tthis.makeChildWidgets(this.parseTreeNode.children);\\n\\t\\treturn;\\n\\t}\\n\\t// Construct parse tree\\n\\tvar isElementWidget = this.genesisType.charAt(0) !== \\\"$\\\",\\n\\t\\tnodeType = isElementWidget ? \\\"element\\\" : this.genesisType.substr(1),\\n\\t\\tnodeTag = isElementWidget ? this.genesisType : undefined;\\n\\tvar parseTreeNodes = [{\\n\\t\\ttype: nodeType,\\n\\t\\ttag: nodeTag,\\n\\t\\tattributes: {},\\n\\t\\torderedAttributes: [],\\n\\t\\tisBlock: this.genesisIsBlock,\\n\\t\\tchildren: this.parseTreeNode.children || [],\\n\\t\\tisNotRemappable: !this.genesisRemappable\\n\\t}];\\n\\t// Apply attributes in $names/$values\\n\\tthis.attributeNames = [];\\n\\tthis.attributeValues = [];\\n\\tif(this.genesisNames && this.genesisValues) {\\n\\t\\tthis.attributeNames = this.wiki.filterTiddlers(self.genesisNames,this);\\n\\t\\tthis.attributeValues = this.wiki.filterTiddlers(self.genesisValues,this);\\n\\t\\t$tw.utils.each(this.attributeNames,function(varname,index) {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],varname,self.attributeValues[index] || \\\"\\\");\\n\\t\\t});\\n\\t}\\n\\t// Apply explicit attributes\\n\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(this.parseTreeNode),function(attribute) {\\n\\t\\tvar name = attribute.name;\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tif(name.charAt(1) === \\\"$\\\") {\\n\\t\\t\\t\\t// Double $$ is changed to a single $\\n\\t\\t\\t\\tname = name.substr(1);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Single dollar is ignored\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],$tw.utils.extend({},attribute,{name: name}));\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nGenesisWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tfilterNames = this.getAttribute(\\\"$names\\\",\\\"\\\"),\\n\\t\\tfilterValues = this.getAttribute(\\\"$values\\\",\\\"\\\"),\\n\\t\\tattributeNames = this.wiki.filterTiddlers(filterNames,this),\\n\\t\\tattributeValues = this.wiki.filterTiddlers(filterValues,this);\\n\\tif($tw.utils.count(changedAttributes) > 0 || !$tw.utils.isArrayEqual(this.attributeNames,attributeNames) || !$tw.utils.isArrayEqual(this.attributeValues,attributeValues)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.genesis = GenesisWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/image.js\":{\"title\":\"$:/core/modules/widgets/image.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/image.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThe image widget displays an image referenced with an external URI or with a local tiddler title.\\n\\n```\\n<$image src=\\\"TiddlerTitle\\\" width=\\\"320\\\" height=\\\"400\\\" class=\\\"classnames\\\">\\n```\\n\\nThe image source can be the title of an existing tiddler or the URL of an external image.\\n\\nExternal images always generate an HTML `<img>` tag.\\n\\nTiddlers that have a _canonical_uri field generate an HTML `<img>` tag with the src attribute containing the URI.\\n\\nTiddlers that contain image data generate an HTML `<img>` tag with the src attribute containing a base64 representation of the image.\\n\\nTiddlers that contain wikitext could be rendered to a DIV of the usual size of a tiddler, and then transformed to the size requested.\\n\\nThe width and height attributes are interpreted as a number of pixels, and do not need to include the \\\"px\\\" suffix.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ImageWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nImageWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nImageWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\t// Determine what type of image it is\\n\\tvar tag = \\\"img\\\", src = \\\"\\\",\\n\\t\\ttiddler = this.wiki.getTiddler(this.imageSource);\\n\\tif(!tiddler) {\\n\\t\\t// The source isn't the title of a tiddler, so we'll assume it's a URL\\n\\t\\tsrc = this.getVariable(\\\"tv-get-export-image-link\\\",{params: [{name: \\\"src\\\",value: this.imageSource}],defaultValue: this.imageSource});\\n\\t} else {\\n\\t\\t// Check if it is an image tiddler\\n\\t\\tif(this.wiki.isImageTiddler(this.imageSource)) {\\n\\t\\t\\tvar type = tiddler.fields.type,\\n\\t\\t\\t\\ttext = tiddler.fields.text,\\n\\t\\t\\t\\t_canonical_uri = tiddler.fields._canonical_uri,\\n\\t\\t\\t\\ttypeInfo = $tw.config.contentTypeInfo[type] || {},\\n\\t\\t\\t\\tdeserializerType = typeInfo.deserializerType || type;\\n\\t\\t\\t// If the tiddler has body text then it doesn't need to be lazily loaded\\n\\t\\t\\tif(text) {\\n\\t\\t\\t\\t// Render the appropriate element for the image type by looking up the encoding in the content type info\\n\\t\\t\\t\\tvar encoding = typeInfo.encoding || \\\"utf8\\\";\\n\\t\\t\\t\\tif (encoding === \\\"base64\\\") {\\n\\t\\t\\t\\t\\t// .pdf .png .jpg etc.\\n\\t\\t\\t\\t\\tsrc = \\\"data:\\\" + deserializerType + \\\";base64,\\\" + text;\\n\\t\\t\\t\\t\\tif (deserializerType === \\\"application/pdf\\\") {\\n\\t\\t\\t\\t\\t\\ttag = \\\"embed\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// .svg .tid .xml etc.\\n\\t\\t\\t\\t\\tsrc = \\\"data:\\\" + deserializerType + \\\",\\\" + encodeURIComponent(text);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if(_canonical_uri) {\\n\\t\\t\\t\\tswitch(deserializerType) {\\n\\t\\t\\t\\t\\tcase \\\"application/pdf\\\":\\n\\t\\t\\t\\t\\t\\ttag = \\\"embed\\\";\\n\\t\\t\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"image/svg+xml\\\":\\n\\t\\t\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Just trigger loading of the tiddler\\n\\t\\t\\t\\tthis.wiki.getTiddlerText(this.imageSource);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Create the element and assign the attributes\\n\\tvar domNode = this.document.createElement(tag);\\n\\tdomNode.setAttribute(\\\"src\\\",src);\\n\\tif(this.imageClass) {\\n\\t\\tdomNode.setAttribute(\\\"class\\\",this.imageClass);\\n\\t}\\n\\tif(this.imageUsemap) {\\n\\t \\tdomNode.setAttribute(\\\"usemap\\\",this.imageUsemap);\\n\\t}\\n\\tif(this.imageWidth) {\\n\\t\\tdomNode.setAttribute(\\\"width\\\",this.imageWidth);\\n\\t}\\n\\tif(this.imageHeight) {\\n\\t\\tdomNode.setAttribute(\\\"height\\\",this.imageHeight);\\n\\t}\\n\\tif(this.imageTooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.imageTooltip);\\n\\t}\\n\\tif(this.imageAlt) {\\n\\t\\tdomNode.setAttribute(\\\"alt\\\",this.imageAlt);\\n\\t}\\n\\tif(this.lazyLoading && tag === \\\"img\\\") {\\n\\t\\tdomNode.setAttribute(\\\"loading\\\",this.lazyLoading);\\n\\t}\\n\\t// Add classes when the image loads or fails\\n\\t$tw.utils.addClass(domNode,\\\"tc-image-loading\\\");\\n\\tdomNode.addEventListener(\\\"load\\\",function() {\\n\\t\\t$tw.utils.removeClass(domNode,\\\"tc-image-loading\\\");\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-image-loaded\\\");\\n\\t},false);\\n\\tdomNode.addEventListener(\\\"error\\\",function() {\\n\\t\\t$tw.utils.removeClass(domNode,\\\"tc-image-loading\\\");\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-image-error\\\");\\n\\t},false);\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nImageWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.imageSource = this.getAttribute(\\\"source\\\");\\n\\tthis.imageWidth = this.getAttribute(\\\"width\\\");\\n\\tthis.imageHeight = this.getAttribute(\\\"height\\\");\\n\\tthis.imageClass = this.getAttribute(\\\"class\\\");\\n \\tthis.imageUsemap = this.getAttribute(\\\"usemap\\\");\\n\\tthis.imageTooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.imageAlt = this.getAttribute(\\\"alt\\\");\\n\\tthis.lazyLoading = this.getAttribute(\\\"loading\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nImageWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.source || changedAttributes.width || changedAttributes.height || changedAttributes[\\\"class\\\"] || changedAttributes.usemap || changedAttributes.tooltip || changedTiddlers[this.imageSource]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.image = ImageWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/importvariables.js\":{\"title\":\"$:/core/modules/widgets/importvariables.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/importvariables.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nImport variable definitions from other tiddlers\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ImportVariablesWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nImportVariablesWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nImportVariablesWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nImportVariablesWidget.prototype.execute = function(tiddlerList) {\\n\\tvar widgetPointer = this;\\n\\t// Got to flush all the accumulated variables\\n\\tthis.variables = Object.create(null);\\n\\tif(this.parentWidget) {\\n\\t\\tObject.setPrototypeOf(this.variables,this.parentWidget.variables);\\n\\t}\\n\\t// Get our parameters\\n\\tthis.filter = this.getAttribute(\\\"filter\\\");\\n\\t// Compute the filter\\n\\tthis.tiddlerList = tiddlerList || this.wiki.filterTiddlers(this.filter,this);\\n\\t// Accumulate the <$set> widgets from each tiddler\\n\\t$tw.utils.each(this.tiddlerList,function(title) {\\n\\t\\tvar parser = widgetPointer.wiki.parseTiddler(title,{parseAsInline:true, configTrimWhiteSpace:false});\\n\\t\\tif(parser) {\\n\\t\\t\\tvar parseTreeNode = parser.tree[0];\\n\\t\\t\\twhile(parseTreeNode && [\\\"setvariable\\\",\\\"set\\\",\\\"parameters\\\"].indexOf(parseTreeNode.type) !== -1) {\\n\\t\\t\\t\\tvar node = {\\n\\t\\t\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\t\\t\\tattributes: parseTreeNode.attributes,\\n\\t\\t\\t\\t\\tparams: parseTreeNode.params,\\n\\t\\t\\t\\t\\tisMacroDefinition: parseTreeNode.isMacroDefinition,\\n\\t\\t\\t\\t\\tisFunctionDefinition: parseTreeNode.isFunctionDefinition,\\n\\t\\t\\t\\t\\tisProcedureDefinition: parseTreeNode.isProcedureDefinition,\\n\\t\\t\\t\\t\\tisWidgetDefinition: parseTreeNode.isWidgetDefinition,\\n\\t\\t\\t\\t\\tconfigTrimWhiteSpace: parseTreeNode.configTrimWhiteSpace\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\tif(parseTreeNode.type === \\\"set\\\" || parseTreeNode.type === \\\"setvariable\\\") {\\n\\t\\t\\t\\t\\tif(parseTreeNode.isMacroDefinition || parseTreeNode.isProcedureDefinition || parseTreeNode.isWidgetDefinition || parseTreeNode.isFunctionDefinition) {\\n\\t\\t\\t\\t\\t\\t// Macro definitions can be folded into\\n\\t\\t\\t\\t\\t\\t// current widget instead of adding\\n\\t\\t\\t\\t\\t\\t// another link to the chain.\\n\\t\\t\\t\\t\\t\\tvar widget = widgetPointer.makeChildWidget(node);\\n\\t\\t\\t\\t\\t\\twidget.computeAttributes();\\n\\t\\t\\t\\t\\t\\twidget.execute();\\n\\t\\t\\t\\t\\t\\t// We SHALLOW copy over all variables\\n\\t\\t\\t\\t\\t\\t// in widget. We can't use\\n\\t\\t\\t\\t\\t\\t// $tw.utils.assign, because that copies\\n\\t\\t\\t\\t\\t\\t// up the prototype chain, which we\\n\\t\\t\\t\\t\\t\\t// don't want.\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(Object.keys(widget.variables), function(key) {\\n\\t\\t\\t\\t\\t\\t\\twidgetPointer.variables[key] = widget.variables[key];\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\twidgetPointer.children = [widgetPointer.makeChildWidget(node)];\\n\\t\\t\\t\\t\\t\\t// No more regenerating children for\\n\\t\\t\\t\\t\\t\\t// this widget. If it needs to refresh,\\n\\t\\t\\t\\t\\t\\t// it'll do so along with the the whole\\n\\t\\t\\t\\t\\t\\t// importvariable tree.\\n\\t\\t\\t\\t\\t\\tif (widgetPointer != this) {\\n\\t\\t\\t\\t\\t\\t\\twidgetPointer.makeChildWidgets = function(){};\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\twidgetPointer = widgetPointer.children[0];\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tparseTreeNode = parseTreeNode.children && parseTreeNode.children[0];\\n\\t\\t\\t}\\n\\t\\t} \\n\\t});\\n\\n\\tif (widgetPointer != this) {\\n\\t\\twidgetPointer.parseTreeNode.children = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\twidgetPointer.makeChildWidgets();\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nImportVariablesWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// Recompute our attributes and the filter list\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\ttiddlerList = this.wiki.filterTiddlers(this.getAttribute(\\\"filter\\\"),this);\\n\\t// Refresh if the filter has changed, or the list of tiddlers has changed, or any of the tiddlers in the list has changed\\n\\tfunction haveListedTiddlersChanged() {\\n\\t\\tvar changed = false;\\n\\t\\ttiddlerList.forEach(function(title) {\\n\\t\\t\\tif(changedTiddlers[title]) {\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn changed;\\n\\t}\\n\\tif(changedAttributes.filter || !$tw.utils.isArrayEqual(this.tiddlerList,tiddlerList) || haveListedTiddlersChanged()) {\\n\\t\\t// Compute the filter\\n\\t\\tthis.removeChildDomNodes();\\n\\t\\tthis.execute(tiddlerList);\\n\\t\\tthis.renderChildren(this.parentDomNode,this.findNextSiblingDomNode());\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.importvariables = ImportVariablesWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/jsontiddler.js\":{\"title\":\"$:/core/modules/widgets/jsontiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/jsontiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nRender a tiddler as JSON text\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar JSONTiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nJSONTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nJSONTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Collect the fields from the optional base tiddler\\n\\tvar fields = this.getTiddlerFields();\\n\\t// Add custom fields specified in attributes starting with $\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tfields[name.slice(1)] = attribute;\\n\\t\\t}\\n\\t});\\n\\t// JSONify\\n\\tvar json = JSON.stringify(fields);\\n\\t// Escape unsafe script characters\\n\\tif(this.attEscapeUnsafeScriptChars) {\\n\\t\\tjson = json.replace(/</g,\\\"\\\\\\\\u003C\\\");\\n\\t}\\n\\t// Update the DOM\\n\\tvar textNode = this.document.createTextNode(json);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nJSONTiddlerWidget.prototype.execute = function() {\\n\\tthis.attTiddler = this.getAttribute(\\\"tiddler\\\");\\n\\tthis.attExclude = this.getAttribute(\\\"exclude\\\",\\\"\\\");\\n\\tthis.attEscapeUnsafeScriptChars = this.getAttribute(\\\"escapeUnsafeScriptChars\\\",\\\"no\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nJSONTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0 || (this.attTiddler && changedTiddlers[this.attTiddler])) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nJSONTiddlerWidget.prototype.getTiddlerFields = function() {\\n\\tvar fields = {};\\n\\tif(this.attTiddler) {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.attTiddler);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tfields = tiddler.getFieldStrings({exclude: this.attExclude.split(\\\" \\\")});\\n\\t\\t} else {\\n\\t\\t\\tfields = {title: this.attTiddler};\\n\\t\\t}\\n\\t}\\n\\treturn fields;\\n};\\n\\nexports.jsontiddler = JSONTiddlerWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/keyboard.js\":{\"title\":\"$:/core/modules/widgets/keyboard.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/keyboard.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nKeyboard shortcut widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar KeyboardWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nKeyboardWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nKeyboardWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.tag && $tw.config.htmlUnsafeElements.indexOf(this.tag) === -1) {\\n\\t\\ttag = this.tag;\\n\\t}\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(tag);\\n\\t// Assign classes\\n\\tthis.domNode = domNode;\\n\\tthis.assignDomNodeClasses();\\n\\t// Add a keyboard event handler\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"keydown\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nKeyboardWidget.prototype.handleChangeEvent = function(event) {\\n\\tif ($tw.keyboardManager.handleKeydownEvent(event, {onlyPriority: true})) {\\n\\t\\treturn true;\\n\\t}\\n\\n\\tvar keyInfo = $tw.keyboardManager.getMatchingKeyDescriptor(event,this.keyInfoArray);\\n\\tif(keyInfo) {\\n\\t\\tvar handled = this.invokeActions(this,event);\\n\\t\\tif(this.actions) {\\n\\t\\t\\tvar variables = {\\n\\t\\t\\t\\t\\t\\\"event-key\\\": event.key,\\n\\t\\t\\t\\t\\t\\\"event-code\\\": event.code,\\n\\t\\t\\t\\t\\t\\\"modifier\\\": $tw.keyboardManager.getEventModifierKeyDescriptor(event)\\n\\t\\t\\t\\t};\\n\\t\\t\\tif(keyInfo.keyDescriptor) {\\n\\t\\t\\t\\tvariables[\\\"event-key-descriptor\\\"] = keyInfo.keyDescriptor;\\n\\t\\t\\t}\\n\\t\\t\\tthis.invokeActionString(this.actions,this,event,variables);\\n\\t\\t}\\n\\t\\tthis.dispatchMessage(event);\\n\\t\\tif(handled || this.actions || this.message) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\treturn false;\\n}\\n\\nKeyboardWidget.prototype.dispatchMessage = function(event) {\\n\\tthis.dispatchEvent({type: this.message, param: this.param, tiddlerTitle: this.getVariable(\\\"currentTiddler\\\")});\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nKeyboardWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Get attributes\\n\\tthis.actions = this.getAttribute(\\\"actions\\\",\\\"\\\");\\n\\tthis.message = this.getAttribute(\\\"message\\\",\\\"\\\");\\n\\tthis.param = this.getAttribute(\\\"param\\\",\\\"\\\");\\n\\tthis.key = this.getAttribute(\\\"key\\\",\\\"\\\");\\n\\tthis.tag = this.getAttribute(\\\"tag\\\",\\\"\\\");\\n\\tif($tw.keyboardManager) {\\n\\t\\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\\n\\t\\tif(this.key.substr(0,2) === \\\"((\\\" && this.key.substr(-2,2) === \\\"))\\\") {\\n\\t\\t\\tthis.shortcutTiddlers = [];\\n\\t\\t\\tvar name = this.key.substring(2,this.key.length -2);\\n\\t\\t\\t$tw.utils.each($tw.keyboardManager.lookupNames,function(platformDescriptor) {\\n\\t\\t\\t\\tself.shortcutTiddlers.push(\\\"$:/config/\\\" + platformDescriptor + \\\"/\\\" + name);\\n\\t\\t\\t});\\n\\t\\t}\\t\\n\\t}\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nKeyboardWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-keyboard\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nKeyboardWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.message || changedAttributes.param || changedAttributes.key || changedAttributes.tag) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.assignDomNodeClasses();\\n\\t}\\n\\t// Update the keyInfoArray if one of its shortcut-config-tiddlers has changed\\n\\tif(this.shortcutTiddlers && $tw.utils.hopArray(changedTiddlers,this.shortcutTiddlers) && $tw.keyboardManager) {\\n\\t\\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.keyboard = KeyboardWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/let.js\":{\"title\":\"$:/core/modules/widgets/let.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/let.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThis widget allows defining multiple variables at once, while allowing\\nthe later variables to depend upon the earlier ones.\\n\\n```\\n\\\\define helloworld() Hello world!\\n<$let currentTiddler=\\\"target\\\" value={{!!value}} currentTiddler=\\\"different\\\">\\n {{!!value}} will be different from <<value>>\\n</$let>\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LetWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLetWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLetWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\nLetWidget.prototype.computeAttributes = function() {\\n\\t// Before computing attributes, we must make clear that none of the\\n\\t// existing attributes are staged for lookup, even on a refresh\\n\\tvar changedAttributes = {},\\n\\t\\tself = this;\\n\\tthis.currentValueFor = Object.create(null);\\n\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(this.parseTreeNode),function(attribute) {\\n\\t\\tvar value = self.computeAttribute(attribute),\\n\\t\\t\\tname = attribute.name;\\n\\t\\t// Now that it's prepped, we're allowed to look this variable up\\n\\t\\t// when defining later variables\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\tself.currentValueFor[name] = value;\\n\\t\\t}\\n\\t});\\n\\t// Run through again, setting variables and looking for differences\\n\\t$tw.utils.each(this.currentValueFor,function(value,name) {\\n\\t\\tif (self.attributes[name] !== value) {\\n\\t\\t\\tself.attributes[name] = value;\\n\\t\\t\\tself.setVariable(name,value);\\n\\t\\t\\tchangedAttributes[name] = true;\\n\\t\\t}\\n\\t});\\n\\treturn changedAttributes;\\n};\\n\\nLetWidget.prototype.getVariableInfo = function(name,options) {\\n\\t// Special handling: If this variable exists in this very $let, we can\\n\\t// use it, but only if it's been staged.\\n\\tif ($tw.utils.hop(this.currentValueFor,name)) {\\n\\t\\treturn {\\n\\t\\t\\ttext: this.currentValueFor[name]\\n\\t\\t};\\n\\t}\\n\\treturn Widget.prototype.getVariableInfo.call(this,name,options);\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nLetWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"let\\\"] = LetWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/link.js\":{\"title\":\"$:/core/modules/widgets/link.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/link.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nLink widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LinkWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLinkWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLinkWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Get the value of the tv-wikilinks configuration macro\\n\\tvar wikiLinksMacro = this.getVariable(\\\"tv-wikilinks\\\"),\\n\\t\\tuseWikiLinks = wikiLinksMacro ? (wikiLinksMacro.trim() !== \\\"no\\\") : true,\\n\\t\\tmissingLinksEnabled = !(this.hideMissingLinks && this.isMissing && !this.isShadow);\\n\\t// Render the link if required\\n\\tif(useWikiLinks && missingLinksEnabled) {\\n\\t\\tthis.renderLink(parent,nextSibling);\\n\\t} else {\\n\\t\\t// Just insert the link text\\n\\t\\tvar domNode = this.document.createElement(\\\"span\\\");\\n\\t\\t// Assign data- attributes\\n\\t\\tthis.assignAttributes(domNode,{\\n\\t\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\t\\tdestPrefix: \\\"data-\\\"\\n\\t\\t});\\n\\t\\tparent.insertBefore(domNode,nextSibling);\\n\\t\\tthis.renderChildren(domNode,null);\\n\\t\\tthis.domNodes.push(domNode);\\n\\t}\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLinkWidget.prototype.renderLink = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Sanitise the specified tag\\n\\tvar tag = this.linkTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"a\\\";\\n\\t}\\n\\t// Create our element\\n\\tvar namespace = this.getVariable(\\\"namespace\\\",{defaultValue: \\\"http://www.w3.org/1999/xhtml\\\"}),\\n\\t\\tdomNode = this.document.createElementNS(namespace,tag);\\n\\t// Assign classes\\n\\tvar classes = [];\\n\\tif(this.overrideClasses === undefined) {\\n\\t\\tclasses.push(\\\"tc-tiddlylink\\\");\\n\\t\\tif(this.isShadow) {\\n\\t\\t\\tclasses.push(\\\"tc-tiddlylink-shadow\\\");\\n\\t\\t}\\n\\t\\tif(this.isMissing && !this.isShadow) {\\n\\t\\t\\tclasses.push(\\\"tc-tiddlylink-missing\\\");\\n\\t\\t} else {\\n\\t\\t\\tif(!this.isMissing) {\\n\\t\\t\\t\\tclasses.push(\\\"tc-tiddlylink-resolves\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(this.linkClasses) {\\n\\t\\t\\tclasses.push(this.linkClasses);\\n\\t\\t}\\n\\t} else if(this.overrideClasses !== \\\"\\\") {\\n\\t\\tclasses.push(this.overrideClasses)\\n\\t}\\n\\tif(classes.length > 0) {\\n\\t\\tdomNode.setAttribute(\\\"class\\\",classes.join(\\\" \\\"));\\n\\t}\\n\\t// Set an href\\n\\tvar wikilinkTransformFilter = this.getVariable(\\\"tv-filter-export-link\\\"),\\n\\t\\twikiLinkText;\\n\\tif(wikilinkTransformFilter) {\\n\\t\\t// Use the filter to construct the href\\n\\t\\twikiLinkText = this.wiki.filterTiddlers(wikilinkTransformFilter,this,function(iterator) {\\n\\t\\t\\titerator(self.wiki.getTiddler(self.to),self.to)\\n\\t\\t})[0];\\n\\t} else {\\n\\t\\t// Expand the tv-wikilink-template variable to construct the href\\n\\t\\tvar wikiLinkTemplateMacro = this.getVariable(\\\"tv-wikilink-template\\\"),\\n\\t\\t\\twikiLinkTemplate = wikiLinkTemplateMacro ? wikiLinkTemplateMacro.trim() : \\\"#$uri_encoded$\\\";\\n\\t\\twikiLinkText = $tw.utils.replaceString(wikiLinkTemplate,\\\"$uri_encoded$\\\",$tw.utils.encodeURIComponentExtended(this.to));\\n\\t\\twikiLinkText = $tw.utils.replaceString(wikiLinkText,\\\"$uri_doubleencoded$\\\",$tw.utils.encodeURIComponentExtended($tw.utils.encodeURIComponentExtended(this.to)));\\n\\t}\\n\\t// Override with the value of tv-get-export-link if defined\\n\\twikiLinkText = this.getVariable(\\\"tv-get-export-link\\\",{params: [{name: \\\"to\\\",value: this.to}],defaultValue: wikiLinkText});\\n\\tif(tag === \\\"a\\\") {\\n\\t\\tvar namespaceHref = (namespace === \\\"http://www.w3.org/2000/svg\\\") ? \\\"http://www.w3.org/1999/xlink\\\" : undefined;\\n\\t\\tdomNode.setAttributeNS(namespaceHref,\\\"href\\\",wikiLinkText);\\n\\t}\\n\\t// Set the tabindex\\n\\tif(this.tabIndex) {\\n\\t\\tdomNode.setAttribute(\\\"tabindex\\\",this.tabIndex);\\n\\t}\\n\\t// Set the tooltip\\n\\t// HACK: Performance issues with re-parsing the tooltip prevent us defaulting the tooltip to \\\"<$transclude field='tooltip'><$transclude field='title'/></$transclude>\\\"\\n\\tvar tooltipWikiText = this.tooltip || this.getVariable(\\\"tv-wikilink-tooltip\\\");\\n\\tif(tooltipWikiText) {\\n\\t\\tvar tooltipText = this.wiki.renderText(\\\"text/plain\\\",\\\"text/vnd.tiddlywiki\\\",tooltipWikiText,{\\n\\t\\t\\t\\tparseAsInline: true,\\n\\t\\t\\t\\tvariables: {\\n\\t\\t\\t\\t\\tcurrentTiddler: this.to\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tparentWidget: this\\n\\t\\t\\t});\\n\\t\\tdomNode.setAttribute(\\\"title\\\",tooltipText);\\n\\t}\\n\\tif(this[\\\"aria-label\\\"]) {\\n\\t\\tdomNode.setAttribute(\\\"aria-label\\\",this[\\\"aria-label\\\"]);\\n\\t}\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"click\\\", handlerObject: this, handlerMethod: \\\"handleClickEvent\\\"},\\n\\t]);\\n\\t// Make the link draggable if required\\n\\tif(this.draggable === \\\"yes\\\") {\\n\\t\\t$tw.utils.makeDraggable({\\n\\t\\t\\tdomNode: domNode,\\n\\t\\t\\tdragTiddlerFn: function() {return self.to;},\\n\\t\\t\\twidget: this\\n\\t\\t});\\n\\t}\\n\\t// Assign data- attributes\\n\\tthis.assignAttributes(domNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Insert the link into the DOM and render any children\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nLinkWidget.prototype.handleClickEvent = function(event) {\\n\\t// Send the click on its way as a navigate event\\n\\tvar bounds = this.domNodes[0].getBoundingClientRect();\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: this.to,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: this,\\n\\t\\tnavigateFromClientRect: { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateFromClientTop: bounds.top,\\n\\t\\tnavigateFromClientLeft: bounds.left,\\n\\t\\tnavigateFromClientWidth: bounds.width,\\n\\t\\tnavigateFromClientRight: bounds.right,\\n\\t\\tnavigateFromClientBottom: bounds.bottom,\\n\\t\\tnavigateFromClientHeight: bounds.height,\\n\\t\\tnavigateSuppressNavigation: event.metaKey || event.ctrlKey || (event.button === 1),\\n\\t\\tmetaKey: event.metaKey,\\n\\t\\tctrlKey: event.ctrlKey,\\n\\t\\taltKey: event.altKey,\\n\\t\\tshiftKey: event.shiftKey,\\n\\t\\tevent: event\\n\\t});\\n\\tif(this.domNodes[0].hasAttribute(\\\"href\\\")) {\\n\\t\\tevent.preventDefault();\\n\\t}\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nLinkWidget.prototype.execute = function() {\\n\\t// Pick up our attributes\\n\\tthis.to = this.getAttribute(\\\"to\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.tooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis[\\\"aria-label\\\"] = this.getAttribute(\\\"aria-label\\\");\\n\\tthis.linkClasses = this.getAttribute(\\\"class\\\");\\n\\tthis.overrideClasses = this.getAttribute(\\\"overrideClass\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.draggable = this.getAttribute(\\\"draggable\\\",\\\"yes\\\");\\n\\tthis.linkTag = this.getAttribute(\\\"tag\\\",\\\"a\\\");\\n\\t// Determine the link characteristics\\n\\tthis.isMissing = !this.wiki.tiddlerExists(this.to);\\n\\tthis.isShadow = this.wiki.isShadowTiddler(this.to);\\n\\tthis.hideMissingLinks = (this.getVariable(\\\"tv-show-missing-links\\\") || \\\"yes\\\") === \\\"no\\\";\\n\\t// Make the child widgets\\n\\tvar templateTree;\\n\\tif(this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n\\t\\ttemplateTree = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\t// Default template is a link to the title\\n\\t\\ttemplateTree = [{type: \\\"text\\\", text: this.to}];\\n\\t}\\n\\tthis.makeChildWidgets(templateTree);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nLinkWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0 || changedTiddlers[this.to]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.link = LinkWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/linkcatcher.js\":{\"title\":\"$:/core/modules/widgets/linkcatcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/linkcatcher.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nLinkcatcher widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LinkCatcherWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLinkCatcherWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLinkCatcherWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-navigate\\\", handler: \\\"handleNavigateEvent\\\"}\\n\\t]);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nLinkCatcherWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.catchTo = this.getAttribute(\\\"to\\\");\\n\\tthis.catchMessage = this.getAttribute(\\\"message\\\");\\n\\tthis.catchSet = this.getAttribute(\\\"set\\\");\\n\\tthis.catchSetTo = this.getAttribute(\\\"setTo\\\");\\n\\tthis.catchActions = this.getAttribute(\\\"actions\\\");\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n\\t// When executing actions we avoid trapping navigate events, so that we don't trigger ourselves recursively\\n\\tthis.executingActions = false;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nLinkCatcherWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.to || changedAttributes.message || changedAttributes.set || changedAttributes.setTo) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\n/*\\nHandle a tm-navigate event\\n*/\\nLinkCatcherWidget.prototype.handleNavigateEvent = function(event) {\\n\\tif(!this.executingActions) {\\n\\t\\t// Execute the actions\\n\\t\\tif(this.catchTo) {\\n\\t\\t\\tthis.wiki.setTextReference(this.catchTo,event.navigateTo,this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\t}\\n\\t\\tif(this.catchMessage && this.parentWidget) {\\n\\t\\t\\tthis.parentWidget.dispatchEvent({\\n\\t\\t\\t\\ttype: this.catchMessage,\\n\\t\\t\\t\\tparam: event.navigateTo,\\n\\t\\t\\t\\tnavigateTo: event.navigateTo\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\tif(this.catchSet) {\\n\\t\\t\\tvar tiddler = this.wiki.getTiddler(this.catchSet);\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,{title: this.catchSet, text: this.catchSetTo}));\\n\\t\\t}\\n\\t\\tif(this.catchActions) {\\n\\t\\t\\tthis.executingActions = true;\\n\\t\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\tthis.invokeActionString(this.catchActions,this,event,{navigateTo: event.navigateTo, modifier: modifierKey});\\n\\t\\t\\tthis.executingActions = false;\\n\\t\\t}\\n\\t} else {\\n\\t\\t\\t// This is a navigate event generated by the actions of this linkcatcher,\\n\\t\\t\\t// so we don't trap it again, but just pass it to the parent\\n\\t\\t\\tthis.parentWidget.dispatchEvent(event);\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.linkcatcher = LinkCatcherWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/list.js\":{\"title\":\"$:/core/modules/widgets/list.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/list.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nList and list item widgets\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n/*\\nThe list widget creates list element sub-widgets that reach back into the list widget for their configuration\\n*/\\n\\nvar ListWidget = function(parseTreeNode,options) {\\n\\t// Main initialisation inherited from widget.js\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nListWidget.prototype = new Widget();\\n\\nListWidget.prototype.initialise = function(parseTreeNode,options) {\\n\\t// Bail if parseTreeNode is undefined, meaning that the ListWidget constructor was called without any arguments so that it can be subclassed\\n\\tif(parseTreeNode === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\t// First call parent constructor to set everything else up\\n\\tWidget.prototype.initialise.call(this,parseTreeNode,options);\\n\\t// Now look for <$list-template> and <$list-empty> widgets as immediate child widgets\\n\\t// This is safe to do during initialization because parse trees never change after creation\\n\\tthis.findExplicitTemplates();\\n}\\n\\n/*\\nRender this widget into the DOM\\n*/\\nListWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Initialise the storyviews if they've not been done already\\n\\tif(!this.storyViews) {\\n\\t\\tListWidget.prototype.storyViews = {};\\n\\t\\t$tw.modules.applyMethods(\\\"storyview\\\",this.storyViews);\\n\\t}\\n\\tthis.parentDomNode = parent;\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tthis.execute(changedAttributes);\\n\\tthis.renderChildren(parent,nextSibling);\\n\\t// Construct the storyview\\n\\tvar StoryView = this.storyViews[this.storyViewName];\\n\\tif(this.storyViewName && !StoryView) {\\n\\t\\tStoryView = this.storyViews[\\\"classic\\\"];\\n\\t}\\n\\tif(StoryView && !this.document.isTiddlyWikiFakeDom) {\\n\\t\\tthis.storyview = new StoryView(this);\\n\\t} else {\\n\\t\\tthis.storyview = null;\\n\\t}\\n\\tif(this.storyview && this.storyview.renderEnd) {\\n\\t\\tthis.storyview.renderEnd();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nListWidget.prototype.execute = function(changedAttributes) {\\n\\tvar self = this;\\n\\t// Get our attributes\\n\\tthis.template = this.getAttribute(\\\"template\\\");\\n\\tthis.editTemplate = this.getAttribute(\\\"editTemplate\\\");\\n\\tthis.variableName = this.getAttribute(\\\"variable\\\",\\\"currentTiddler\\\");\\n\\tthis.counterName = this.getAttribute(\\\"counter\\\");\\n\\tthis.storyViewName = this.getAttribute(\\\"storyview\\\");\\n\\tthis.historyTitle = this.getAttribute(\\\"history\\\");\\n\\t// Create join template only if needed\\n\\tif(this.join === undefined || (changedAttributes && changedAttributes.join)) {\\n\\t\\tthis.join = this.makeJoinTemplate();\\n\\t}\\n\\t// Compose the list elements\\n\\tthis.list = this.getTiddlerList();\\n\\tvar members = [],\\n\\t\\tself = this;\\n\\t// Check for an empty list\\n\\tif(this.list.length === 0) {\\n\\t\\tmembers = this.getEmptyMessage();\\n\\t} else {\\n\\t\\t$tw.utils.each(this.list,function(title,index) {\\n\\t\\t\\tmembers.push(self.makeItemTemplate(title,index));\\n\\t\\t});\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(members);\\n\\t// Clear the last history\\n\\tthis.history = [];\\n};\\n\\nListWidget.prototype.findExplicitTemplates = function() {\\n\\tvar self = this;\\n\\tthis.explicitListTemplate = null;\\n\\tthis.explicitEmptyTemplate = null;\\n\\tthis.explicitJoinTemplate = null;\\n\\tthis.hasTemplateInBody = false;\\n\\tvar searchChildren = function(childNodes) {\\n\\t\\tvar foundInlineTemplate = false;\\n\\t\\t$tw.utils.each(childNodes,function(node) {\\n\\t\\t\\tif(node.type === \\\"list-template\\\") {\\n\\t\\t\\t\\tself.explicitListTemplate = node.children;\\n\\t\\t\\t} else if(node.type === \\\"list-empty\\\") {\\n\\t\\t\\t\\tself.explicitEmptyTemplate = node.children;\\n\\t\\t\\t} else if(node.type === \\\"list-join\\\") {\\n\\t\\t\\t\\tself.explicitJoinTemplate = node.children;\\n\\t\\t\\t} else if(node.type === \\\"element\\\" && node.tag === \\\"p\\\") {\\n\\t\\t\\t\\tsearchChildren(node.children);\\n\\t\\t\\t\\tfoundInlineTemplate = true;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tfoundInlineTemplate = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn foundInlineTemplate;\\n\\t};\\n\\tthis.hasTemplateInBody = searchChildren(this.parseTreeNode.children);\\n}\\n\\nListWidget.prototype.getTiddlerList = function() {\\n\\tvar limit = $tw.utils.getInt(this.getAttribute(\\\"limit\\\",\\\"\\\"),undefined);\\n\\tvar defaultFilter = \\\"[!is[system]sort[title]]\\\";\\n\\tvar results = this.wiki.filterTiddlers(this.getAttribute(\\\"filter\\\",defaultFilter),this);\\n\\tif(limit !== undefined) {\\n\\t\\tif(limit >= 0) {\\n\\t\\t\\tresults = results.slice(0,limit);\\n\\t\\t} else {\\n\\t\\t\\tresults = results.slice(limit);\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\nListWidget.prototype.getEmptyMessage = function() {\\n\\tvar parser,\\n\\t\\temptyMessage = this.getAttribute(\\\"emptyMessage\\\");\\n\\t// If emptyMessage attribute is not present or empty then look for an explicit empty template\\n\\tif(!emptyMessage) {\\n\\t\\tif(this.explicitEmptyTemplate) {\\n\\t\\t\\treturn this.explicitEmptyTemplate;\\n\\t\\t} else {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t}\\n\\tparser = this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",emptyMessage,{parseAsInline: true});\\n\\tif(parser) {\\n\\t\\treturn parser.tree;\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n/*\\nCompose the template for a join between list items\\n*/\\nListWidget.prototype.makeJoinTemplate = function() {\\n\\tvar parser,\\n\\t\\tjoin = this.getAttribute(\\\"join\\\",\\\"\\\");\\n\\tif(join) {\\n\\t\\tparser = this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",join,{parseAsInline:true})\\n\\t\\tif(parser) {\\n\\t\\t\\treturn parser.tree;\\n\\t\\t} else {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn this.explicitJoinTemplate; // May be null, and that's fine\\n\\t}\\n};\\n\\n/*\\nCompose the template for a list item\\n*/\\nListWidget.prototype.makeItemTemplate = function(title,index) {\\n\\t// Check if the tiddler is a draft\\n\\tvar tiddler = this.wiki.getTiddler(title),\\n\\t\\tisDraft = tiddler && tiddler.hasField(\\\"draft.of\\\"),\\n\\t\\ttemplate = this.template,\\n\\t\\tjoin = this.join,\\n\\t\\ttemplateTree;\\n\\tif(isDraft && this.editTemplate) {\\n\\t\\ttemplate = this.editTemplate;\\n\\t}\\n\\t// Compose the transclusion of the template\\n\\tif(template) {\\n\\t\\ttemplateTree = [{type: \\\"transclude\\\", attributes: {tiddler: {type: \\\"string\\\", value: template}}}];\\n\\t} else {\\n\\t\\t// Check for child nodes of the list widget\\n\\t\\tif(this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n\\t\\t\\t// Check for a <$list-item> widget\\n\\t\\t\\tif(this.explicitListTemplate) {\\n\\t\\t\\t\\ttemplateTree = this.explicitListTemplate;\\n\\t\\t\\t} else if(this.hasTemplateInBody) {\\n\\t\\t\\t\\ttemplateTree = this.parseTreeNode.children;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(!templateTree || templateTree.length === 0) {\\n\\t\\t\\t// Default template is a link to the title\\n\\t\\t\\ttemplateTree = [{type: \\\"element\\\", tag: this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\", children: [{type: \\\"link\\\", attributes: {to: {type: \\\"string\\\", value: title}}, children: [\\n\\t\\t\\t\\t{type: \\\"text\\\", text: title}\\n\\t\\t\\t]}]}];\\n\\t\\t}\\n\\t}\\n\\t// Return the list item\\n\\tvar parseTreeNode = {type: \\\"listitem\\\", itemTitle: title, variableName: this.variableName, children: templateTree, join: join};\\n\\tparseTreeNode.isLast = index === this.list.length - 1;\\n\\tif(this.counterName) {\\n\\t\\tparseTreeNode.counter = (index + 1).toString();\\n\\t\\tparseTreeNode.counterName = this.counterName;\\n\\t\\tparseTreeNode.isFirst = index === 0;\\n\\t}\\n\\treturn parseTreeNode;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nListWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tresult;\\n\\t// Call the storyview\\n\\tif(this.storyview && this.storyview.refreshStart) {\\n\\t\\tthis.storyview.refreshStart(changedTiddlers,changedAttributes);\\n\\t}\\n\\t// Completely refresh if any of our attributes have changed\\n\\tif(changedAttributes.filter || changedAttributes.variable || changedAttributes.counter || changedAttributes.template || changedAttributes.editTemplate || changedAttributes.join || changedAttributes.emptyMessage || changedAttributes.storyview || changedAttributes.history) {\\n\\t\\tthis.refreshSelf();\\n\\t\\tresult = true;\\n\\t} else {\\n\\t\\t// Handle any changes to the list\\n\\t\\tresult = this.handleListChanges(changedTiddlers);\\n\\t\\t// Handle any changes to the history stack\\n\\t\\tif(this.historyTitle && changedTiddlers[this.historyTitle]) {\\n\\t\\t\\tthis.handleHistoryChanges();\\n\\t\\t}\\n\\t}\\n\\t// Call the storyview\\n\\tif(this.storyview && this.storyview.refreshEnd) {\\n\\t\\tthis.storyview.refreshEnd(changedTiddlers,changedAttributes);\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nHandle any changes to the history list\\n*/\\nListWidget.prototype.handleHistoryChanges = function() {\\n\\t// Get the history data\\n\\tvar newHistory = this.wiki.getTiddlerDataCached(this.historyTitle,[]);\\n\\t// Ignore any entries of the history that match the previous history\\n\\tvar entry = 0;\\n\\twhile(entry < newHistory.length && entry < this.history.length && newHistory[entry].title === this.history[entry].title) {\\n\\t\\tentry++;\\n\\t}\\n\\t// Navigate forwards to each of the new tiddlers\\n\\twhile(entry < newHistory.length) {\\n\\t\\tif(this.storyview && this.storyview.navigateTo) {\\n\\t\\t\\tthis.storyview.navigateTo(newHistory[entry]);\\n\\t\\t}\\n\\t\\tentry++;\\n\\t}\\n\\t// Update the history\\n\\tthis.history = newHistory;\\n};\\n\\n/*\\nProcess any changes to the list\\n*/\\nListWidget.prototype.handleListChanges = function(changedTiddlers) {\\n\\t// Get the new list\\n\\tvar prevList = this.list;\\n\\tthis.list = this.getTiddlerList();\\n\\t// Check for an empty list\\n\\tif(this.list.length === 0) {\\n\\t\\t// Check if it was empty before\\n\\t\\tif(prevList.length === 0) {\\n\\t\\t\\t// If so, just refresh the empty message\\n\\t\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t\\t} else {\\n\\t\\t\\t// Replace the previous content with the empty message\\n\\t\\t\\tfor(t=this.children.length-1; t>=0; t--) {\\n\\t\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\t}\\n\\t\\t\\tvar nextSibling = this.findNextSiblingDomNode();\\n\\t\\t\\tthis.makeChildWidgets(this.getEmptyMessage());\\n\\t\\t\\tthis.renderChildren(this.parentDomNode,nextSibling);\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t} else {\\n\\t\\t// If the list was empty then we need to remove the empty message\\n\\t\\tif(prevList.length === 0) {\\n\\t\\t\\tthis.removeChildDomNodes();\\n\\t\\t\\tthis.children = [];\\n\\t\\t}\\n\\t\\t// If we are providing an counter variable then we must refresh the items, otherwise we can rearrange them\\n\\t\\tvar hasRefreshed = false,t;\\n\\t\\tif(this.counterName) {\\n\\t\\t\\tvar mustRefreshOldLast = false;\\n\\t\\t\\tvar oldLength = this.children.length;\\n\\t\\t\\t// Cycle through the list and remove and re-insert the first item that has changed, and all the remaining items\\n\\t\\t\\tfor(t=0; t<this.list.length; t++) {\\n\\t\\t\\t\\tif(hasRefreshed || !this.children[t] || this.children[t].parseTreeNode.itemTitle !== this.list[t]) {\\n\\t\\t\\t\\t\\tif(this.children[t]) {\\n\\t\\t\\t\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tthis.insertListItem(t,this.list[t]);\\n\\t\\t\\t\\t\\tif(!hasRefreshed && t === oldLength) {\\n\\t\\t\\t\\t\\t\\tmustRefreshOldLast = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Refresh the item we're reusing\\n\\t\\t\\t\\t\\tvar refreshed = this.children[t].refresh(changedTiddlers);\\n\\t\\t\\t\\t\\thasRefreshed = hasRefreshed || refreshed;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// If items were inserted then we must recreate the item that used to be at the last position as it is no longer last\\n\\t\\t\\tif(mustRefreshOldLast && oldLength > 0) {\\n\\t\\t\\t\\tvar oldLastIdx = oldLength-1;\\n\\t\\t\\t\\tthis.removeListItem(oldLastIdx);\\n\\t\\t\\t\\tthis.insertListItem(oldLastIdx,this.list[oldLastIdx]);\\n\\t\\t\\t}\\n\\t\\t\\t// If there are items to remove and we have not refreshed then recreate the item that will now be at the last position\\n\\t\\t\\tif(!hasRefreshed && this.children.length > this.list.length) {\\n\\t\\t\\t\\tthis.removeListItem(this.list.length-1);\\n\\t\\t\\t\\tthis.insertListItem(this.list.length-1,this.list[this.list.length-1]);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// Cycle through the list, inserting and removing list items as needed\\n\\t\\t\\tvar mustRecreateLastItem = false;\\n\\t\\t\\tif(this.join && this.join.length) {\\n\\t\\t\\t\\tif(this.children.length !== this.list.length) {\\n\\t\\t\\t\\t\\t\\tmustRecreateLastItem = true;\\n\\t\\t\\t\\t} else if(prevList[prevList.length-1] !== this.list[this.list.length-1]) {\\n\\t\\t\\t\\t\\t\\tmustRecreateLastItem = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tvar isLast = false, wasLast = false;\\n\\t\\t\\tfor(t=0; t<this.list.length; t++) {\\n\\t\\t\\t\\tisLast = t === this.list.length-1;\\n\\t\\t\\t\\tvar index = this.findListItem(t,this.list[t]);\\n\\t\\t\\t\\twasLast = index === this.children.length-1;\\n\\t\\t\\t\\tif(wasLast && (index !== t || this.children.length !== this.list.length)) {\\n\\t\\t\\t\\t\\tmustRecreateLastItem = !!(this.join && this.join.length);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(index === undefined) {\\n\\t\\t\\t\\t\\t// The list item must be inserted\\n\\t\\t\\t\\t\\tif(isLast && mustRecreateLastItem && t>0) {\\n\\t\\t\\t\\t\\t\\t// First re-create previosly-last item that will no longer be last\\n\\t\\t\\t\\t\\t\\tthis.removeListItem(t-1);\\n\\t\\t\\t\\t\\t\\tthis.insertListItem(t-1,this.list[t-1]);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tthis.insertListItem(t,this.list[t]);\\n\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// There are intervening list items that must be removed\\n\\t\\t\\t\\t\\tfor(var n=index-1; n>=t; n--) {\\n\\t\\t\\t\\t\\t\\tthis.removeListItem(n);\\n\\t\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Refresh the item we're reusing, or recreate if necessary\\n\\t\\t\\t\\t\\tif(mustRecreateLastItem && (isLast || wasLast)) {\\n\\t\\t\\t\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\t\\t\\t\\tthis.insertListItem(t,this.list[t]);\\n\\t\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tvar refreshed = this.children[t].refresh(changedTiddlers);\\n\\t\\t\\t\\t\\t\\thasRefreshed = hasRefreshed || refreshed;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Remove any left over items\\n\\t\\tfor(t=this.children.length-1; t>=this.list.length; t--) {\\n\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\thasRefreshed = true;\\n\\t\\t}\\n\\t\\treturn hasRefreshed;\\n\\t}\\n};\\n\\n/*\\nFind the list item with a given title, starting from a specified position\\n*/\\nListWidget.prototype.findListItem = function(startIndex,title) {\\n\\twhile(startIndex < this.children.length) {\\n\\t\\tif(this.children[startIndex].parseTreeNode.itemTitle === title) {\\n\\t\\t\\treturn startIndex;\\n\\t\\t}\\n\\t\\tstartIndex++;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nInsert a new list item at the specified index\\n*/\\nListWidget.prototype.insertListItem = function(index,title) {\\n\\t// Create, insert and render the new child widgets\\n\\tvar widget = this.makeChildWidget(this.makeItemTemplate(title,index));\\n\\twidget.parentDomNode = this.parentDomNode; // Hack to enable findNextSiblingDomNode() to work\\n\\tthis.children.splice(index,0,widget);\\n\\tvar nextSibling = widget.findNextSiblingDomNode();\\n\\twidget.render(this.parentDomNode,nextSibling);\\n\\t// Animate the insertion if required\\n\\tif(this.storyview && this.storyview.insert) {\\n\\t\\tthis.storyview.insert(widget);\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nRemove the specified list item\\n*/\\nListWidget.prototype.removeListItem = function(index) {\\n\\tvar widget = this.children[index];\\n\\t// Animate the removal if required\\n\\tif(this.storyview && this.storyview.remove) {\\n\\t\\tthis.storyview.remove(widget);\\n\\t} else {\\n\\t\\twidget.removeChildDomNodes();\\n\\t}\\n\\t// Remove the child widget\\n\\tthis.children.splice(index,1);\\n};\\n\\nexports.list = ListWidget;\\n\\nvar ListItemWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nListItemWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nListItemWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nListItemWidget.prototype.execute = function() {\\n\\t// Set the current list item title\\n\\tthis.setVariable(this.parseTreeNode.variableName,this.parseTreeNode.itemTitle);\\n\\tif(this.parseTreeNode.counterName) {\\n\\t\\tthis.setVariable(this.parseTreeNode.counterName,this.parseTreeNode.counter);\\n\\t\\tthis.setVariable(this.parseTreeNode.counterName + \\\"-first\\\",this.parseTreeNode.isFirst ? \\\"yes\\\" : \\\"no\\\");\\n\\t\\tthis.setVariable(this.parseTreeNode.counterName + \\\"-last\\\",this.parseTreeNode.isLast ? \\\"yes\\\" : \\\"no\\\");\\n\\t}\\n\\t// Add join if needed\\n\\tvar children = this.parseTreeNode.children,\\n\\t\\tjoin = this.parseTreeNode.join;\\n\\tif(join && join.length && !this.parseTreeNode.isLast) {\\n\\t\\tchildren = children.slice(0);\\n\\t\\t$tw.utils.each(join,function(joinNode) {\\n\\t\\t\\tchildren.push(joinNode);\\n\\t\\t})\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(children);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nListItemWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.listitem = ListItemWidget;\\n\\n/*\\nMake <$list-template> and <$list-empty> widgets that do nothing\\n*/\\nvar ListTemplateWidget = function(parseTreeNode,options) {\\n\\t// Main initialisation inherited from widget.js\\n\\tthis.initialise(parseTreeNode,options);\\n};\\nListTemplateWidget.prototype = new Widget();\\nListTemplateWidget.prototype.render = function() {}\\nListTemplateWidget.prototype.refresh = function() { return false; }\\n\\nexports[\\\"list-template\\\"] = ListTemplateWidget;\\n\\nvar ListEmptyWidget = function(parseTreeNode,options) {\\n\\t// Main initialisation inherited from widget.js\\n\\tthis.initialise(parseTreeNode,options);\\n};\\nListEmptyWidget.prototype = new Widget();\\nListEmptyWidget.prototype.render = function() {}\\nListEmptyWidget.prototype.refresh = function() { return false; }\\n\\nexports[\\\"list-empty\\\"] = ListEmptyWidget;\\n\\nvar ListJoinWidget = function(parseTreeNode,options) {\\n\\t// Main initialisation inherited from widget.js\\n\\tthis.initialise(parseTreeNode,options);\\n};\\nListJoinWidget.prototype = new Widget();\\nListJoinWidget.prototype.render = function() {}\\nListJoinWidget.prototype.refresh = function() { return false; }\\n\\nexports[\\\"list-join\\\"] = ListJoinWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/log.js\":{\"title\":\"$:/core/modules/widgets/log.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/log.js\\ntype: application/javascript\\nmodule-type: widget-subclass\\n\\nWidget to log debug messages\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.baseClass = \\\"action-log\\\";\\n\\nexports.name = \\\"log\\\";\\n\\nexports.constructor = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n}\\n\\nexports.prototype = {};\\n\\nexports.prototype.render = function(event) {\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).render.call(this,event);\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).log.call(this);\\n}\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget-subclass\"},\"$:/core/modules/widgets/macrocall.js\":{\"title\":\"$:/core/modules/widgets/macrocall.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/macrocall.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nMacrocall widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar MacroCallWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nMacroCallWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nMacroCallWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nMacroCallWidget.prototype.execute = function() {\\n\\tthis.macroName = this.parseTreeNode.name || this.getAttribute(\\\"$name\\\"),\\n\\tthis.parseType = this.getAttribute(\\\"$type\\\",\\\"text/vnd.tiddlywiki\\\");\\n\\tthis.renderOutput = this.getAttribute(\\\"$output\\\",\\\"text/html\\\");\\n\\t// Merge together the parameters specified in the parse tree with the specified attributes\\n\\tvar params = this.parseTreeNode.params ? this.parseTreeNode.params.slice(0) : [];\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tparams.push({name: name, value: attribute});\\n\\t\\t}\\n\\t});\\n\\t// Make a transclude widget\\n\\tvar positionalName = 0,\\n\\t\\tparseTreeNodes = [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tisBlock: this.parseTreeNode.isBlock,\\n\\t\\t\\tchildren: this.parseTreeNode.children\\n\\t\\t}];\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"$variable\\\",this.macroName);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"$type\\\",this.parseType);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"$output\\\",this.renderOutput);\\n\\t$tw.utils.each(params,function(param) {\\n\\t\\tvar name = param.name;\\n\\t\\tif(name) {\\n\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t\\t}\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],name,param.value);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],(positionalName++) + \\\"\\\",param.value);\\n\\t\\t}\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nMacroCallWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\t// Rerender ourselves\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.macrocall = MacroCallWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/messagecatcher.js\":{\"title\":\"$:/core/modules/widgets/messagecatcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/messagecatcher.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nMessage catcher widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar MessageCatcherWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nMessageCatcherWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nMessageCatcherWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Helper to add an event handler\\n\\tvar addEventHandler = function(type,actions) {\\n\\t\\tif(type && actions) {\\n\\t\\t\\tvar isActionStringExecuting = false;\\n\\t\\t\\tself.addEventListener(\\n\\t\\t\\t\\ttype,\\n\\t\\t\\t\\tfunction(event) {\\n\\t\\t\\t\\t\\t// Don't trap the event if it came from one of our action handlers\\n\\t\\t\\t\\t\\tif(isActionStringExecuting) {\\n\\t\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Collect all the event properties into variables\\n\\t\\t\\t\\t\\tvar collectProps = function(obj,prefix) {\\n\\t\\t\\t\\t\\t\\tprefix = prefix || \\\"\\\";\\n\\t\\t\\t\\t\\t\\tvar props = {},\\n\\t\\t\\t\\t\\t\\t\\tnames = [];\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(obj,function(value,name) {\\n\\t\\t\\t\\t\\t\\t\\tif([\\\"string\\\",\\\"boolean\\\",\\\"number\\\"].indexOf(typeof value) !== -1) {\\n\\t\\t\\t\\t\\t\\t\\t\\tnames.push(name);\\n\\t\\t\\t\\t\\t\\t\\t\\tprops[prefix + \\\"-\\\" + name] = value.toString();\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t\\tprops[\\\"list-\\\" + prefix] = $tw.utils.stringifyList(names);\\n\\t\\t\\t\\t\\t\\treturn props;\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tvar variables = $tw.utils.extend(\\n\\t\\t\\t\\t\\t\\t{},\\n\\t\\t\\t\\t\\t\\tcollectProps(event.paramObject,\\\"event-paramObject\\\"),\\n\\t\\t\\t\\t\\t\\tcollectProps(event,\\\"event\\\"),\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tmodifier: $tw.keyboardManager.getEventModifierKeyDescriptor(event)\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tisActionStringExecuting = true;\\n\\t\\t\\t\\t\\tself.invokeActionString(actions,self,event,variables);\\n\\t\\t\\t\\t\\tisActionStringExecuting = false;\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t);\\n\\t\\t}\\n\\t}\\n\\t// Add the main event handler\\n\\taddEventHandler(this.getAttribute(\\\"type\\\"),this.getAttribute(\\\"actions\\\"));\\n\\t// Add any other event handlers\\n\\t$tw.utils.each(this.attributes,function(value,key) {\\n\\t\\tif(key.charAt(0) === \\\"$\\\") {\\n\\t\\t\\taddEventHandler(key.slice(1),value);\\n\\t\\t}\\n\\t});\\n\\t// Render children\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nMessageCatcherWidget.prototype.execute = function() {\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nMessageCatcherWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.messagecatcher = MessageCatcherWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/navigator.js\":{\"title\":\"$:/core/modules/widgets/navigator.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/navigator.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nNavigator widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar IMPORT_TITLE = \\\"$:/Import\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar NavigatorWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nNavigatorWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nNavigatorWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-navigate\\\", handler: \\\"handleNavigateEvent\\\"},\\n\\t\\t{type: \\\"tm-edit-tiddler\\\", handler: \\\"handleEditTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-delete-tiddler\\\", handler: \\\"handleDeleteTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-save-tiddler\\\", handler: \\\"handleSaveTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-cancel-tiddler\\\", handler: \\\"handleCancelTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-close-tiddler\\\", handler: \\\"handleCloseTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-close-all-tiddlers\\\", handler: \\\"handleCloseAllTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-close-other-tiddlers\\\", handler: \\\"handleCloseOtherTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-new-tiddler\\\", handler: \\\"handleNewTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-import-tiddlers\\\", handler: \\\"handleImportTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-perform-import\\\", handler: \\\"handlePerformImportEvent\\\"},\\n\\t\\t{type: \\\"tm-fold-tiddler\\\", handler: \\\"handleFoldTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-fold-other-tiddlers\\\", handler: \\\"handleFoldOtherTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-fold-all-tiddlers\\\", handler: \\\"handleFoldAllTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-unfold-all-tiddlers\\\", handler: \\\"handleUnfoldAllTiddlersEvent\\\"}\\n\\t]);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nNavigatorWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.storyTitle = this.getAttribute(\\\"story\\\");\\n\\tthis.historyTitle = this.getAttribute(\\\"history\\\");\\n\\tthis.setVariable(\\\"tv-story-list\\\",this.storyTitle);\\n\\tthis.setVariable(\\\"tv-history-list\\\",this.historyTitle);\\n\\tthis.story = new $tw.Story({\\n\\t\\twiki: this.wiki,\\n\\t\\tstoryTitle: this.storyTitle,\\n\\t\\thistoryTitle: this.historyTitle\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nNavigatorWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.story || changedAttributes.history) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.getStoryList = function() {\\n\\treturn this.storyTitle ? this.wiki.getTiddlerList(this.storyTitle) : null;\\n};\\n\\nNavigatorWidget.prototype.saveStoryList = function(storyList) {\\n\\tif(this.storyTitle) {\\n\\t\\tvar storyTiddler = this.wiki.getTiddler(this.storyTitle);\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(\\n\\t\\t\\t{title: this.storyTitle},\\n\\t\\t\\tstoryTiddler,\\n\\t\\t\\t{list: storyList}\\n\\t\\t));\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.removeTitleFromStory = function(storyList,title) {\\n\\tif(storyList) {\\n\\t\\tvar p = storyList.indexOf(title);\\n\\t\\twhile(p !== -1) {\\n\\t\\t\\tstoryList.splice(p,1);\\n\\t\\t\\tp = storyList.indexOf(title);\\n\\t\\t}\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.replaceFirstTitleInStory = function(storyList,oldTitle,newTitle) {\\n\\tif(storyList) {\\n\\t\\tvar pos = storyList.indexOf(oldTitle);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tstoryList[pos] = newTitle;\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tpos = storyList.indexOf(oldTitle,pos + 1);\\n\\t\\t\\t\\tif(pos !== -1) {\\n\\t\\t\\t\\t\\tstoryList.splice(pos,1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} while(pos !== -1);\\n\\t\\t} else {\\n\\t\\t\\tstoryList.splice(0,0,newTitle);\\n\\t\\t}\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.addToStory = function(title,fromTitle) {\\n\\tif(this.storyTitle) {\\n\\t\\tthis.story.addToStory(title,fromTitle,{\\n\\t\\t\\topenLinkFromInsideRiver: this.getAttribute(\\\"openLinkFromInsideRiver\\\",\\\"top\\\"),\\n\\t\\t\\topenLinkFromOutsideRiver: this.getAttribute(\\\"openLinkFromOutsideRiver\\\",\\\"top\\\")\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nAdd a new record to the top of the history stack\\ntitle: a title string or an array of title strings\\nfromPageRect: page coordinates of the origin of the navigation\\n*/\\nNavigatorWidget.prototype.addToHistory = function(title,fromPageRect) {\\n\\tthis.story.addToHistory(title,fromPageRect,this.historyTitle);\\n};\\n\\n/*\\nHandle a tm-navigate event\\n*/\\nNavigatorWidget.prototype.handleNavigateEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-navigating\\\",event);\\n\\tif(event.navigateTo) {\\n\\t\\tthis.addToStory(event.navigateTo,event.navigateFromTitle);\\n\\t\\tif(!event.navigateSuppressNavigation) {\\n\\t\\t\\tthis.addToHistory(event.navigateTo,event.navigateFromClientRect);\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// Close a specified tiddler\\nNavigatorWidget.prototype.handleCloseTiddlerEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-closing-tiddler\\\",event);\\n\\tvar title = event.param || event.tiddlerTitle,\\n\\t\\tstoryList = this.getStoryList();\\n\\t// Look for tiddlers with this title to close\\n\\tthis.removeTitleFromStory(storyList,title);\\n\\tthis.saveStoryList(storyList);\\n\\treturn false;\\n};\\n\\n// Close all tiddlers\\nNavigatorWidget.prototype.handleCloseAllTiddlersEvent = function(event) {\\n\\tthis.saveStoryList([]);\\n\\treturn false;\\n};\\n\\n// Close other tiddlers\\nNavigatorWidget.prototype.handleCloseOtherTiddlersEvent = function(event) {\\n\\tvar title = event.param || event.tiddlerTitle;\\n\\tthis.saveStoryList([title]);\\n\\treturn false;\\n};\\n\\n// Place a tiddler in edit mode\\nNavigatorWidget.prototype.handleEditTiddlerEvent = function(event) {\\n\\tvar editTiddler = $tw.hooks.invokeHook(\\\"th-editing-tiddler\\\",event),\\n\\t\\twin = event.event && event.event.view ? event.event.view : window;\\n\\tif(!editTiddler) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar self = this;\\n\\tfunction isUnmodifiedShadow(title) {\\n\\t\\treturn self.wiki.isShadowTiddler(title) && !self.wiki.tiddlerExists(title);\\n\\t}\\n\\tfunction confirmEditShadow(title) {\\n\\t\\treturn win.confirm($tw.language.getString(\\n\\t\\t\\t\\\"ConfirmEditShadowTiddler\\\",\\n\\t\\t\\t{variables:\\n\\t\\t\\t\\t{title: title}\\n\\t\\t\\t}\\n\\t\\t));\\n\\t}\\n\\tvar title = event.param || event.tiddlerTitle;\\n\\tif(isUnmodifiedShadow(title) && !confirmEditShadow(title)) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Replace the specified tiddler with a draft in edit mode\\n\\tvar draftTiddler = this.makeDraftTiddler(title);\\n\\t// Update the story and history if required\\n\\tif(!event.paramObject || event.paramObject.suppressNavigation !== \\\"yes\\\") {\\n\\t\\tvar draftTitle = draftTiddler.fields.title,\\n\\t\\t\\tstoryList = this.getStoryList();\\n\\t\\tthis.removeTitleFromStory(storyList,draftTitle);\\n\\t\\tthis.replaceFirstTitleInStory(storyList,title,draftTitle);\\n\\t\\tthis.addToHistory(draftTitle,event.navigateFromClientRect);\\n\\t\\tthis.saveStoryList(storyList);\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n// Delete a tiddler\\nNavigatorWidget.prototype.handleDeleteTiddlerEvent = function(event) {\\n\\t// Get the tiddler we're deleting\\n\\tvar title = event.param || event.tiddlerTitle,\\n\\t\\ttiddler = this.wiki.getTiddler(title),\\n\\t\\tstoryList = this.getStoryList(),\\n\\t\\toriginalTitle = tiddler ? tiddler.fields[\\\"draft.of\\\"] : \\\"\\\",\\n\\t\\toriginalTiddler = originalTitle ? this.wiki.getTiddler(originalTitle) : undefined,\\n\\t\\tconfirmationTitle,\\n\\t\\twin = event.event && event.event.view ? event.event.view : window;\\n\\t// Check if the tiddler we're deleting is in draft mode\\n\\tif(originalTitle) {\\n\\t\\t// If so, we'll prompt for confirmation referencing the original tiddler\\n\\t\\tconfirmationTitle = originalTitle;\\n\\t} else {\\n\\t\\t// If not a draft, then prompt for confirmation referencing the specified tiddler\\n\\t\\tconfirmationTitle = title;\\n\\t}\\n\\t// Seek confirmation\\n\\tif(((originalTitle && this.wiki.getTiddler(originalTitle)) || (tiddler && ((tiddler.fields.text || \\\"\\\") !== \\\"\\\"))) && !win.confirm($tw.language.getString(\\n\\t\\t\\t\\t\\\"ConfirmDeleteTiddler\\\",\\n\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t{title: confirmationTitle}\\n\\t\\t\\t\\t}\\n\\t\\t\\t))) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Delete the original tiddler\\n\\tif(originalTitle) {\\n\\t\\tif(originalTiddler) {\\n\\t\\t\\t$tw.hooks.invokeHook(\\\"th-deleting-tiddler\\\",originalTiddler);\\n\\t\\t}\\n\\t\\tthis.wiki.deleteTiddler(originalTitle);\\n\\t\\tthis.removeTitleFromStory(storyList,originalTitle);\\n\\t}\\n\\t// Invoke the hook function and delete this tiddler\\n\\tif(tiddler) {\\n\\t\\t$tw.hooks.invokeHook(\\\"th-deleting-tiddler\\\",tiddler);\\n\\t\\tthis.wiki.deleteTiddler(title);\\t\\n\\t}\\n\\t// Remove the closed tiddler from the story\\n\\tthis.removeTitleFromStory(storyList,title);\\n\\tthis.saveStoryList(storyList);\\n\\t// Trigger an autosave\\n\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n\\treturn false;\\n};\\n\\n/*\\nCreate/reuse the draft tiddler for a given title\\n*/\\nNavigatorWidget.prototype.makeDraftTiddler = function(targetTitle) {\\n\\t// See if there is already a draft tiddler for this tiddler\\n\\tvar draftTitle = this.wiki.findDraft(targetTitle);\\n\\tif(draftTitle) {\\n\\t\\treturn this.wiki.getTiddler(draftTitle);\\n\\t}\\n\\t// Get the current value of the tiddler we're editing\\n\\tvar tiddler = this.wiki.getTiddler(targetTitle);\\n\\tvar defaultType = this.wiki.getTiddlerText(\\\"$:/config/DefaultMissingType\\\", \\\"\\\").trim();\\n\\tvar defaultFields = { type: defaultType };\\n\\t// Save the initial value of the draft tiddler\\n\\tdraftTitle = this.generateDraftTitle(targetTitle);\\n\\tvar draftTiddler = new $tw.Tiddler({\\n\\t\\t\\t\\ttext: \\\"\\\",\\n\\t\\t\\t},\\n\\t\\t\\ttiddler,\\n\\t\\t\\t{\\n\\t\\t\\t\\ttitle: draftTitle,\\n\\t\\t\\t\\t\\\"draft.title\\\": targetTitle,\\n\\t\\t\\t\\t\\\"draft.of\\\": targetTitle\\n\\t\\t\\t},\\n\\t\\t\\tthis.wiki.getModificationFields(),\\n\\t\\t\\ttiddler === null || tiddler === undefined ? defaultFields : {}\\n\\t\\t);\\n\\tthis.wiki.addTiddler(draftTiddler);\\n\\treturn draftTiddler;\\n};\\n\\n/*\\nGenerate a title for the draft of a given tiddler\\n*/\\nNavigatorWidget.prototype.generateDraftTitle = function(title) {\\n\\treturn this.wiki.generateDraftTitle(title);\\n};\\n\\n// Take a tiddler out of edit mode, saving the changes\\nNavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {\\n\\tvar title = event.param || event.tiddlerTitle,\\n\\t\\ttiddler = this.wiki.getTiddler(title),\\n\\t\\tstoryList = this.getStoryList(),\\n\\t\\twin = event.event && event.event.view ? event.event.view : window;\\n\\t// Replace the original tiddler with the draft\\n\\tif(tiddler) {\\n\\t\\tvar draftTitle = (tiddler.fields[\\\"draft.title\\\"] || \\\"\\\").trim(),\\n\\t\\t\\tdraftOf = (tiddler.fields[\\\"draft.of\\\"] || \\\"\\\").trim();\\n\\t\\tif(draftTitle) {\\n\\t\\t\\tvar isRename = draftOf !== draftTitle,\\n\\t\\t\\t\\tisConfirmed = true;\\n\\t\\t\\tif(isRename && this.wiki.tiddlerExists(draftTitle)) {\\n\\t\\t\\t\\tisConfirmed = win.confirm($tw.language.getString(\\n\\t\\t\\t\\t\\t\\\"ConfirmOverwriteTiddler\\\",\\n\\t\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t\\t{title: draftTitle}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t));\\n\\t\\t\\t}\\n\\t\\t\\tif(isConfirmed) {\\n\\t\\t\\t\\t// Create the new tiddler and pass it through the th-saving-tiddler hook\\n\\t\\t\\t\\tvar newTiddler = new $tw.Tiddler(this.wiki.getCreationFields(),tiddler,{\\n\\t\\t\\t\\t\\ttitle: draftTitle,\\n\\t\\t\\t\\t\\t\\\"draft.title\\\": undefined,\\n\\t\\t\\t\\t\\t\\\"draft.of\\\": undefined\\n\\t\\t\\t\\t},this.wiki.getModificationFields());\\n\\t\\t\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-saving-tiddler\\\",newTiddler,tiddler);\\n\\t\\t\\t\\tthis.wiki.addTiddler(newTiddler);\\n\\t\\t\\t\\t// If enabled, relink references to renamed tiddler\\n\\t\\t\\t\\tvar shouldRelink = this.getAttribute(\\\"relinkOnRename\\\",\\\"no\\\").toLowerCase().trim() === \\\"yes\\\";\\n\\t\\t\\t\\tif(isRename && shouldRelink && this.wiki.tiddlerExists(draftOf)) {\\n\\t\\t\\t\\t\\tthis.wiki.relinkTiddler(draftOf,draftTitle);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Remove the draft tiddler\\n\\t\\t\\t\\tthis.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t// Remove the original tiddler if we're renaming it\\n\\t\\t\\t\\tif(isRename) {\\n\\t\\t\\t\\t\\tthis.wiki.deleteTiddler(draftOf);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// #2381 always remove new title & old\\n\\t\\t\\t\\tthis.removeTitleFromStory(storyList,draftTitle);\\n\\t\\t\\t\\tthis.removeTitleFromStory(storyList,draftOf);\\n\\t\\t\\t\\tif(!event.paramObject || event.paramObject.suppressNavigation !== \\\"yes\\\") {\\n\\t\\t\\t\\t\\t// Replace the draft in the story with the original\\n\\t\\t\\t\\t\\tthis.replaceFirstTitleInStory(storyList,title,draftTitle);\\n\\t\\t\\t\\t\\tthis.addToHistory(draftTitle,event.navigateFromClientRect);\\n\\t\\t\\t\\t\\tif(draftTitle !== this.storyTitle) {\\n\\t\\t\\t\\t\\t\\tthis.saveStoryList(storyList);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Trigger an autosave\\n\\t\\t\\t\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// Take a tiddler out of edit mode without saving the changes\\nNavigatorWidget.prototype.handleCancelTiddlerEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-cancelling-tiddler\\\", event);\\n\\tvar win = event.event && event.event.view ? event.event.view : window;\\n\\t// Flip the specified tiddler from draft back to the original\\n\\tvar draftTitle = event.param || event.tiddlerTitle,\\n\\t\\tdraftTiddler = this.wiki.getTiddler(draftTitle),\\n\\t\\toriginalTitle = draftTiddler && draftTiddler.fields[\\\"draft.of\\\"];\\n\\tif(draftTiddler && originalTitle) {\\n\\t\\t// Ask for confirmation if the tiddler text has changed\\n\\t\\tvar isConfirmed = true,\\n\\t\\t\\toriginalTiddler = this.wiki.getTiddler(originalTitle),\\n\\t\\t\\tstoryList = this.getStoryList();\\n\\t\\tif(this.wiki.isDraftModified(draftTitle)) {\\n\\t\\t\\tisConfirmed = win.confirm($tw.language.getString(\\n\\t\\t\\t\\t\\\"ConfirmCancelTiddler\\\",\\n\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t{title: draftTitle}\\n\\t\\t\\t\\t}\\n\\t\\t\\t));\\n\\t\\t}\\n\\t\\t// Remove the draft tiddler\\n\\t\\tif(isConfirmed) {\\n\\t\\t\\tthis.wiki.deleteTiddler(draftTitle);\\n\\t\\t\\tif(!event.paramObject || event.paramObject.suppressNavigation !== \\\"yes\\\") {\\n\\t\\t\\t\\tif(originalTiddler) {\\n\\t\\t\\t\\t\\tthis.replaceFirstTitleInStory(storyList,draftTitle,originalTitle);\\n\\t\\t\\t\\t\\tthis.addToHistory(originalTitle,event.navigateFromClientRect);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tthis.removeTitleFromStory(storyList,draftTitle);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tthis.saveStoryList(storyList);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// Create a new draft tiddler\\n// event.param can either be the title of a template tiddler, or a hashmap of fields.\\n//\\n// The title of the newly created tiddler follows these rules:\\n// * If a hashmap was used and a title field was specified, use that title\\n// * If a hashmap was used without a title field, use a default title, if necessary making it unique with a numeric suffix\\n// * If a template tiddler was used, use the title of the template, if necessary making it unique with a numeric suffix\\n//\\n// If a draft of the target tiddler already exists then it is reused\\nNavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-new-tiddler\\\", event);\\n\\t// Get the story details\\n\\tvar storyList = this.getStoryList(),\\n\\t\\ttemplateTiddler, additionalFields, title, draftTitle, existingTiddler,\\n\\t\\ttemplateHasTags = false;\\n\\t// Get the template tiddler (if any)\\n\\tif(typeof event.param === \\\"string\\\") {\\n\\t\\t// Get the template tiddler\\n\\t\\ttemplateTiddler = this.wiki.getTiddler(event.param);\\n\\t\\t// Generate a new title\\n\\t\\ttitle = this.wiki.generateNewTitle(event.param || $tw.language.getString(\\\"DefaultNewTiddlerTitle\\\"));\\n\\t}\\n\\t// Get the specified additional fields\\n\\tif(typeof event.paramObject === \\\"object\\\") {\\n\\t\\tadditionalFields = event.paramObject;\\n\\t}\\n\\tif(typeof event.param === \\\"object\\\") { // Backwards compatibility with 5.1.3\\n\\t\\tadditionalFields = event.param;\\n\\t}\\n\\tif(additionalFields && additionalFields.title) {\\n\\t\\ttitle = additionalFields.title;\\n\\t}\\n\\t// Make a copy of the additional fields excluding any blank ones\\n\\tvar filteredAdditionalFields = $tw.utils.extend({},additionalFields);\\n\\tObject.keys(filteredAdditionalFields).forEach(function(fieldName) {\\n\\t\\tif(filteredAdditionalFields[fieldName] === \\\"\\\") {\\n\\t\\t\\tdelete filteredAdditionalFields[fieldName];\\n\\t\\t}\\n\\t});\\n\\t// Generate a title if we don't have one\\n\\ttitle = title || this.wiki.generateNewTitle($tw.language.getString(\\\"DefaultNewTiddlerTitle\\\"));\\n\\t// Find any existing draft for this tiddler\\n\\tdraftTitle = this.wiki.findDraft(title);\\n\\t// Pull in any existing tiddler\\n\\tif(draftTitle) {\\n\\t\\texistingTiddler = this.wiki.getTiddler(draftTitle);\\n\\t} else {\\n\\t\\tdraftTitle = this.generateDraftTitle(title);\\n\\t\\texistingTiddler = this.wiki.getTiddler(title);\\n\\t}\\n\\t// Merge the tags\\n\\tvar mergedTags = [];\\n\\tif(existingTiddler && existingTiddler.fields.tags) {\\n\\t\\t$tw.utils.pushTop(mergedTags,existingTiddler.fields.tags);\\n\\t}\\n\\tif(additionalFields && additionalFields.tags) {\\n\\t\\t// Merge tags\\n\\t\\tmergedTags = $tw.utils.pushTop(mergedTags,$tw.utils.parseStringArray(additionalFields.tags));\\n\\t}\\n\\tvar additionalFieldsHasTags = !!(additionalFields && (additionalFields.tags === \\\"\\\"));\\n\\tif(templateTiddler && templateTiddler.fields.tags) {\\n\\t\\t// Merge tags\\n\\t\\ttemplateHasTags = true;\\n\\t\\tmergedTags = $tw.utils.pushTop(mergedTags,templateTiddler.fields.tags);\\n\\t}\\n\\t// Save the draft tiddler\\n\\tvar draftTiddler = new $tw.Tiddler({\\n\\t\\t\\ttext: \\\"\\\",\\n\\t\\t\\t\\\"draft.title\\\": title\\n\\t\\t},\\n\\t\\ttemplateTiddler,\\n\\t\\tadditionalFields,\\n\\t\\tthis.wiki.getCreationFields(),\\n\\t\\texistingTiddler,\\n\\t\\tfilteredAdditionalFields,\\n\\t\\t{\\n\\t\\t\\ttitle: draftTitle,\\n\\t\\t\\t\\\"draft.of\\\": title,\\n\\t\\t\\t// If template or additionalFields have \\\"tags\\\" even if empty a tags field will be created.\\n\\t\\t\\ttags: ((mergedTags.length > 0) || templateHasTags || additionalFieldsHasTags) ? mergedTags : undefined\\n\\t\\t},this.wiki.getModificationFields());\\n\\tthis.wiki.addTiddler(draftTiddler);\\n\\t// Update the story to insert the new draft at the top and remove any existing tiddler\\n\\tif(storyList && storyList.indexOf(draftTitle) === -1) {\\n\\t\\tvar slot = storyList.indexOf(event.navigateFromTitle);\\n\\t\\tif(slot === -1) {\\n\\t\\t\\tslot = this.getAttribute(\\\"openLinkFromOutsideRiver\\\",\\\"top\\\") === \\\"bottom\\\" ? storyList.length - 1 : slot;\\n\\t\\t}\\n\\t\\tstoryList.splice(slot + 1,0,draftTitle);\\n\\t}\\n\\tif(storyList && storyList.indexOf(title) !== -1) {\\n\\t\\tstoryList.splice(storyList.indexOf(title),1);\\n\\t}\\n\\tthis.saveStoryList(storyList);\\n\\t// Add a new record to the top of the history stack\\n\\tthis.addToHistory(draftTitle);\\n\\treturn false;\\n};\\n\\n// Import JSON tiddlers into a pending import tiddler\\nNavigatorWidget.prototype.handleImportTiddlersEvent = function(event) {\\n\\t// Get the tiddlers\\n\\tvar tiddlers = $tw.utils.parseJSONSafe(event.param,[]);\\n\\t// Get the current $:/Import tiddler\\n\\tvar paramObject = event.paramObject || {},\\n\\t\\timportTitle = event.importTitle || paramObject.importTitle || IMPORT_TITLE,\\n\\t\\timportTiddler = this.wiki.getTiddler(importTitle),\\n\\t\\timportData = this.wiki.getTiddlerData(importTitle,{}),\\n\\t\\tnewFields = new Object({\\n\\t\\t\\ttitle: importTitle,\\n\\t\\t\\ttype: \\\"application/json\\\",\\n\\t\\t\\t\\\"plugin-type\\\": \\\"import\\\",\\n\\t\\t\\t\\\"status\\\": \\\"pending\\\"\\n\\t\\t}),\\n\\t\\tincomingTiddlers = [];\\n\\t// Process each tiddler\\n\\timportData.tiddlers = importData.tiddlers || {};\\n\\t$tw.utils.each(tiddlers,function(tiddlerFields) {\\n\\t\\ttiddlerFields.title = $tw.utils.trim(tiddlerFields.title);\\n\\t\\tvar title = tiddlerFields.title;\\n\\t\\tif(title) {\\n\\t\\t\\tincomingTiddlers.push(title);\\n\\t\\t\\timportData.tiddlers[title] = tiddlerFields;\\n\\t\\t}\\n\\t});\\n\\t// Give the active upgrader modules a chance to process the incoming tiddlers\\n\\tvar messages = this.wiki.invokeUpgraders(incomingTiddlers,importData.tiddlers);\\n\\t// Deselect any disabled, but _not_ suppressed tiddlers\\n\\tvar systemMessage = $tw.language.getString(\\\"Import/Upgrader/Tiddler/Unselected\\\");\\n\\t$tw.utils.each(messages,function(message,title) {\\n\\t\\tnewFields[\\\"message-\\\" + title] = message;\\n\\t\\tif(message.indexOf(systemMessage) !== -1) {\\n\\t\\t\\tnewFields[\\\"selection-\\\" + title] = \\\"unchecked\\\";\\n\\t\\t}\\n\\t});\\n\\t// Deselect suppressed tiddlers ... they have been removed and can't be selected anymore\\n\\t$tw.utils.each(importData.tiddlers,function(tiddler,title) {\\n\\t\\tif($tw.utils.count(tiddler) === 0) {\\n\\t\\t\\tnewFields[\\\"selection-\\\" + title] = \\\"unchecked\\\";\\n\\t\\t\\tnewFields[\\\"suppressed-\\\" + title] = \\\"yes\\\";\\n\\t\\t}\\n\\t});\\n\\t// Save the $:/Import tiddler\\n\\tnewFields.text = JSON.stringify(importData,null,$tw.config.preferences.jsonSpaces);\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(importTiddler,newFields));\\n\\t// Update the story and history details\\n\\tvar autoOpenOnImport = event.autoOpenOnImport || paramObject.autoOpenOnImport || this.getVariable(\\\"tv-auto-open-on-import\\\");\\n\\tif(autoOpenOnImport !== \\\"no\\\") {\\n\\t\\tvar storyList = this.getStoryList(),\\n\\t\\t\\thistory = [];\\n\\t\\t// Add it to the story\\n\\t\\tif(storyList && storyList.indexOf(importTitle) === -1) {\\n\\t\\t\\tstoryList.unshift(importTitle);\\n\\t\\t}\\n\\t\\t// And to history\\n\\t\\thistory.push(importTitle);\\n\\t\\t// Save the updated story and history\\n\\t\\tthis.saveStoryList(storyList);\\n\\t\\tthis.addToHistory(history);\\n\\t}\\n\\treturn false;\\n};\\n\\n//\\nNavigatorWidget.prototype.handlePerformImportEvent = function(event) {\\n\\tvar self = this,\\n\\t\\timportTiddler = this.wiki.getTiddler(event.param),\\n\\t\\timportData,\\n\\t\\timportReport = [];\\n\\timportReport.push($tw.language.getString(\\\"Import/Imported/Hint\\\") + \\\"\\\\n\\\");\\n\\t// If you need to modify the import tiddler payload then consider th-importing-tiddler instead\\n\\timportTiddler = $tw.hooks.invokeHook(\\\"th-before-importing\\\",importTiddler);\\n\\timportData = this.wiki.getTiddlerDataCached(event.param,{tiddlers: {}}),\\n\\t$tw.utils.each(importData.tiddlers,function(tiddlerFields) {\\n\\t\\tvar title = tiddlerFields.title;\\n\\t\\tif(title && importTiddler && importTiddler.fields[\\\"selection-\\\" + title] !== \\\"unchecked\\\") {\\n\\t\\t\\tif($tw.utils.hop(importTiddler.fields,[\\\"rename-\\\" + title])) {\\n\\t\\t\\t\\tvar tiddler = new $tw.Tiddler(tiddlerFields,{title : importTiddler.fields[\\\"rename-\\\" + title]});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar tiddler = new $tw.Tiddler(tiddlerFields);\\n\\t\\t\\t}\\n\\t\\t\\t// th-importing-tiddler doesn't allow user interaction by default\\n\\t\\t\\t// If you want to use the default UI then use: $:/core/modules/upgraders/ instead\\n\\t\\t\\ttiddler = $tw.hooks.invokeHook(\\\"th-importing-tiddler\\\",tiddler);\\n\\t\\t\\t// Add the tiddlers to the store\\n\\t\\t\\tself.wiki.addTiddler(tiddler);\\n\\t\\t\\timportReport.push(\\\"# [[\\\" + tiddler.fields.title + \\\"]]\\\");\\n\\t\\t}\\n\\t});\\n\\t// Replace the $:/Import tiddler with an import report\\n\\tthis.wiki.addTiddler(new $tw.Tiddler({\\n\\t\\ttitle: event.param,\\n\\t\\ttext: importReport.join(\\\"\\\\n\\\"),\\n\\t\\t\\\"status\\\": \\\"complete\\\"\\n\\t}));\\n\\t// Navigate to the $:/Import tiddler\\n\\tthis.addToHistory([event.param]);\\n\\t// Trigger an autosave\\n\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n};\\n\\nNavigatorWidget.prototype.handleFoldTiddlerEvent = function(event) {\\n\\tvar paramObject = event.paramObject || {};\\n\\tif(paramObject.foldedState) {\\n\\t\\tvar foldedState = this.wiki.getTiddlerText(paramObject.foldedState,\\\"show\\\") === \\\"show\\\" ? \\\"hide\\\" : \\\"show\\\";\\n\\t\\tthis.wiki.setText(paramObject.foldedState,\\\"text\\\",null,foldedState);\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.handleFoldOtherTiddlersEvent = function(event) {\\n\\tvar self = this,\\n\\t\\tparamObject = event.paramObject || {},\\n\\t\\tprefix = paramObject.foldedStatePrefix;\\n\\t$tw.utils.each(this.getStoryList(),function(title) {\\n\\t\\tself.wiki.setText(prefix + title,\\\"text\\\",null,event.param === title ? \\\"show\\\" : \\\"hide\\\");\\n\\t});\\n};\\n\\nNavigatorWidget.prototype.handleFoldAllTiddlersEvent = function(event) {\\n\\tvar self = this,\\n\\t\\tparamObject = event.paramObject || {},\\n\\t\\tprefix = paramObject.foldedStatePrefix || \\\"$:/state/folded/\\\";\\n\\t$tw.utils.each(this.getStoryList(),function(title) {\\n\\t\\tself.wiki.setText(prefix + title,\\\"text\\\",null,\\\"hide\\\");\\n\\t});\\n};\\n\\nNavigatorWidget.prototype.handleUnfoldAllTiddlersEvent = function(event) {\\n\\tvar self = this,\\n\\t\\tparamObject = event.paramObject || {},\\n\\t\\tprefix = paramObject.foldedStatePrefix;\\n\\t$tw.utils.each(this.getStoryList(),function(title) {\\n\\t\\tself.wiki.setText(prefix + title,\\\"text\\\",null,\\\"show\\\");\\n\\t});\\n};\\n\\nexports.navigator = NavigatorWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/parameters.js\":{\"title\":\"$:/core/modules/widgets/parameters.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/parameters.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget for definition of transclusion parameters\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n\\tTranscludeWidget = require(\\\"$:/core/modules/widgets/transclude.js\\\").transclude;\\n\\nvar ParametersWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nParametersWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nParametersWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Call the constructor\\n\\tWidget.call(this);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nParametersWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\tthis.parametersDepth = Math.max(parseInt(this.getAttribute(\\\"$depth\\\",\\\"1\\\"),10) || 1,1);\\n\\t// Find the parent transclusions\\n\\tvar pointer = this.parentWidget,\\n\\t\\tdepth = this.parametersDepth;\\n\\twhile(pointer) {\\n\\t\\tif(pointer instanceof TranscludeWidget) {\\n\\t\\t\\tdepth--;\\n\\t\\t\\tif(depth <= 0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tpointer = pointer.parentWidget;\\n\\t}\\n\\t// Process each parameter\\n\\tif(pointer instanceof TranscludeWidget) {\\n\\t\\t// Get the value for each defined parameter\\n\\t\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(self.parseTreeNode),function(attr,index) {\\n\\t\\t\\tvar name = attr.name;\\n\\t\\t\\t// If the attribute name starts with $$ then reduce to a single dollar\\n\\t\\t\\tif(name.substr(0,2) === \\\"$$\\\") {\\n\\t\\t\\t\\tname = name.substr(1);\\n\\t\\t\\t}\\n\\t\\t\\tvar value = pointer.getTransclusionParameter(name,index,self.getAttribute(attr.name,\\\"\\\"));\\n\\t\\t\\tself.setVariable(name,value);\\n\\t\\t});\\n\\t\\t// Assign any metaparameters\\n\\t\\t$tw.utils.each(pointer.getTransclusionMetaParameters(),function(getValue,name) {\\n\\t\\t\\tvar variableName = self.getAttribute(\\\"$\\\" + name);\\n\\t\\t\\tif(variableName) {\\n\\t\\t\\t\\tself.setVariable(variableName,getValue(name));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\t// There is no parent transclude. i.e. direct rendering.\\n\\t\\t// We use default values only.\\n\\t\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(self.parseTreeNode),function(attr,index) {\\n\\t\\t\\tvar name = attr.name;\\n\\t\\t\\t// If the attribute name starts with $$ then reduce to a single dollar\\n\\t\\t\\tif(name.substr(0,2) === \\\"$$\\\") {\\n\\t\\t\\t\\tname = name.substr(1);\\n\\t\\t\\t}\\n\\t\\t\\tvar value = self.getAttribute(attr.name,\\\"\\\");\\n\\t\\t\\tself.setVariable(name,value);\\n\\t\\t});\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nParametersWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(Object.keys(changedAttributes).length) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.parameters = ParametersWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/password.js\":{\"title\":\"$:/core/modules/widgets/password.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/password.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nPassword widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar PasswordWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nPasswordWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nPasswordWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Get the current password\\n\\tvar password = $tw.browser ? $tw.utils.getPassword(this.passwordName) || \\\"\\\" : \\\"\\\";\\n\\t// Create our element\\n\\tvar domNode = this.document.createElement(\\\"input\\\");\\n\\tdomNode.setAttribute(\\\"type\\\",\\\"password\\\");\\n\\tdomNode.setAttribute(\\\"value\\\",password);\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nPasswordWidget.prototype.handleChangeEvent = function(event) {\\n\\tvar password = this.domNodes[0].value;\\n\\treturn $tw.utils.savePassword(this.passwordName,password);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nPasswordWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n\\tthis.passwordName = this.getAttribute(\\\"name\\\",\\\"\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nPasswordWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.password = PasswordWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/qualify.js\":{\"title\":\"$:/core/modules/widgets/qualify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/qualify.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nQualify text to a variable \\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar QualifyWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nQualifyWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nQualifyWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nQualifyWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.qualifyName = this.getAttribute(\\\"name\\\");\\n\\tthis.qualifyTitle = this.getAttribute(\\\"title\\\");\\n\\t// Set context variable\\n\\tif(this.qualifyName) {\\n\\t\\tthis.setVariable(this.qualifyName,this.qualifyTitle + \\\"-\\\" + this.getStateQualifier());\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nQualifyWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name || changedAttributes.title) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.qualify = QualifyWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/radio.js\":{\"title\":\"$:/core/modules/widgets/radio.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/radio.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSet a field or index at a given tiddler via radio buttons\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar RadioWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRadioWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRadioWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\tvar isChecked = this.getValue() === this.radioValue;\\n\\t// Create our elements\\n\\tthis.labelDomNode = this.document.createElement(\\\"label\\\");\\n\\tthis.labelDomNode.setAttribute(\\\"class\\\",\\n\\t\\t\\\"tc-radio \\\" + this.radioClass + (isChecked ? \\\" tc-radio-selected\\\" : \\\"\\\")\\n\\t);\\n\\tthis.inputDomNode = this.document.createElement(\\\"input\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"type\\\",\\\"radio\\\");\\n\\tthis.assignAttributes(this.inputDomNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\tif(isChecked) {\\n\\t\\tthis.inputDomNode.checked = true;\\n\\t}\\n\\tif(this.tabIndex) {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"tabindex\\\", this.tabIndex);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\tthis.labelDomNode.appendChild(this.inputDomNode);\\n\\tthis.spanDomNode = this.document.createElement(\\\"span\\\");\\n\\tthis.labelDomNode.appendChild(this.spanDomNode);\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(this.inputDomNode,[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(this.labelDomNode,nextSibling);\\n\\tthis.renderChildren(this.spanDomNode,null);\\n\\tthis.domNodes.push(this.labelDomNode);\\n};\\n\\nRadioWidget.prototype.getValue = function() {\\n\\tvar value,\\n\\t\\ttiddler = this.wiki.getTiddler(this.radioTitle);\\n\\tif(tiddler) {\\n\\t\\tif(this.radioIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.radioTitle,this.radioIndex,this.radioDefault);\\n\\t\\t} else {\\n\\t\\t\\tvalue = tiddler.getFieldString(this.radioField,this.radioDefault);\\n\\t\\t}\\n\\t} else {\\n\\t\\tvalue = this.radioDefault;\\n\\t}\\n\\treturn value;\\n};\\n\\nRadioWidget.prototype.setValue = function() {\\n\\tif(this.radioIndex) {\\n\\t\\tthis.wiki.setText(this.radioTitle,\\\"\\\",this.radioIndex,this.radioValue);\\n\\t} else {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.radioTitle),\\n\\t\\t\\taddition = {};\\n\\t\\taddition[this.radioField] = this.radioValue;\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),{title: this.radioTitle},tiddler,addition,this.wiki.getModificationFields()));\\n\\t}\\n};\\n\\nRadioWidget.prototype.handleChangeEvent = function(event) {\\n\\tif(this.inputDomNode.checked) {\\n\\t\\tthis.setValue();\\n\\t}\\n\\t// Trigger actions\\n\\tif(this.radioActions) {\\n\\t\\tthis.invokeActionString(this.radioActions,this,event,{\\\"actionValue\\\": this.radioValue});\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRadioWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n\\tthis.radioTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.radioField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.radioIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.radioValue = this.getAttribute(\\\"value\\\");\\n\\tthis.radioClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.radioDefault = this.getAttribute(\\\"default\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.radioActions = this.getAttribute(\\\"actions\\\",\\\"\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRadioWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(($tw.utils.count(changedAttributes) > 0)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedTiddlers[this.radioTitle]) {\\n\\t\\tthis.inputDomNode.checked = this.getValue() === this.radioValue;\\n\\t\\t$tw.utils.toggleClass(this.labelDomNode,\\\"tc-radio-selected\\\",this.inputDomNode.checked);\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.radio = RadioWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/range.js\":{\"title\":\"$:/core/modules/widgets/range.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/range.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nRange widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar RangeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRangeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRangeWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Create our elements\\n\\tthis.inputDomNode = this.document.createElement(\\\"input\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"type\\\",\\\"range\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"class\\\",this.elementClass);\\n\\tif(this.minValue){\\n\\t\\tthis.inputDomNode.setAttribute(\\\"min\\\", this.minValue);\\n\\t}\\n\\tif(this.maxValue){\\n\\t\\tthis.inputDomNode.setAttribute(\\\"max\\\", this.maxValue);\\n\\t}\\n\\tif(this.increment){\\n\\t\\tthis.inputDomNode.setAttribute(\\\"step\\\", this.increment);\\n\\t}\\n\\tif(this.tabIndex) {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"tabindex\\\", this.tabIndex);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\tthis.inputDomNode.value = this.getValue();\\n\\tthis.assignAttributes(this.inputDomNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(this.inputDomNode,[\\n\\t\\t{name:\\\"mousedown\\\", handlerObject:this, handlerMethod:\\\"handleMouseDownEvent\\\"},\\n\\t\\t{name:\\\"mouseup\\\", handlerObject:this, handlerMethod:\\\"handleMouseUpEvent\\\"},\\n\\t\\t{name:\\\"change\\\", handlerObject:this, handlerMethod:\\\"handleChangeEvent\\\"},\\n\\t\\t{name:\\\"input\\\", handlerObject:this, handlerMethod:\\\"handleInputEvent\\\"},\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(this.inputDomNode,nextSibling);\\n\\tthis.domNodes.push(this.inputDomNode);\\n};\\n\\nRangeWidget.prototype.getValue = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle),\\n\\t\\tfieldName = this.tiddlerField,\\n\\t\\tvalue = this.defaultValue;\\n\\tif(tiddler) {\\n\\t\\tif(this.tiddlerIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(tiddler,this.tiddlerIndex,this.defaultValue);\\n\\t\\t} else {\\n\\t\\t\\tif($tw.utils.hop(tiddler.fields,fieldName)) {\\n\\t\\t\\t\\tvalue = tiddler.fields[fieldName] || \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvalue = this.defaultValue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn value;\\n};\\n\\nRangeWidget.prototype.getActionVariables = function(options) {\\n\\toptions = options || {};\\n\\tvar hasChanged = (this.startValue !== this.inputDomNode.value) ? \\\"yes\\\" : \\\"no\\\";\\n\\t// Trigger actions. Use variables = {key:value, key:value ...}\\n\\t// the \\\"value\\\" is needed.\\n\\treturn $tw.utils.extend({\\\"actionValue\\\": this.inputDomNode.value, \\\"actionValueHasChanged\\\": hasChanged}, options);\\n}\\n\\n// actionsStart\\nRangeWidget.prototype.handleMouseDownEvent = function(event) {\\n\\tthis.mouseDown = true; // TODO remove once IE is gone.\\n\\tthis.startValue = this.inputDomNode.value; // TODO remove this line once IE is gone!\\n\\tthis.handleEvent(event);\\n\\t// Trigger actions\\n\\tif(this.actionsMouseDown) {\\n\\t\\tvar variables = this.getActionVariables() // TODO this line will go into the function call below.\\n\\t\\tthis.invokeActionString(this.actionsMouseDown,this,event,variables);\\n\\t}\\n}\\n\\n// actionsStop\\nRangeWidget.prototype.handleMouseUpEvent = function(event) {\\n\\tthis.mouseDown = false; // TODO remove once IE is gone.\\n\\tthis.handleEvent(event);\\n\\t// Trigger actions\\n\\tif(this.actionsMouseUp) {\\n\\t\\tvar variables = this.getActionVariables()\\n\\t\\tthis.invokeActionString(this.actionsMouseUp,this,event,variables);\\n\\t}\\n\\t// TODO remove the following if() once IE is gone!\\n\\tif ($tw.browser.isIE) {\\n\\t\\tif (this.startValue !== this.inputDomNode.value) {\\n\\t\\t\\tthis.handleChangeEvent(event);\\n\\t\\t\\tthis.startValue = this.inputDomNode.value;\\n\\t\\t}\\n\\t}\\n}\\n\\nRangeWidget.prototype.handleChangeEvent = function(event) {\\n\\tif (this.mouseDown) { // TODO refactor this function once IE is gone.\\n\\t\\tthis.handleInputEvent(event);\\n\\t}\\n};\\n\\nRangeWidget.prototype.handleInputEvent = function(event) {\\n\\tthis.handleEvent(event);\\n\\t// Trigger actions\\n\\tif(this.actionsInput) {\\n\\t\\t// \\\"tiddler\\\" parameter may be missing. See .execute() below\\n\\t\\tvar variables = this.getActionVariables({\\\"actionValueHasChanged\\\": \\\"yes\\\"}) // TODO this line will go into the function call below.\\n\\t\\tthis.invokeActionString(this.actionsInput,this,event,variables);\\n\\t}\\n};\\n\\nRangeWidget.prototype.handleEvent = function(event) {\\n\\tif(this.getValue() !== this.inputDomNode.value) {\\n\\t\\tif(this.tiddlerIndex) {\\n\\t\\t\\tthis.wiki.setText(this.tiddlerTitle,\\\"\\\",this.tiddlerIndex,this.inputDomNode.value);\\n\\t\\t} else {\\n\\t\\t\\tthis.wiki.setText(this.tiddlerTitle,this.tiddlerField,null,this.inputDomNode.value);\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRangeWidget.prototype.execute = function() {\\n\\t// TODO remove the next 1 lines once IE is gone!\\n\\tthis.mouseUp = true; // Needed for IE10\\n\\t// Get the parameters from the attributes\\n\\tthis.tiddlerTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.tiddlerField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.tiddlerIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.minValue = this.getAttribute(\\\"min\\\");\\n\\tthis.maxValue = this.getAttribute(\\\"max\\\");\\n\\tthis.increment = this.getAttribute(\\\"increment\\\");\\n\\tthis.defaultValue = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.elementClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\t// Actions since 5.1.23\\n\\t// Next 2 only fire once!\\n\\tthis.actionsMouseDown = this.getAttribute(\\\"actionsStart\\\",\\\"\\\");\\n\\tthis.actionsMouseUp = this.getAttribute(\\\"actionsStop\\\",\\\"\\\");\\n\\t// Input fires very often!\\n\\tthis.actionsInput = this.getAttribute(\\\"actions\\\",\\\"\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRangeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar refreshed = false;\\n\\t\\tif(changedTiddlers[this.tiddlerTitle]) {\\n\\t\\t\\tvar value = this.getValue();\\n\\t\\t\\tif(this.inputDomNode.value !== value) {\\n\\t\\t\\t\\tthis.inputDomNode.value = value;\\n\\t\\t\\t}\\n\\t\\t\\trefreshed = true;\\n\\t\\t}\\n\\t\\treturn this.refreshChildren(changedTiddlers) || refreshed;\\n\\t}\\n};\\n\\nexports.range = RangeWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/raw.js\":{\"title\":\"$:/core/modules/widgets/raw.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/raw.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nRaw widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar RawWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRawWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRawWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.execute();\\n\\tvar div = this.document.createElement(\\\"div\\\");\\n\\tdiv.innerHTML=this.parseTreeNode.html;\\n\\tparent.insertBefore(div,nextSibling);\\n\\tthis.domNodes.push(div);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRawWidget.prototype.execute = function() {\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRawWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn false;\\n};\\n\\nexports.raw = RawWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/reveal.js\":{\"title\":\"$:/core/modules/widgets/reveal.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/reveal.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nReveal widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\nvar RevealWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRevealWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRevealWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.revealTag && $tw.config.htmlUnsafeElements.indexOf(this.revealTag) === -1) {\\n\\t\\ttag = this.revealTag;\\n\\t}\\n\\tvar domNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\tthis.assignDomNodeClasses();\\n\\tif(this.style) {\\n\\t\\tdomNode.setAttribute(\\\"style\\\",this.style);\\n\\t}\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tif(!domNode.isTiddlyWikiFakeDom && this.type === \\\"popup\\\" && this.isOpen) {\\n\\t\\tthis.positionPopup(domNode);\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-popup\\\"); // Make sure that clicks don't dismiss popups within the revealed content\\n\\t}\\n\\tif(!this.isOpen) {\\n\\t\\tdomNode.setAttribute(\\\"hidden\\\",\\\"true\\\");\\n\\t}\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nRevealWidget.prototype.positionPopup = function(domNode) {\\n\\tdomNode.style.position = \\\"absolute\\\";\\n\\tdomNode.style.zIndex = \\\"1000\\\";\\n\\tvar left,top;\\n\\tswitch(this.position) {\\n\\t\\tcase \\\"left\\\":\\n\\t\\t\\tleft = this.popup.left - domNode.offsetWidth;\\n\\t\\t\\ttop = this.popup.top;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"above\\\":\\n\\t\\t\\tleft = this.popup.left;\\n\\t\\t\\ttop = this.popup.top - domNode.offsetHeight;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"aboveright\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width;\\n\\t\\t\\ttop = this.popup.top + this.popup.height - domNode.offsetHeight;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"belowright\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width;\\n\\t\\t\\ttop = this.popup.top + this.popup.height;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"right\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width;\\n\\t\\t\\ttop = this.popup.top;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"belowleft\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width - domNode.offsetWidth;\\n\\t\\t\\ttop = this.popup.top + this.popup.height;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"aboveleft\\\":\\n\\t\\t\\tleft = this.popup.left - domNode.offsetWidth;\\n\\t\\t\\ttop = this.popup.top - domNode.offsetHeight;\\n\\t\\t\\tbreak;\\n\\t\\tdefault: // Below\\n\\t\\t\\tleft = this.popup.left;\\n\\t\\t\\ttop = this.popup.top + this.popup.height;\\n\\t\\t\\tbreak;\\n\\t}\\n\\tif(!this.positionAllowNegative) {\\n\\t\\tleft = Math.max(0,left);\\n\\t\\ttop = Math.max(0,top);\\n\\t}\\n\\tif (this.popup.absolute) {\\n\\t\\t// Traverse the offsetParent chain and correct the offset to make it relative to the parent node.\\n\\t\\tfor (var offsetParentDomNode = domNode.offsetParent; offsetParentDomNode; offsetParentDomNode = offsetParentDomNode.offsetParent) {\\n\\t\\t\\tleft -= offsetParentDomNode.offsetLeft;\\n\\t\\t\\ttop -= offsetParentDomNode.offsetTop;\\n\\t\\t}\\n\\t}\\n\\tdomNode.style.left = left + \\\"px\\\";\\n\\tdomNode.style.top = top + \\\"px\\\";\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRevealWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.state = this.getAttribute(\\\"state\\\");\\n\\tthis.revealTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.type = this.getAttribute(\\\"type\\\");\\n\\tthis.text = this.getAttribute(\\\"text\\\");\\n\\tthis.position = this.getAttribute(\\\"position\\\");\\n\\tthis.positionAllowNegative = this.getAttribute(\\\"positionAllowNegative\\\") === \\\"yes\\\";\\n\\t// class attribute handled in assignDomNodeClasses()\\n\\tthis.style = this.getAttribute(\\\"style\\\",\\\"\\\");\\n\\tthis[\\\"default\\\"] = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.animate = this.getAttribute(\\\"animate\\\",\\\"no\\\");\\n\\tthis.retain = this.getAttribute(\\\"retain\\\",\\\"no\\\");\\n\\tthis.openAnimation = this.animate === \\\"no\\\" ? undefined : \\\"open\\\";\\n\\tthis.closeAnimation = this.animate === \\\"no\\\" ? undefined : \\\"close\\\";\\n\\tthis.updatePopupPosition = this.getAttribute(\\\"updatePopupPosition\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t// Compute the title of the state tiddler and read it\\n\\tthis.stateTiddlerTitle = this.state;\\n\\tthis.stateTitle = this.getAttribute(\\\"stateTitle\\\");\\n\\tthis.stateField = this.getAttribute(\\\"stateField\\\");\\n\\tthis.stateIndex = this.getAttribute(\\\"stateIndex\\\");\\n\\tthis.readState();\\n\\t// Construct the child widgets\\n\\tvar childNodes = this.isOpen ? this.parseTreeNode.children : [];\\n\\tthis.hasChildNodes = this.isOpen;\\n\\tthis.makeChildWidgets(childNodes);\\n};\\n\\n/*\\nRead the state tiddler\\n*/\\nRevealWidget.prototype.readState = function() {\\n\\t// Read the information from the state tiddler\\n\\tvar state,\\n\\t defaultState = this[\\\"default\\\"];\\n\\tif(this.stateTitle) {\\n\\t\\tvar stateTitleTiddler = this.wiki.getTiddler(this.stateTitle);\\n\\t\\tif(this.stateField) {\\n\\t\\t\\tstate = stateTitleTiddler ? stateTitleTiddler.getFieldString(this.stateField) || defaultState : defaultState;\\n\\t\\t} else if(this.stateIndex) {\\n\\t\\t\\tstate = stateTitleTiddler ? this.wiki.extractTiddlerDataItem(this.stateTitle,this.stateIndex) || defaultState : defaultState;\\n\\t\\t} else if(stateTitleTiddler) {\\n\\t\\t\\tstate = this.wiki.getTiddlerText(this.stateTitle) || defaultState;\\n\\t\\t} else {\\n\\t\\t\\tstate = defaultState;\\n\\t\\t}\\n\\t} else {\\n\\t\\tstate = this.stateTiddlerTitle ? this.wiki.getTextReference(this.state,this[\\\"default\\\"],this.getVariable(\\\"currentTiddler\\\")) : this[\\\"default\\\"];\\n\\t}\\n\\tif(state === null) {\\n\\t\\tstate = this[\\\"default\\\"];\\n\\t}\\n\\tswitch(this.type) {\\n\\t\\tcase \\\"popup\\\":\\n\\t\\t\\tthis.readPopupState(state);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"match\\\":\\n\\t\\t\\tthis.isOpen = this.text === state;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"nomatch\\\":\\n\\t\\t\\tthis.isOpen = this.text !== state;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"lt\\\":\\n\\t\\t\\tthis.isOpen = !!(this.compareStateText(state) < 0);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"gt\\\":\\n\\t\\t\\tthis.isOpen = !!(this.compareStateText(state) > 0);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"lteq\\\":\\n\\t\\t\\tthis.isOpen = !(this.compareStateText(state) > 0);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"gteq\\\":\\n\\t\\t\\tthis.isOpen = !(this.compareStateText(state) < 0);\\n\\t\\t\\tbreak;\\n\\t}\\n};\\n\\nRevealWidget.prototype.compareStateText = function(state) {\\n\\treturn state.localeCompare(this.text,undefined,{numeric: true,sensitivity: \\\"case\\\"});\\n};\\n\\nRevealWidget.prototype.readPopupState = function(state) {\\n\\tthis.popup = Popup.parseCoordinates(state);\\n\\t// Check if the state matches the location regexp\\n\\tif(this.popup) {\\n\\t\\t// If so, we're open\\n\\t\\tthis.isOpen = true;\\n\\t} else {\\n\\t\\t// If not, we're closed\\n\\t\\tthis.isOpen = false;\\n\\t}\\n};\\n\\nRevealWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-reveal\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRevealWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.state || changedAttributes.type || changedAttributes.text || changedAttributes.position || changedAttributes.positionAllowNegative || changedAttributes[\\\"default\\\"] || changedAttributes.animate || changedAttributes.stateTitle || changedAttributes.stateField || changedAttributes.stateIndex) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar currentlyOpen = this.isOpen;\\n\\t\\tthis.readState();\\n\\t\\tif(this.isOpen !== currentlyOpen) {\\n\\t\\t\\tif(this.retain === \\\"yes\\\") {\\n\\t\\t\\t\\tthis.updateState();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.refreshSelf();\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t} else if(this.type === \\\"popup\\\" && this.isOpen && this.updatePopupPosition && (changedTiddlers[this.state] || changedTiddlers[this.stateTitle])) {\\n\\t\\t\\tthis.positionPopup(this.domNode);\\n\\t\\t}\\n\\t\\tif(changedAttributes.style) {\\n\\t\\t\\tthis.domNode.style = this.getAttribute(\\\"style\\\",\\\"\\\");\\n\\t\\t}\\n\\t\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\t\\tthis.assignDomNodeClasses();\\n\\t\\t}\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\n/*\\nCalled by refresh() to dynamically show or hide the content\\n*/\\nRevealWidget.prototype.updateState = function() {\\n\\tvar self = this;\\n\\t// Read the current state\\n\\tthis.readState();\\n\\t// Construct the child nodes if needed\\n\\tvar domNode = this.domNodes[0];\\n\\tif(this.isOpen && !this.hasChildNodes) {\\n\\t\\tthis.hasChildNodes = true;\\n\\t\\tthis.makeChildWidgets(this.parseTreeNode.children);\\n\\t\\tthis.renderChildren(domNode,null);\\n\\t}\\n\\t// Animate our DOM node\\n\\tif(!domNode.isTiddlyWikiFakeDom && this.type === \\\"popup\\\" && this.isOpen) {\\n\\t\\tthis.positionPopup(domNode);\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-popup\\\"); // Make sure that clicks don't dismiss popups within the revealed content\\n\\n\\t}\\n\\tif(this.isOpen) {\\n\\t\\tdomNode.removeAttribute(\\\"hidden\\\");\\n $tw.anim.perform(this.openAnimation,domNode);\\n\\t} else {\\n\\t\\t$tw.anim.perform(this.closeAnimation,domNode,{callback: function() {\\n\\t\\t\\t//make sure that the state hasn't changed during the close animation\\n\\t\\t\\tself.readState()\\n\\t\\t\\tif(!self.isOpen) {\\n\\t\\t\\t\\tdomNode.setAttribute(\\\"hidden\\\",\\\"true\\\");\\n\\t\\t\\t}\\n\\t\\t}});\\n\\t}\\n};\\n\\nexports.reveal = RevealWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/scrollable.js\":{\"title\":\"$:/core/modules/widgets/scrollable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/scrollable.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nScrollable widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar DEBOUNCE_INTERVAL = 100; // Delay after last scroll event before updating the bound tiddler\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ScrollableWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nScrollableWidget.prototype = new Widget();\\n\\nScrollableWidget.prototype.cancelScroll = function() {\\n\\tif(this.idRequestFrame) {\\n\\t\\tthis.cancelAnimationFrame.call(window,this.idRequestFrame);\\n\\t\\tthis.idRequestFrame = null;\\n\\t}\\n};\\n\\n/*\\nHandle a scroll event\\n*/\\nScrollableWidget.prototype.handleScrollEvent = function(event) {\\n\\t// Pass the scroll event through if our offsetsize is larger than our scrollsize\\n\\tif(this.outerDomNode.scrollWidth <= this.outerDomNode.offsetWidth && this.outerDomNode.scrollHeight <= this.outerDomNode.offsetHeight && this.fallthrough === \\\"yes\\\") {\\n\\t\\treturn true;\\n\\t}\\n\\tvar options = {};\\n\\tif($tw.utils.hop(event.paramObject,\\\"animationDuration\\\")) {\\n\\t\\toptions.animationDuration = event.paramObject.animationDuration;\\n\\t}\\n\\tif(event.paramObject && event.paramObject.selector) {\\n\\t\\tthis.scrollSelectorIntoView(null,event.paramObject.selector,null,options);\\n\\t} else {\\n\\t\\tthis.scrollIntoView(event.target,null,options);\\n\\t}\\n\\treturn false; // Handled event\\n};\\n\\n/*\\nScroll an element into view\\n*/\\nScrollableWidget.prototype.scrollIntoView = function(element,callback,options) {\\n\\tvar duration = $tw.utils.hop(options,\\\"animationDuration\\\") ? parseInt(options.animationDuration) : $tw.utils.getAnimationDuration(),\\n\\t\\tsrcWindow = element ? element.ownerDocument.defaultView : window;\\n\\tthis.cancelScroll();\\n\\tthis.startTime = Date.now();\\n\\tvar scrollPosition = {\\n\\t\\tx: this.outerDomNode.scrollLeft,\\n\\t\\ty: this.outerDomNode.scrollTop\\n\\t};\\n\\t// Get the client bounds of the element and adjust by the scroll position\\n\\tvar scrollableBounds = this.outerDomNode.getBoundingClientRect(),\\n\\t\\tclientTargetBounds = element.getBoundingClientRect(),\\n\\t\\tbounds = {\\n\\t\\t\\tleft: clientTargetBounds.left + scrollPosition.x - scrollableBounds.left,\\n\\t\\t\\ttop: clientTargetBounds.top + scrollPosition.y - scrollableBounds.top,\\n\\t\\t\\twidth: clientTargetBounds.width,\\n\\t\\t\\theight: clientTargetBounds.height\\n\\t\\t};\\n\\t// We'll consider the horizontal and vertical scroll directions separately via this function\\n\\tvar getEndPos = function(targetPos,targetSize,currentPos,currentSize) {\\n\\t\\t\\t// If the target is already visible then stay where we are\\n\\t\\t\\tif(targetPos >= currentPos && (targetPos + targetSize) <= (currentPos + currentSize)) {\\n\\t\\t\\t\\treturn currentPos;\\n\\t\\t\\t// If the target is above/left of the current view, then scroll to its top/left\\n\\t\\t\\t} else if(targetPos <= currentPos) {\\n\\t\\t\\t\\treturn targetPos;\\n\\t\\t\\t// If the target is smaller than the window and the scroll position is too far up, then scroll till the target is at the bottom of the window\\n\\t\\t\\t} else if(targetSize < currentSize && currentPos < (targetPos + targetSize - currentSize)) {\\n\\t\\t\\t\\treturn targetPos + targetSize - currentSize;\\n\\t\\t\\t// If the target is big, then just scroll to the top\\n\\t\\t\\t} else if(currentPos < targetPos) {\\n\\t\\t\\t\\treturn targetPos;\\n\\t\\t\\t// Otherwise, stay where we are\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn currentPos;\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tendX = getEndPos(bounds.left,bounds.width,scrollPosition.x,this.outerDomNode.offsetWidth),\\n\\t\\tendY = getEndPos(bounds.top,bounds.height,scrollPosition.y,this.outerDomNode.offsetHeight);\\n\\t// Only scroll if necessary\\n\\tif(endX !== scrollPosition.x || endY !== scrollPosition.y) {\\n\\t\\tvar self = this,\\n\\t\\t\\tdrawFrame;\\n\\t\\tdrawFrame = function () {\\n\\t\\t\\tvar t;\\n\\t\\t\\tif(duration <= 0) {\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tt = ((Date.now()) - self.startTime) / duration;\\n\\t\\t\\t}\\n\\t\\t\\tif(t >= 1) {\\n\\t\\t\\t\\tself.cancelScroll();\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t}\\n\\t\\t\\tt = $tw.utils.slowInSlowOut(t);\\n\\t\\t\\tself.outerDomNode.scrollLeft = scrollPosition.x + (endX - scrollPosition.x) * t;\\n\\t\\t\\tself.outerDomNode.scrollTop = scrollPosition.y + (endY - scrollPosition.y) * t;\\n\\t\\t\\tif(t < 1) {\\n\\t\\t\\t\\tself.idRequestFrame = self.requestAnimationFrame.call(srcWindow,drawFrame);\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tdrawFrame();\\n\\t}\\n};\\n\\nScrollableWidget.prototype.scrollSelectorIntoView = function(baseElement,selector,callback,options) {\\n\\tbaseElement = baseElement || document;\\n\\tvar element = $tw.utils.querySelectorSafe(selector,baseElement);\\n\\tif(element) {\\n\\t\\tthis.scrollIntoView(element,callback,options);\\n\\t}\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nScrollableWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\tthis.scaleFactor = 1;\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-scroll\\\", handler: \\\"handleScrollEvent\\\"}\\n\\t]);\\n\\tif($tw.browser) {\\n\\t\\tthis.requestAnimationFrame = window.requestAnimationFrame ||\\n\\t\\t\\twindow.webkitRequestAnimationFrame ||\\n\\t\\t\\twindow.mozRequestAnimationFrame ||\\n\\t\\t\\tfunction(callback) {\\n\\t\\t\\t\\treturn window.setTimeout(callback, 1000/60);\\n\\t\\t\\t};\\n\\t\\tthis.cancelAnimationFrame = window.cancelAnimationFrame ||\\n\\t\\t\\twindow.webkitCancelAnimationFrame ||\\n\\t\\t\\twindow.webkitCancelRequestAnimationFrame ||\\n\\t\\t\\twindow.mozCancelAnimationFrame ||\\n\\t\\t\\twindow.mozCancelRequestAnimationFrame ||\\n\\t\\t\\tfunction(id) {\\n\\t\\t\\t\\twindow.clearTimeout(id);\\n\\t\\t\\t};\\n\\t}\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create elements\\n\\tthis.outerDomNode = this.document.createElement(\\\"div\\\");\\n\\t$tw.utils.setStyle(this.outerDomNode,[\\n\\t\\t{overflowY: \\\"auto\\\"},\\n\\t\\t{overflowX: \\\"auto\\\"},\\n\\t\\t{webkitOverflowScrolling: \\\"touch\\\"}\\n\\t]);\\n\\tthis.innerDomNode = this.document.createElement(\\\"div\\\");\\n\\tthis.outerDomNode.appendChild(this.innerDomNode);\\n\\t// Assign classes\\n\\tthis.outerDomNode.className = this[\\\"class\\\"] || \\\"\\\";\\n\\t// Insert element\\n\\tparent.insertBefore(this.outerDomNode,nextSibling);\\n\\tthis.renderChildren(this.innerDomNode,null);\\n\\tthis.domNodes.push(this.outerDomNode);\\n\\t// If the scroll position is bound to a tiddler\\n\\tif(this.scrollableBind) {\\n\\t\\t// After a delay for rendering, scroll to the bound position\\n\\t\\tthis.updateScrollPositionFromBoundTiddler();\\n\\t\\t// Set up event listener\\n\\t\\tthis.currentListener = this.listenerFunction.bind(this);\\n\\t\\tthis.outerDomNode.addEventListener(\\\"scroll\\\", this.currentListener);\\n\\t}\\n};\\n\\nScrollableWidget.prototype.listenerFunction = function(event) {\\n\\tself = this;\\n\\tclearTimeout(this.timeout);\\n\\tthis.timeout = setTimeout(function() {\\n\\t\\tvar existingTiddler = self.wiki.getTiddler(self.scrollableBind),\\n\\t\\t\\tnewTiddlerFields = {\\n\\t\\t\\t\\ttitle: self.scrollableBind,\\n\\t\\t\\t\\t\\\"scroll-left\\\": self.outerDomNode.scrollLeft.toString(),\\n\\t\\t\\t\\t\\\"scroll-top\\\": self.outerDomNode.scrollTop.toString()\\n\\t\\t\\t};\\n\\t\\tif(!existingTiddler || (existingTiddler.fields[\\\"title\\\"] !== newTiddlerFields[\\\"title\\\"]) || (existingTiddler.fields[\\\"scroll-left\\\"] !== newTiddlerFields[\\\"scroll-left\\\"] || existingTiddler.fields[\\\"scroll-top\\\"] !== newTiddlerFields[\\\"scroll-top\\\"])) {\\n\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler(existingTiddler,newTiddlerFields));\\n\\t\\t}\\n\\t}, DEBOUNCE_INTERVAL);\\n}\\n\\nScrollableWidget.prototype.updateScrollPositionFromBoundTiddler = function() {\\n\\t// Bail if we're running on the fakedom\\n\\tif(!this.outerDomNode.scrollTo) {\\n\\t\\treturn;\\n\\t}\\n\\tvar tiddler = this.wiki.getTiddler(this.scrollableBind);\\n\\tif(tiddler) {\\n\\t\\tvar scrollLeftTo = this.outerDomNode.scrollLeft;\\n\\t\\tif(parseFloat(tiddler.fields[\\\"scroll-left\\\"]).toString() === tiddler.fields[\\\"scroll-left\\\"]) {\\n\\t\\t\\tscrollLeftTo = parseFloat(tiddler.fields[\\\"scroll-left\\\"]);\\n\\t\\t}\\n\\t\\tvar scrollTopTo = this.outerDomNode.scrollTop;\\n\\t\\tif(parseFloat(tiddler.fields[\\\"scroll-top\\\"]).toString() === tiddler.fields[\\\"scroll-top\\\"]) {\\n\\t\\t\\tscrollTopTo = parseFloat(tiddler.fields[\\\"scroll-top\\\"]);\\n\\t\\t}\\n\\t\\tthis.outerDomNode.scrollTo({\\n\\t\\t\\ttop: scrollTopTo,\\n\\t\\t\\tleft: scrollLeftTo,\\n\\t\\t\\tbehavior: \\\"instant\\\"\\n\\t\\t})\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nScrollableWidget.prototype.execute = function() {\\n\\t// Get attributes\\n\\tthis.scrollableBind = this.getAttribute(\\\"bind\\\");\\n\\tthis.fallthrough = this.getAttribute(\\\"fallthrough\\\",\\\"yes\\\");\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nScrollableWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\t// If the bound tiddler has changed, update the eventListener and update scroll position\\n\\tif(changedAttributes[\\\"bind\\\"]) {\\n\\t\\tif(this.currentListener) {\\n\\t\\t\\tthis.outerDomNode.removeEventListener(\\\"scroll\\\", this.currentListener, false);\\n\\t\\t}\\n\\t\\tthis.scrollableBind = this.getAttribute(\\\"bind\\\");\\n\\t\\tthis.currentListener = this.listenerFunction.bind(this);\\n\\t\\tthis.outerDomNode.addEventListener(\\\"scroll\\\", this.currentListener);\\n\\t}\\n\\t// Refresh children\\n\\tvar result = this.refreshChildren(changedTiddlers);\\n\\t// If the bound tiddler has changed, update scroll position\\n\\tif(changedAttributes[\\\"bind\\\"] || changedTiddlers[this.getAttribute(\\\"bind\\\")]) {\\n\\t\\tthis.updateScrollPositionFromBoundTiddler();\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.scrollable = ScrollableWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/select.js\":{\"title\":\"$:/core/modules/widgets/select.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/select.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSelect widget:\\n\\n```\\n<$select tiddler=\\\"MyTiddler\\\" field=\\\"text\\\">\\n<$list filter=\\\"[tag[chapter]]\\\">\\n<option value=<<currentTiddler>>>\\n<$view field=\\\"description\\\"/>\\n</option>\\n</$list>\\n</$select>\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SelectWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSelectWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSelectWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t//Create element\\n\\tvar domNode = this.document.createElement(\\\"select\\\");\\n\\tif(this.selectClass) {\\n\\t\\tdomNode.className = this.selectClass;\\n\\t}\\n\\t// Assign data- attributes\\n\\tthis.assignAttributes(domNode,{\\n\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\tdestPrefix: \\\"data-\\\"\\n\\t});\\n\\tif(this.selectMultiple) {\\n\\t\\tdomNode.setAttribute(\\\"multiple\\\",\\\"multiple\\\");\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tdomNode.setAttribute(\\\"disabled\\\", true);\\n\\t}\\n\\tif(this.selectSize) {\\n\\t\\tdomNode.setAttribute(\\\"size\\\",this.selectSize);\\n\\t}\\n\\tif(this.selectTabindex) {\\n\\t\\tdomNode.setAttribute(\\\"tabindex\\\",this.selectTabindex);\\n\\t}\\n\\tif(this.selectTooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.selectTooltip);\\n\\t}\\n\\tthis.parentDomNode.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n\\tthis.setSelectValue();\\n\\tif(this.selectFocus == \\\"yes\\\") {\\n\\t\\tthis.getSelectDomNode().focus();\\n\\t}\\n\\t$tw.utils.addEventListeners(this.getSelectDomNode(),[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n};\\n\\n/*\\nHandle a change event\\n*/\\nSelectWidget.prototype.handleChangeEvent = function(event) {\\n\\t// Get the new value and assign it to the tiddler\\n\\tif(this.selectMultiple == false) {\\n\\t\\tvar value = this.getSelectDomNode().value;\\n\\t} else {\\n\\t\\tvar value = this.getSelectValues()\\n\\t\\t\\t\\tvalue = $tw.utils.stringifyList(value);\\n\\t}\\n\\tthis.wiki.setText(this.selectTitle,this.selectField,this.selectIndex,value);\\n\\t// Trigger actions\\n\\tif(this.selectActions) {\\n\\t\\tthis.invokeActionString(this.selectActions,this,event);\\n\\t}\\n};\\n\\n/*\\nIf necessary, set the value of the select element to the current value\\n*/\\nSelectWidget.prototype.setSelectValue = function() {\\n\\tvar value = this.selectDefault;\\n\\t// Get the value\\n\\tif(this.selectIndex) {\\n\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.selectTitle,this.selectIndex,value);\\n\\t} else {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.selectTitle);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(this.selectField === \\\"text\\\") {\\n\\t\\t\\t\\t// Calling getTiddlerText() triggers lazy loading of skinny tiddlers\\n\\t\\t\\t\\tvalue = this.wiki.getTiddlerText(this.selectTitle);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.selectField)) {\\n\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(this.selectField);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tif(this.selectField === \\\"title\\\") {\\n\\t\\t\\t\\tvalue = this.selectTitle;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Assign it to the select element if it's different than the current value\\n\\tif (this.selectMultiple) {\\n\\t\\tvalue = value === undefined ? \\\"\\\" : value;\\n\\t\\tvar select = this.getSelectDomNode();\\n\\t\\tvar values = Array.isArray(value) ? value : $tw.utils.parseStringArray(value);\\n\\t\\tfor(var i=0; i < select.children.length; i++){\\n\\t\\t\\tselect.children[i].selected = values.indexOf(select.children[i].value) !== -1\\n\\t\\t}\\n\\t} else {\\n\\t\\tvar domNode = this.getSelectDomNode();\\n\\t\\tif(domNode.value !== value) {\\n\\t\\t\\tdomNode.value = value;\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nGet the DOM node of the select element\\n*/\\nSelectWidget.prototype.getSelectDomNode = function() {\\n\\treturn this.domNodes[0];\\n};\\n\\n// Return an array of the selected opion values\\n// select is an HTML select element\\nSelectWidget.prototype.getSelectValues = function() {\\n\\tvar select, result, options, opt;\\n\\tselect = this.getSelectDomNode();\\n\\tresult = [];\\n\\toptions = select && select.options;\\n\\tfor (var i=0; i<options.length; i++) {\\n\\t\\topt = options[i];\\n\\t\\tif (opt.selected) {\\n\\t\\t\\tresult.push(opt.value || opt.text);\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n}\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSelectWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.selectActions = this.getAttribute(\\\"actions\\\");\\n\\tthis.selectTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.selectField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.selectIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.selectClass = this.getAttribute(\\\"class\\\");\\n\\tthis.selectDefault = this.getAttribute(\\\"default\\\");\\n\\tthis.selectMultiple = this.getAttribute(\\\"multiple\\\", false);\\n\\tthis.selectSize = this.getAttribute(\\\"size\\\");\\n\\tthis.selectTabindex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.selectTooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.selectFocus = this.getAttribute(\\\"focus\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nSelectWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\t// If we're using a different tiddler/field/index then completely refresh ourselves\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tooltip || changedAttributes.tabindex || changedAttributes.disabled) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tif(changedAttributes.class) {\\n\\t\\t\\tthis.selectClass = this.getAttribute(\\\"class\\\");\\n\\t\\t\\tthis.getSelectDomNode().setAttribute(\\\"class\\\",this.selectClass); \\n\\t\\t}\\n\\t\\tthis.assignAttributes(this.getSelectDomNode(),{\\n\\t\\t\\tchangedAttributes: changedAttributes,\\n\\t\\t\\tsourcePrefix: \\\"data-\\\",\\n\\t\\t\\tdestPrefix: \\\"data-\\\"\\n\\t\\t});\\n\\t\\tvar childrenRefreshed = this.refreshChildren(changedTiddlers);\\n\\t\\t// If the target tiddler value has changed, just update setting and refresh the children\\n\\t\\tif(changedTiddlers[this.selectTitle] || childrenRefreshed) {\\n\\t\\t\\tthis.setSelectValue();\\n\\t\\t} \\n\\t\\treturn childrenRefreshed;\\n\\t}\\n};\\n\\nexports.select = SelectWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/setmultiplevariables.js\":{\"title\":\"$:/core/modules/widgets/setmultiplevariables.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/setmultiplevariables.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to set multiple variables at once from a list of names and a list of values\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetMultipleVariablesWidget = function(parseTreeNode,options) {\\n this.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetMultipleVariablesWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetMultipleVariablesWidget.prototype.render = function(parent,nextSibling) {\\n this.parentDomNode = parent;\\n this.computeAttributes();\\n this.execute();\\n this.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetMultipleVariablesWidget.prototype.execute = function() {\\n // Setup our variables\\n this.setVariables();\\n // Construct the child widgets\\n this.makeChildWidgets();\\n};\\n\\n\\nSetMultipleVariablesWidget.prototype.setVariables = function() {\\n // Set the variables\\n var self = this,\\n filterNames = this.getAttribute(\\\"$names\\\",\\\"\\\"),\\n filterValues = this.getAttribute(\\\"$values\\\",\\\"\\\");\\n this.variableNames = [];\\n this.variableValues = [];\\n if(filterNames && filterValues) {\\n this.variableNames = this.wiki.filterTiddlers(filterNames,this);\\n this.variableValues = this.wiki.filterTiddlers(filterValues,this);\\n $tw.utils.each(this.variableNames,function(varname,index) {\\n self.setVariable(varname,self.variableValues[index]);\\n });\\n }\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSetMultipleVariablesWidget.prototype.refresh = function(changedTiddlers) {\\n var filterNames = this.getAttribute(\\\"$names\\\",\\\"\\\"),\\n filterValues = this.getAttribute(\\\"$values\\\",\\\"\\\"),\\n variableNames = this.wiki.filterTiddlers(filterNames,this),\\n variableValues = this.wiki.filterTiddlers(filterValues,this);\\n if(!$tw.utils.isArrayEqual(this.variableNames,variableNames) || !$tw.utils.isArrayEqual(this.variableValues,variableValues)) {\\n this.refreshSelf();\\n return true;\\n }\\n return this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"setmultiplevariables\\\"] = SetMultipleVariablesWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/set.js\":{\"title\":\"$:/core/modules/widgets/set.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/set.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSet variable widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.setName = this.getAttribute(\\\"name\\\",\\\"currentTiddler\\\");\\n\\tthis.setFilter = this.getAttribute(\\\"filter\\\");\\n\\tthis.setSelect = this.getAttribute(\\\"select\\\");\\n\\tthis.setTiddler = this.getAttribute(\\\"tiddler\\\");\\n\\tthis.setSubTiddler = this.getAttribute(\\\"subtiddler\\\");\\n\\tthis.setField = this.getAttribute(\\\"field\\\");\\n\\tthis.setIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.setValue = this.getAttribute(\\\"value\\\");\\n\\tthis.setEmptyValue = this.getAttribute(\\\"emptyValue\\\");\\n\\t// Set context variable\\n\\tif(this.parseTreeNode.isMacroDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,true);\\n\\t} else if(this.parseTreeNode.isFunctionDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,undefined,{isFunctionDefinition: true});\\n\\t} else if(this.parseTreeNode.isProcedureDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,undefined,{isProcedureDefinition: true, configTrimWhiteSpace: this.parseTreeNode.configTrimWhiteSpace});\\n\\t} else if(this.parseTreeNode.isWidgetDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,undefined,{isWidgetDefinition: true, configTrimWhiteSpace: this.parseTreeNode.configTrimWhiteSpace});\\n\\t} else {\\n\\t\\tthis.setVariable(this.setName,this.getValue());\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nGet the value to be assigned\\n*/\\nSetWidget.prototype.getValue = function() {\\n\\tvar value = this.setValue;\\n\\tif(this.setTiddler) {\\n\\t\\tvar tiddler;\\n\\t\\tif(this.setSubTiddler) {\\n\\t\\t\\ttiddler = this.wiki.getSubTiddler(this.setTiddler,this.setSubTiddler);\\n\\t\\t} else {\\n\\t\\t\\ttiddler = this.wiki.getTiddler(this.setTiddler);\\n\\t\\t}\\n\\t\\tif(!tiddler) {\\n\\t\\t\\tvalue = this.setEmptyValue;\\n\\t\\t} else if(this.setField) {\\n\\t\\t\\tvalue = tiddler.getFieldString(this.setField) || this.setEmptyValue;\\n\\t\\t} else if(this.setIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.setTiddler,this.setIndex,this.setEmptyValue);\\n\\t\\t} else {\\n\\t\\t\\tvalue = tiddler.fields.text || this.setEmptyValue ;\\n\\t\\t}\\n\\t} else if(this.setFilter) {\\n\\t\\tvar results = this.wiki.filterTiddlers(this.setFilter,this);\\n\\t\\tif(this.setValue == null) {\\n\\t\\t\\tvar select;\\n\\t\\t\\tif(this.setSelect) {\\n\\t\\t\\t\\tselect = parseInt(this.setSelect,10);\\n\\t\\t\\t}\\n\\t\\t\\tif(select !== undefined) {\\n\\t\\t\\t\\tvalue = results[select] || \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvalue = $tw.utils.stringifyList(results);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(results.length === 0 && this.setEmptyValue !== undefined) {\\n\\t\\t\\tvalue = this.setEmptyValue;\\n\\t\\t}\\n\\t} else if(!value && this.setEmptyValue) {\\n\\t\\tvalue = this.setEmptyValue;\\n\\t}\\n\\treturn value || \\\"\\\";\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nSetWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name || changedAttributes.filter || changedAttributes.select || changedAttributes.tiddler || (this.setTiddler && changedTiddlers[this.setTiddler]) || changedAttributes.field || changedAttributes.index || changedAttributes.value || changedAttributes.emptyValue ||\\n\\t (this.setFilter && this.getValue() != this.variables[this.setName].value)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.setvariable = SetWidget;\\nexports.set = SetWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/slot.js\":{\"title\":\"$:/core/modules/widgets/slot.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/slot.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget for definition of slots within transcluded content. The values provided by the translusion are passed to the slot.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n\\tTranscludeWidget = require(\\\"$:/core/modules/widgets/transclude.js\\\").transclude;\\n\\nvar SlotWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSlotWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSlotWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Call the constructor\\n\\tWidget.call(this);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSlotWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\tthis.slotName = this.getAttribute(\\\"$name\\\");\\n\\tthis.slotDepth = parseInt(this.getAttribute(\\\"$depth\\\",\\\"1\\\"),10) || 1;\\n\\t// Find the parent transclusions\\n\\tvar pointer = this.parentWidget,\\n\\t\\tdepth = this.slotDepth;\\n\\twhile(pointer) {\\n\\t\\tif(pointer instanceof TranscludeWidget && pointer.hasVisibleSlots()) {\\n\\t\\t\\tdepth--;\\n\\t\\t\\tif(depth <= 0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tpointer = pointer.parentWidget;\\n\\t}\\n\\tvar parseTreeNodes = [{type: \\\"text\\\", attributes: {text: {type: \\\"string\\\", value: \\\"Missing slot reference!\\\"}}}];\\n\\tif(pointer instanceof TranscludeWidget) {\\n\\t\\t// Get the parse tree nodes comprising the slot contents\\n\\t\\tparseTreeNodes = pointer.getTransclusionSlotFill(this.slotName,this.parseTreeNode.children);\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSlotWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$name\\\"] || changedAttributes[\\\"$depth\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.slot = SlotWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/testcase.js\":{\"title\":\"$:/core/modules/widgets/testcase.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/testcase.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to display a test case\\n\\n\\\\*/\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TestCaseWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTestCaseWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTestCaseWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create container DOM node\\n\\tvar domNode = this.document.createElement(\\\"div\\\");\\n\\tdomNode.setAttribute(\\\"class\\\", \\\"tc-test-case \\\" + this.testcaseClass);\\n\\tthis.domNodes.push(domNode);\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\t// Render the children into a hidden DOM node\\n\\tvar parser = {\\n\\t\\ttree: [{\\n\\t\\t\\ttype: \\\"widget\\\",\\n\\t\\t\\tattributes: {},\\n\\t\\t\\torderedAttributes: [],\\n\\t\\t\\tchildren: this.parseTreeNode.children || []\\n\\t\\t}]\\n\\t};\\n\\tthis.contentRoot = this.wiki.makeWidget(parser,{\\n\\t\\tdocument: $tw.fakeDocument,\\n\\t\\tparentWidget: this\\n\\t});\\n\\tthis.contentContainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\tthis.contentRoot.render(this.contentContainer,null);\\n\\t// Create a wiki\\n\\tthis.testcaseWiki = new $tw.Wiki();\\n\\t// Always load the core plugin\\n\\tvar loadTiddler = function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tself.testcaseWiki.addTiddler(tiddler);\\n\\t\\t}\\n\\t}\\n\\tloadTiddler(\\\"$:/core\\\");\\n\\tloadTiddler(\\\"$:/plugins/tiddlywiki/codemirror\\\");\\n\\t// Load tiddlers from child data widgets\\n\\tvar tiddlers = [];\\n\\tthis.findChildrenDataWidgets(this.contentRoot.children,\\\"data\\\",function(widget) {\\n\\t\\tArray.prototype.push.apply(tiddlers,widget.readDataTiddlerValues());\\n\\t});\\n\\tvar jsonPayload = JSON.stringify(tiddlers);\\n\\tthis.testcaseWiki.addTiddlers(tiddlers);\\n\\t// Unpack plugin tiddlers\\n\\tthis.testcaseWiki.readPluginInfo();\\n\\tthis.testcaseWiki.registerPluginTiddlers(\\\"plugin\\\");\\n\\tthis.testcaseWiki.unpackPluginTiddlers();\\n\\tthis.testcaseWiki.addIndexersToWiki();\\n\\t// Generate a `transclusion` variable that depends on the values of the payload tiddlers so that the template can easily make unique state tiddlers\\n\\tthis.setVariable(\\\"transclusion\\\",$tw.utils.hashString(jsonPayload));\\n\\t// Generate a `payloadTiddlers` variable that contains the payload in JSON format\\n\\tthis.setVariable(\\\"payloadTiddlers\\\",jsonPayload);\\n\\t// Only run the tests if the testcase output and expected results were specified, and those tiddlers actually exist in the wiki\\n\\tvar shouldRunTests = false;\\n\\tif(this.testcaseTestOutput && this.testcaseWiki.tiddlerExists(this.testcaseTestOutput) && this.testcaseTestExpectedResult && this.testcaseWiki.tiddlerExists(this.testcaseTestExpectedResult)) {\\n\\t\\tshouldRunTests = true;\\n\\t}\\n\\t// Render the test rendering if required\\n\\tif(shouldRunTests) {\\n\\t\\tvar testcaseOutputContainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\tvar testcaseOutputWidget = this.testcaseWiki.makeTranscludeWidget(this.testcaseTestOutput,{\\n\\t\\t\\tdocument: $tw.fakeDocument,\\n\\t\\t\\tparseAsInline: false,\\n\\t\\t\\tparentWidget: this,\\n\\t\\t\\tvariables: {\\n\\t\\t\\t\\tcurrentTiddler: this.testcaseTestOutput\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\ttestcaseOutputWidget.render(testcaseOutputContainer);\\n\\t}\\n\\t// Clear changes queue\\n\\tthis.testcaseWiki.clearTiddlerEventQueue();\\n\\t// Run the actions if provided\\n\\tif(this.testcaseWiki.tiddlerExists(this.testcaseTestActions)) {\\n\\t\\ttestcaseOutputWidget.invokeActionString(this.testcaseWiki.getTiddlerText(this.testcaseTestActions));\\n\\t\\ttestcaseOutputWidget.refresh(this.testcaseWiki.changedTiddlers,testcaseOutputContainer);\\n\\t}\\n\\t// Set up the test result variables\\n\\tvar testResult = \\\"\\\",\\n\\t\\toutputHTML = \\\"\\\",\\n\\t\\texpectedHTML = \\\"\\\";\\n\\tif(shouldRunTests) {\\n\\t\\toutputHTML = testcaseOutputContainer.children[0].innerHTML;\\n\\t\\texpectedHTML = this.testcaseWiki.getTiddlerText(this.testcaseTestExpectedResult);\\n\\t\\tif(outputHTML === expectedHTML) {\\n\\t\\t\\ttestResult = \\\"pass\\\";\\n\\t\\t} else {\\n\\t\\t\\ttestResult = \\\"fail\\\";\\n\\t\\t}\\n\\t\\tthis.setVariable(\\\"outputHTML\\\",outputHTML);\\n\\t\\tthis.setVariable(\\\"expectedHTML\\\",expectedHTML);\\n\\t\\tthis.setVariable(\\\"testResult\\\",testResult);\\n\\t\\tthis.setVariable(\\\"currentTiddler\\\",this.testcaseTestOutput);\\n\\t}\\n\\t// Don't display anything if testHideIfPass is \\\"yes\\\" and the tests have passed\\n\\tif(this.testcaseHideIfPass === \\\"yes\\\" && testResult !== \\\"fail\\\") {\\n\\t\\treturn;\\n\\t}\\n\\t// Render the page root template of the subwiki\\n\\tvar rootWidget = this.testcaseWiki.makeTranscludeWidget(this.testcaseTemplate,{\\n\\t\\tdocument: this.document,\\n\\t\\tparseAsInline: false,\\n\\t\\tparentWidget: this\\n\\t});\\n\\trootWidget.render(domNode);\\n\\t// Trap changes in the wiki and refresh the rendering\\n\\tthis.testcaseWiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\trootWidget.refresh(changes,domNode);\\n\\t});\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTestCaseWidget.prototype.execute = function() {\\n\\tthis.testcaseTemplate = this.getAttribute(\\\"template\\\",\\\"$:/core/ui/testcases/DefaultTemplate\\\");\\n\\tthis.testcaseTestOutput = this.getAttribute(\\\"testOutput\\\");\\n\\tthis.testcaseTestActions = this.getAttribute(\\\"testActions\\\");\\n\\tthis.testcaseTestExpectedResult = this.getAttribute(\\\"testExpectedResult\\\");\\n\\tthis.testcaseHideIfPass = this.getAttribute(\\\"testHideIfPass\\\");\\n\\tthis.testcaseClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTestCaseWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.contentRoot.refresh(changedTiddlers);\\n\\t}\\n};\\n\\nexports[\\\"testcase\\\"] = TestCaseWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/text.js\":{\"title\":\"$:/core/modules/widgets/text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/text.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nText node widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TextNodeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTextNodeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTextNodeWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar text = this.getAttribute(\\\"text\\\",this.parseTreeNode.text || \\\"\\\");\\n\\ttext = text.replace(/\\\\r/mg,\\\"\\\");\\n\\tvar textNode = this.document.createTextNode(text);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTextNodeWidget.prototype.execute = function() {\\n\\t// Nothing to do for a text node\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTextNodeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.text) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.text = TextNodeWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/tiddler.js\":{\"title\":\"$:/core/modules/widgets/tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/tiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nTiddler widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTiddlerWidget.prototype.execute = function() {\\n\\tthis.tiddlerState = this.computeTiddlerState();\\n\\tthis.setVariable(\\\"currentTiddler\\\",this.tiddlerState.currentTiddler);\\n\\tthis.setVariable(\\\"missingTiddlerClass\\\",this.tiddlerState.missingTiddlerClass);\\n\\tthis.setVariable(\\\"shadowTiddlerClass\\\",this.tiddlerState.shadowTiddlerClass);\\n\\tthis.setVariable(\\\"systemTiddlerClass\\\",this.tiddlerState.systemTiddlerClass);\\n\\tthis.setVariable(\\\"tiddlerTagClasses\\\",this.tiddlerState.tiddlerTagClasses);\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nCompute the tiddler state flags\\n*/\\nTiddlerWidget.prototype.computeTiddlerState = function() {\\n\\t// Get our parameters\\n\\tthis.tiddlerTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t// Compute the state\\n\\tvar state = {\\n\\t\\tcurrentTiddler: this.tiddlerTitle || \\\"\\\",\\n\\t\\tmissingTiddlerClass: (this.wiki.tiddlerExists(this.tiddlerTitle) || this.wiki.isShadowTiddler(this.tiddlerTitle)) ? \\\"tc-tiddler-exists\\\" : \\\"tc-tiddler-missing\\\",\\n\\t\\tshadowTiddlerClass: this.wiki.isShadowTiddler(this.tiddlerTitle) ? \\\"tc-tiddler-shadow\\\" : \\\"\\\",\\n\\t\\tsystemTiddlerClass: this.wiki.isSystemTiddler(this.tiddlerTitle) ? \\\"tc-tiddler-system\\\" : \\\"\\\",\\n\\t\\ttiddlerTagClasses: this.getTagClasses()\\n\\t};\\n\\t// Compute a simple hash to make it easier to detect changes\\n\\tstate.hash = state.currentTiddler + state.missingTiddlerClass + state.shadowTiddlerClass + state.systemTiddlerClass + state.tiddlerTagClasses;\\n\\treturn state;\\n};\\n\\n/*\\nCreate a string of CSS classes derived from the tags of the current tiddler\\n*/\\nTiddlerWidget.prototype.getTagClasses = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\\n\\tif(tiddler) {\\n\\t\\tvar tags = [];\\n\\t\\t$tw.utils.each(tiddler.fields.tags,function(tag) {\\n\\t\\t\\ttags.push(\\\"tc-tagged-\\\" + encodeURIComponent(tag));\\n\\t\\t});\\n\\t\\treturn tags.join(\\\" \\\");\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tnewTiddlerState = this.computeTiddlerState();\\n\\tif(changedAttributes.tiddler || newTiddlerState.hash !== this.tiddlerState.hash) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.tiddler = TiddlerWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/transclude.js\":{\"title\":\"$:/core/modules/widgets/transclude.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/transclude.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nTransclude widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TranscludeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTranscludeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTranscludeWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\ttry {\\n\\t\\tthis.renderChildren(parent,nextSibling);\\n\\t} catch(error) {\\n\\t\\tif(error instanceof $tw.utils.TranscludeRecursionError) {\\n\\t\\t\\t// We were infinite looping.\\n\\t\\t\\t// We need to try and abort as much of the loop as we can, so we will keep \\\"throwing\\\" upward until we find a transclusion that has a different signature.\\n\\t\\t\\t// Hopefully that will land us just outside where the loop began. That's where we want to issue an error.\\n\\t\\t\\t// Rendering widgets beneath this point may result in a freezing browser if they explode exponentially.\\n\\t\\t\\tvar transcludeSignature = this.getVariable(\\\"transclusion\\\");\\n\\t\\t\\tif(this.getAncestorCount() > $tw.utils.TranscludeRecursionError.MAX_WIDGET_TREE_DEPTH - 50) {\\n\\t\\t\\t\\t// For the first fifty transcludes we climb up, we simply collect signatures.\\n\\t\\t\\t\\t// We're assuming that those first 50 will likely include all transcludes involved in the loop.\\n\\t\\t\\t\\terror.signatures[transcludeSignature] = true;\\n\\t\\t\\t} else if(!error.signatures[transcludeSignature]) {\\n\\t\\t\\t\\t// Now that we're past the first 50, let's look for the first signature that wasn't in the loop. That'll be where we print the error and resume rendering.\\n\\t\\t\\t\\tthis.children = [this.makeChildWidget({type: \\\"error\\\", attributes: {\\n\\t\\t\\t\\t\\t\\\"$message\\\": {type: \\\"string\\\", value: $tw.language.getString(\\\"Error/RecursiveTransclusion\\\")}\\n\\t\\t\\t\\t}})];\\n\\t\\t\\t\\tthis.renderChildren(parent,nextSibling);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthrow error;\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTranscludeWidget.prototype.execute = function() {\\n\\t// Get our attributes, string parameters, and slot values into properties of the widget object\\n\\tthis.collectAttributes();\\n\\tthis.collectStringParameters();\\n\\tthis.collectSlotFillParameters();\\n\\t// Determine whether we're being used in inline or block mode\\n\\tvar parseAsInline = !this.parseTreeNode.isBlock;\\n\\tif(this.transcludeMode === \\\"inline\\\") {\\n\\t\\tparseAsInline = true;\\n\\t} else if(this.transcludeMode === \\\"block\\\") {\\n\\t\\tparseAsInline = false;\\n\\t}\\n\\t// Set 'thisTiddler'\\n\\tthis.setVariable(\\\"thisTiddler\\\",this.transcludeTitle);\\n\\tvar parseTreeNodes, target;\\n\\t// Process the transclusion according to the output type\\n\\tswitch(this.transcludeOutput || \\\"text/html\\\") {\\n\\t\\tcase \\\"text/html\\\":\\n\\t\\t\\t// Return the parse tree nodes of the target\\n\\t\\t\\ttarget = this.parseTransclusionTarget(parseAsInline);\\n\\t\\t\\tthis.parseAsInline = target.parseAsInline;\\n\\t\\t\\tparseTreeNodes = target.parseTreeNodes;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"text/raw\\\":\\n\\t\\t\\t// Just return the raw text\\n\\t\\t\\ttarget = this.getTransclusionTarget();\\n\\t\\t\\tparseTreeNodes = [{type: \\\"text\\\", text: target.text}];\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\t// \\\"text/plain\\\" is the plain text result of wikifying the text\\n\\t\\t\\ttarget = this.parseTransclusionTarget(parseAsInline);\\n\\t\\t\\tvar widgetNode = this.wiki.makeWidget(target.parser,{\\n\\t\\t\\t\\tparentWidget: this,\\n\\t\\t\\t\\tdocument: $tw.fakeDocument\\n\\t\\t\\t});\\n\\t\\t\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\t\\twidgetNode.render(container,null);\\n\\t\\t\\tparseTreeNodes = [{type: \\\"text\\\", text: container.textContent}];\\n\\t\\t\\tbreak;\\n\\t}\\n\\tthis.sourceText = target.text;\\n\\tthis.parserType = target.type;\\n\\tthis._canonical_uri = target._canonical_uri;\\n\\t// Set the legacy transclusion context variables only if we're not transcluding a variable\\n\\tif(!this.transcludeVariable) {\\n\\t\\tvar recursionMarker = this.makeRecursionMarker();\\n\\t\\tthis.setVariable(\\\"transclusion\\\",recursionMarker);\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nCollect the attributes we need, in the process determining whether we're being used in legacy mode\\n*/\\nTranscludeWidget.prototype.collectAttributes = function() {\\n\\tvar self = this;\\n\\t// Detect legacy mode\\n\\tthis.legacyMode = true;\\n\\t$tw.utils.each(this.attributes,function(value,name) {\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tself.legacyMode = false;\\n\\t\\t}\\n\\t});\\n\\t// Get the attributes for the appropriate mode\\n\\tif(this.legacyMode) {\\n\\t\\tthis.transcludeTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\tthis.transcludeSubTiddler = this.getAttribute(\\\"subtiddler\\\");\\n\\t\\tthis.transcludeField = this.getAttribute(\\\"field\\\");\\n\\t\\tthis.transcludeIndex = this.getAttribute(\\\"index\\\");\\n\\t\\tthis.transcludeMode = this.getAttribute(\\\"mode\\\");\\n\\t\\tthis.recursionMarker = this.getAttribute(\\\"recursionMarker\\\",\\\"yes\\\");\\n\\t} else {\\n\\t\\tthis.transcludeVariable = this.getAttribute(\\\"$variable\\\");\\n\\t\\tthis.transcludeVariableIsFunction = false;\\n\\t\\tthis.transcludeType = this.getAttribute(\\\"$type\\\");\\n\\t\\tthis.transcludeOutput = this.getAttribute(\\\"$output\\\",\\\"text/html\\\");\\n\\t\\tthis.transcludeTitle = this.getAttribute(\\\"$tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\tthis.transcludeSubTiddler = this.getAttribute(\\\"$subtiddler\\\");\\n\\t\\tthis.transcludeField = this.getAttribute(\\\"$field\\\");\\n\\t\\tthis.transcludeIndex = this.getAttribute(\\\"$index\\\");\\n\\t\\tthis.transcludeMode = this.getAttribute(\\\"$mode\\\");\\n\\t\\tthis.recursionMarker = this.getAttribute(\\\"$recursionMarker\\\",\\\"yes\\\");\\n\\t}\\n};\\n\\n/*\\nCollect string parameters\\n*/\\nTranscludeWidget.prototype.collectStringParameters = function() {\\n\\tvar self = this;\\n\\tthis.stringParametersByName = Object.create(null);\\n\\tif(!this.legacyMode) {\\n\\t\\t$tw.utils.each(this.attributes,function(value,name) {\\n\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\tif(name.charAt(1) === \\\"$\\\") {\\n\\t\\t\\t\\t\\t// Attributes starting $$ represent parameters starting with a single $\\n\\t\\t\\t\\t\\tname = name.slice(1);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Attributes starting with a single $ are reserved for the widget\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tself.stringParametersByName[name] = value;\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nCollect slot value parameters\\n*/\\nTranscludeWidget.prototype.collectSlotFillParameters = function() {\\n\\tvar self = this;\\n\\tthis.slotFillParseTrees = Object.create(null);\\n\\tif(this.legacyMode) {\\n\\t\\tthis.slotFillParseTrees[\\\"ts-missing\\\"] = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\tthis.slotFillParseTrees[\\\"ts-raw\\\"] = this.parseTreeNode.children;\\n\\t\\tvar noFillWidgetsFound = true,\\n\\t\\t\\tsearchParseTreeNodes = function(nodes) {\\n\\t\\t\\t\\t$tw.utils.each(nodes,function(node) {\\n\\t\\t\\t\\t\\tif(node.type === \\\"fill\\\") {\\n\\t\\t\\t\\t\\t\\tif(node.attributes[\\\"$name\\\"] && node.attributes[\\\"$name\\\"].type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar slotValueName = node.attributes[\\\"$name\\\"].value;\\n\\t\\t\\t\\t\\t\\t\\tself.slotFillParseTrees[slotValueName] = node.children || [];\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tnoFillWidgetsFound = false;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tsearchParseTreeNodes(node.children);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t};\\n\\t\\tsearchParseTreeNodes(this.parseTreeNode.children);\\n\\t\\tif(noFillWidgetsFound) {\\n\\t\\t\\tthis.slotFillParseTrees[\\\"ts-missing\\\"] = this.parseTreeNode.children;\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nGet transcluded details as an object {text:,type:}\\n*/\\nTranscludeWidget.prototype.getTransclusionTarget = function() {\\n\\tvar self = this;\\n\\tvar text;\\n\\t// Return the text and type of the target\\n\\tif(this.hasAttribute(\\\"$variable\\\")) {\\n\\t\\tif(this.transcludeVariable) {\\n\\t\\t\\t// Transcluding a variable\\n\\t\\t\\tvar variableInfo = this.getVariableInfo(this.transcludeVariable,{params: this.getOrderedTransclusionParameters()});\\n\\t\\t\\tthis.transcludeVariableIsFunction = variableInfo.srcVariable && variableInfo.srcVariable.isFunctionDefinition;\\n\\t\\t\\ttext = variableInfo.text;\\n\\t\\t\\tthis.transcludeFunctionResult = text;\\n\\t\\t\\treturn {\\n\\t\\t\\t\\ttext: variableInfo.text,\\n\\t\\t\\t\\ttype: this.transcludeType\\n\\t\\t\\t};\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Transcluding a text reference\\n\\t\\tvar parserInfo = this.wiki.getTextReferenceParserInfo(\\n\\t\\t\\t\\t\\t\\tthis.transcludeTitle,\\n\\t\\t\\t\\t\\t\\tthis.transcludeField,\\n\\t\\t\\t\\t\\t\\tthis.transcludeIndex,\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tsubTiddler: this.transcludeSubTiddler,\\n\\t\\t\\t\\t\\t\\t\\tdefaultType: this.transcludeType\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\treturn {\\n\\t\\t\\ttext: parserInfo.text,\\n\\t\\t\\ttype: parserInfo.type,\\n\\t\\t\\t_canonical_uri: parserInfo._canonical_uri\\n\\t\\t};\\n\\t}\\n};\\n\\n/*\\nGet transcluded parse tree nodes as an object {text:,type:,parseTreeNodes:,parseAsInline:}\\n*/\\nTranscludeWidget.prototype.parseTransclusionTarget = function(parseAsInline) {\\n\\tvar self = this;\\n\\tvar parser;\\n\\t// Get the parse tree\\n\\tif(this.hasAttribute(\\\"$variable\\\")) {\\n\\t\\tif(this.transcludeVariable) {\\n\\t\\t\\t// Transcluding a variable\\n\\t\\t\\tvar variableInfo = this.getVariableInfo(this.transcludeVariable,{params: this.getOrderedTransclusionParameters()}),\\n\\t\\t\\t\\tsrcVariable = variableInfo && variableInfo.srcVariable;\\n\\t\\t\\tif(srcVariable && srcVariable.isFunctionDefinition) {\\n\\t\\t\\t\\tthis.transcludeVariableIsFunction = true;\\n\\t\\t\\t\\tthis.transcludeFunctionResult = (variableInfo.resultList ? variableInfo.resultList[0] : variableInfo.text) || \\\"\\\";\\n\\t\\t\\t}\\n\\t\\t\\tif(variableInfo.text) {\\n\\t\\t\\t\\tif(srcVariable && srcVariable.isFunctionDefinition) {\\n\\t\\t\\t\\t\\tparser = {\\n\\t\\t\\t\\t\\t\\ttree: [{\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\t\\t\\t\\ttext: this.transcludeFunctionResult\\n\\t\\t\\t\\t\\t\\t}],\\n\\t\\t\\t\\t\\t\\tsource: this.transcludeFunctionResult,\\n\\t\\t\\t\\t\\t\\ttype: \\\"text/vnd.tiddlywiki\\\"\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tif(parseAsInline) {\\n\\t\\t\\t\\t\\t\\tparser.tree[0] = {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\t\\t\\t\\ttext: this.transcludeFunctionResult\\n\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tparser.tree[0] = {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\t\\t\\t\\t\\ttag: \\\"p\\\",\\n\\t\\t\\t\\t\\t\\t\\tchildren: [{\\n\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\ttext: this.transcludeFunctionResult\\n\\t\\t\\t\\t\\t\\t\\t}]\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tvar cacheKey = (parseAsInline ? \\\"inlineParser\\\" : \\\"blockParser\\\") + (this.transcludeType || \\\"\\\");\\n\\t\\t\\t\\t\\tif(variableInfo.isCacheable && srcVariable[cacheKey]) {\\n\\t\\t\\t\\t\\t\\tparser = srcVariable[cacheKey];\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tparser = this.wiki.parseText(this.transcludeType,variableInfo.text || \\\"\\\",{parseAsInline: parseAsInline, configTrimWhiteSpace: srcVariable && srcVariable.configTrimWhiteSpace});\\n\\t\\t\\t\\t\\t\\tif(variableInfo.isCacheable) {\\n\\t\\t\\t\\t\\t\\t\\tsrcVariable[cacheKey] = parser;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(parser) {\\n\\t\\t\\t\\t\\t// Add parameters widget for procedures and custom widgets\\n\\t\\t\\t\\t\\tif(srcVariable && (srcVariable.isProcedureDefinition || srcVariable.isWidgetDefinition)) {\\n\\t\\t\\t\\t\\t\\tparser = {\\n\\t\\t\\t\\t\\t\\t\\ttree: [\\n\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"parameters\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tchildren: parser.tree\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t],\\n\\t\\t\\t\\t\\t\\t\\tsource: parser.source,\\n\\t\\t\\t\\t\\t\\t\\ttype: parser.type\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(srcVariable.params,function(param) {\\n\\t\\t\\t\\t\\t\\t\\tvar name = param.name;\\n\\t\\t\\t\\t\\t\\t\\t// Parameter names starting with dollar must be escaped to double dollars\\n\\t\\t\\t\\t\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\t\\t\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parser.tree[0],name,param[\\\"default\\\"])\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t} else if(srcVariable && !srcVariable.isFunctionDefinition) {\\n\\t\\t\\t\\t\\t\\t// For macros and ordinary variables, wrap the parse tree in a vars widget assigning the parameters to variables named \\\"__paramname__\\\"\\n\\t\\t\\t\\t\\t\\tparser = {\\n\\t\\t\\t\\t\\t\\t\\ttree: [\\n\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"vars\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tchildren: parser.tree\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t],\\n\\t\\t\\t\\t\\t\\t\\tsource: parser.source,\\n\\t\\t\\t\\t\\t\\t\\ttype: parser.type\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(variableInfo.params,function(param) {\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parser.tree[0],\\\"__\\\" + param.name + \\\"__\\\",param.value)\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Transcluding a text reference\\n\\t\\tparser = this.wiki.parseTextReference(\\n\\t\\t\\t\\t\\t\\tthis.transcludeTitle,\\n\\t\\t\\t\\t\\t\\tthis.transcludeField,\\n\\t\\t\\t\\t\\t\\tthis.transcludeIndex,\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tparseAsInline: parseAsInline,\\n\\t\\t\\t\\t\\t\\t\\tsubTiddler: this.transcludeSubTiddler,\\n\\t\\t\\t\\t\\t\\t\\tdefaultType: this.transcludeType\\n\\t\\t\\t\\t\\t\\t});\\n\\t}\\n\\t// Return the parse tree\\n\\treturn {\\n\\t\\tparser: parser,\\n\\t\\tparseTreeNodes: parser ? parser.tree : (this.slotFillParseTrees[\\\"ts-missing\\\"] || []),\\n\\t\\tparseAsInline: parseAsInline,\\n\\t\\ttext: parser && parser.source,\\n\\t\\ttype: parser && parser.type\\n\\t};\\n};\\n\\n/*\\nFetch all the string parameters as an ordered array of {name:, value:} where the name is optional\\n*/\\nTranscludeWidget.prototype.getOrderedTransclusionParameters = function() {\\n\\tvar result = [];\\n\\t// Collect the parameters\\n\\tfor(var name in this.stringParametersByName) {\\n\\t\\tvar value = this.stringParametersByName[name];\\n\\t\\tresult.push({name: name, value: value});\\n\\t}\\n\\t// Sort numerical parameter names first\\n\\tresult.sort(function(a,b) {\\n\\t\\tvar aIsNumeric = !isNaN(a.name),\\n\\t\\t\\tbIsNumeric = !isNaN(b.name);\\n\\t\\tif(aIsNumeric && bIsNumeric) {\\n\\t\\t\\treturn a.name - b.name;\\n\\t\\t} else if(aIsNumeric) {\\n\\t\\t\\treturn -1;\\n\\t\\t} else if(bIsNumeric) {\\n\\t\\t\\treturn 1;\\n\\t\\t} else {\\n\\t\\t\\treturn a.name === b.name ? 0 : (a.name < b.name ? -1 : 1);\\n\\t\\t}\\n\\t});\\n\\t// Remove names from numerical parameters\\n\\t$tw.utils.each(result,function(param,index) {\\n\\t\\tif(!isNaN(param.name)) {\\n\\t\\t\\tdelete param.name;\\n\\t\\t}\\n\\t});\\n\\treturn result;\\n};\\n\\n/*\\nFetch the value of a parameter\\n*/\\nTranscludeWidget.prototype.getTransclusionParameter = function(name,index,defaultValue) {\\n\\tif(name in this.stringParametersByName) {\\n\\t\\treturn this.stringParametersByName[name];\\n\\t} else {\\n\\t\\tvar name = \\\"\\\" + index;\\n\\t\\tif(name in this.stringParametersByName) {\\n\\t\\t\\treturn this.stringParametersByName[name];\\n\\t\\t}\\n\\t}\\n\\treturn defaultValue;\\n};\\n\\n/*\\nGet one of the special parameters to be provided by the parameters widget\\n*/\\nTranscludeWidget.prototype.getTransclusionMetaParameters = function() {\\n\\tvar self = this;\\n\\treturn {\\n\\t\\t\\\"parseMode\\\": function() {\\n\\t\\t\\treturn self.parseAsInline ? \\\"inline\\\" : \\\"block\\\";\\n\\t\\t},\\n\\t\\t\\\"parseTreeNodes\\\": function() {\\n\\t\\t\\treturn JSON.stringify(self.parseTreeNode.children || []);\\n\\t\\t},\\n\\t\\t\\\"slotFillParseTreeNodes\\\": function() {\\n\\t\\t\\treturn JSON.stringify(self.slotFillParseTrees);\\n\\t\\t},\\n\\t\\t\\\"params\\\": function() {\\n\\t\\t\\treturn JSON.stringify(self.stringParametersByName);\\n\\t\\t}\\n\\t};\\n};\\n\\n/*\\nFetch the value of a slot\\n*/\\nTranscludeWidget.prototype.getTransclusionSlotFill = function(name,defaultParseTreeNodes) {\\n\\tif(name && this.slotFillParseTrees[name] && this.slotFillParseTrees[name].length > 0) {\\n\\t\\treturn this.slotFillParseTrees[name];\\n\\t} else {\\n\\t\\treturn defaultParseTreeNodes || [];\\n\\t}\\n};\\n\\n/*\\nReturn whether this transclusion should be visible to the slot widget\\n*/\\nTranscludeWidget.prototype.hasVisibleSlots = function() {\\n\\treturn this.getAttribute(\\\"$fillignore\\\",\\\"no\\\") === \\\"no\\\";\\n}\\n\\n/*\\nCompose a string comprising the title, field and/or index to identify this transclusion for recursion detection\\n*/\\nTranscludeWidget.prototype.makeRecursionMarker = function() {\\n\\tvar output = [];\\n\\toutput.push(\\\"{\\\");\\n\\toutput.push(this.getVariable(\\\"currentTiddler\\\",{defaultValue: \\\"\\\"}));\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeTitle || \\\"\\\");\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeField || \\\"\\\");\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeIndex || \\\"\\\");\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeSubTiddler || \\\"\\\");\\n\\toutput.push(\\\"}\\\");\\n\\treturn output.join(\\\"\\\");\\n};\\n\\nTranscludeWidget.prototype.parserNeedsRefresh = function() {\\n\\t// Doesn't need to consider transcluded variables because a parent variable can't change once a widget has been created\\n\\tvar parserInfo = this.wiki.getTextReferenceParserInfo(this.transcludeTitle,this.transcludeField,this.transcludeIndex,{\\n\\t\\tsubTiddler: this.transcludeSubTiddler,\\n\\t\\tdefaultType: this.transcludeType\\n\\t});\\n\\treturn (this.sourceText === undefined || parserInfo.sourceText !== this.sourceText || parserInfo.parserType !== this.parserType || parserInfo._canonical_uri !== this._canonical_uri);\\n};\\n\\nTranscludeWidget.prototype.functionNeedsRefresh = function() {\\n\\tvar oldResult = this.transcludeFunctionResult;\\n\\tvar variableInfo = this.getVariableInfo(this.transcludeVariable,{params: this.getOrderedTransclusionParameters()});\\n\\tvar newResult = (variableInfo.resultList ? variableInfo.resultList[0] : variableInfo.text) || \\\"\\\";\\n\\treturn oldResult !== newResult;\\n}\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTranscludeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(($tw.utils.count(changedAttributes) > 0) || (this.transcludeVariableIsFunction && this.functionNeedsRefresh()) || (!this.transcludeVariable && changedTiddlers[this.transcludeTitle] && this.parserNeedsRefresh())) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.transclude = TranscludeWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/vars.js\":{\"title\":\"$:/core/modules/widgets/vars.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/vars.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThis widget allows multiple variables to be set in one go:\\n\\n```\\n\\\\define helloworld() Hello world!\\n<$vars greeting=\\\"Hi\\\" me={{!!title}} sentence=<<helloworld>>>\\n <<greeting>>! I am <<me>> and I say: <<sentence>>\\n</$vars>\\n```\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar VarsWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nVarsWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nVarsWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nVarsWidget.prototype.execute = function() {\\n\\t// Parse variables\\n\\tvar self = this;\\n\\t$tw.utils.each(this.attributes,function(val,key) {\\n\\t\\tif(key.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tself.setVariable(key,val);\\n\\t\\t}\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nVarsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"vars\\\"] = VarsWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/view.js\":{\"title\":\"$:/core/modules/widgets/view.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/view.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nView widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ViewWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nViewWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nViewWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tif(this.text) {\\n\\t\\tvar textNode = this.document.createTextNode(this.text);\\n\\t\\tparent.insertBefore(textNode,nextSibling);\\n\\t\\tthis.domNodes.push(textNode);\\n\\t} else {\\n\\t\\tthis.makeChildWidgets();\\n\\t\\tthis.renderChildren(parent,nextSibling);\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nViewWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.viewTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.viewSubtiddler = this.getAttribute(\\\"subtiddler\\\");\\n\\tthis.viewField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.viewIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.viewFormat = this.getAttribute(\\\"format\\\",\\\"text\\\");\\n\\tthis.viewTemplate = this.getAttribute(\\\"template\\\",\\\"\\\");\\n\\tthis.viewMode = this.getAttribute(\\\"mode\\\",\\\"block\\\");\\n\\tswitch(this.viewFormat) {\\n\\t\\tcase \\\"htmlwikified\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlWikified(this.viewMode);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"plainwikified\\\":\\n\\t\\t\\tthis.text = this.getValueAsPlainWikified(this.viewMode);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"htmlencodedplainwikified\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlEncodedPlainWikified(this.viewMode);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"htmlencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"htmltextencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlTextEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"urlencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsUrlEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"doubleurlencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsDoubleUrlEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"date\\\":\\n\\t\\t\\tthis.text = this.getValueAsDate(this.viewTemplate);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"relativedate\\\":\\n\\t\\t\\tthis.text = this.getValueAsRelativeDate();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"stripcomments\\\":\\n\\t\\t\\tthis.text = this.getValueAsStrippedComments();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"jsencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsJsEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tdefault: // \\\"text\\\"\\n\\t\\t\\tthis.text = this.getValueAsText();\\n\\t\\t\\tbreak;\\n\\t}\\n};\\n\\n/*\\nThe various formatter functions are baked into this widget for the moment. Eventually they will be replaced by macro functions\\n*/\\n\\n/*\\nRetrieve the value of the widget. Options are:\\nasString: Optionally return the value as a string\\n*/\\nViewWidget.prototype.getValue = function(options) {\\n\\toptions = options || {};\\n\\tvar value = options.asString ? \\\"\\\" : undefined;\\n\\tif(this.viewIndex) {\\n\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.viewTitle,this.viewIndex);\\n\\t} else {\\n\\t\\tvar tiddler;\\n\\t\\tif(this.viewSubtiddler) {\\n\\t\\t\\ttiddler = this.wiki.getSubTiddler(this.viewTitle,this.viewSubtiddler);\\n\\t\\t} else {\\n\\t\\t\\ttiddler = this.wiki.getTiddler(this.viewTitle);\\n\\t\\t}\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(this.viewField === \\\"text\\\" && !this.viewSubtiddler) {\\n\\t\\t\\t\\t// Calling getTiddlerText() triggers lazy loading of skinny tiddlers\\n\\t\\t\\t\\tvalue = this.wiki.getTiddlerText(this.viewTitle);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.viewField)) {\\n\\t\\t\\t\\t\\tif(options.asString) {\\n\\t\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(this.viewField);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tvalue = tiddler.fields[this.viewField];\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tif(this.viewField === \\\"title\\\") {\\n\\t\\t\\t\\tvalue = this.viewTitle;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn value;\\n};\\n\\nViewWidget.prototype.getValueAsText = function() {\\n\\treturn this.getValue({asString: true});\\n};\\n\\nViewWidget.prototype.getValueAsHtmlWikified = function(mode) {\\n\\treturn this.wiki.renderText(\\\"text/html\\\",\\\"text/vnd.tiddlywiki\\\",this.getValueAsText(),{\\n\\t\\tparseAsInline: mode !== \\\"block\\\",\\n\\t\\tparentWidget: this\\n\\t});\\n};\\n\\nViewWidget.prototype.getValueAsPlainWikified = function(mode) {\\n\\treturn this.wiki.renderText(\\\"text/plain\\\",\\\"text/vnd.tiddlywiki\\\",this.getValueAsText(),{\\n\\t\\tparseAsInline: mode !== \\\"block\\\",\\n\\t\\tparentWidget: this\\n\\t});\\n};\\n\\nViewWidget.prototype.getValueAsHtmlEncodedPlainWikified = function(mode) {\\n\\treturn $tw.utils.htmlEncode(this.wiki.renderText(\\\"text/plain\\\",\\\"text/vnd.tiddlywiki\\\",this.getValueAsText(),{\\n\\t\\tparseAsInline: mode !== \\\"block\\\",\\n\\t\\tparentWidget: this\\n\\t}));\\n};\\n\\nViewWidget.prototype.getValueAsHtmlEncoded = function() {\\n\\treturn $tw.utils.htmlEncode(this.getValueAsText());\\n};\\n\\nViewWidget.prototype.getValueAsHtmlTextEncoded = function() {\\n\\treturn $tw.utils.htmlTextEncode(this.getValueAsText());\\n};\\n\\nViewWidget.prototype.getValueAsUrlEncoded = function() {\\n\\treturn $tw.utils.encodeURIComponentExtended(this.getValueAsText());\\n};\\n\\nViewWidget.prototype.getValueAsDoubleUrlEncoded = function() {\\n\\treturn $tw.utils.encodeURIComponentExtended($tw.utils.encodeURIComponentExtended(this.getValueAsText()));\\n};\\n\\nViewWidget.prototype.getValueAsDate = function(format) {\\n\\tformat = format || \\\"YYYY MM DD 0hh:0mm\\\";\\n\\tvar value = $tw.utils.parseDate(this.getValue());\\n\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\treturn $tw.utils.formatDateString(value,format);\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\nViewWidget.prototype.getValueAsRelativeDate = function(format) {\\n\\tvar value = $tw.utils.parseDate(this.getValue());\\n\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\treturn $tw.utils.getRelativeDate((new Date()) - (new Date(value))).description;\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\nViewWidget.prototype.getValueAsStrippedComments = function() {\\n\\tvar lines = this.getValueAsText().split(\\\"\\\\n\\\"),\\n\\t\\tout = [];\\n\\tfor(var line=0; line<lines.length; line++) {\\n\\t\\tvar text = lines[line];\\n\\t\\tif(!/^\\\\s*\\\\/\\\\/#/.test(text)) {\\n\\t\\t\\tout.push(text);\\n\\t\\t}\\n\\t}\\n\\treturn out.join(\\\"\\\\n\\\");\\n};\\n\\nViewWidget.prototype.getValueAsJsEncoded = function() {\\n\\treturn $tw.utils.stringify(this.getValueAsText());\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nViewWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.template || changedAttributes.format || changedTiddlers[this.viewTitle]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.view = ViewWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/widget.js\":{\"title\":\"$:/core/modules/widgets/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget base class\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nCreate a widget object for a parse tree node\\n\\tparseTreeNode: reference to the parse tree node to be rendered\\n\\toptions: see below\\nOptions include:\\n\\twiki: mandatory reference to wiki associated with this render tree\\n\\tparentWidget: optional reference to a parent renderer node for the context chain\\n\\tdocument: optional document object to use instead of global document\\n*/\\nvar Widget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInitialise widget properties. These steps are pulled out of the constructor so that we can reuse them in subclasses\\n*/\\nWidget.prototype.initialise = function(parseTreeNode,options) {\\n\\t// Bail if parseTreeNode is undefined, meaning that the widget constructor was called without any arguments so that it can be subclassed\\n\\tif(parseTreeNode === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\toptions = options || {};\\n\\t// Save widget info\\n\\tthis.parseTreeNode = parseTreeNode;\\n\\tthis.wiki = options.wiki;\\n\\tthis.parentWidget = options.parentWidget;\\n\\tthis.variables = Object.create(this.parentWidget ? this.parentWidget.variables : null);\\n\\tthis.document = options.document;\\n\\tthis.attributes = {};\\n\\tthis.children = [];\\n\\tthis.domNodes = [];\\n\\tthis.eventListeners = {};\\n\\t// Hashmap of the widget classes\\n\\tif(!this.widgetClasses) {\\n\\t\\t// Get widget classes\\n\\t\\tWidget.prototype.widgetClasses = $tw.modules.applyMethods(\\\"widget\\\");\\n\\t\\t// Process any subclasses\\n\\t\\t$tw.modules.forEachModuleOfType(\\\"widget-subclass\\\",function(title,module) {\\n\\t\\t\\tif(module.baseClass) {\\n\\t\\t\\t\\tvar baseClass = Widget.prototype.widgetClasses[module.baseClass];\\n\\t\\t\\t\\tif(!baseClass) {\\n\\t\\t\\t\\t\\tthrow \\\"Module '\\\" + title + \\\"' is attemping to extend a non-existent base class '\\\" + module.baseClass + \\\"'\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar subClass = module.constructor;\\n\\t\\t\\t\\tsubClass.prototype = new baseClass();\\n\\t\\t\\t\\t$tw.utils.extend(subClass.prototype,module.prototype);\\n\\t\\t\\t\\tWidget.prototype.widgetClasses[module.name || module.baseClass] = subClass;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nWidget.prototype.execute = function() {\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSet the value of a context variable\\nname: name of the variable\\nvalue: value of the variable\\nparams: array of {name:, default:} for each parameter\\nisMacroDefinition: true if the variable is set via a \\\\define macro pragma (and hence should have variable substitution performed)\\noptions includes:\\n\\tisProcedureDefinition: true if the variable is set via a \\\\procedure pragma (and hence should not have variable substitution performed)\\n\\tisFunctionDefinition: true if the variable is set via a \\\\function pragma (and hence should not have variable substitution performed)\\n\\tisWidgetDefinition: true if the variable is set via a \\\\widget pragma (and hence should not have variable substitution performed)\\n*/\\nWidget.prototype.setVariable = function(name,value,params,isMacroDefinition,options) {\\n\\toptions = options || {};\\n\\tthis.variables[name] = {\\n\\t\\tvalue: value,\\n\\t\\tparams: params,\\n\\t\\tisMacroDefinition: !!isMacroDefinition,\\n\\t\\tisFunctionDefinition: !!options.isFunctionDefinition,\\n\\t\\tisProcedureDefinition: !!options.isProcedureDefinition,\\n\\t\\tisWidgetDefinition: !!options.isWidgetDefinition,\\n\\t\\tconfigTrimWhiteSpace: !!options.configTrimWhiteSpace\\n\\t};\\n};\\n\\n/*\\nGet the prevailing value of a context variable\\nname: name of variable\\noptions: see below\\nOptions include\\n\\nparams: array of {name:, value:} for each parameter\\ndefaultValue: default value if the variable is not defined\\nsource: optional source iterator for evaluating function invocations\\nallowSelfAssigned: if true, includes the current widget in the context chain instead of just the parent\\n\\nReturns an object with the following fields:\\n\\nparams: array of {name:,value:} or {value:} of parameters to be applied\\ntext: text of variable, with parameters properly substituted\\nresultList: result of variable evaluation as an array\\nsrcVariable: reference to the object defining the variable\\n*/\\nWidget.prototype.getVariableInfo = function(name,options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\tactualParams = options.params || [],\\n\\t\\tvariable;\\n\\tif(options.allowSelfAssigned) {\\n\\t\\tvariable = this.variables[name];\\n\\t} else {\\n\\t\\tvariable = this.parentWidget && this.parentWidget.variables[name];\\n\\t}\\n\\t// Check for the variable defined in the parent widget (or an ancestor in the prototype chain)\\n\\tif(variable) {\\n\\t\\tvar originalValue = variable.value,\\n\\t\\t\\tvalue = originalValue,\\n\\t\\t\\tparams = [],\\n\\t\\t\\tresultList = [value];\\n\\t\\t// Only substitute parameter and variable references if this variable was defined with the \\\\define pragma\\n\\t\\tif(variable.isMacroDefinition) {\\n\\t\\t\\tparams = self.resolveVariableParameters(variable.params,actualParams);\\n\\t\\t\\t// Substitute any parameters specified in the definition\\n\\t\\t\\t$tw.utils.each(params,function(param) {\\n\\t\\t\\t\\tvalue = $tw.utils.replaceString(value,new RegExp(\\\"\\\\\\\\$\\\" + $tw.utils.escapeRegExp(param.name) + \\\"\\\\\\\\$\\\",\\\"mg\\\"),param.value);\\n\\t\\t\\t});\\n\\t\\t\\tvalue = self.substituteVariableReferences(value,options);\\n\\t\\t\\tresultList = [value];\\n\\t\\t} else if(variable.isFunctionDefinition) {\\n\\t\\t\\t// Function evaluations\\n\\t\\t\\tparams = self.resolveVariableParameters(variable.params,actualParams);\\n\\t\\t\\tvar variables = options.variables || Object.create(null);\\n\\t\\t\\t// Apply default parameter values\\n\\t\\t\\t$tw.utils.each(variable.params,function(param,index) {\\n\\t\\t\\t\\tif(param[\\\"default\\\"]) {\\n\\t\\t\\t\\t\\tvariables[param.name] = param[\\\"default\\\"];\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\t// Parameters are an array of {value:} or {name:, value:} pairs\\n\\t\\t\\t$tw.utils.each(params,function(param) {\\n\\t\\t\\t\\tvariables[param.name] = param.value;\\n\\t\\t\\t});\\n\\t\\t\\tresultList = this.wiki.filterTiddlers(value,this.makeFakeWidgetWithVariables(variables),options.source);\\n\\t\\t\\tvalue = resultList[0] || \\\"\\\";\\n\\t\\t} else {\\n\\t\\t\\tparams = variable.params;\\n\\t\\t}\\n\\t\\treturn {\\n\\t\\t\\ttext: value,\\n\\t\\t\\tparams: params,\\n\\t\\t\\tresultList: resultList,\\n\\t\\t\\tsrcVariable: variable,\\n\\t\\t\\tisCacheable: originalValue === value\\n\\t\\t};\\n\\t}\\n\\t// If the variable doesn't exist in the parent widget then look for a macro module\\n\\tvar text = this.evaluateMacroModule(name,actualParams);\\n\\tif(text === undefined) {\\n\\t\\ttext = options.defaultValue;\\n\\t}\\n\\treturn {\\n\\t\\ttext: text,\\n\\t\\tresultList: [text]\\n\\t};\\n};\\n\\n/*\\nSimplified version of getVariableInfo() that just returns the text\\n*/\\nWidget.prototype.getVariable = function(name,options) {\\n\\treturn this.getVariableInfo(name,options).text;\\n};\\n\\n/*\\nMaps actual parameters onto formal parameters, returning an array of {name:,value:} objects\\nformalParams - Array of {name:,default:} (default value is optional)\\nactualParams - Array of string values or {name:,value:} (name is optional)\\n*/\\nWidget.prototype.resolveVariableParameters = function(formalParams,actualParams) {\\n\\tformalParams = formalParams || [];\\n\\tactualParams = actualParams || [];\\n\\tvar nextAnonParameter = 0, // Next candidate anonymous parameter in macro call\\n\\t\\tparamInfo, paramValue,\\n\\t\\tresults = [];\\n\\t// Step through each of the parameters in the macro definition\\n\\tfor(var p=0; p<formalParams.length; p++) {\\n\\t\\t// Check if we've got a macro call parameter with the same name\\n\\t\\tparamInfo = formalParams[p];\\n\\t\\tparamValue = undefined;\\n\\t\\tfor(var m=0; m<actualParams.length; m++) {\\n\\t\\t\\tif(typeof actualParams[m] !== \\\"string\\\" && actualParams[m].name === paramInfo.name) {\\n\\t\\t\\t\\tparamValue = actualParams[m].value;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// If not, use the next available anonymous macro call parameter\\n\\t\\twhile(nextAnonParameter < actualParams.length && actualParams[nextAnonParameter].name) {\\n\\t\\t\\tnextAnonParameter++;\\n\\t\\t}\\n\\t\\tif(paramValue === undefined && nextAnonParameter < actualParams.length) {\\n\\t\\t\\tvar param = actualParams[nextAnonParameter++];\\n\\t\\t\\tparamValue = typeof param === \\\"string\\\" ? param : param.value;\\n\\t\\t}\\n\\t\\t// If we've still not got a value, use the default, if any\\n\\t\\tparamValue = paramValue || paramInfo[\\\"default\\\"] || \\\"\\\";\\n\\t\\t// Store the parameter name and value\\n\\t\\tresults.push({name: paramInfo.name, value: paramValue});\\n\\t}\\n\\treturn results;\\n};\\n\\nWidget.prototype.substituteVariableReferences = function(text,options) {\\n\\tvar self = this;\\n\\treturn (text || \\\"\\\").replace(/\\\\$\\\\(([^\\\\)\\\\$]+)\\\\)\\\\$/g,function(match,p1,offset,string) {\\n\\t\\treturn options.variables && options.variables[p1] || (self.getVariable(p1,{defaultValue: \\\"\\\"}));\\n\\t});\\n};\\n\\nWidget.prototype.evaluateMacroModule = function(name,actualParams,defaultValue) {\\n\\tif($tw.utils.hop($tw.macros,name)) {\\n\\t\\tvar macro = $tw.macros[name],\\n\\t\\t\\targs = [];\\n\\t\\tif(macro.params.length > 0) {\\n\\t\\t\\tvar nextAnonParameter = 0, // Next candidate anonymous parameter in macro call\\n\\t\\t\\t\\tparamInfo, paramValue;\\n\\t\\t\\t// Step through each of the parameters in the macro definition\\n\\t\\t\\tfor(var p=0; p<macro.params.length; p++) {\\n\\t\\t\\t\\t// Check if we've got a macro call parameter with the same name\\n\\t\\t\\t\\tparamInfo = macro.params[p];\\n\\t\\t\\t\\tparamValue = undefined;\\n\\t\\t\\t\\tfor(var m=0; m<actualParams.length; m++) {\\n\\t\\t\\t\\t\\tif(actualParams[m].name === paramInfo.name) {\\n\\t\\t\\t\\t\\t\\tparamValue = actualParams[m].value;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If not, use the next available anonymous macro call parameter\\n\\t\\t\\t\\twhile(nextAnonParameter < actualParams.length && actualParams[nextAnonParameter].name) {\\n\\t\\t\\t\\t\\tnextAnonParameter++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(paramValue === undefined && nextAnonParameter < actualParams.length) {\\n\\t\\t\\t\\t\\tparamValue = actualParams[nextAnonParameter++].value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If we've still not got a value, use the default, if any\\n\\t\\t\\t\\tparamValue = paramValue || paramInfo[\\\"default\\\"] || \\\"\\\";\\n\\t\\t\\t\\t// Save the parameter\\n\\t\\t\\t\\targs.push(paramValue);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\telse for(var i=0; i<actualParams.length; ++i) {\\n\\t\\t\\targs.push(actualParams[i].value);\\n\\t\\t}\\n\\t\\treturn (macro.run.apply(this,args) || \\\"\\\").toString();\\n\\t} else {\\n\\t\\treturn defaultValue;\\n\\t}\\n};\\n\\n/*\\nCheck whether a given context variable value exists in the parent chain\\n*/\\nWidget.prototype.hasVariable = function(name,value) {\\n\\tvar node = this;\\n\\twhile(node) {\\n\\t\\tif($tw.utils.hop(node.variables,name) && node.variables[name].value === value) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tnode = node.parentWidget;\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nConstruct a qualifying string based on a hash of concatenating the values of a given variable in the parent chain\\n*/\\nWidget.prototype.getStateQualifier = function(name) {\\n\\tthis.qualifiers = this.qualifiers || Object.create(null);\\n\\tname = name || \\\"transclusion\\\";\\n\\tif(this.qualifiers[name]) {\\n\\t\\treturn this.qualifiers[name];\\n\\t} else {\\n\\t\\tvar output = [],\\n\\t\\t\\tnode = this;\\n\\t\\twhile(node && node.parentWidget) {\\n\\t\\t\\tif($tw.utils.hop(node.parentWidget.variables,name)) {\\n\\t\\t\\t\\toutput.push(node.getVariable(name));\\n\\t\\t\\t}\\n\\t\\t\\tnode = node.parentWidget;\\n\\t\\t}\\n\\t\\tvar value = $tw.utils.hashString(output.join(\\\"\\\"));\\n\\t\\tthis.qualifiers[name] = value;\\n\\t\\treturn value;\\n\\t}\\n};\\n\\n/*\\nMake a fake widget with specified variables, suitable for variable lookup in filters\\n*/\\nWidget.prototype.makeFakeWidgetWithVariables = function(variables) {\\n\\tvar self = this,\\n\\t\\tvariables = variables || {};\\n\\treturn {\\n\\t\\tgetVariable: function(name,opts) {\\n\\t\\t\\tif($tw.utils.hop(variables,name)) {\\n\\t\\t\\t\\treturn variables[name];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\topts = opts || {};\\n\\t\\t\\t\\topts.variables = variables;\\n\\t\\t\\t\\treturn self.getVariable(name,opts);\\n\\t\\t\\t};\\n\\t\\t},\\n\\t\\tgetVariableInfo: function(name,opts) {\\n\\t\\t\\tif($tw.utils.hop(variables,name)) {\\n\\t\\t\\t\\treturn {\\n\\t\\t\\t\\t\\ttext: variables[name]\\n\\t\\t\\t\\t};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\topts = opts || {};\\n\\t\\t\\t\\topts.variables = $tw.utils.extend({},variables,opts.variables);\\n\\t\\t\\t\\treturn self.getVariableInfo(name,opts);\\n\\t\\t\\t};\\n\\t\\t},\\n\\t\\tmakeFakeWidgetWithVariables: self.makeFakeWidgetWithVariables,\\n\\t\\tresolveVariableParameters: self.resolveVariableParameters,\\n\\t\\twiki: self.wiki\\n\\t};\\n};\\n\\n/*\\nCompute the current values of the attributes of the widget. Returns a hashmap of the names of the attributes that have changed.\\nOptions include:\\nfilterFn: only include attributes where filterFn(name) returns true\\n*/\\nWidget.prototype.computeAttributes = function(options) {\\n\\toptions = options || {};\\n\\tvar changedAttributes = {},\\n\\t\\tself = this;\\n\\t$tw.utils.each(this.parseTreeNode.attributes,function(attribute,name) {\\n\\t\\tif(options.filterFn) {\\n\\t\\t\\tif(!options.filterFn(name)) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar value = self.computeAttribute(attribute);\\n\\t\\tif(self.attributes[name] !== value) {\\n\\t\\t\\tself.attributes[name] = value;\\n\\t\\t\\tchangedAttributes[name] = true;\\n\\t\\t}\\n\\t});\\n\\treturn changedAttributes;\\n};\\n\\nWidget.prototype.computeAttribute = function(attribute) {\\n\\tvar self = this,\\n\\t\\tvalue;\\n\\tif(attribute.type === \\\"filtered\\\") {\\n\\t\\tvalue = this.wiki.filterTiddlers(attribute.filter,this)[0] || \\\"\\\";\\n\\t} else if(attribute.type === \\\"indirect\\\") {\\n\\t\\tvalue = this.wiki.getTextReference(attribute.textReference,\\\"\\\",this.getVariable(\\\"currentTiddler\\\")) || \\\"\\\";\\n\\t} else if(attribute.type === \\\"macro\\\") {\\n\\t\\tvar variableInfo = this.getVariableInfo(attribute.value.name,{params: attribute.value.params});\\n\\t\\tvalue = variableInfo.text;\\n\\t} else if(attribute.type === \\\"substituted\\\") {\\n\\t\\tvalue = this.wiki.getSubstitutedText(attribute.rawValue,this) || \\\"\\\";\\n\\t} else { // String attribute\\n\\t\\tvalue = attribute.value;\\n\\t}\\n\\treturn value;\\n};\\n\\n/*\\nCheck for the presence of an evaluated attribute on the widget. Note that attributes set to a missing variable (ie attr=<<missing>>) will be treated as missing\\n*/\\nWidget.prototype.hasAttribute = function(name) {\\n\\treturn $tw.utils.hop(this.attributes,name);\\n};\\n\\n/*\\nCheck for the presence of a raw attribute on the widget parse tree node. Note that attributes set to a missing variable (ie attr=<<missing>>) will NOT be treated as missing\\n*/\\nWidget.prototype.hasParseTreeNodeAttribute = function(name) {\\n\\treturn $tw.utils.hop(this.parseTreeNode.attributes,name);\\n};\\n\\n/*\\nGet the value of an attribute\\n*/\\nWidget.prototype.getAttribute = function(name,defaultText) {\\n\\tif($tw.utils.hop(this.attributes,name)) {\\n\\t\\treturn this.attributes[name];\\n\\t} else {\\n\\t\\treturn defaultText;\\n\\t}\\n};\\n\\n/*\\nAssign the common attributes of the widget to a domNode\\noptions include:\\nsourcePrefix: prefix of attributes that are to be directly assigned (defaults to the empty string meaning all attributes)\\ndestPrefix: prefix to be applied to attribute names that are to be directly assigned (defaults to the emtpy string which means no prefix is added)\\nchangedAttributes: hashmap by attribute name of attributes to process (if missing, process all attributes)\\nexcludeEventAttributes: ignores attributes whose name would begin with \\\"on\\\"\\n*/\\nWidget.prototype.assignAttributes = function(domNode,options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\tchangedAttributes = options.changedAttributes || this.attributes,\\n\\t\\tsourcePrefix = options.sourcePrefix || \\\"\\\",\\n\\t\\tdestPrefix = options.destPrefix || \\\"\\\",\\n\\t\\tEVENT_ATTRIBUTE_PREFIX = \\\"on\\\";\\n\\tvar assignAttribute = function(name,value) {\\n\\t\\t// Process any CSS custom properties\\n\\t\\tif(name.substr(0,2) === \\\"--\\\" && name.length > 2) {\\n\\t\\t\\tdomNode.style.setProperty(name,value);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Process any style attributes before considering sourcePrefix and destPrefix\\n\\t\\tif(name.substr(0,6) === \\\"style.\\\" && name.length > 6) {\\n\\t\\t\\tdomNode.style[$tw.utils.unHyphenateCss(name.substr(6))] = value;\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Check if the sourcePrefix is a match\\n\\t\\tif(name.substr(0,sourcePrefix.length) === sourcePrefix) {\\n\\t\\t\\tname = destPrefix + name.substr(sourcePrefix.length);\\n\\t\\t} else {\\n\\t\\t\\tvalue = undefined;\\n\\t\\t}\\n\\t\\t// Check for excluded attribute names\\n\\t\\tif(options.excludeEventAttributes && name.substr(0,2).toLowerCase() === EVENT_ATTRIBUTE_PREFIX) {\\n\\t\\t\\tvalue = undefined;\\n\\t\\t}\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\t// Handle the xlink: namespace\\n\\t\\t\\tvar namespace = null;\\n\\t\\t\\tif(name.substr(0,6) === \\\"xlink:\\\" && name.length > 6) {\\n\\t\\t\\t\\tnamespace = \\\"http://www.w3.org/1999/xlink\\\";\\n\\t\\t\\t\\tname = name.substr(6);\\n\\t\\t\\t}\\n\\t\\t\\t// Setting certain attributes can cause a DOM error (eg xmlns on the svg element)\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tdomNode.setAttributeNS(namespace,name,value);\\n\\t\\t\\t} catch(e) {\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\t// If the parse tree node has the orderedAttributes property then use that order\\n\\tif(this.parseTreeNode.orderedAttributes) {\\n\\t\\t$tw.utils.each(this.parseTreeNode.orderedAttributes,function(attribute,index) {\\n\\t\\t\\tif(attribute.name in changedAttributes) {\\n\\t\\t\\t\\tassignAttribute(attribute.name,self.getAttribute(attribute.name));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t// Otherwise update each changed attribute irrespective of order\\n\\t} else {\\n\\t\\t$tw.utils.each(changedAttributes,function(value,name) {\\n\\t\\t\\tassignAttribute(name,self.getAttribute(name));\\n\\t\\t});\\t\\n\\t}\\n};\\n\\n/*\\nGet the number of ancestor widgets for this widget\\n*/\\nWidget.prototype.getAncestorCount = function() {\\n\\tif(this.ancestorCount === undefined) {\\n\\t\\tif(this.parentWidget) {\\n\\t\\t\\tthis.ancestorCount = this.parentWidget.getAncestorCount() + 1;\\n\\t\\t} else {\\n\\t\\t\\tthis.ancestorCount = 0;\\n\\t\\t}\\n\\t}\\n\\treturn this.ancestorCount;\\n};\\n\\n/*\\nMake child widgets correspondng to specified parseTreeNodes\\n*/\\nWidget.prototype.makeChildWidgets = function(parseTreeNodes,options) {\\n\\toptions = options || {};\\n\\tthis.children = [];\\n\\tvar self = this;\\n\\t// Check for too much recursion\\n\\tif(this.getAncestorCount() > $tw.utils.TranscludeRecursionError.MAX_WIDGET_TREE_DEPTH) {\\n\\t\\tthrow new $tw.utils.TranscludeRecursionError();\\n\\t} else {\\n\\t\\t// Create set variable widgets for each variable\\n\\t\\t$tw.utils.each(options.variables,function(value,name) {\\n\\t\\t\\tvar setVariableWidget = {\\n\\t\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\tname: {type: \\\"string\\\", value: name},\\n\\t\\t\\t\\t\\tvalue: {type: \\\"string\\\", value: value}\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tchildren: parseTreeNodes\\n\\t\\t\\t};\\n\\t\\t\\tparseTreeNodes = [setVariableWidget];\\n\\t\\t});\\n\\t\\t// Create the child widgets\\n\\t\\t$tw.utils.each(parseTreeNodes || (this.parseTreeNode && this.parseTreeNode.children),function(childNode) {\\n\\t\\t\\tself.children.push(self.makeChildWidget(childNode));\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nConstruct the widget object for a parse tree node\\noptions include:\\n\\tvariables: optional hashmap of variables to wrap around the widget\\n*/\\nWidget.prototype.makeChildWidget = function(parseTreeNode,options) {\\n\\tvar self = this;\\n\\toptions = options || {};\\n\\t// Check whether this node type is defined by a custom widget definition\\n\\tvar variableDefinitionName = \\\"$\\\" + parseTreeNode.type;\\n\\tif(this.variables[variableDefinitionName]) {\\n\\t\\tvar isOverrideable = function() {\\n\\t\\t\\t\\t// Widget is overrideable if its name contains a period, or if it is an existing JS widget and we're not in safe mode\\n\\t\\t\\t\\treturn parseTreeNode.type.indexOf(\\\".\\\") !== -1 || (!!self.widgetClasses[parseTreeNode.type] && !$tw.safeMode);\\n\\t\\t\\t};\\n\\t\\tif(!parseTreeNode.isNotRemappable && isOverrideable()) { \\n\\t\\t\\tvar variableInfo = this.getVariableInfo(variableDefinitionName,{allowSelfAssigned: true});\\n\\t\\t\\tif(variableInfo && variableInfo.srcVariable && variableInfo.srcVariable.value && variableInfo.srcVariable.isWidgetDefinition) {\\n\\t\\t\\t\\tvar newParseTreeNode = {\\n\\t\\t\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\t\\t\\tchildren: parseTreeNode.children,\\n\\t\\t\\t\\t\\tisBlock: parseTreeNode.isBlock\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(newParseTreeNode,\\\"$variable\\\",variableDefinitionName);\\n\\t\\t\\t\\t$tw.utils.each(parseTreeNode.attributes,function(attr,name) {\\n\\t\\t\\t\\t\\t// If the attribute starts with a dollar then add an extra dollar so that it doesn't clash with the $xxx attributes of transclude\\n\\t\\t\\t\\t\\tname = name.charAt(0) === \\\"$\\\" ? \\\"$\\\" + name : name;\\n\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(newParseTreeNode,$tw.utils.extend({},attr,{name: name}));\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tparseTreeNode = newParseTreeNode;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Get the widget class for this node type\\n\\tvar WidgetClass = this.widgetClasses[parseTreeNode.type];\\n\\tif(!WidgetClass) {\\n\\t\\tWidgetClass = this.widgetClasses.text;\\n\\t\\tparseTreeNode = {type: \\\"text\\\", text: \\\"Undefined widget '\\\" + parseTreeNode.type + \\\"'\\\"};\\n\\t}\\n\\t// Create set variable widgets for each variable\\n\\t$tw.utils.each(options.variables,function(value,name) {\\n\\t\\tvar setVariableWidget = {\\n\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tname: {type: \\\"string\\\", value: name},\\n\\t\\t\\t\\tvalue: {type: \\\"string\\\", value: value}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [\\n\\t\\t\\t\\tparseTreeNode\\n\\t\\t\\t]\\n\\t\\t};\\n\\t\\tparseTreeNode = setVariableWidget;\\n\\t});\\n\\treturn new WidgetClass(parseTreeNode,{\\n\\t\\twiki: this.wiki,\\n\\t\\tparentWidget: this,\\n\\t\\tdocument: this.document\\n\\t});\\n};\\n\\n/*\\nGet the next sibling of this widget\\n*/\\nWidget.prototype.nextSibling = function() {\\n\\tif(this.parentWidget) {\\n\\t\\tvar index = this.parentWidget.children.indexOf(this);\\n\\t\\tif(index !== -1 && index < this.parentWidget.children.length-1) {\\n\\t\\t\\treturn this.parentWidget.children[index+1];\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nGet the previous sibling of this widget\\n*/\\nWidget.prototype.previousSibling = function() {\\n\\tif(this.parentWidget) {\\n\\t\\tvar index = this.parentWidget.children.indexOf(this);\\n\\t\\tif(index !== -1 && index > 0) {\\n\\t\\t\\treturn this.parentWidget.children[index-1];\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRender the children of this widget into the DOM\\n*/\\nWidget.prototype.renderChildren = function(parent,nextSibling) {\\n\\tvar children = this.children;\\n\\tfor(var i = 0; i < children.length; i++) {\\n\\t\\tchildren[i].render(parent,nextSibling);\\n\\t};\\n};\\n\\n/*\\nAdd a list of event listeners from an array [{type:,handler:},...]\\n*/\\nWidget.prototype.addEventListeners = function(listeners) {\\n\\tvar self = this;\\n\\t$tw.utils.each(listeners,function(listenerInfo) {\\n\\t\\tself.addEventListener(listenerInfo.type,listenerInfo.handler);\\n\\t});\\n};\\n\\n/*\\nAdd an event listener.\\n\\nListener could return a boolean indicating whether to further propagation or not, default to `false`.\\n*/\\nWidget.prototype.addEventListener = function(type,handler) {\\n\\tthis.eventListeners[type] = this.eventListeners[type] || [];\\n\\tif(this.eventListeners[type].indexOf(handler) === -1) {\\n\\t\\tthis.eventListeners[type].push(handler);\\n\\t}\\n};\\n\\n/*\\nRemove an event listener\\n*/\\nWidget.prototype.removeEventListener = function(type,handler) {\\n\\tif(!this.eventListeners[type]) return;\\n\\tvar index = this.eventListeners[type].indexOf(handler);\\n\\tif(index !== -1) {\\n\\t\\tthis.eventListeners[type].splice(index,1);\\n\\t}\\n};\\n\\n/*\\nDispatch an event to a widget.\\n\\nIf the widget doesn't handle the event then it is also dispatched to the parent widget\\n*/\\nWidget.prototype.dispatchEvent = function(event) {\\n\\tevent.widget = event.widget || this;\\n\\tvar listeners = this.eventListeners[event.type];\\n\\tif(listeners) {\\n\\t\\tvar self = this;\\n\\t\\tvar shouldPropagate = true;\\n\\t\\t$tw.utils.each(listeners,function(handler) {\\n\\t\\t\\tvar propagate;\\n\\t\\t\\tif(typeof handler === \\\"string\\\") {\\n\\t\\t\\t\\t // If handler is a string, call it as a method on the widget\\n\\t\\t\\t\\tpropagate = self[handler].call(self,event);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Otherwise call the function handler directly\\n\\t\\t\\t\\tpropagate = handler.call(self,event);\\n\\t\\t\\t}\\n\\t\\t\\tif(propagate === false) {\\n\\t\\t\\t\\tshouldPropagate = false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(!shouldPropagate) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\t// Dispatch the event to the parent widget\\n\\tif(this.parentWidget) {\\n\\t\\treturn this.parentWidget.dispatchEvent(event);\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nRebuild a previously rendered widget\\n*/\\nWidget.prototype.refreshSelf = function() {\\n\\tvar nextSibling = this.findNextSiblingDomNode();\\n\\tthis.removeChildDomNodes();\\n\\tthis.render(this.parentDomNode,nextSibling);\\n};\\n\\n/*\\nRefresh all the children of a widget\\n*/\\nWidget.prototype.refreshChildren = function(changedTiddlers) {\\n\\tvar children = this.children,\\n\\t\\trefreshed = false;\\n\\tfor (var i = 0; i < children.length; i++) {\\n\\t\\trefreshed = children[i].refresh(changedTiddlers) || refreshed;\\n\\t}\\n\\treturn refreshed;\\n};\\n\\n/*\\nFind the next sibling in the DOM to this widget. This is done by scanning the widget tree through all next siblings and their descendents that share the same parent DOM node\\n*/\\nWidget.prototype.findNextSiblingDomNode = function(startIndex) {\\n\\t// Refer to this widget by its index within its parents children\\n\\tvar parent = this.parentWidget,\\n\\t\\tindex = startIndex !== undefined ? startIndex : parent.children.indexOf(this);\\nif(index === -1) {\\n\\tthrow \\\"node not found in parents children\\\";\\n}\\n\\t// Look for a DOM node in the later siblings\\n\\twhile(++index < parent.children.length) {\\n\\t\\tvar domNode = parent.children[index].findFirstDomNode();\\n\\t\\tif(domNode) {\\n\\t\\t\\treturn domNode;\\n\\t\\t}\\n\\t}\\n\\t// Go back and look for later siblings of our parent if it has the same parent dom node\\n\\tvar grandParent = parent.parentWidget;\\n\\tif(grandParent && parent.parentDomNode === this.parentDomNode) {\\n\\t\\tindex = grandParent.children.indexOf(parent);\\n\\t\\tif(index !== -1) {\\n\\t\\t\\treturn parent.findNextSiblingDomNode(index);\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nFind the first DOM node generated by a widget or its children\\n*/\\nWidget.prototype.findFirstDomNode = function() {\\n\\t// Return the first dom node of this widget, if we've got one\\n\\tif(this.domNodes.length > 0) {\\n\\t\\treturn this.domNodes[0];\\n\\t}\\n\\t// Otherwise, recursively call our children\\n\\tfor(var t=0; t<this.children.length; t++) {\\n\\t\\tvar domNode = this.children[t].findFirstDomNode();\\n\\t\\tif(domNode) {\\n\\t\\t\\treturn domNode;\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRemove any DOM nodes created by this widget or its children\\n*/\\nWidget.prototype.removeChildDomNodes = function() {\\n\\t// If this widget has directly created DOM nodes, delete them and exit. This assumes that any child widgets are contained within the created DOM nodes, which would normally be the case\\n\\tif(this.domNodes.length > 0) {\\n\\t\\t$tw.utils.each(this.domNodes,function(domNode) {\\n\\t\\t\\tdomNode.parentNode.removeChild(domNode);\\n\\t\\t});\\n\\t\\tthis.domNodes = [];\\n\\t} else {\\n\\t\\t// Otherwise, ask the child widgets to delete their DOM nodes\\n\\t\\t$tw.utils.each(this.children,function(childWidget) {\\n\\t\\t\\tchildWidget.removeChildDomNodes();\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nInvoke the action widgets that are descendents of the current widget.\\n*/\\nWidget.prototype.invokeActions = function(triggeringWidget,event) {\\n\\tvar handled = false;\\n\\t// For each child widget\\n\\tfor(var t=0; t<this.children.length; t++) {\\n\\t\\tvar child = this.children[t],\\n\\t\\t\\tchildIsActionWidget = !!child.invokeAction,\\n\\t\\t\\tactionRefreshPolicy = child.getVariable(\\\"tv-action-refresh-policy\\\"); // Default is \\\"once\\\"\\n\\t\\t// Refresh the child if required\\n\\t\\tif(childIsActionWidget || actionRefreshPolicy === \\\"always\\\") {\\n\\t\\t\\tchild.refreshSelf();\\n\\t\\t}\\n\\t\\t// Invoke the child if it is an action widget\\n\\t\\tif(childIsActionWidget) {\\n\\t\\t\\tif(child.invokeAction(triggeringWidget,event)) {\\n\\t\\t\\t\\thandled = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Propagate through through the child if it permits it\\n\\t\\tif(child.allowActionPropagation() && child.invokeActions(triggeringWidget,event)) {\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t}\\n\\treturn handled;\\n};\\n\\n/*\\nInvoke the action widgets defined in a string\\n*/\\nWidget.prototype.invokeActionString = function(actions,triggeringWidget,event,variables) {\\n\\tactions = actions || \\\"\\\";\\n\\tvar parser = this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",actions,{\\n\\t\\t\\tparentWidget: this,\\n\\t\\t\\tdocument: this.document\\n\\t\\t}),\\n\\t\\twidgetNode = this.wiki.makeWidget(parser,{\\n\\t\\t\\tparentWidget: this,\\n\\t\\t\\tdocument: this.document,\\n\\t\\t\\tvariables: variables\\n\\t\\t});\\n\\tvar container = this.document.createElement(\\\"div\\\");\\n\\twidgetNode.render(container,null);\\n\\treturn widgetNode.invokeActions(this,event);\\n};\\n\\n/*\\nExecute action tiddlers by tag\\n*/\\nWidget.prototype.invokeActionsByTag = function(tag,event,variables) {\\n\\tvar self = this;\\n\\t$tw.utils.each(self.wiki.filterTiddlers(\\\"[all[shadows+tiddlers]tag[\\\" + tag + \\\"]!has[draft.of]]\\\"),function(title) {\\n\\t\\tself.invokeActionString(self.wiki.getTiddlerText(title),self,event,variables);\\n\\t});\\n};\\n\\nWidget.prototype.allowActionPropagation = function() {\\n\\treturn true;\\n};\\n\\n/*\\nFind child <$data> widgets recursively. The tag name allows aliased versions of the widget to be found too\\n*/\\nWidget.prototype.findChildrenDataWidgets = function(children,tag,callback) {\\n\\tvar self = this;\\n\\t$tw.utils.each(children,function(child) {\\n\\t\\tif(child.dataWidgetTag === tag) {\\n\\t\\t\\tcallback(child);\\n\\t\\t}\\n\\t\\tif(child.children) {\\n\\t\\t\\tself.findChildrenDataWidgets(child.children,tag,callback);\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nEvaluate a variable with parameters. This is a static convenience method that attempts to evaluate a variable as a function, returning an array of strings\\n*/\\nWidget.evaluateVariable = function(widget,name,options) {\\n\\tvar result;\\n\\tif(widget.getVariableInfo) {\\n\\t\\tvar variableInfo = widget.getVariableInfo(name,options);\\n\\t\\tresult = variableInfo.resultList || [variableInfo.text];\\n\\t} else {\\n\\t\\tresult = [widget.getVariable(name)];\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.widget = Widget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/wikify.js\":{\"title\":\"$:/core/modules/widgets/wikify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/wikify.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to wikify text into a variable\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar WikifyWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nWikifyWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nWikifyWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nWikifyWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.wikifyName = this.getAttribute(\\\"name\\\");\\n\\tthis.wikifyText = this.getAttribute(\\\"text\\\");\\n\\tthis.wikifyType = this.getAttribute(\\\"type\\\");\\n\\tthis.wikifyMode = this.getAttribute(\\\"mode\\\",\\\"block\\\");\\n\\tthis.wikifyOutput = this.getAttribute(\\\"output\\\",\\\"text\\\");\\n\\t// Create the parse tree\\n\\tthis.wikifyParser = this.wiki.parseText(this.wikifyType,this.wikifyText,{\\n\\t\\t\\tparseAsInline: this.wikifyMode === \\\"inline\\\"\\n\\t\\t});\\n\\t// Create the widget tree \\n\\tthis.wikifyWidgetNode = this.wiki.makeWidget(this.wikifyParser,{\\n\\t\\t\\tdocument: $tw.fakeDocument,\\n\\t\\t\\tparentWidget: this\\n\\t\\t});\\n\\t// Render the widget tree to the container\\n\\tthis.wikifyContainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\tthis.wikifyWidgetNode.render(this.wikifyContainer,null);\\n\\tthis.wikifyResult = this.getResult();\\n\\t// Set context variable\\n\\tthis.setVariable(this.wikifyName,this.wikifyResult);\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nReturn the result string\\n*/\\nWikifyWidget.prototype.getResult = function() {\\n\\tvar result;\\n\\tswitch(this.wikifyOutput) {\\n\\t\\tcase \\\"text\\\":\\n\\t\\t\\tresult = this.wikifyContainer.textContent;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"formattedtext\\\":\\n\\t\\t\\tresult = this.wikifyContainer.formattedTextContent;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"html\\\":\\n\\t\\t\\tresult = this.wikifyContainer.innerHTML;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"parsetree\\\":\\n\\t\\t\\tresult = JSON.stringify(this.wikifyParser.tree,0,$tw.config.preferences.jsonSpaces);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"widgettree\\\":\\n\\t\\t\\tresult = JSON.stringify(this.getWidgetTree(),0,$tw.config.preferences.jsonSpaces);\\n\\t\\t\\tbreak;\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nReturn a string of the widget tree\\n*/\\nWikifyWidget.prototype.getWidgetTree = function() {\\n\\tvar copyNode = function(widgetNode,resultNode) {\\n\\t\\t\\tvar type = widgetNode.parseTreeNode.type;\\n\\t\\t\\tresultNode.type = type;\\n\\t\\t\\tswitch(type) {\\n\\t\\t\\t\\tcase \\\"element\\\":\\n\\t\\t\\t\\t\\tresultNode.tag = widgetNode.parseTreeNode.tag;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"text\\\":\\n\\t\\t\\t\\t\\tresultNode.text = widgetNode.parseTreeNode.text;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tif(Object.keys(widgetNode.attributes || {}).length > 0) {\\n\\t\\t\\t\\tresultNode.attributes = {};\\n\\t\\t\\t\\t$tw.utils.each(widgetNode.attributes,function(attr,attrName) {\\n\\t\\t\\t\\t\\tresultNode.attributes[attrName] = widgetNode.getAttribute(attrName);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\tif(Object.keys(widgetNode.children || {}).length > 0) {\\n\\t\\t\\t\\tresultNode.children = [];\\n\\t\\t\\t\\t$tw.utils.each(widgetNode.children,function(widgetChildNode) {\\n\\t\\t\\t\\t\\tvar node = {};\\n\\t\\t\\t\\t\\tresultNode.children.push(node);\\n\\t\\t\\t\\t\\tcopyNode(widgetChildNode,node);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tresults = {};\\n\\tcopyNode(this.wikifyWidgetNode,results);\\n\\treturn results;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nWikifyWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\t// Refresh ourselves entirely if any of our attributes have changed\\n\\tif(changedAttributes.name || changedAttributes.text || changedAttributes.type || changedAttributes.mode || changedAttributes.output) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\t// Refresh the widget tree\\n\\t\\tif(this.wikifyWidgetNode.refresh(changedTiddlers)) {\\n\\t\\t\\t// Check if there was any change\\n\\t\\t\\tvar result = this.getResult();\\n\\t\\t\\tif(result !== this.wikifyResult) {\\n\\t\\t\\t\\t// If so, save the change\\n\\t\\t\\t\\tthis.wikifyResult = result;\\n\\t\\t\\t\\tthis.setVariable(this.wikifyName,this.wikifyResult);\\n\\t\\t\\t\\t// Refresh each of our child widgets\\n\\t\\t\\t\\t$tw.utils.each(this.children,function(childWidget) {\\n\\t\\t\\t\\t\\tchildWidget.refreshSelf();\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Just refresh the children\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.wikify = WikifyWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/wiki-bulkops.js\":{\"title\":\"$:/core/modules/wiki-bulkops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/wiki-bulkops.js\\ntype: application/javascript\\nmodule-type: wikimethod\\n\\nBulk tiddler operations such as rename.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\n/*\\nRename a tiddler, and relink any tags or lists that reference it.\\n*/\\nfunction renameTiddler(fromTitle,toTitle,options) {\\n\\tfromTitle = (fromTitle || \\\"\\\").trim();\\n\\ttoTitle = (toTitle || \\\"\\\").trim();\\n\\toptions = options || {};\\n\\tif(fromTitle && toTitle && fromTitle !== toTitle) {\\n\\t\\t// Rename the tiddler itself\\n\\t\\tvar oldTiddler = this.getTiddler(fromTitle),\\n\\t\\t\\tnewTiddler = new $tw.Tiddler(oldTiddler,{title: toTitle},this.getModificationFields());\\n\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-renaming-tiddler\\\",newTiddler,oldTiddler);\\n\\t\\tthis.addTiddler(newTiddler);\\n\\t\\tthis.deleteTiddler(fromTitle);\\n\\t\\t// Rename any tags or lists that reference it\\n\\t\\tthis.relinkTiddler(fromTitle,toTitle,options)\\n\\t}\\n}\\n\\n/*\\nRelink any tags or lists that reference a given tiddler\\n*/\\nfunction relinkTiddler(fromTitle,toTitle,options) {\\n\\tvar self = this;\\n\\tfromTitle = (fromTitle || \\\"\\\").trim();\\n\\ttoTitle = (toTitle || \\\"\\\").trim();\\n\\toptions = options || {};\\n\\tif(fromTitle && toTitle && fromTitle !== toTitle) {\\n\\t\\tthis.each(function(tiddler,title) {\\n\\t\\t\\tvar type = tiddler.fields.type || \\\"\\\";\\n\\t\\t\\t// Don't touch plugins or JavaScript modules\\n\\t\\t\\tif(!tiddler.fields[\\\"plugin-type\\\"] && type !== \\\"application/javascript\\\") {\\n\\t\\t\\t\\tvar tags = tiddler.fields.tags ? tiddler.fields.tags.slice(0) : undefined,\\n\\t\\t\\t\\t\\tlist = tiddler.fields.list ? tiddler.fields.list.slice(0) : undefined,\\n\\t\\t\\t\\t\\tisModified = false,\\n\\t\\t\\t\\t\\tprocessList = function(listField) {\\n\\t\\t\\t\\t\\t\\tif(listField && listField.indexOf(fromTitle) !== -1) {\\n\\t\\t\\t\\t\\t\\t\\t// Remove any existing instances of the toTitle\\n\\t\\t\\t\\t\\t\\t\\tvar p = listField.indexOf(toTitle);\\n\\t\\t\\t\\t\\t\\t\\twhile(p !== -1) {\\n\\t\\t\\t\\t\\t\\t\\t\\tlistField.splice(p,1);\\n\\t\\t\\t\\t\\t\\t\\t\\tp = listField.indexOf(toTitle);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t// Replace the fromTitle with toTitle\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.each(listField,function (title,index) {\\n\\t\\t\\t\\t\\t\\t\\t\\tif(title === fromTitle) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tlistField[index] = toTitle;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tisModified = true;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\tif(!options.dontRenameInTags) {\\n\\t\\t\\t\\t\\t// Rename tags\\n\\t\\t\\t\\t\\tprocessList(tags);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(!options.dontRenameInLists) {\\n\\t\\t\\t\\t\\t// Rename lists\\n\\t\\t\\t\\t\\tprocessList(list);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(isModified) {\\n\\t\\t\\t\\t\\tvar newTiddler = new $tw.Tiddler(tiddler,{tags: tags, list: list},self.getModificationFields())\\n\\t\\t\\t\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-relinking-tiddler\\\",newTiddler,tiddler);\\n\\t\\t\\t\\t\\tself.addTiddler(newTiddler);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\nexports.renameTiddler = renameTiddler;\\nexports.relinkTiddler = relinkTiddler;\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikimethod\"},\"$:/core/modules/wiki.js\":{\"title\":\"$:/core/modules/wiki.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/wiki.js\\ntype: application/javascript\\nmodule-type: wikimethod\\n\\nExtension methods for the $tw.Wiki object\\n\\nAdds the following properties to the wiki object:\\n\\n* `eventListeners` is a hashmap by type of arrays of listener functions\\n* `changedTiddlers` is a hashmap describing changes to named tiddlers since wiki change events were last dispatched. Each entry is a hashmap containing two fields:\\n\\tmodified: true/false\\n\\tdeleted: true/false\\n* `changeCount` is a hashmap by tiddler title containing a numerical index that starts at zero and is incremented each time a tiddler is created changed or deleted\\n* `caches` is a hashmap by tiddler title containing a further hashmap of named cache objects. Caches are automatically cleared when a tiddler is modified or deleted\\n* `globalCache` is a hashmap by cache name of cache objects that are cleared whenever any tiddler change occurs\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nvar USER_NAME_TITLE = \\\"$:/status/UserName\\\",\\n\\tTIMESTAMP_DISABLE_TITLE = \\\"$:/config/TimestampDisable\\\";\\n\\n/*\\nAdd available indexers to this wiki\\n*/\\nexports.addIndexersToWiki = function() {\\n\\tvar self = this;\\n\\t$tw.utils.each($tw.modules.applyMethods(\\\"indexer\\\"),function(Indexer,name) {\\n\\t\\tself.addIndexer(new Indexer(self),name);\\n\\t});\\n};\\n\\n/*\\nGet the value of a text reference. Text references can have any of these forms:\\n\\t<tiddlertitle>\\n\\t<tiddlertitle>!!<fieldname>\\n\\t!!<fieldname> - specifies a field of the current tiddlers\\n\\t<tiddlertitle>##<index>\\n*/\\nexports.getTextReference = function(textRef,defaultText,currTiddlerTitle) {\\n\\tvar tr = $tw.utils.parseTextReference(textRef),\\n\\t\\ttitle = tr.title || currTiddlerTitle;\\n\\tif(tr.field) {\\n\\t\\tvar tiddler = this.getTiddler(title);\\n\\t\\tif(tr.field === \\\"title\\\") { // Special case so we can return the title of a non-existent tiddler\\n\\t\\t\\treturn title || defaultText;\\n\\t\\t} else if(tiddler && $tw.utils.hop(tiddler.fields,tr.field)) {\\n\\t\\t\\treturn tiddler.getFieldString(tr.field);\\n\\t\\t} else {\\n\\t\\t\\treturn defaultText;\\n\\t\\t}\\n\\t} else if(tr.index) {\\n\\t\\treturn this.extractTiddlerDataItem(title,tr.index,defaultText);\\n\\t} else {\\n\\t\\treturn this.getTiddlerText(title,defaultText);\\n\\t}\\n};\\n\\nexports.setTextReference = function(textRef,value,currTiddlerTitle) {\\n\\tvar tr = $tw.utils.parseTextReference(textRef),\\n\\t\\ttitle = tr.title || currTiddlerTitle;\\n\\tthis.setText(title,tr.field,tr.index,value);\\n};\\n\\nexports.setText = function(title,field,index,value,options) {\\n\\toptions = options || {};\\n\\tvar creationFields = options.suppressTimestamp ? {} : this.getCreationFields(),\\n\\t\\tmodificationFields = options.suppressTimestamp ? {} : this.getModificationFields();\\n\\t// Check if it is a reference to a tiddler field\\n\\tif(index) {\\n\\t\\tvar data = this.getTiddlerData(title,Object.create(null));\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\tdata[index] = value;\\n\\t\\t} else {\\n\\t\\t\\tdelete data[index];\\n\\t\\t}\\n\\t\\tthis.setTiddlerData(title,data,{},{suppressTimestamp: options.suppressTimestamp});\\n\\t} else {\\n\\t\\tvar tiddler = this.getTiddler(title),\\n\\t\\t\\tfields = {title: title};\\n\\t\\tfields[field || \\\"text\\\"] = value;\\n\\t\\tthis.addTiddler(new $tw.Tiddler(creationFields,tiddler,fields,modificationFields));\\n\\t}\\n};\\n\\nexports.deleteTextReference = function(textRef,currTiddlerTitle) {\\n\\tvar tr = $tw.utils.parseTextReference(textRef),\\n\\t\\ttitle,tiddler,fields;\\n\\t// Check if it is a reference to a tiddler\\n\\tif(tr.title && !tr.field) {\\n\\t\\tthis.deleteTiddler(tr.title);\\n\\t// Else check for a field reference\\n\\t} else if(tr.field) {\\n\\t\\ttitle = tr.title || currTiddlerTitle;\\n\\t\\ttiddler = this.getTiddler(title);\\n\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,tr.field)) {\\n\\t\\t\\tfields = Object.create(null);\\n\\t\\t\\tfields[tr.field] = undefined;\\n\\t\\t\\tthis.addTiddler(new $tw.Tiddler(tiddler,fields,this.getModificationFields()));\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.addEventListener = function(type,listener) {\\n\\tthis.eventListeners = this.eventListeners || {};\\n\\tthis.eventListeners[type] = this.eventListeners[type] || [];\\n\\tthis.eventListeners[type].push(listener);\\n};\\n\\nexports.removeEventListener = function(type,listener) {\\n\\tvar listeners = this.eventListeners[type];\\n\\tif(listeners) {\\n\\t\\tvar p = listeners.indexOf(listener);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tlisteners.splice(p,1);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.dispatchEvent = function(type /*, args */) {\\n\\tvar args = Array.prototype.slice.call(arguments,1),\\n\\t\\tlisteners = this.eventListeners[type];\\n\\tif(listeners) {\\n\\t\\tfor(var p=0; p<listeners.length; p++) {\\n\\t\\t\\tvar listener = listeners[p];\\n\\t\\t\\tlistener.apply(listener,args);\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nCauses a tiddler to be marked as changed, incrementing the change count, and triggers event handlers.\\nThis method should be called after the changes it describes have been made to the wiki.tiddlers[] array.\\n\\ttitle: Title of tiddler\\n\\tisDeleted: defaults to false (meaning the tiddler has been created or modified),\\n\\t\\ttrue if the tiddler has been deleted\\n\\tisShadow: defaults to false (meaning the change applies to the normal tiddler),\\n\\t\\ttrue if the tiddler being changed is a shadow tiddler\\n*/\\nexports.enqueueTiddlerEvent = function(title,isDeleted,isShadow) {\\n\\t// Record the touch in the list of changed tiddlers\\n\\tthis.changedTiddlers = this.changedTiddlers || Object.create(null);\\n\\tthis.changedTiddlers[title] = this.changedTiddlers[title] || Object.create(null);\\n\\tthis.changedTiddlers[title][isDeleted ? \\\"deleted\\\" : \\\"modified\\\"] = true;\\n\\tthis.changedTiddlers[title][isShadow ? \\\"shadow\\\" : \\\"normal\\\"] = true;\\n\\t// Increment the change count\\n\\tthis.changeCount = this.changeCount || Object.create(null);\\n\\tif($tw.utils.hop(this.changeCount,title)) {\\n\\t\\tthis.changeCount[title]++;\\n\\t} else {\\n\\t\\tthis.changeCount[title] = 1;\\n\\t}\\n\\t// Trigger events\\n\\tthis.eventListeners = this.eventListeners || {};\\n\\tif(!this.eventsTriggered) {\\n\\t\\tvar self = this;\\n\\t\\t$tw.utils.nextTick(function() {\\n\\t\\t\\tvar changes = self.changedTiddlers;\\n\\t\\t\\tself.changedTiddlers = Object.create(null);\\n\\t\\t\\tself.eventsTriggered = false;\\n\\t\\t\\tif($tw.utils.count(changes) > 0) {\\n\\t\\t\\t\\tself.dispatchEvent(\\\"change\\\",changes);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tthis.eventsTriggered = true;\\n\\t}\\n};\\n\\nexports.getSizeOfTiddlerEventQueue = function() {\\n\\treturn $tw.utils.count(this.changedTiddlers);\\n};\\n\\nexports.clearTiddlerEventQueue = function() {\\n\\tthis.changedTiddlers = Object.create(null);\\n\\tthis.changeCount = Object.create(null);\\n};\\n\\nexports.getChangeCount = function(title) {\\n\\tthis.changeCount = this.changeCount || Object.create(null);\\n\\tif($tw.utils.hop(this.changeCount,title)) {\\n\\t\\treturn this.changeCount[title];\\n\\t} else {\\n\\t\\treturn 0;\\n\\t}\\n};\\n\\n/*\\nGenerate an unused title from the specified base\\noptions.prefix must be a string\\n*/\\nexports.generateNewTitle = function(baseTitle,options) {\\n\\toptions = options || {};\\n\\tvar title = baseTitle,\\n\\t\\ttemplate = options.template || \\\"\\\",\\n\\t\\t// test if .startCount is a positive integer. If not set to 0\\n\\t\\tc = (parseInt(options.startCount,10) > 0) ? parseInt(options.startCount,10) : 0,\\n\\t\\tprefix = (typeof(options.prefix) === \\\"string\\\") ? options.prefix : \\\" \\\";\\n\\n\\tif (template) {\\n\\t\\t// \\\"count\\\" is important to avoid an endless loop in while(...)!!\\n\\t\\ttemplate = (/\\\\$count:?(\\\\d+)?\\\\$/i.test(template)) ? template : template + \\\"$count$\\\";\\n\\t\\t// .formatTitleString() expects strings as input\\n\\t\\ttitle = $tw.utils.formatTitleString(template,{\\\"base\\\":baseTitle,\\\"separator\\\":prefix,\\\"counter\\\":c+\\\"\\\"});\\n\\t\\twhile(this.tiddlerExists(title) || this.isShadowTiddler(title) || this.findDraft(title)) {\\n\\t\\t\\ttitle = $tw.utils.formatTitleString(template,{\\\"base\\\":baseTitle,\\\"separator\\\":prefix,\\\"counter\\\":(++c)+\\\"\\\"});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif (c > 0) {\\n\\t\\t\\ttitle = baseTitle + prefix + c;\\n\\t\\t}\\n\\t\\twhile(this.tiddlerExists(title) || this.isShadowTiddler(title) || this.findDraft(title)) {\\n\\t\\t\\ttitle = baseTitle + prefix + (++c);\\n\\t\\t}\\n\\t}\\n\\treturn title;\\n};\\n\\nexports.isSystemTiddler = function(title) {\\n\\treturn title && title.indexOf(\\\"$:/\\\") === 0;\\n};\\n\\nexports.isTemporaryTiddler = function(title) {\\n\\treturn title && title.indexOf(\\\"$:/temp/\\\") === 0;\\n};\\n\\nexports.isVolatileTiddler = function(title) {\\n\\treturn title && title.indexOf(\\\"$:/temp/volatile/\\\") === 0;\\n};\\n\\nexports.isImageTiddler = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar contentTypeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\"];\\n\\t\\treturn !!contentTypeInfo && contentTypeInfo.flags.indexOf(\\\"image\\\") !== -1;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\nexports.isBinaryTiddler = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar contentTypeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\"];\\n\\t\\treturn !!contentTypeInfo && contentTypeInfo.encoding === \\\"base64\\\";\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nLike addTiddler() except it will silently reject any plugin tiddlers that are older than the currently loaded version. Returns true if the tiddler was imported\\n*/\\nexports.importTiddler = function(tiddler) {\\n\\tvar existingTiddler = this.getTiddler(tiddler.fields.title);\\n\\t// Check if we're dealing with a plugin\\n\\tif(tiddler && tiddler.hasField(\\\"plugin-type\\\") && tiddler.hasField(\\\"version\\\") && existingTiddler && existingTiddler.hasField(\\\"plugin-type\\\") && existingTiddler.hasField(\\\"version\\\")) {\\n\\t\\t// Reject the incoming plugin if it is older\\n\\t\\tif(!$tw.utils.checkVersions(tiddler.fields.version,existingTiddler.fields.version)) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\t// Fall through to adding the tiddler\\n\\tthis.addTiddler(tiddler);\\n\\treturn true;\\n};\\n\\n/*\\nReturn a hashmap of the fields that should be set when a tiddler is created\\n*/\\nexports.getCreationFields = function() {\\n\\tif(this.getTiddlerText(TIMESTAMP_DISABLE_TITLE,\\\"\\\").toLowerCase() !== \\\"yes\\\") {\\n\\t\\tvar fields = {\\n\\t\\t\\t\\tcreated: new Date()\\n\\t\\t\\t},\\n\\t\\t\\tcreator = this.getTiddlerText(USER_NAME_TITLE);\\n\\t\\tif(creator) {\\n\\t\\t\\tfields.creator = creator;\\n\\t\\t}\\n\\t\\treturn fields;\\n\\t} else {\\n\\t\\treturn {};\\n\\t}\\n};\\n\\n/*\\nReturn a hashmap of the fields that should be set when a tiddler is modified\\n*/\\nexports.getModificationFields = function() {\\n\\tif(this.getTiddlerText(TIMESTAMP_DISABLE_TITLE,\\\"\\\").toLowerCase() !== \\\"yes\\\") {\\n\\t\\tvar fields = Object.create(null),\\n\\t\\t\\tmodifier = this.getTiddlerText(USER_NAME_TITLE);\\n\\t\\tfields.modified = new Date();\\n\\t\\tif(modifier) {\\n\\t\\t\\tfields.modifier = modifier;\\n\\t\\t}\\n\\t\\treturn fields;\\n\\t} else {\\n\\t\\treturn {};\\n\\t}\\n};\\n\\n/*\\nReturn a sorted array of tiddler titles. Options include:\\nsortField: field to sort by\\nexcludeTag: tag to exclude\\nincludeSystem: whether to include system tiddlers (defaults to false)\\n*/\\nexports.getTiddlers = function(options) {\\n\\toptions = options || Object.create(null);\\n\\tvar self = this,\\n\\t\\tsortField = options.sortField || \\\"title\\\",\\n\\t\\ttiddlers = [], t, titles = [];\\n\\tthis.each(function(tiddler,title) {\\n\\t\\tif(options.includeSystem || !self.isSystemTiddler(title)) {\\n\\t\\t\\tif(!options.excludeTag || !tiddler.hasTag(options.excludeTag)) {\\n\\t\\t\\t\\ttiddlers.push(tiddler);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\ttiddlers.sort(function(a,b) {\\n\\t\\tvar aa = a.fields[sortField].toLowerCase() || \\\"\\\",\\n\\t\\t\\tbb = b.fields[sortField].toLowerCase() || \\\"\\\";\\n\\t\\tif(aa < bb) {\\n\\t\\t\\treturn -1;\\n\\t\\t} else {\\n\\t\\t\\tif(aa > bb) {\\n\\t\\t\\t\\treturn 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tfor(t=0; t<tiddlers.length; t++) {\\n\\t\\ttitles.push(tiddlers[t].fields.title);\\n\\t}\\n\\treturn titles;\\n};\\n\\nexports.countTiddlers = function(excludeTag) {\\n\\tvar tiddlers = this.getTiddlers({excludeTag: excludeTag});\\n\\treturn $tw.utils.count(tiddlers);\\n};\\n\\n/*\\nReturns a function iterator(callback) that iterates through the specified titles, and invokes the callback with callback(tiddler,title)\\n*/\\nexports.makeTiddlerIterator = function(titles) {\\n\\tvar self = this;\\n\\tif(!$tw.utils.isArray(titles)) {\\n\\t\\ttitles = Object.keys(titles);\\n\\t} else {\\n\\t\\ttitles = titles.slice(0);\\n\\t}\\n\\treturn function(callback) {\\n\\t\\ttitles.forEach(function(title) {\\n\\t\\t\\tcallback(self.getTiddler(title),title);\\n\\t\\t});\\n\\t};\\n};\\n\\n/*\\nSort an array of tiddler titles by a specified field\\n\\ttitles: array of titles (sorted in place)\\n\\tsortField: name of field to sort by\\n\\tisDescending: true if the sort should be descending\\n\\tisCaseSensitive: true if the sort should consider upper and lower case letters to be different\\n*/\\nexports.sortTiddlers = function(titles,sortField,isDescending,isCaseSensitive,isNumeric,isAlphaNumeric) {\\n\\tvar self = this;\\n\\tif(sortField === \\\"title\\\") {\\n\\t\\tif(!isNumeric && !isAlphaNumeric) {\\n\\t\\t\\tif(isCaseSensitive) {\\n\\t\\t\\t\\tif(isDescending) {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn b.localeCompare(a);\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn a.localeCompare(b);\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(isDescending) {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn b.toLowerCase().localeCompare(a.toLowerCase());\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn a.toLowerCase().localeCompare(b.toLowerCase());\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\tvar x,y;\\n\\t\\t\\t\\tif(isNumeric) {\\n\\t\\t\\t\\t\\tx = Number(a);\\n\\t\\t\\t\\t\\ty = Number(b);\\n\\t\\t\\t\\t\\tif(isNaN(x)) {\\n\\t\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\t\\t// If neither value is a number then fall through to a textual comparison\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\treturn isDescending ? -1 : 1;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\t\\treturn isDescending ? 1 : -1;\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\treturn isDescending ? y - x : x - y;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(isAlphaNumeric) {\\n\\t\\t\\t\\t\\treturn isDescending ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \\\"base\\\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \\\"base\\\"});\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn isDescending ? b.localeCompare(a) : a.localeCompare(b);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\tvar x,y;\\n\\t\\t\\tif(sortField !== \\\"title\\\") {\\n\\t\\t\\t\\tvar tiddlerA = self.getTiddler(a),\\n\\t\\t\\t\\t\\ttiddlerB = self.getTiddler(b);\\n\\t\\t\\t\\tif(tiddlerA) {\\n\\t\\t\\t\\t\\ta = tiddlerA.fields[sortField] || \\\"\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ta = \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(tiddlerB) {\\n\\t\\t\\t\\t\\tb = tiddlerB.fields[sortField] || \\\"\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tb = \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(isNumeric) {\\n\\t\\t\\t\\tx = Number(a);\\n\\t\\t\\t\\ty = Number(b);\\n\\t\\t\\t\\tif(isNaN(x)) {\\n\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\t// If neither value is a number then fall through to a textual comparison\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn isDescending ? -1 : 1;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\treturn isDescending ? 1 : -1;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn isDescending ? y - x : x - y;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(Object.prototype.toString.call(a) === \\\"[object Date]\\\" && Object.prototype.toString.call(b) === \\\"[object Date]\\\") {\\n\\t\\t\\t\\treturn isDescending ? b - a : a - b;\\n\\t\\t\\t}\\n\\t\\t\\ta = String(a);\\n\\t\\t\\tb = String(b);\\n\\t\\t\\tif(isAlphaNumeric) {\\n\\t\\t\\t\\treturn isDescending ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \\\"base\\\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \\\"base\\\"});\\n\\t\\t\\t}\\n\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t}\\n\\t\\t\\treturn isDescending ? b.localeCompare(a) : a.localeCompare(b);\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nFor every tiddler invoke a callback(title,tiddler) with `this` set to the wiki object. Options include:\\nsortField: field to sort by\\nexcludeTag: tag to exclude\\nincludeSystem: whether to include system tiddlers (defaults to false)\\n*/\\nexports.forEachTiddler = function(/* [options,]callback */) {\\n\\tvar arg = 0,\\n\\t\\toptions = arguments.length >= 2 ? arguments[arg++] : {},\\n\\t\\tcallback = arguments[arg++],\\n\\t\\ttitles = this.getTiddlers(options),\\n\\t\\tt, tiddler;\\n\\tfor(t=0; t<titles.length; t++) {\\n\\t\\ttiddler = this.getTiddler(titles[t]);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tcallback.call(this,tiddler.fields.title,tiddler);\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nReturn an array of tiddler titles that are directly linked within the given parse tree\\n */\\nexports.extractLinks = function(parseTreeRoot) {\\n\\t// Count up the links\\n\\tvar links = [],\\n\\t\\tcheckParseTree = function(parseTree) {\\n\\t\\t\\tfor(var t=0; t<parseTree.length; t++) {\\n\\t\\t\\t\\tvar parseTreeNode = parseTree[t];\\n\\t\\t\\t\\tif(parseTreeNode.type === \\\"link\\\" && parseTreeNode.attributes.to && parseTreeNode.attributes.to.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\tvar value = parseTreeNode.attributes.to.value;\\n\\t\\t\\t\\t\\tif(links.indexOf(value) === -1) {\\n\\t\\t\\t\\t\\t\\tlinks.push(value);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(parseTreeNode.children) {\\n\\t\\t\\t\\t\\tcheckParseTree(parseTreeNode.children);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\tcheckParseTree(parseTreeRoot);\\n\\treturn links;\\n};\\n\\n/*\\nReturn an array of tiddler titles that are directly linked from the specified tiddler\\n*/\\nexports.getTiddlerLinks = function(title) {\\n\\tvar self = this;\\n\\t// We'll cache the links so they only get computed if the tiddler changes\\n\\treturn this.getCacheForTiddler(title,\\\"links\\\",function() {\\n\\t\\t// Parse the tiddler\\n\\t\\tvar parser = self.parseTiddler(title);\\n\\t\\tif(parser) {\\n\\t\\t\\treturn self.extractLinks(parser.tree);\\n\\t\\t}\\n\\t\\treturn [];\\n\\t});\\n};\\n\\n/*\\nReturn an array of tiddler titles that link to the specified tiddler\\n*/\\nexports.getTiddlerBacklinks = function(targetTitle) {\\n\\tvar self = this,\\n\\t\\tbackIndexer = this.getIndexer(\\\"BackIndexer\\\"),\\n\\t\\tbacklinks = backIndexer && backIndexer.subIndexers.link.lookup(targetTitle);\\n\\n\\tif(!backlinks) {\\n\\t\\tbacklinks = [];\\n\\t\\tthis.forEachTiddler(function(title,tiddler) {\\n\\t\\t\\tvar links = self.getTiddlerLinks(title);\\n\\t\\t\\tif(links.indexOf(targetTitle) !== -1) {\\n\\t\\t\\t\\tbacklinks.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn backlinks;\\n};\\n\\n\\n/*\\nReturn an array of tiddler titles that are directly transcluded within the given parse tree. `title` is the tiddler being parsed, we will ignore its self-referential transclusions, only return\\n */\\nexports.extractTranscludes = function(parseTreeRoot, title) {\\n\\t// Count up the transcludes\\n\\tvar transcludes = [],\\n\\t\\tcheckParseTree = function(parseTree, parentNode) {\\n\\t\\t\\tfor(var t=0; t<parseTree.length; t++) {\\n\\t\\t\\t\\tvar parseTreeNode = parseTree[t];\\n\\t\\t\\t\\tif(parseTreeNode.type === \\\"transclude\\\") {\\n\\t\\t\\t\\t\\tif(parseTreeNode.attributes.$tiddler) {\\n\\t\\t\\t\\t\\t\\tif(parseTreeNode.attributes.$tiddler.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar value;\\n\\t\\t\\t\\t\\t\\t\\t// if it is Transclusion with Templates like `{{Index||$:/core/ui/TagTemplate}}`, the `$tiddler` will point to the template. We need to find the actual target tiddler from parent node\\n\\t\\t\\t\\t\\t\\t\\tif(parentNode && parentNode.type === \\\"tiddler\\\" && parentNode.attributes.tiddler && parentNode.attributes.tiddler.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t\\t\\t// Empty value (like `{{!!field}}`) means self-referential transclusion.\\n\\t\\t\\t\\t\\t\\t\\t\\tvalue = parentNode.attributes.tiddler.value || title;\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tvalue = parseTreeNode.attributes.$tiddler.value;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t} else if(parseTreeNode.attributes.tiddler) {\\n\\t\\t\\t\\t\\t\\tif (parseTreeNode.attributes.tiddler.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t\\t// Old transclude widget usage\\n\\t\\t\\t\\t\\t\\t\\tvalue = parseTreeNode.attributes.tiddler.value;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t} else if(parseTreeNode.attributes.$field && parseTreeNode.attributes.$field.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t// Empty value (like `<$transclude $field='created'/>`) means self-referential transclusion. \\n\\t\\t\\t\\t\\t\\tvalue = title;\\n\\t\\t\\t\\t\\t} else if(parseTreeNode.attributes.field && parseTreeNode.attributes.field.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t// Old usage with Empty value (like `<$transclude field='created'/>`)\\n\\t\\t\\t\\t\\t\\tvalue = title;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Deduplicate the result.\\n\\t\\t\\t\\t\\tif(value && transcludes.indexOf(value) === -1) {\\n\\t\\t\\t\\t\\t\\t$tw.utils.pushTop(transcludes,value);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(parseTreeNode.children) {\\n\\t\\t\\t\\t\\tcheckParseTree(parseTreeNode.children,parseTreeNode);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\tcheckParseTree(parseTreeRoot);\\n\\treturn transcludes;\\n};\\n\\n\\n/*\\nReturn an array of tiddler titles that are transcluded from the specified tiddler\\n*/\\nexports.getTiddlerTranscludes = function(title) {\\n\\tvar self = this;\\n\\t// We'll cache the transcludes so they only get computed if the tiddler changes\\n\\treturn this.getCacheForTiddler(title,\\\"transcludes\\\",function() {\\n\\t\\t// Parse the tiddler\\n\\t\\tvar parser = self.parseTiddler(title);\\n\\t\\tif(parser) {\\n\\t\\t\\t// this will ignore self-referential transclusions from `title`\\n\\t\\t\\treturn self.extractTranscludes(parser.tree,title);\\n\\t\\t}\\n\\t\\treturn [];\\n\\t});\\n};\\n\\n/*\\nReturn an array of tiddler titles that transclude to the specified tiddler\\n*/\\nexports.getTiddlerBacktranscludes = function(targetTitle) {\\n\\tvar self = this,\\n\\t\\tbackIndexer = this.getIndexer(\\\"BackIndexer\\\"),\\n\\t\\tbacktranscludes = backIndexer && backIndexer.subIndexers.transclude.lookup(targetTitle);\\n\\n\\tif(!backtranscludes) {\\n\\t\\tbacktranscludes = [];\\n\\t}\\n\\treturn backtranscludes;\\n};\\n\\n/*\\nReturn a hashmap of tiddler titles that are referenced but not defined. Each value is the number of times the missing tiddler is referenced\\n*/\\nexports.getMissingTitles = function() {\\n\\tvar self = this,\\n\\t\\tmissing = [];\\n// We should cache the missing tiddler list, even if we recreate it every time any tiddler is modified\\n\\tthis.forEachTiddler(function(title,tiddler) {\\n\\t\\tvar links = self.getTiddlerLinks(title);\\n\\t\\t$tw.utils.each(links,function(link) {\\n\\t\\t\\tif((!self.tiddlerExists(link) && !self.isShadowTiddler(link)) && missing.indexOf(link) === -1) {\\n\\t\\t\\t\\tmissing.push(link);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\treturn missing;\\n};\\n\\nexports.getOrphanTitles = function() {\\n\\tvar self = this,\\n\\t\\torphans = this.getTiddlers();\\n\\tthis.forEachTiddler(function(title,tiddler) {\\n\\t\\tvar links = self.getTiddlerLinks(title);\\n\\t\\t$tw.utils.each(links,function(link) {\\n\\t\\t\\tvar p = orphans.indexOf(link);\\n\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\torphans.splice(p,1);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\treturn orphans; // Todo\\n};\\n\\n/*\\nRetrieves a list of the tiddler titles that are tagged with a given tag\\n*/\\nexports.getTiddlersWithTag = function(tag) {\\n\\t// Try to use the indexer\\n\\tvar self = this,\\n\\t\\ttagIndexer = this.getIndexer(\\\"TagIndexer\\\"),\\n\\t\\tresults = tagIndexer && tagIndexer.subIndexers[3].lookup(tag);\\n\\tif(!results) {\\n\\t\\t// If not available, perform a manual scan\\n\\t\\tresults = this.getGlobalCache(\\\"taglist-\\\" + tag,function() {\\n\\t\\t\\tvar tagmap = self.getTagMap();\\n\\t\\t\\treturn self.sortByList(tagmap[tag],tag);\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nGet a hashmap by tag of arrays of tiddler titles\\n*/\\nexports.getTagMap = function() {\\n\\tvar self = this;\\n\\treturn this.getGlobalCache(\\\"tagmap\\\",function() {\\n\\t\\tvar tags = Object.create(null),\\n\\t\\t\\tstoreTags = function(tagArray,title) {\\n\\t\\t\\t\\tif(tagArray) {\\n\\t\\t\\t\\t\\tfor(var index=0; index<tagArray.length; index++) {\\n\\t\\t\\t\\t\\t\\tvar tag = tagArray[index];\\n\\t\\t\\t\\t\\t\\tif($tw.utils.hop(tags,tag)) {\\n\\t\\t\\t\\t\\t\\t\\ttags[tag].push(title);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\ttags[tag] = [title];\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\ttitle, tiddler;\\n\\t\\t// Collect up all the tags\\n\\t\\tself.eachShadow(function(tiddler,title) {\\n\\t\\t\\tif(!self.tiddlerExists(title)) {\\n\\t\\t\\t\\ttiddler = self.getTiddler(title);\\n\\t\\t\\t\\tstoreTags(tiddler.fields.tags,title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tself.each(function(tiddler,title) {\\n\\t\\t\\tstoreTags(tiddler.fields.tags,title);\\n\\t\\t});\\n\\t\\treturn tags;\\n\\t});\\n};\\n\\n/*\\nLookup a given tiddler and return a list of all the tiddlers that include it in the specified list field\\n*/\\nexports.findListingsOfTiddler = function(targetTitle,fieldName) {\\n\\tfieldName = fieldName || \\\"list\\\";\\n\\tvar wiki = this;\\n\\tvar listings = this.getGlobalCache(\\\"listings-\\\" + fieldName,function() {\\n\\t\\tvar listings = Object.create(null);\\n\\t\\twiki.each(function(tiddler,title) {\\n\\t\\t\\tvar list = $tw.utils.parseStringArray(tiddler.fields[fieldName]);\\n\\t\\t\\tif(list) {\\n\\t\\t\\t\\tfor(var i = 0; i < list.length; i++) {\\n\\t\\t\\t\\t\\tvar listItem = list[i],\\n\\t\\t\\t\\t\\t\\tlisting = listings[listItem] || [];\\n\\t\\t\\t\\t\\tif (listing.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\t\\tlisting.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tlistings[listItem] = listing;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn listings;\\n\\t});\\n\\treturn listings[targetTitle] || [];\\n};\\n\\n/*\\nSorts an array of tiddler titles according to an ordered list\\n*/\\nexports.sortByList = function(array,listTitle) {\\n\\tvar self = this,\\n\\t\\treplacedTitles = Object.create(null);\\n\\t// Given a title, this function will place it in the correct location\\n\\t// within titles.\\n\\tfunction moveItemInList(title) {\\n\\t\\tif(!$tw.utils.hop(replacedTitles, title)) {\\n\\t\\t\\treplacedTitles[title] = true;\\n\\t\\t\\tvar newPos = -1,\\n\\t\\t\\t\\ttiddler = self.getTiddler(title);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tvar beforeTitle = tiddler.fields[\\\"list-before\\\"],\\n\\t\\t\\t\\t\\tafterTitle = tiddler.fields[\\\"list-after\\\"];\\n\\t\\t\\t\\tif(beforeTitle === \\\"\\\") {\\n\\t\\t\\t\\t\\tnewPos = 0;\\n\\t\\t\\t\\t} else if(afterTitle === \\\"\\\") {\\n\\t\\t\\t\\t\\tnewPos = titles.length;\\n\\t\\t\\t\\t} else if(beforeTitle) {\\n\\t\\t\\t\\t\\t// if this title is placed relative\\n\\t\\t\\t\\t\\t// to another title, make sure that\\n\\t\\t\\t\\t\\t// title is placed before we place\\n\\t\\t\\t\\t\\t// this one.\\n\\t\\t\\t\\t\\tmoveItemInList(beforeTitle);\\n\\t\\t\\t\\t\\tnewPos = titles.indexOf(beforeTitle);\\n\\t\\t\\t\\t} else if(afterTitle) {\\n\\t\\t\\t\\t\\t// Same deal\\n\\t\\t\\t\\t\\tmoveItemInList(afterTitle);\\n\\t\\t\\t\\t\\tnewPos = titles.indexOf(afterTitle);\\n\\t\\t\\t\\t\\tif(newPos >= 0) {\\n\\t\\t\\t\\t\\t\\t++newPos;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If a new position is specified, let's move it\\n\\t\\t\\t\\tif (newPos !== -1) {\\n\\t\\t\\t\\t\\t// get its current Pos, and make sure\\n\\t\\t\\t\\t\\t// sure that it's _actually_ in the list\\n\\t\\t\\t\\t\\t// and that it would _actually_ move\\n\\t\\t\\t\\t\\t// (#4275) We don't bother calling\\n\\t\\t\\t\\t\\t// indexOf unless we have a new\\n\\t\\t\\t\\t\\t// position to work with\\n\\t\\t\\t\\t\\tvar currPos = titles.indexOf(title);\\n\\t\\t\\t\\t\\tif(currPos >= 0 && newPos !== currPos) {\\n\\t\\t\\t\\t\\t\\t// move it!\\n\\t\\t\\t\\t\\t\\ttitles.splice(currPos,1);\\n\\t\\t\\t\\t\\t\\tif(newPos >= currPos) {\\n\\t\\t\\t\\t\\t\\t\\tnewPos--;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\ttitles.splice(newPos,0,title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tvar list = this.getTiddlerList(listTitle);\\n\\tif(!array || array.length === 0) {\\n\\t\\treturn [];\\n\\t} else {\\n\\t\\tvar titles = [], t, title;\\n\\t\\t// First place any entries that are present in the list\\n\\t\\tfor(t=0; t<list.length; t++) {\\n\\t\\t\\ttitle = list[t];\\n\\t\\t\\tif(array.indexOf(title) !== -1) {\\n\\t\\t\\t\\ttitles.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Then place any remaining entries\\n\\t\\tfor(t=0; t<array.length; t++) {\\n\\t\\t\\ttitle = array[t];\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\ttitles.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Finally obey the list-before and list-after fields of each tiddler in turn\\n\\t\\tvar sortedTitles = titles.slice(0);\\n\\t\\tfor(t=0; t<sortedTitles.length; t++) {\\n\\t\\t\\ttitle = sortedTitles[t];\\n\\t\\t\\tmoveItemInList(title);\\n\\t\\t}\\n\\t\\treturn titles;\\n\\t}\\n};\\n\\nexports.getSubTiddler = function(title,subTiddlerTitle) {\\n\\tvar bundleInfo = this.getPluginInfo(title) || this.getTiddlerDataCached(title);\\n\\tif(bundleInfo && bundleInfo.tiddlers) {\\n\\t\\tvar subTiddler = bundleInfo.tiddlers[subTiddlerTitle];\\n\\t\\tif(subTiddler) {\\n\\t\\t\\treturn new $tw.Tiddler(subTiddler);\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRetrieve a tiddler as a JSON string of the fields\\n*/\\nexports.getTiddlerAsJson = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar fields = Object.create(null);\\n\\t\\t$tw.utils.each(tiddler.fields,function(value,name) {\\n\\t\\t\\tfields[name] = tiddler.getFieldString(name);\\n\\t\\t});\\n\\t\\treturn JSON.stringify(fields);\\n\\t} else {\\n\\t\\treturn JSON.stringify({title: title});\\n\\t}\\n};\\n\\nexports.getTiddlersAsJson = function(filter,spaces) {\\n\\tvar tiddlers = this.filterTiddlers(filter),\\n\\t\\tspaces = (spaces === undefined) ? $tw.config.preferences.jsonSpaces : spaces,\\n\\t\\tdata = [];\\n\\tfor(var t=0;t<tiddlers.length; t++) {\\n\\t\\tvar tiddler = this.getTiddler(tiddlers[t]);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tvar fields = new Object();\\n\\t\\t\\tfor(var field in tiddler.fields) {\\n\\t\\t\\t\\tfields[field] = tiddler.getFieldString(field);\\n\\t\\t\\t}\\n\\t\\t\\tdata.push(fields);\\n\\t\\t}\\n\\t}\\n\\treturn JSON.stringify(data,null,spaces);\\n};\\n\\n/*\\nGet the content of a tiddler as a JavaScript object. How this is done depends on the type of the tiddler:\\n\\napplication/json: the tiddler JSON is parsed into an object\\napplication/x-tiddler-dictionary: the tiddler is parsed as sequence of name:value pairs\\n\\nOther types currently just return null.\\n\\ntitleOrTiddler: string tiddler title or a tiddler object\\ndefaultData: default data to be returned if the tiddler is missing or doesn't contain data\\n\\nNote that the same value is returned for repeated calls for the same tiddler data. The value is frozen to prevent modification; otherwise modifications would be visible to all callers\\n*/\\nexports.getTiddlerDataCached = function(titleOrTiddler,defaultData) {\\n\\tvar self = this,\\n\\t\\ttiddler = titleOrTiddler;\\n\\tif(!(tiddler instanceof $tw.Tiddler)) {\\n\\t\\ttiddler = this.getTiddler(tiddler);\\n\\t}\\n\\tif(tiddler) {\\n\\t\\treturn this.getCacheForTiddler(tiddler.fields.title,\\\"data\\\",function() {\\n\\t\\t\\t// Return the frozen value\\n\\t\\t\\tvar value = self.getTiddlerData(tiddler.fields.title,undefined);\\n\\t\\t\\t$tw.utils.deepFreeze(value);\\n\\t\\t\\treturn value;\\n\\t\\t}) || defaultData;\\n\\t} else {\\n\\t\\treturn defaultData;\\n\\t}\\n};\\n\\n/*\\nAlternative, uncached version of getTiddlerDataCached(). The return value can be mutated freely and reused\\n*/\\nexports.getTiddlerData = function(titleOrTiddler,defaultData) {\\n\\tvar tiddler = titleOrTiddler,\\n\\t\\tdata;\\n\\tif(!(tiddler instanceof $tw.Tiddler)) {\\n\\t\\ttiddler = this.getTiddler(tiddler);\\n\\t}\\n\\tif(tiddler && tiddler.fields.text) {\\n\\t\\tswitch(tiddler.fields.type) {\\n\\t\\t\\tcase \\\"application/json\\\":\\n\\t\\t\\t\\t// JSON tiddler\\n\\t\\t\\t\\treturn $tw.utils.parseJSONSafe(tiddler.fields.text,defaultData);\\n\\t\\t\\tcase \\\"application/x-tiddler-dictionary\\\":\\n\\t\\t\\t\\treturn $tw.utils.parseFields(tiddler.fields.text);\\n\\t\\t}\\n\\t}\\n\\treturn defaultData;\\n};\\n\\n/*\\nExtract an indexed field from within a data tiddler\\n*/\\nexports.extractTiddlerDataItem = function(titleOrTiddler,index,defaultText) {\\n\\tvar data = this.getTiddlerDataCached(titleOrTiddler,Object.create(null)),\\n\\t\\ttext;\\n\\tif(data && $tw.utils.hop(data,index)) {\\n\\t\\ttext = data[index];\\n\\t}\\n\\tif(typeof text === \\\"string\\\" || typeof text === \\\"number\\\") {\\n\\t\\treturn text.toString();\\n\\t} else {\\n\\t\\treturn defaultText;\\n\\t}\\n};\\n\\n/*\\nSet a tiddlers content to a JavaScript object. Currently this is done by setting the tiddler's type to \\\"application/json\\\" and setting the text to the JSON text of the data.\\ntitle: title of tiddler\\ndata: object that can be serialised to JSON\\nfields: optional hashmap of additional tiddler fields to be set\\noptions: optional hashmap of options including:\\n\\tsuppressTimestamp: if true, don't set the creation/modification timestamps\\n*/\\nexports.setTiddlerData = function(title,data,fields,options) {\\n\\toptions = options || {};\\n\\tvar existingTiddler = this.getTiddler(title),\\n\\t\\tcreationFields = options.suppressTimestamp ? {} : this.getCreationFields(),\\n\\t\\tmodificationFields = options.suppressTimestamp ? {} : this.getModificationFields(),\\n\\t\\tnewFields = {\\n\\t\\t\\ttitle: title\\n\\t\\t};\\n\\tif(existingTiddler && existingTiddler.fields.type === \\\"application/x-tiddler-dictionary\\\") {\\n\\t\\tnewFields.text = $tw.utils.makeTiddlerDictionary(data);\\n\\t} else {\\n\\t\\tnewFields.type = \\\"application/json\\\";\\n\\t\\tnewFields.text = JSON.stringify(data,null,$tw.config.preferences.jsonSpaces);\\n\\t}\\n\\tthis.addTiddler(new $tw.Tiddler(creationFields,existingTiddler,fields,newFields,modificationFields));\\n};\\n\\n/*\\nReturn the content of a tiddler as an array containing each line\\n*/\\nexports.getTiddlerList = function(title,field,index) {\\n\\tif(index) {\\n\\t\\treturn $tw.utils.parseStringArray(this.extractTiddlerDataItem(title,index,\\\"\\\"));\\n\\t}\\n\\tfield = field || \\\"list\\\";\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\treturn ($tw.utils.parseStringArray(tiddler.fields[field]) || []).slice(0);\\n\\t}\\n\\treturn [];\\n};\\n\\n// Return a named global cache object. Global cache objects are cleared whenever a tiddler change occurs\\nexports.getGlobalCache = function(cacheName,initializer) {\\n\\tthis.globalCache = this.globalCache || Object.create(null);\\n\\tif($tw.utils.hop(this.globalCache,cacheName)) {\\n\\t\\treturn this.globalCache[cacheName];\\n\\t} else {\\n\\t\\tthis.globalCache[cacheName] = initializer();\\n\\t\\treturn this.globalCache[cacheName];\\n\\t}\\n};\\n\\nexports.clearGlobalCache = function() {\\n\\tthis.globalCache = Object.create(null);\\n};\\n\\n// Return the named cache object for a tiddler. If the cache doesn't exist then the initializer function is invoked to create it\\nexports.getCacheForTiddler = function(title,cacheName,initializer) {\\n\\tthis.caches = this.caches || Object.create(null);\\n\\tvar caches = this.caches[title];\\n\\tif(caches && caches[cacheName] !== undefined) {\\n\\t\\treturn caches[cacheName];\\n\\t} else {\\n\\t\\tif(!caches) {\\n\\t\\t\\tcaches = Object.create(null);\\n\\t\\t\\tthis.caches[title] = caches;\\n\\t\\t}\\n\\t\\tcaches[cacheName] = initializer();\\n\\t\\treturn caches[cacheName];\\n\\t}\\n};\\n\\n// Clear all caches associated with a particular tiddler, or, if the title is null, clear all the caches for all the tiddlers\\nexports.clearCache = function(title) {\\n\\tif(title) {\\n\\t\\tthis.caches = this.caches || Object.create(null);\\n\\t\\tif($tw.utils.hop(this.caches,title)) {\\n\\t\\t\\tdelete this.caches[title];\\n\\t\\t}\\n\\t} else {\\n\\t\\tthis.caches = Object.create(null);\\n\\t}\\n};\\n\\nexports.initParsers = function(moduleType) {\\n\\t// Install the parser modules\\n\\t$tw.Wiki.parsers = {};\\n\\tvar self = this;\\n\\t$tw.modules.forEachModuleOfType(\\\"parser\\\",function(title,module) {\\n\\t\\tfor(var f in module) {\\n\\t\\t\\tif($tw.utils.hop(module,f)) {\\n\\t\\t\\t\\t$tw.Wiki.parsers[f] = module[f]; // Store the parser class\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Use the generic binary parser for any binary types not registered so far\\n\\tif($tw.Wiki.parsers[\\\"application/octet-stream\\\"]) {\\n\\t\\tObject.keys($tw.config.contentTypeInfo).forEach(function(type) {\\n\\t\\t\\tif(!$tw.utils.hop($tw.Wiki.parsers,type) && $tw.config.contentTypeInfo[type].encoding === \\\"base64\\\") {\\n\\t\\t\\t\\t$tw.Wiki.parsers[type] = $tw.Wiki.parsers[\\\"application/octet-stream\\\"];\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nParse a block of text of a specified MIME type\\n\\ttype: content type of text to be parsed\\n\\ttext: text\\n\\toptions: see below\\nOptions include:\\n\\tparseAsInline: if true, the text of the tiddler will be parsed as an inline run\\n\\t_canonical_uri: optional string of the canonical URI of this content\\n*/\\nexports.parseText = function(type,text,options) {\\n\\ttext = text || \\\"\\\";\\n\\toptions = options || {};\\n\\t// Select a parser\\n\\tvar Parser = $tw.Wiki.parsers[type];\\n\\tif(!Parser && $tw.utils.getFileExtensionInfo(type)) {\\n\\t\\tParser = $tw.Wiki.parsers[$tw.utils.getFileExtensionInfo(type).type];\\n\\t}\\n\\tif(!Parser) {\\n\\t\\tParser = $tw.Wiki.parsers[options.defaultType || \\\"text/vnd.tiddlywiki\\\"];\\n\\t}\\n\\tif(!Parser) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Return the parser instance\\n\\treturn new Parser(type,text,{\\n\\t\\tparseAsInline: options.parseAsInline,\\n\\t\\twiki: this,\\n\\t\\t_canonical_uri: options._canonical_uri,\\n\\t\\tconfigTrimWhiteSpace: options.configTrimWhiteSpace\\n\\t});\\n};\\n\\n/*\\nParse a tiddler according to its MIME type\\n*/\\nexports.parseTiddler = function(title,options) {\\n\\toptions = $tw.utils.extend({},options);\\n\\tvar cacheType = options.parseAsInline ? \\\"inlineParseTree\\\" : \\\"blockParseTree\\\",\\n\\t\\ttiddler = this.getTiddler(title),\\n\\t\\tself = this;\\n\\treturn tiddler ? this.getCacheForTiddler(title,cacheType,function() {\\n\\t\\t\\tif(tiddler.hasField(\\\"_canonical_uri\\\")) {\\n\\t\\t\\t\\toptions._canonical_uri = tiddler.fields._canonical_uri;\\n\\t\\t\\t}\\n\\t\\t\\treturn self.parseText(tiddler.fields.type,tiddler.fields.text,options);\\n\\t\\t}) : null;\\n};\\n\\nexports.parseTextReference = function(title,field,index,options) {\\n\\tvar tiddler,\\n\\t\\ttext,\\n\\t\\tparserInfo;\\n\\tif(!options.subTiddler) {\\n\\t\\ttiddler = this.getTiddler(title);\\n\\t\\tif(field === \\\"text\\\" || (!field && !index)) {\\n\\t\\t\\tthis.getTiddlerText(title); // Force the tiddler to be lazily loaded\\n\\t\\t\\treturn this.parseTiddler(title,options);\\n\\t\\t}\\n\\t} \\n\\tparserInfo = this.getTextReferenceParserInfo(title,field,index,options);\\n\\tif(parserInfo.sourceText !== null) {\\n\\t\\treturn this.parseText(parserInfo.parserType,parserInfo.sourceText,options);\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\nexports.getTextReferenceParserInfo = function(title,field,index,options) {\\n\\tvar defaultType = options.defaultType || \\\"text/vnd.tiddlywiki\\\",\\n\\t\\ttiddler,\\n\\t\\tparserInfo = {\\n\\t\\t\\tsourceText : null,\\n\\t\\t\\tparserType : defaultType\\n\\t\\t};\\n\\tif(options.subTiddler) {\\n\\t\\ttiddler = this.getSubTiddler(title,options.subTiddler);\\n\\t} else {\\n\\t\\ttiddler = this.getTiddler(title);\\n\\t}\\n\\tif(field === \\\"text\\\" || (!field && !index)) {\\n\\t\\tif(tiddler && tiddler.fields) {\\n\\t\\t\\tparserInfo.sourceText = tiddler.fields.text || \\\"\\\";\\n\\t\\t\\tif(tiddler.fields.type) {\\n\\t\\t\\t\\tparserInfo.parserType = tiddler.fields.type;\\n\\t\\t\\t}\\n\\t\\t\\tparserInfo._canonical_uri = tiddler.fields._canonical_uri;\\n\\t\\t}\\n\\t} else if(field) {\\n\\t\\tif(field === \\\"title\\\") {\\n\\t\\t\\tparserInfo.sourceText = title;\\n\\t\\t} else if(tiddler && tiddler.fields) {\\n\\t\\t\\tparserInfo.sourceText = tiddler.hasField(field) ? tiddler.fields[field].toString() : null;\\n\\t\\t}\\n\\t} else if(index) {\\n\\t\\tthis.getTiddlerText(title); // Force the tiddler to be lazily loaded\\n\\t\\tparserInfo.sourceText = this.extractTiddlerDataItem(tiddler,index,null);\\n\\t}\\n\\tif(parserInfo.sourceText === null) {\\n\\t\\tparserInfo.parserType = null;\\n\\t}\\n\\treturn parserInfo;\\n}\\n\\n/*\\nParse a block of text of a specified MIME type\\n\\ttext: text on which to perform substitutions\\n\\twidget\\n\\toptions: see below\\nOptions include:\\n\\tsubstitutions: an optional array of substitutions\\n*/\\nexports.getSubstitutedText = function(text,widget,options) {\\n\\toptions = options || {};\\n\\ttext = text || \\\"\\\";\\n\\tvar self = this,\\n\\t\\tsubstitutions = options.substitutions || [],\\n\\t\\toutput;\\n\\t// Evaluate embedded filters and substitute with first result\\n\\toutput = text.replace(/\\\\$\\\\{([\\\\S\\\\s]+?)\\\\}\\\\$/g, function(match,filter) {\\n\\t\\treturn self.filterTiddlers(filter,widget)[0] || \\\"\\\";\\n\\t});\\n\\t// Process any substitutions provided in options\\n\\t$tw.utils.each(substitutions,function(substitute) {\\n\\t\\toutput = $tw.utils.replaceString(output,new RegExp(\\\"\\\\\\\\$\\\" + $tw.utils.escapeRegExp(substitute.name) + \\\"\\\\\\\\$\\\",\\\"mg\\\"),substitute.value);\\n\\t});\\n\\t// Substitute any variable references with their values\\n\\treturn output.replace(/\\\\$\\\\((.+?)\\\\)\\\\$/g, function(match,varname) {\\n\\t\\treturn widget.getVariable(varname,{defaultValue: \\\"\\\"})\\n\\t});\\n};\\n\\n/*\\nMake a widget tree for a parse tree\\nparser: parser object\\noptions: see below\\nOptions include:\\ndocument: optional document to use\\nvariables: hashmap of variables to set\\nparentWidget: optional parent widget for the root node\\n*/\\nexports.makeWidget = function(parser,options) {\\n\\toptions = options || {};\\n\\tvar widgetNode = {\\n\\t\\t\\ttype: \\\"widget\\\",\\n\\t\\t\\tchildren: []\\n\\t\\t},\\n\\t\\tcurrWidgetNode = widgetNode;\\n\\t// Create let variable widget for variables\\n\\tif($tw.utils.count(options.variables) > 0) {\\n\\t\\tvar letVariableWidget = {\\n\\t\\t\\ttype: \\\"let\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t},\\n\\t\\t\\tchildren: []\\n\\t\\t};\\n\\t\\t$tw.utils.each(options.variables,function(value,name) {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(letVariableWidget,name,\\\"\\\" + value);\\n\\t\\t});\\n\\t\\tcurrWidgetNode.children = [letVariableWidget];\\n\\t\\tcurrWidgetNode = letVariableWidget;\\n\\t}\\n\\t// Add in the supplied parse tree nodes\\n\\tcurrWidgetNode.children = parser ? parser.tree : [];\\n\\t// Create the widget\\n\\treturn new widget.widget(widgetNode,{\\n\\t\\twiki: this,\\n\\t\\tdocument: options.document || $tw.fakeDocument,\\n\\t\\tparentWidget: options.parentWidget\\n\\t});\\n};\\n\\n/*\\nMake a widget tree for transclusion\\ntitle: target tiddler title\\noptions: as for wiki.makeWidget() plus:\\noptions.field: optional field to transclude (defaults to \\\"text\\\")\\noptions.mode: transclusion mode \\\"inline\\\" or \\\"block\\\"\\noptions.recursionMarker : optional flag to set a recursion marker, defaults to \\\"yes\\\"\\noptions.children: optional array of children for the transclude widget\\noptions.importVariables: optional importvariables filter string for macros to be included\\noptions.importPageMacros: optional boolean; if true, equivalent to passing \\\"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\\" to options.importVariables\\n*/\\nexports.makeTranscludeWidget = function(title,options) {\\n\\toptions = options || {};\\n\\tvar parseTreeDiv = {tree: [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"div\\\",\\n\\t\\t\\tchildren: []}]},\\n\\t\\tparseTreeImportVariables = {\\n\\t\\t\\ttype: \\\"importvariables\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tfilter: {\\n\\t\\t\\t\\t\\tname: \\\"filter\\\",\\n\\t\\t\\t\\t\\ttype: \\\"string\\\"\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\tisBlock: false,\\n\\t\\t\\tchildren: []},\\n\\t\\tparseTreeTransclude = {\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\trecursionMarker: {\\n\\t\\t\\t\\t\\tname: \\\"recursionMarker\\\",\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: options.recursionMarker || \\\"yes\\\"\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\ttiddler: {\\n\\t\\t\\t\\t\\tname: \\\"tiddler\\\",\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: title\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\tisBlock: !options.parseAsInline};\\n\\tif(options.importVariables || options.importPageMacros) {\\n\\t\\tif(options.importVariables) {\\n\\t\\t\\tparseTreeImportVariables.attributes.filter.value = options.importVariables;\\n\\t\\t} else if(options.importPageMacros) {\\n\\t\\t\\tparseTreeImportVariables.attributes.filter.value = this.getTiddlerText(\\\"$:/core/config/GlobalImportFilter\\\");\\n\\t\\t}\\n\\t\\tparseTreeDiv.tree[0].children.push(parseTreeImportVariables);\\n\\t\\tparseTreeImportVariables.children.push(parseTreeTransclude);\\n\\t} else {\\n\\t\\tparseTreeDiv.tree[0].children.push(parseTreeTransclude);\\n\\t}\\n\\tif(options.field) {\\n\\t\\tparseTreeTransclude.attributes.field = {type: \\\"string\\\", value: options.field};\\n\\t}\\n\\tif(options.mode) {\\n\\t\\tparseTreeTransclude.attributes.mode = {type: \\\"string\\\", value: options.mode};\\n\\t}\\n\\tif(options.children) {\\n\\t\\tparseTreeTransclude.children = options.children;\\n\\t}\\n\\treturn this.makeWidget(parseTreeDiv,options);\\n};\\n\\n/*\\nParse text in a specified format and render it into another format\\n\\toutputType: content type for the output\\n\\ttextType: content type of the input text\\n\\ttext: input text\\n\\toptions: see below\\nOptions include:\\nvariables: hashmap of variables to set\\nparentWidget: optional parent widget for the root node\\n*/\\nexports.renderText = function(outputType,textType,text,options) {\\n\\toptions = options || {};\\n\\tvar parser = this.parseText(textType,text,options),\\n\\t\\twidgetNode = this.makeWidget(parser,options);\\n\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\twidgetNode.render(container,null);\\n\\treturn outputType === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n};\\n\\n/*\\nParse text from a tiddler and render it into another format\\n\\toutputType: content type for the output\\n\\ttitle: title of the tiddler to be rendered\\n\\toptions: see below\\nOptions include:\\nvariables: hashmap of variables to set\\nparentWidget: optional parent widget for the root node\\n*/\\nexports.renderTiddler = function(outputType,title,options) {\\n\\toptions = options || {};\\n\\tvar parser = this.parseTiddler(title,options),\\n\\t\\twidgetNode = this.makeWidget(parser,options);\\n\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\twidgetNode.render(container,null);\\n\\treturn outputType === \\\"text/html\\\" ? container.innerHTML : (outputType === \\\"text/plain-formatted\\\" ? container.formattedTextContent : container.textContent);\\n};\\n\\n/*\\nReturn an array of tiddler titles that match a search string\\n\\ttext: The text string to search for\\n\\toptions: see below\\nOptions available:\\n\\tsource: an iterator function for the source tiddlers, called source(iterator),\\n\\t\\twhere iterator is called as iterator(tiddler,title)\\n\\texclude: An array of tiddler titles to exclude from the search\\n\\tinvert: If true returns tiddlers that do not contain the specified string\\n\\tcaseSensitive: If true forces a case sensitive search\\n\\tfield: If specified, restricts the search to the specified field, or an array of field names\\n\\tanchored: If true, forces all but regexp searches to be anchored to the start of text\\n\\texcludeField: If true, the field options are inverted to specify the fields that are not to be searched\\n\\n\\tThe search mode is determined by the first of these boolean flags to be true\\n\\t\\tliteral: searches for literal string\\n\\t\\twhitespace: same as literal except runs of whitespace are treated as a single space\\n\\t\\tregexp: treats the search term as a regular expression\\n\\t\\twords: (default) treats search string as a list of tokens, and matches if all tokens are found, \\n\\t\\t\\tregardless of adjacency or ordering\\n\\t\\tsome: treats search string as a list of tokens, and matches if at least ONE token is found\\n*/\\nexports.search = function(text,options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\tt,\\n\\t\\tregExpStr=\\\"\\\",\\n\\t\\tinvert = !!options.invert;\\n\\t// Convert the search string into a regexp for each term\\n\\tvar terms, searchTermsRegExps,\\n\\t\\tflags = options.caseSensitive ? \\\"\\\" : \\\"i\\\",\\n\\t\\tanchor = options.anchored ? \\\"^\\\" : \\\"\\\";\\n\\tif(options.literal) {\\n\\t\\tif(text.length === 0) {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t} else {\\n\\t\\t\\tsearchTermsRegExps = [new RegExp(\\\"(\\\" + anchor + $tw.utils.escapeRegExp(text) + \\\")\\\",flags)];\\n\\t\\t}\\n\\t} else if(options.whitespace) {\\n\\t\\tterms = [];\\n\\t\\t$tw.utils.each(text.split(/\\\\s+/g),function(term) {\\n\\t\\t\\tif(term) {\\n\\t\\t\\t\\tterms.push($tw.utils.escapeRegExp(term));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tsearchTermsRegExps = [new RegExp(\\\"(\\\" + anchor + terms.join(\\\"\\\\\\\\s+\\\") + \\\")\\\",flags)];\\n\\t} else if(options.regexp) {\\n\\t\\ttry {\\n\\t\\t\\tsearchTermsRegExps = [new RegExp(\\\"(\\\" + text + \\\")\\\",flags)];\\n\\t\\t} catch(e) {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t\\tconsole.log(\\\"Regexp error parsing /(\\\" + text + \\\")/\\\" + flags + \\\": \\\",e);\\n\\t\\t}\\n\\t} else if(options.some) {\\n\\t\\tterms = text.trim().split(/[^\\\\S\\\\xA0]+/);\\n\\t\\tif(terms.length === 1 && terms[0] === \\\"\\\") {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t} else {\\n\\t\\t\\tsearchTermsRegExps = [];\\n\\t\\t\\tfor(t=0; t<terms.length; t++) {\\n\\t\\t\\t\\tregExpStr += (t===0) ? anchor + $tw.utils.escapeRegExp(terms[t]) : \\\"|\\\" + anchor + $tw.utils.escapeRegExp(terms[t]);\\n\\t\\t\\t}\\n\\t\\t\\tsearchTermsRegExps.push(new RegExp(\\\"(\\\" + regExpStr + \\\")\\\",flags));\\n\\t\\t}\\n\\t} else { // default: words\\n\\t\\tterms = text.split(/[^\\\\S\\\\xA0]+/);\\n\\t\\tif(terms.length === 1 && terms[0] === \\\"\\\") {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t} else {\\n\\t\\t\\tsearchTermsRegExps = [];\\n\\t\\t\\tfor(t=0; t<terms.length; t++) {\\n\\t\\t\\t\\tsearchTermsRegExps.push(new RegExp(\\\"(\\\" + anchor + $tw.utils.escapeRegExp(terms[t]) + \\\")\\\",flags));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n// Accumulate the array of fields to be searched or excluded from the search\\n\\tvar fields = [];\\n\\tif(options.field) {\\n\\t\\tif($tw.utils.isArray(options.field)) {\\n\\t\\t\\t$tw.utils.each(options.field,function(fieldName) {\\n\\t\\t\\t\\tif(fieldName) {\\n\\t\\t\\t\\t\\tfields.push(fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tfields.push(options.field);\\n\\t\\t}\\n\\t}\\n\\t// Use default fields if none specified and we're not excluding fields (excluding fields with an empty field array is the same as searching all fields)\\n\\tif(fields.length === 0 && !options.excludeField) {\\n\\t\\tfields.push(\\\"title\\\");\\n\\t\\tfields.push(\\\"tags\\\");\\n\\t\\tfields.push(\\\"text\\\");\\n\\t}\\n\\t// Function to check a given tiddler for the search term\\n\\tvar searchTiddler = function(title) {\\n\\t\\tif(!searchTermsRegExps) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tvar notYetFound = searchTermsRegExps.slice();\\n\\n\\t\\tvar tiddler = self.getTiddler(title);\\n\\t\\tif(!tiddler) {\\n\\t\\t\\ttiddler = new $tw.Tiddler({title: title, text: \\\"\\\", type: \\\"text/vnd.tiddlywiki\\\"});\\n\\t\\t}\\n\\t\\tvar contentTypeInfo = $tw.config.contentTypeInfo[tiddler.fields.type] || $tw.config.contentTypeInfo[\\\"text/vnd.tiddlywiki\\\"],\\n\\t\\t\\tsearchFields;\\n\\t\\t// Get the list of fields we're searching\\n\\t\\tif(options.excludeField) {\\n\\t\\t\\tsearchFields = Object.keys(tiddler.fields);\\n\\t\\t\\t$tw.utils.each(fields,function(fieldName) {\\n\\t\\t\\t\\tvar p = searchFields.indexOf(fieldName);\\n\\t\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\t\\tsearchFields.splice(p,1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsearchFields = fields;\\n\\t\\t}\\n\\t\\tfor(var fieldIndex=0; notYetFound.length>0 && fieldIndex<searchFields.length; fieldIndex++) {\\n\\t\\t\\t// Don't search the text field if the content type is binary\\n\\t\\t\\tvar fieldName = searchFields[fieldIndex];\\n\\t\\t\\tif(fieldName === \\\"text\\\" && contentTypeInfo.encoding !== \\\"utf8\\\") {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tvar str = tiddler.fields[fieldName],\\n\\t\\t\\t\\tt;\\n\\t\\t\\tif(str) {\\n\\t\\t\\t\\tif($tw.utils.isArray(str)) {\\n\\t\\t\\t\\t\\t// If the field value is an array, test each regexp against each field array entry and fail if each regexp doesn't match at least one field array entry\\n\\t\\t\\t\\t\\tfor(var s=0; s<str.length; s++) {\\n\\t\\t\\t\\t\\t\\tfor(t=0; t<notYetFound.length;) {\\n\\t\\t\\t\\t\\t\\t\\tif(notYetFound[t].test(str[s])) {\\n\\t\\t\\t\\t\\t\\t\\t\\tnotYetFound.splice(t, 1);\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tt++;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// If the field isn't an array, force it to a string and test each regexp against it and fail if any do not match\\n\\t\\t\\t\\t\\tstr = tiddler.getFieldString(fieldName);\\n\\t\\t\\t\\t\\tfor(t=0; t<notYetFound.length;) {\\n\\t\\t\\t\\t\\t\\tif(notYetFound[t].test(str)) {\\n\\t\\t\\t\\t\\t\\t\\tnotYetFound.splice(t, 1);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tt++;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\treturn notYetFound.length == 0;\\n\\t};\\n\\t// Loop through all the tiddlers doing the search\\n\\tvar results = [],\\n\\t\\tsource = options.source || this.each;\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(searchTiddler(title) !== invert) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\t// Remove any of the results we have to exclude\\n\\tif(options.exclude) {\\n\\t\\tfor(t=0; t<options.exclude.length; t++) {\\n\\t\\t\\tvar p = results.indexOf(options.exclude[t]);\\n\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\tresults.splice(p,1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nTrigger a load for a tiddler if it is skinny. Returns the text, or undefined if the tiddler is missing, null if the tiddler is being lazily loaded.\\n*/\\nexports.getTiddlerText = function(title,defaultText) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\t// Return undefined if the tiddler isn't found\\n\\tif(!tiddler) {\\n\\t\\treturn defaultText;\\n\\t}\\n\\tif(!tiddler.hasField(\\\"_is_skinny\\\")) {\\n\\t\\t// Just return the text if we've got it\\n\\t\\treturn tiddler.fields.text || \\\"\\\";\\n\\t} else {\\n\\t\\t// Tell any listeners about the need to lazily load this tiddler\\n\\t\\tthis.dispatchEvent(\\\"lazyLoad\\\",title);\\n\\t\\t// Indicate that the text is being loaded\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nCheck whether the text of a tiddler matches a given value. By default, the comparison is case insensitive, and any spaces at either end of the tiddler text is trimmed\\n*/\\nexports.checkTiddlerText = function(title,targetText,options) {\\n\\toptions = options || {};\\n\\tvar text = this.getTiddlerText(title,\\\"\\\");\\n\\tif(!options.noTrim) {\\n\\t\\ttext = text.trim();\\n\\t}\\n\\tif(!options.caseSensitive) {\\n\\t\\ttext = text.toLowerCase();\\n\\t\\ttargetText = targetText.toLowerCase();\\n\\t}\\n\\treturn text === targetText;\\n}\\n\\n/*\\nExecute an action string without an associated context widget\\n*/\\nexports.invokeActionString = function(actions,event,variables,options) {\\n\\tvar widget = this.makeWidget(null,{parentWidget: options.parentWidget});\\n\\twidget.invokeActionString(actions,null,event,variables);\\n};\\n\\n/*\\nRead an array of browser File objects, invoking callback(tiddlerFieldsArray) once they're all read\\n*/\\nexports.readFiles = function(files,options) {\\n\\tvar callback;\\n\\tif(typeof options === \\\"function\\\") {\\n\\t\\tcallback = options;\\n\\t\\toptions = {};\\n\\t} else {\\n\\t\\tcallback = options.callback;\\n\\t}\\n\\tvar result = [],\\n\\t\\toutstanding = files.length,\\n\\t\\treadFileCallback = function(tiddlerFieldsArray) {\\n\\t\\t\\tresult.push.apply(result,tiddlerFieldsArray);\\n\\t\\t\\tif(--outstanding === 0) {\\n\\t\\t\\t\\tcallback(result);\\n\\t\\t\\t}\\n\\t\\t};\\n\\tfor(var f=0; f<files.length; f++) {\\n\\t\\tthis.readFile(files[f],$tw.utils.extend({},options,{callback: readFileCallback}));\\n\\t}\\n\\treturn files.length;\\n};\\n\\n/*\\nRead a browser File object, invoking callback(tiddlerFieldsArray) with an array of tiddler fields objects\\n*/\\nexports.readFile = function(file,options) {\\n\\tvar callback;\\n\\tif(typeof options === \\\"function\\\") {\\n\\t\\tcallback = options;\\n\\t\\toptions = {};\\n\\t} else {\\n\\t\\tcallback = options.callback;\\n\\t}\\n\\t// Get the type, falling back to the filename extension\\n\\tvar self = this,\\n\\t\\ttype = file.type;\\n\\tif(type === \\\"\\\" || !type) {\\n\\t\\tvar dotPos = file.name.lastIndexOf(\\\".\\\");\\n\\t\\tif(dotPos !== -1) {\\n\\t\\t\\tvar fileExtensionInfo = $tw.utils.getFileExtensionInfo(file.name.substr(dotPos));\\n\\t\\t\\tif(fileExtensionInfo) {\\n\\t\\t\\t\\ttype = fileExtensionInfo.type;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Figure out if we're reading a binary file\\n\\tvar contentTypeInfo = $tw.config.contentTypeInfo[type],\\n\\t\\tisBinary = contentTypeInfo ? contentTypeInfo.encoding === \\\"base64\\\" : false;\\n\\t// Log some debugging information\\n\\tif($tw.log.IMPORT) {\\n\\t\\tconsole.log(\\\"Importing file '\\\" + file.name + \\\"', type: '\\\" + type + \\\"', isBinary: \\\" + isBinary);\\n\\t}\\n\\t// Give the hook a chance to process the drag\\n\\tif($tw.hooks.invokeHook(\\\"th-importing-file\\\",{\\n\\t\\tfile: file,\\n\\t\\ttype: type,\\n\\t\\tisBinary: isBinary,\\n\\t\\tcallback: callback\\n\\t}) !== true) {\\n\\t\\tthis.readFileContent(file,type,isBinary,options.deserializer,callback);\\n\\t}\\n};\\n\\n/*\\nLower level utility to read the content of a browser File object, invoking callback(tiddlerFieldsArray) with an array of tiddler fields objects\\n*/\\nexports.readFileContent = function(file,type,isBinary,deserializer,callback) {\\n\\tvar self = this;\\n\\t// Create the FileReader\\n\\tvar reader = new FileReader();\\n\\t// Onload\\n\\treader.onload = function(event) {\\n\\t\\tvar text = event.target.result,\\n\\t\\t\\ttiddlerFields = {title: file.name || \\\"Untitled\\\"};\\n\\t\\tif(isBinary) {\\n\\t\\t\\tvar commaPos = text.indexOf(\\\",\\\");\\n\\t\\t\\tif(commaPos !== -1) {\\n\\t\\t\\t\\ttext = text.substr(commaPos + 1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Check whether this is an encrypted TiddlyWiki file\\n\\t\\tvar encryptedJson = $tw.utils.extractEncryptedStoreArea(text);\\n\\t\\tif(encryptedJson) {\\n\\t\\t\\t// If so, attempt to decrypt it with the current password\\n\\t\\t\\t$tw.utils.decryptStoreAreaInteractive(encryptedJson,function(tiddlers) {\\n\\t\\t\\t\\tcallback(tiddlers);\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\t// Otherwise, just try to deserialise any tiddlers in the file\\n\\t\\t\\tcallback(self.deserializeTiddlers(type,text,tiddlerFields,{deserializer: deserializer}));\\n\\t\\t}\\n\\t};\\n\\t// Kick off the read\\n\\tif(isBinary) {\\n\\t\\treader.readAsDataURL(file);\\n\\t} else {\\n\\t\\treader.readAsText(file);\\n\\t}\\n};\\n\\n/*\\nFind any existing draft of a specified tiddler\\n*/\\nexports.findDraft = function(targetTitle) {\\n\\tvar draftTitle = undefined;\\n\\tthis.forEachTiddler({includeSystem: true},function(title,tiddler) {\\n\\t\\tif(tiddler.fields[\\\"draft.title\\\"] && tiddler.fields[\\\"draft.of\\\"] === targetTitle) {\\n\\t\\t\\tdraftTitle = title;\\n\\t\\t}\\n\\t});\\n\\treturn draftTitle;\\n}\\n\\n/*\\nCheck whether the specified draft tiddler has been modified.\\nIf the original tiddler doesn't exist, create a vanilla tiddler variable,\\nto check if additional fields have been added.\\n*/\\nexports.isDraftModified = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(!tiddler.isDraft()) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar ignoredFields = [\\\"created\\\", \\\"modified\\\", \\\"title\\\", \\\"draft.title\\\", \\\"draft.of\\\"],\\n\\t\\torigTiddler = this.getTiddler(tiddler.fields[\\\"draft.of\\\"]) || new $tw.Tiddler({text:\\\"\\\", tags:[]}),\\n\\t\\ttitleModified = tiddler.fields[\\\"draft.title\\\"] !== tiddler.fields[\\\"draft.of\\\"];\\n\\treturn titleModified || !tiddler.isEqual(origTiddler,ignoredFields);\\n};\\n\\n/*\\nAdd a new record to the top of the history stack\\ntitle: a title string or an array of title strings\\nfromPageRect: page coordinates of the origin of the navigation\\nhistoryTitle: title of history tiddler (defaults to $:/HistoryList)\\n*/\\nexports.addToHistory = function(title,fromPageRect,historyTitle) {\\n\\tvar story = new $tw.Story({wiki: this, historyTitle: historyTitle});\\n\\tstory.addToHistory(title,fromPageRect);\\n\\tconsole.log(\\\"$tw.wiki.addToHistory() is deprecated since V5.1.23! Use the this.story.addToHistory() from the story-object!\\\")\\n};\\n\\n/*\\nAdd a new tiddler to the story river\\ntitle: a title string or an array of title strings\\nfromTitle: the title of the tiddler from which the navigation originated\\nstoryTitle: title of story tiddler (defaults to $:/StoryList)\\noptions: see story.js\\n*/\\nexports.addToStory = function(title,fromTitle,storyTitle,options) {\\n\\tvar story = new $tw.Story({wiki: this, storyTitle: storyTitle});\\n\\tstory.addToStory(title,fromTitle,options);\\n\\tconsole.log(\\\"$tw.wiki.addToStory() is deprecated since V5.1.23! Use the this.story.addToStory() from the story-object!\\\")\\n};\\n\\n/*\\nGenerate a title for the draft of a given tiddler\\n*/\\nexports.generateDraftTitle = function(title) {\\n\\tvar c = 0,\\n\\t\\tdraftTitle,\\n\\t\\tusername = this.getTiddlerText(\\\"$:/status/UserName\\\"),\\n\\t\\tattribution = username ? \\\" by \\\" + username : \\\"\\\";\\n\\tdo {\\n\\t\\tdraftTitle = \\\"Draft \\\" + (c ? (c + 1) + \\\" \\\" : \\\"\\\") + \\\"of '\\\" + title + \\\"'\\\" + attribution;\\n\\t\\tc++;\\n\\t} while(this.tiddlerExists(draftTitle));\\n\\treturn draftTitle;\\n};\\n\\n/*\\nInvoke the available upgrader modules\\ntitles: array of tiddler titles to be processed\\ntiddlers: hashmap by title of tiddler fields of pending import tiddlers. These can be modified by the upgraders. An entry with no fields indicates a tiddler that was pending import has been suppressed. When entries are added to the pending import the tiddlers hashmap may have entries that are not present in the titles array\\nReturns a hashmap of messages keyed by tiddler title.\\n*/\\nexports.invokeUpgraders = function(titles,tiddlers) {\\n\\t// Collect up the available upgrader modules\\n\\tvar self = this;\\n\\tif(!this.upgraderModules) {\\n\\t\\tthis.upgraderModules = [];\\n\\t\\t$tw.modules.forEachModuleOfType(\\\"upgrader\\\",function(title,module) {\\n\\t\\t\\tif(module.upgrade) {\\n\\t\\t\\t\\tself.upgraderModules.push(module);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\t// Invoke each upgrader in turn\\n\\tvar messages = {};\\n\\tfor(var t=0; t<this.upgraderModules.length; t++) {\\n\\t\\tvar upgrader = this.upgraderModules[t],\\n\\t\\t\\tupgraderMessages = upgrader.upgrade(this,titles,tiddlers);\\n\\t\\t$tw.utils.extend(messages,upgraderMessages);\\n\\t}\\n\\treturn messages;\\n};\\n\\n// Determine whether a plugin by title is dynamically loadable\\nexports.doesPluginRequireReload = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler && tiddler.fields.type === \\\"application/json\\\" && tiddler.fields[\\\"plugin-type\\\"]) {\\n\\t\\tif(tiddler.fields[\\\"plugin-type\\\"] === \\\"import\\\") {\\n\\t\\t\\t// The import plugin never requires reloading\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\treturn this.doesPluginInfoRequireReload(this.getPluginInfo(title) || this.getTiddlerDataCached(title));\\n};\\n\\n// Determine whether a plugin info structure is dynamically loadable\\nexports.doesPluginInfoRequireReload = function(pluginInfo) {\\n\\tif(pluginInfo) {\\n\\t\\tvar foundModule = false;\\n\\t\\t$tw.utils.each(pluginInfo.tiddlers,function(tiddler) {\\n\\t\\t\\tif(tiddler.type === \\\"application/javascript\\\" && $tw.utils.hop(tiddler,\\\"module-type\\\")) {\\n\\t\\t\\t\\tfoundModule = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn foundModule;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\nexports.slugify = function(title,options) {\\n\\tvar tiddler = this.getTiddler(title),\\n\\t\\tslug;\\n\\tif(tiddler && tiddler.fields.slug) {\\n\\t\\tslug = tiddler.fields.slug;\\n\\t} else {\\n\\t\\tslug = $tw.utils.transliterate(title.toString().toLowerCase()) // Replace diacritics with basic lowercase ASCII\\n\\t\\t\\t.replace(/\\\\s+/g,\\\"-\\\") // Replace spaces with -\\n\\t\\t\\t.replace(/[^\\\\w\\\\-\\\\.]+/g,\\\"\\\") // Remove all non-word chars except dash and dot\\n\\t\\t\\t.replace(/\\\\-\\\\-+/g,\\\"-\\\") // Replace multiple - with single -\\n\\t\\t\\t.replace(/^-+/,\\\"\\\") // Trim - from start of text\\n\\t\\t\\t.replace(/-+$/,\\\"\\\"); // Trim - from end of text\\n\\t}\\n\\t// If the resulting slug is blank (eg because the title is just punctuation characters)\\n\\tif(!slug) {\\n\\t\\t// ...then just use the character codes of the title\\n\\t\\tvar result = [];\\n\\t\\t$tw.utils.each(title.split(\\\"\\\"),function(char) {\\n\\t\\t\\tresult.push(char.charCodeAt(0).toString());\\n\\t\\t});\\n\\t\\tslug = result.join(\\\"-\\\");\\n\\t}\\n\\treturn slug;\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikimethod\"},\"$:/palettes/Blanca\":{\"title\":\"$:/palettes/Blanca\",\"name\":\"Blanca\",\"color-scheme\":\"light\",\"description\":\"A clean white palette to let you focus\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #3aafaf\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: #00d900\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nfootnote-target-background: #ecf2ff\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #999999\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #ffffff\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #6387f1\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #aaaaaa\\nsidebar-foreground-shadow: #ffffff\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #aaaaaa\\nsidebar-tab-background-selected: #ffffff\\nsidebar-tab-background: <<colour tab-background>>\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour tab-divider>>\\nsidebar-tab-foreground-selected: <<colour tab-foreground>>\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: <<colour primary>>\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-stable: #008000\\nstability-experimental: #c07c00\\nstability-deprecated: #ff0000\\nstability-legacy: #0000ff\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #eeeeee\\ntab-border-selected: #cccccc\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ffd5aa\\ntag-foreground: #000000\\ntiddler-background: <<colour background>>\\ntiddler-border: #eeeeee\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: <<colour tiddler-info-background>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #ff9900\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #cccccc\\nvery-muted-foreground: #888888\\nnetwork-activity-foreground: <<colour primary>>\"},\"$:/palettes/Blue\":{\"title\":\"$:/palettes/Blue\",\"name\":\"Blue\",\"color-scheme\":\"light\",\"description\":\"A blue theme\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #fff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: <<colour foreground>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nfootnote-target-background: #ecf2ff\\nforeground: #333353\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #999999\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #ddddff\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #5778d8\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #ffffff\\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: <<colour page-background>>\\nsidebar-tab-background: <<colour tab-background>>\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour tab-divider>>\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #5959c0\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: <<colour background>>\\ntab-background: #ccccdd\\ntab-border-selected: #ccccdd\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #eeeeff\\ntag-foreground: #000\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #666666\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #ffffff\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #ffffff\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #5959c0\\ntoolbar-new-button: #5eb95e\\ntoolbar-options-button: rgb(128, 88, 165)\\ntoolbar-save-button: #0e90d2\\ntoolbar-info-button: #0e90d2\\ntoolbar-edit-button: rgb(243, 123, 29)\\ntoolbar-close-button: #dd514c\\ntoolbar-delete-button: #dd514c\\ntoolbar-cancel-button: rgb(243, 123, 29)\\ntoolbar-done-button: #5eb95e\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/Muted\":{\"title\":\"$:/palettes/Muted\",\"name\":\"Muted\",\"color-scheme\":\"light\",\"description\":\"Bright tiddlers on a muted background\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nfootnote-target-background: #ecf2ff\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #bbb\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #6f6f70\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #29a6ee\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #c2c1c2\\nsidebar-foreground-shadow: rgba(255,255,255,0)\\nsidebar-foreground: #d3d2d4\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #6f6f70\\nsidebar-tab-background: #666667\\nsidebar-tab-border-selected: #999\\nsidebar-tab-border: #515151\\nsidebar-tab-divider: #999\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: #999\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #d1d0d2\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #d5ad34\\ntag-foreground: #ffffff\\ntestcase-accent-level-1: #b1b3e3\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #182955\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/ContrastDark\":{\"title\":\"$:/palettes/ContrastDark\",\"name\":\"Contrast (Dark)\",\"color-scheme\":\"dark\",\"description\":\"High contrast and unambiguous (dark version)\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ff0000\\nalert-border: <<colour background>>\\nalert-highlight: <<colour foreground>>\\nalert-muted-foreground: #880000\\nbackground: #000000\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background: <<colour background>>\\nbutton-foreground: <<colour foreground>>\\nbutton-border: <<colour foreground>>\\ncode-background: <<colour background>>\\ncode-border: <<colour foreground>>\\ncode-foreground: <<colour foreground>>\\ndirty-indicator: #ff0000\\ndownload-background: #48ff48\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #868686\\ndropdown-tab-background: #515151\\ndropzone-background: #1aff1a\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #5353ff\\nexternal-link-foreground: #9595ff\\nfootnote-target-background: #4c4c4c\\nforeground: #ffffff\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: <<colour foreground>>\\nmessage-border: <<colour background>>\\nmessage-foreground: <<colour background>>\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour foreground>>\\nmodal-footer-background: <<colour background>>\\nmodal-footer-border: <<colour foreground>>\\nmodal-header-border: <<colour foreground>>\\nmuted-foreground: <<colour foreground>>\\nnotification-background: <<colour background>>\\nnotification-border: <<colour foreground>>\\npage-background: <<colour background>>\\npre-background: <<colour background>>\\npre-border: <<colour foreground>>\\nprimary: #8a8aff\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #ffff00\\nsidebar-controls-foreground: <<colour foreground>>\\nsidebar-foreground-shadow: rgba(0,0,0, 0)\\nsidebar-foreground: <<colour foreground>>\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: <<colour foreground>>\\nsidebar-tab-background-selected: <<colour background>>\\nsidebar-tab-background: <<colour tab-background>>\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour tab-divider>>\\nsidebar-tab-foreground-selected: <<colour foreground>>\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: <<colour foreground>>\\nsidebar-tiddler-link-foreground: <<colour primary>>\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-stable: #00f400\\nstability-experimental: #ffaf1c\\nstability-deprecated: #ff2b2b\\nstability-legacy: #ceceff\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: <<colour background>>\\ntab-background: <<colour foreground>>\\ntab-border-selected: <<colour foreground>>\\ntab-border: <<colour foreground>>\\ntab-divider: <<colour foreground>>\\ntab-foreground-selected: <<colour foreground>>\\ntab-foreground: <<colour background>>\\ntable-border: #dddddd\\ntable-footer-background: #444444\\ntable-header-background: #444444\\ntag-background: #ffffff\\ntag-foreground: #000000\\ntestcase-accent-level-1: #144a8c\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour foreground>>\\ntiddler-controls-foreground-hover: #ddd\\ntiddler-controls-foreground-selected: #ae0000\\ntiddler-controls-foreground: <<colour foreground>>\\ntiddler-editor-background: <<colour background>>\\ntiddler-editor-border-image: <<colour foreground>>\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: <<colour background>>\\ntiddler-editor-fields-odd: <<colour background>>\\ntiddler-info-background: <<colour background>>\\ntiddler-info-border: <<colour foreground>>\\ntiddler-info-tab-background: <<colour background>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour foreground>>\\ntiddler-title-foreground: <<colour foreground>>\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: <<colour foreground>>\\nvery-muted-foreground: #888888\\nnetwork-activity-foreground: <<colour primary>>\"},\"$:/palettes/ContrastLight\":{\"title\":\"$:/palettes/ContrastLight\",\"name\":\"Contrast (Light)\",\"color-scheme\":\"light\",\"description\":\"High contrast and unambiguous (light version)\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ff4a4a\\nalert-border: <<colour background>>\\nalert-highlight: <<colour foreground>>\\nalert-muted-foreground: #800\\nbackground: #fff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background: <<colour background>>\\nbutton-foreground: <<colour foreground>>\\nbutton-border: <<colour foreground>>\\ncode-background: <<colour background>>\\ncode-border: <<colour foreground>>\\ncode-foreground: <<colour foreground>>\\ndirty-indicator: #f00\\ndownload-background: #008200\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: <<colour background>>\\ndropdown-tab-background: <<colour foreground>>\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #00a\\nexternal-link-foreground: #00e\\nfootnote-target-background: #e5e5e5\\nforeground: #000\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: <<colour foreground>>\\nmessage-border: <<colour background>>\\nmessage-foreground: <<colour background>>\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour foreground>>\\nmodal-footer-background: <<colour background>>\\nmodal-footer-border: <<colour foreground>>\\nmodal-header-border: <<colour foreground>>\\nmuted-foreground: <<colour foreground>>\\nnotification-background: <<colour background>>\\nnotification-border: <<colour foreground>>\\npage-background: <<colour background>>\\npre-background: <<colour background>>\\npre-border: <<colour foreground>>\\nprimary: #0000ff\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #606060\\nsidebar-controls-foreground: <<colour foreground>>\\nsidebar-foreground-shadow: #000000\\nsidebar-foreground: <<colour foreground>>\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: <<colour foreground>>\\nsidebar-tab-background-selected: <<colour background>>\\nsidebar-tab-background: <<colour tab-background>>\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour tab-divider>>\\nsidebar-tab-foreground-selected: <<colour foreground>>\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: <<colour foreground>>\\nsidebar-tiddler-link-foreground: <<colour primary>>\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-deprecated: #ff0000\\nstability-experimental: #b37400\\nstability-legacy: #000075\\nstability-stable: #008000\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: <<colour background>>\\ntab-background: <<colour foreground>>\\ntab-border-selected: <<colour foreground>>\\ntab-border: <<colour foreground>>\\ntab-divider: <<colour foreground>>\\ntab-foreground-selected: <<colour foreground>>\\ntab-foreground: <<colour background>>\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #000\\ntag-foreground: #fff\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour foreground>>\\ntiddler-controls-foreground-hover: #ddd\\ntiddler-controls-foreground-selected: #c5abf3\\ntiddler-controls-foreground: <<colour foreground>>\\ntiddler-editor-background: <<colour background>>\\ntiddler-editor-border-image: <<colour foreground>>\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: <<colour background>>\\ntiddler-editor-fields-odd: <<colour background>>\\ntiddler-info-background: <<colour background>>\\ntiddler-info-border: <<colour foreground>>\\ntiddler-info-tab-background: <<colour background>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour foreground>>\\ntiddler-title-foreground: <<colour foreground>>\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: <<colour foreground>>\\nvery-muted-foreground: #888888\\nnetwork-activity-foreground: <<colour primary>>\"},\"$:/palettes/CupertinoDark\":{\"title\":\"$:/palettes/CupertinoDark\",\"tags\":\"$:/tags/Palette\",\"color-scheme\":\"dark\",\"name\":\"Cupertino Dark\",\"description\":\"A macOS inspired dark palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ff4b42\\nalert-border: #950700\\nalert-highlight: #FFD60A\\nalert-muted-foreground: #323234\\nbackground: #282828\\nblockquote-bar: #8d8d8d\\nbutton-foreground: <<colour foreground>>\\ncode-background: <<colour pre-background>>\\ncode-border: <<colour pre-border>>\\ncode-foreground: #c7c7c7\\ndirty-indicator: #FF453A\\ndownload-background: <<colour primary>>\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour tiddler-info-background>>\\ndropdown-border: <<colour dropdown-background>>\\ndropdown-tab-background-selected: #3F638B\\ndropdown-tab-background: #707070\\ndropzone-background: #30D158\\nexternal-link-background-hover: transparent\\nexternal-link-background-visited: transparent\\nexternal-link-background: transparent\\nexternal-link-foreground-hover: #9511d5\\nexternal-link-foreground-visited: #BF5AF2\\nexternal-link-foreground: #32D74B\\nfootnote-target-background: #747474\\nforeground: #FFFFFF\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmenubar-background: #464646\\nmenubar-foreground: #ffffff\\nmessage-background: <<colour background>>\\nmessage-border: <<colour very-muted-foreground>>\\nmessage-foreground: rgba(255, 255, 255, 0.54)\\nmodal-backdrop: <<colour page-background>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour very-muted-foreground>>\\nmodal-footer-background: <<colour background>>\\nmodal-footer-border: <<colour background>>\\nmodal-header-border: <<colour very-muted-foreground>>\\nmuted-foreground: #98989D\\nnotification-background: <<colour dropdown-background>>\\nnotification-border: <<colour dropdown-background>>\\npage-background: #323232\\npre-background: #464646\\npre-border: transparent\\nprimary: #0A84FF\\nselect-tag-background: <<colour background>>\\nselect-tag-foreground: <<colour foreground>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #FF9F0A\\nsidebar-controls-foreground: #8E8E93\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground-hover: #acacac\\nsidebar-muted-foreground: #787878\\nsidebar-tab-background-selected: #3F638B\\nsidebar-tab-background: <<colour background>>\\nsidebar-tab-border-selected: #313131\\nsidebar-tab-border: #404040\\nsidebar-tab-divider: #282828\\nsidebar-tab-foreground-selected: #d2d2d2\\nsidebar-tab-foreground: #d2d2d2\\nsidebar-tiddler-link-foreground-hover: #535353\\nsidebar-tiddler-link-foreground: #949494\\nsite-title-foreground: #ffffff\\nstability-stable: #009f00\\nstability-experimental: #c07c00\\nstability-deprecated: #ff0000\\nstability-legacy: #6c6cff\\nstatic-alert-foreground: #B4B4B4\\ntab-background-selected: #3F638B\\ntab-background: <<colour page-background>>\\ntab-border-selected: <<colour page-background>>\\ntab-border: #4a4a4a\\ntab-divider: <<colour page-background>>\\ntab-foreground-selected: #ffffff\\ntab-foreground: #adadad\\ntable-border: #464646\\ntable-footer-background: #7f7f7f\\ntable-header-background: <<colour table-border>>\\ntag-background: #48484A\\ntag-foreground: #323232\\ntestcase-accent-level-1: #345173\\ntiddler-background: <<colour background>>\\ntiddler-border: transparent\\ntiddler-controls-foreground-hover: <<colour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground-selected: <<colour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground: #48484A\\ntiddler-editor-background: <<colour background>>\\ntiddler-editor-border-image: \\ntiddler-editor-border: #444444\\ntiddler-editor-fields-even: #1f1f1f\\ntiddler-editor-fields-odd: #464646\\ntiddler-info-background: #1E1E1E\\ntiddler-info-border: #1E1E1E\\ntiddler-info-tab-background: #3F638B\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour muted-foreground>>\\ntiddler-title-foreground: #FFFFFF\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #5f5f5f\\nvery-muted-foreground: #3f3f3f\\nselection-background: #3F638B\\nselection-foreground: #ffffff\\nwikilist-background: <<colour page-background>>\\nwikilist-button-background: #3F638B\\nwikilist-button-foreground: <<colour foreground>>\\nwikilist-button-open: #32D74B\\nwikilist-button-open-hover: #32D74B\\nwikilist-button-reveal: #0A84FF\\nwikilist-button-reveal-hover: #0A84FF\\nwikilist-button-remove: #FF453A\\nwikilist-button-remove-hover: #FF453A\\nwikilist-droplink-dragover: #32D74B\\nwikilist-item: <<colour background>>\\nwikilist-toolbar-background: <<colour background>>\\nwikilist-title: <<colour foreground>>\\nwikilist-title-svg: <<colour foreground>>\\nwikilist-toolbar-foreground: <<colour foreground>>\\nwikilist-url: <<colour muted-foreground>>\\nnetwork-activity-foreground: <<colour primary>>\"},\"$:/palettes/DarkPhotos\":{\"title\":\"$:/palettes/DarkPhotos\",\"created\":\"20150402111612188\",\"description\":\"Good with dark photo backgrounds\",\"modified\":\"20150402112344080\",\"name\":\"DarkPhotos\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"color-scheme\":\"light\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background: \\nbutton-foreground: \\nbutton-border: \\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #30b830\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nfootnote-target-background: #ecf2ff\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #ddd\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #336438\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #5778d8\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #a6a6ff\\nsidebar-controls-foreground: #eeeeee\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #eeeeee\\nsidebar-muted-foreground-hover: #999999\\nsidebar-muted-foreground: #eeeeee\\nsidebar-tab-background-selected: <<colour page-background>>\\nsidebar-tab-background: #e0e0e0\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: #e4e4e4\\nsidebar-tab-foreground-selected: #ddddff\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #aaaaff\\nsidebar-tiddler-link-foreground: #ddddff\\nsite-title-foreground: #ffffff\\nstability-stable: #008000\\nstability-experimental: #c07c00\\nstability-deprecated: #ff0000\\nstability-legacy: #0000ff\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ec6\\ntag-foreground: #ffffff\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #6a6aff\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #182955\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\nnetwork-activity-foreground: #11ff23\"},\"$:/palettes/DesertSand\":{\"title\":\"$:/palettes/DesertSand\",\"tags\":\"$:/tags/Palette\",\"color-scheme\":\"light\",\"name\":\"Desert Sand\",\"description\":\"A desert sand palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #E9E0C7\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-foreground: <<colour foreground>>\\ncode-background: #F3EDDF\\ncode-border: #C3BAA1\\ncode-foreground: #ab3250\\ndiff-delete-background: #bd8b8b\\ndiff-delete-foreground: <<colour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: <<colour foreground>>\\ndiff-insert-background: #91c093\\ndiff-insert-foreground: <<colour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: #d3d2cb\\ndirty-indicator: #ad3434\\ndownload-background: #5eae62\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #E9E0C7\\ndropdown-tab-background: #BAB29C\\ndropzone-background: #00c600\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: #7474ba\\nexternal-link-foreground-visited: #313163\\nexternal-link-foreground: #555592\\nforeground: #2D2A23\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmenubar-background: #CDC2A6\\nmenubar-foreground: #5A5446\\nmessage-background: #ECE5CF\\nmessage-border: #D6CBAA\\nmessage-foreground: #5f6e7d\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #8A8885\\nmodal-footer-background: #CDC2A6\\nmodal-footer-border: #9D998E\\nmodal-header-border: #9D998E\\nmuted-foreground: #9D998E\\nnotification-background: #F0E9D7\\nnotification-border: #939189\\npage-background: #e0d3af\\npre-background: #D6CBAA\\npre-border: #CDC2A6\\nprimary: #5B6F55\\nselection-background: #9D947B\\nselection-foreground: <<colour foreground>>\\nselect-tag-background: #F0E9D7\\nselect-tag-foreground: #2D2A23\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #2D2A23\\nsidebar-controls-foreground: #867F69\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #867F69\\nsidebar-muted-foreground-hover: #706A58\\nsidebar-muted-foreground: #aba081\\nsidebar-tab-background-selected: #e0d3af\\nsidebar-tab-background: #A6A193\\nsidebar-tab-border-selected: #C3BAA1\\nsidebar-tab-border: #C3BAA1\\nsidebar-tab-divider: #CDC2A6\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: #2D2A23\\nsidebar-tiddler-link-foreground-hover: #433F35\\nsidebar-tiddler-link-foreground: #706A58\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-deprecated: #dc322f\\nstability-experimental: #b58900\\nstability-legacy: #268bd2\\nstability-stable: #859900\\nstatic-alert-foreground: #A6A193\\ntab-background-selected: #E9E0C7\\ntab-background: #A6A193\\ntab-border-selected: #C3BAA1\\ntab-border: #C3BAA1\\ntab-divider: #CDC2A6\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #2D2A23\\ntable-border: #9D998E\\ntable-footer-background: #8A8885\\ntable-header-background: #B0AA98\\ntag-background: #706A58\\ntag-foreground: #E3D7B7\\ntestcase-accent-level-1: #b3adc9\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #9D947B\\ntiddler-controls-foreground-selected: #706A58\\ntiddler-controls-foreground: #C3BAA1\\ntiddler-editor-background: #E9E0C7\\ntiddler-editor-border-image: #A6A193\\ntiddler-editor-border: #A6A193\\ntiddler-editor-fields-even: #D6CBAA\\ntiddler-editor-fields-odd: #C3BAA1\\ntiddler-info-background: #E3D7B7\\ntiddler-info-border: #BAB29C\\ntiddler-info-tab-background: #E9E0C7\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #867F69\\ntiddler-title-foreground: #374464\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #8A8885\\nvery-muted-foreground: #CDC2A6\\nwikilist-background: <<colour page-background>>\\nwikilist-item: #CDC2A6\\nwikilist-info: #161512\\nwikilist-title: #433F35\\nwikilist-title-svg: <<colour wikilist-title>>\\nwikilist-url: #706A58\\nwikilist-button-open: #7db66a\\nwikilist-button-open-hover: #56a556\\nwikilist-button-reveal: #5a6c9e\\nwikilist-button-reveal-hover: #454591\\nwikilist-button-remove: #bc5972\\nwikilist-button-remove-hover: #814040\\nwikilist-toolbar-background: #CDC2A6\\nwikilist-toolbar-foreground: #2D2A23\\nwikilist-droplink-dragover: rgba(255,192,192,0.5)\\nwikilist-button-background: #A6A193\\nwikilist-button-foreground: #161512\\nnetwork-activity-foreground: <<colour primary>>\"},\"$:/palettes/FlexokiDark\":{\"title\":\"$:/palettes/FlexokiDark\",\"color-scheme\":\"dark\",\"description\":\"An inky color scheme for prose and code\",\"name\":\"FlexokiDark\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"flexoki-paper: #FFFCF0\\nflexoki-999: #100F0F\\nflexoki-950: #1C1B1A\\nflexoki-900: #282726\\nflexoki-850: #343331\\nflexoki-800: #403E3C\\nflexoki-700: #575653\\nflexoki-600: #6c6b66\\nflexoki-500: #878580\\nflexoki-300: #B7B5AC\\nflexoki-200: #CECDC3\\nflexoki-150: #DAD8CE\\nflexoki-100: #E6E4D9\\nflexoki-050: #F2F0E5\\nflexoki-red-600: #AF3029\\nflexoki-red-400: #D14D41\\nflexoki-orange-600: #BC5215\\nflexoki-orange-400: #DA702C\\nflexoki-yellow-900: #4D3A0B\\nflexoki-yellow-600: #AD8301\\nflexoki-yellow-400: #D0A215\\nflexoki-yellow-100: #FCEEB8\\nflexoki-green-600: #66800B\\nflexoki-green-400: #879A39\\nflexoki-cyan-950: #142625\\nflexoki-cyan-600: #227d77\\nflexoki-cyan-400: #3AA99F\\nflexoki-cyan-050: #EBF2E7\\nflexoki-blue-600: #205EA6\\nflexoki-blue-400: #4385BE\\nflexoki-purple-600: #5E409D\\nflexoki-purple-400: #8B7EC8\\nflexoki-magenta-600: #A02F6F\\nflexoki-magenta-400: #CE5D97\\n\\nflexoki-bg: <<colour flexoki-999>>\\nflexoki-tx-2: <<colour flexoki-500>>\\nflexoki-tx-3: <<colour flexoki-700>>\\nflexoki-ui-3: <<colour flexoki-800>>\\nflexoki-ui-2: <<colour flexoki-850>>\\nflexoki-ui: <<colour flexoki-900>>\\nflexoki-bg-2: <<colour flexoki-950>>\\nflexoki-tx: <<colour flexoki-300>>\\nflexoki-re: <<colour flexoki-red-400>>\\nflexoki-or: <<colour flexoki-orange-400>>\\nflexoki-ye: <<colour flexoki-yellow-400>>\\nflexoki-gr: <<colour flexoki-green-400>>\\nflexoki-cy: <<colour flexoki-cyan-400>>\\nflexoki-bl: <<colour flexoki-blue-400>>\\nflexoki-pu: <<colour flexoki-purple-400>>\\nflexoki-ma: <<colour flexoki-magenta-400>>\\nflexoki-re-2: <<colour flexoki-red-600>>\\nflexoki-or-2: <<colour flexoki-orange-600>>\\nflexoki-ye-2: <<colour flexoki-yellow-600>>\\nflexoki-gr-2: <<colour flexoki-green-600>>\\nflexoki-cy-2: <<colour flexoki-cyan-600>>\\nflexoki-bl-2: <<colour flexoki-blue-600>>\\nflexoki-pu-2: <<colour flexoki-purple-600>>\\nflexoki-ma-2: <<colour flexoki-magenta-600>>\\n\\nalert-background: <<colour flexoki-yellow-900>>\\nalert-border: <<colour flexoki-ye>>\\nalert-highlight: <<colour flexoki-re>>\\nalert-muted-foreground: <<colour flexoki-ye>>\\nbackground: #100F0F\\nblockquote-bar: <<colour flexoki-ma>>\\nbutton-background: <<colour flexoki-bg-2>>\\nbutton-foreground: <<colour flexoki-paper>>\\nbutton-border: <<colour flexoki-600>>\\ncode-background: <<colour background>>\\ncode-border: <<colour flexoki-tx>>\\ncode-foreground: <<colour flexoki-tx>>\\ndiff-delete-background: <<colour flexoki-re>>\\ndiff-delete-foreground: <<colour flexoki-bg-2>>\\ndiff-equal-background: \\ndiff-equal-foreground: inherit\\ndiff-insert-background: <<colour flexoki-gr>>\\ndiff-insert-foreground: <<colour flexoki-bg-2>>\\ndiff-invisible-background: <<colour flexoki-ye>>\\ndiff-invisible-foreground: <<colour flexoki-bg-2>>\\ndirty-indicator: <<colour flexoki-re>>\\ndownload-background: <<colour flexoki-cy-2>>\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour background>>\\ndragger-foreground: <<colour foreground>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour flexoki-ui-3>>\\ndropdown-tab-background-selected: <<colour flexoki-ui>>\\ndropdown-tab-background: <<colour flexoki-ui-3>>\\ndropzone-background: <<colour flexoki-gr>>\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: <<colour flexoki-bl>>\\nexternal-link-foreground: <<colour flexoki-bl>>\\nfootnote-target-background: <<colour flexoki-bg-2>>\\nforeground: #CECDC3\\nhighlight-background: <<colour flexoki-yellow-900>>\\nhighlight-foreground: inherit\\nmenubar-background: <<colour primary>>\\nmenubar-foreground: <<colour flexoki-999>>\\nmessage-background: <<colour background>>\\nmessage-border: <<colour foreground>>\\nmessage-foreground: <<colour foreground>>\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour flexoki-ui-3>>\\nmodal-footer-background: <<colour flexoki-ui-2>>\\nmodal-footer-border: <<colour flexoki-ui-3>>\\nmodal-header-border: <<colour flexoki-ui-3>>\\nmuted-foreground: <<colour flexoki-tx-2>>\\nnetwork-activity-foreground: <<colour flexoki-cy>>\\nnotification-background: <<colour flexoki-bg>>\\nnotification-border: <<colour flexoki-paper>>\\npage-background: <<colour flexoki-bg-2>>\\npre-background: <<colour flexoki-bg-2>>\\npre-border: <<colour flexoki-ui-2>>\\nprimary: <<colour flexoki-cy>>\\nselection-background: <<colour primary>>\\nselection-foreground: <<colour background>>\\nselect-tag-background: <<colour flexoki-bg>>\\nselect-tag-foreground: <<colour flexoki-paper>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: <<colour flexoki-tx>>\\nsidebar-controls-foreground: <<colour flexoki-tx-3>>\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: <<colour flexoki-tx>>\\nsidebar-muted-foreground-hover: <<colour flexoki-tx>>\\nsidebar-muted-foreground: <<colour flexoki-tx-3>>\\nsidebar-tab-background-selected: <<colour flexoki-bg-2>>\\nsidebar-tab-background: <<colour flexoki-ui-2>>\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour tab-divider>>\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: <<colour flexoki-tx>>\\nsidebar-tiddler-link-foreground: <<colour flexoki-tx-2>>\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-stable: <<colour flexoki-gr>>\\nstability-experimental: <<colour flexoki-ye>>\\nstability-deprecated: <<colour flexoki-re>>\\nstability-legacy: <<colour flexoki-bl>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: <<colour background>>\\ntab-background: <<colour flexoki-bg-2>>\\ntab-border-selected: <<colour flexoki-ui-3>>\\ntab-border: <<colour flexoki-ui>>\\ntab-divider: <<colour flexoki-ui-2>>\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: <<colour flexoki-tx-2>>\\ntable-border: <<colour flexoki-ui-2>>\\ntable-footer-background: <<colour flexoki-ui>>\\ntable-header-background: <<colour flexoki-ui>>\\ntag-background: #D0A215\\ntag-foreground: #100F0F\\ntestcase-accent-level-1: <<colour flexoki-bl-2>>\\ntestcase-accent-level-2: <<colour flexoki-ye-2>>\\ntestcase-accent-level-3: <<colour flexoki-gr-2>>\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour flexoki-ui-2>>\\ntiddler-controls-foreground-hover: <<colour flexoki-tx-3>>\\ntiddler-controls-foreground-selected: <<colour flexoki-tx-2>>\\ntiddler-controls-foreground: <<colour flexoki-tx-3>>\\ntiddler-editor-background: <<colour flexoki-bg-2>>\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: <<colour flexoki-ui-2>>\\ntiddler-editor-fields-even: <<colour flexoki-ui-3>>\\ntiddler-editor-fields-odd: <<colour flexoki-ui-2>>\\ntiddler-info-background: <<colour flexoki-ui>>\\ntiddler-info-border: <<colour flexoki-ui>>\\ntiddler-info-tab-background: <<colour flexoki-ui>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour flexoki-tx-3>>\\ntiddler-title-foreground: <<colour flexoki-ma>>\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: <<colour flexoki-re>>\\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: <<colour flexoki-tx-3>>\\nvery-muted-foreground: <<colour flexoki-600>>\\nwikilist-background: <<colour flexoki-ui>>\\nwikilist-item: <<colour flexoki-black>>\\nwikilist-info: <<colour flexoki-paper>>\\nwikilist-title: <<colour flexoki-tx-2>>\\nwikilist-title-svg: <<colour wikilist-title>>\\nwikilist-url: <<colour flexoki-tx-3>>\\nwikilist-button-open: <<colour flexoki-gr>>\\nwikilist-button-open-hover: <<colour flexoki-gr-2>>\\nwikilist-button-reveal: <<colour flexoki-cy>>\\nwikilist-button-reveal-hover: <<colour flexoki-cy-2>>\\nwikilist-button-remove: <<colour flexoki-re>>\\nwikilist-button-remove-hover: <<colour flexoki-re-2>>\\nwikilist-toolbar-background: <<colour flexoki-ui-2>>\\nwikilist-toolbar-foreground: <<colour flexoki-600>>\\nwikilist-droplink-dragover: <<colour flexoki-pu>>\\nwikilist-button-background: <<colour flexoki-tx-3>>\\nwikilist-button-foreground: <<colour flexoki-paper>>\"},\"$:/palettes/FlexokiLight\":{\"title\":\"$:/palettes/FlexokiLight\",\"name\":\"FlexokiLight\",\"description\":\"An inky color scheme for prose and code\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"color-scheme\":\"light\",\"text\":\"flexoki-black: #100F0F\\nflexoki-paper: #FFFCF0\\nflexoki-950: #1C1B1A\\nflexoki-900: #282726\\nflexoki-850: #343331\\nflexoki-800: #403E3C\\nflexoki-700: #575653\\nflexoki-600: #6F6E69\\nflexoki-500: #878580\\nflexoki-300: #B7B5AC\\nflexoki-200: #CECDC3\\nflexoki-150: #DAD8CE\\nflexoki-100: #E6E4D9\\nflexoki-050: #F2F0E5\\nflexoki-red-600: #AF3029\\nflexoki-red-400: #D14D41\\nflexoki-orange-600: #BC5215\\nflexoki-orange-400: #DA702C\\nflexoki-yellow-900: #4D3A0B\\nflexoki-yellow-600: #AD8301\\nflexoki-yellow-400: #D0A215\\nflexoki-yellow-100: #FCEEB8\\nflexoki-green-600: #66800B\\nflexoki-green-400: #879A39\\nflexoki-cyan-950: #142625\\nflexoki-cyan-600: #24837B\\nflexoki-cyan-400: #3AA99F\\nflexoki-cyan-050: #EBF2E7\\nflexoki-blue-600: #205EA6\\nflexoki-blue-400: #4385BE\\nflexoki-purple-600: #5E409D\\nflexoki-purple-400: #8B7EC8\\nflexoki-magenta-600: #A02F6F\\nflexoki-magenta-400: #CE5D97\\n\\nflexoki-tx: <<colour flexoki-black>>\\nflexoki-tx-2: <<colour flexoki-600>>\\nflexoki-tx-3: <<colour flexoki-300>>\\nflexoki-ui-3: <<colour flexoki-200>>\\nflexoki-ui-2: <<colour flexoki-150>>\\nflexoki-ui: <<colour flexoki-100>>\\nflexoki-bg-2: <<colour flexoki-050>>\\nflexoki-bg: <<colour flexoki-paper>>\\n\\nflexoki-re: <<colour flexoki-red-400>>\\nflexoki-or: <<colour flexoki-orange-400>>\\nflexoki-ye: <<colour flexoki-yellow-400>>\\nflexoki-gr: <<colour flexoki-green-400>>\\nflexoki-cy: <<colour flexoki-cyan-400>>\\nflexoki-bl: <<colour flexoki-blue-400>>\\nflexoki-pu: <<colour flexoki-purple-400>>\\nflexoki-ma: <<colour flexoki-magenta-400>>\\n\\nflexoki-re-2: <<colour flexoki-red-600>>\\nflexoki-or-2: <<colour flexoki-orange-600>>\\nflexoki-ye-2: <<colour flexoki-yellow-600>>\\nflexoki-gr-2: <<colour flexoki-green-600>>\\nflexoki-cy-2: <<colour flexoki-cyan-600>>\\nflexoki-bl-2: <<colour flexoki-blue-600>>\\nflexoki-pu-2: <<colour flexoki-purple-600>>\\nflexoki-ma-2: <<colour flexoki-magenta-600>>\\n\\nalert-background: <<colour flexoki-yellow-100>>\\nalert-border: <<colour flexoki-ye-2>>\\nalert-highlight: <<colour flexoki-re-2>>\\nalert-muted-foreground: <<colour flexoki-tx-2>>\\nbackground: #FFFCF0\\nblockquote-bar: <<colour flexoki-magenta-600>>\\nbutton-background: <<colour flexoki-bg-2>>\\nbutton-foreground: <<colour flexoki-black>>\\nbutton-border: <<colour flexoki-500>>\\ncode-background: <<colour flexoki-bg>>\\ncode-border: <<colour flexoki-tx>>\\ncode-foreground: <<colour flexoki-tx>>\\ndiff-delete-background: <<colour flexoki-re-2>>\\ndiff-delete-foreground: <<colour flexoki-paper>>\\ndiff-equal-background: \\ndiff-equal-foreground: <<colour foreground>>\\ndiff-insert-background: <<colour flexoki-gr-2>>\\ndiff-insert-foreground: <<colour flexoki-paper>>\\ndiff-invisible-background: <<colour flexoki-ye-2>>\\ndiff-invisible-foreground: <<colour flexoki-paper>>\\ndirty-indicator: <<colour flexoki-red-600>>\\ndownload-background: <<colour flexoki-gr>>\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: <<colour background>>\\ndropdown-tab-background: <<colour flexoki-bg-2>>\\ndropzone-background: <<colour flexoki-gr>>\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: <<colour flexoki-bl>>\\nexternal-link-foreground: <<colour flexoki-bl>>\\nfootnote-target-background: <<colour flexoki-bg-2>>\\nforeground: #100F0F\\nhighlight-background: <<colour flexoki-yellow-100>>\\nhighlight-foreground: inherit\\nmenubar-background: <<colour primary>>\\nmenubar-foreground: <<colour flexoki-paper>>\\nmessage-background: <<colour flexoki-bg>>\\nmessage-border: <<colour flexoki-black>>\\nmessage-foreground: <<colour flexoki-black>>\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour flexoki-tx-3>>\\nmodal-footer-background: <<colour flexoki-bg>>\\nmodal-footer-border: <<colour flexoki-tx-3>>\\nmodal-header-border: <<colour flexoki-tx-3>>\\nmuted-foreground: <<colour flexoki-500>>\\nnetwork-activity-foreground: <<colour flexoki-cy-2>>\\nnotification-background: <<colour flexoki-bg>>\\nnotification-border: <<color flexoki-black>>\\npage-background: <<colour flexoki-bg-2>>\\npre-background: <<colour flexoki-bg-2>>\\npre-border: <<colour flexoki-ui-2>>\\nprimary: <<colour flexoki-cy-2>>\\nselection-background: <<colour flexoki-cy-2>>\\nselection-foreground: <<colour background>>\\nselect-tag-background: <<colour flexoki-bg>>\\nselect-tag-foreground: <<color flexoki-black>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: <<colour flexoki-tx>>\\nsidebar-controls-foreground: <<colour flexoki-tx-3>>\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: <<colour flexoki-300>>\\nsidebar-muted-foreground-hover: <<colour flexoki-700>>\\nsidebar-muted-foreground: <<colour flexoki-200>>\\nsidebar-tab-background-selected: <<colour flexoki-bg-2>>\\nsidebar-tab-background: <<colour flexoki-ui>>\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour flexoki-100>>\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: <<colour flexoki-500>>\\nsidebar-tiddler-link-foreground: <<colour flexoki-700>>\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-stable: <<colour flexoki-green-600>>\\nstability-experimental: <<colour flexoki-yellow-600>>\\nstability-deprecated: <<colour flexoki-red-600>>\\nstability-legacy: <<colour flexoki-blue-600>>\\nstatic-alert-foreground: <<colour flexoki-tx-3>>\\ntab-background-selected: <<colour background>>\\ntab-background: <<colour flexoki-bg-2>>\\ntab-border-selected: <<colour flexoki-ui-3>>\\ntab-border: <<colour flexoki-ui>>\\ntab-divider: <<colour flexoki-ui-2>>\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: <<colour flexoki-tx>>\\ntable-border: <<colour flexoki-ui-2>>\\ntable-footer-background: <<colour flexoki-tx-3>>\\ntable-header-background: <<colour flexoki-bg-2>>\\ntag-background: #AD8301\\ntag-foreground: #FFFCF0\\ntestcase-accent-level-1: <<colour flexoki-blue-400>>\\ntestcase-accent-level-2: <<colour flexoki-yellow-400>>\\ntestcase-accent-level-3: <<colour flexoki-green-400>>\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: <<colour flexoki-tx-3>>\\ntiddler-controls-foreground-selected: <<colour flexoki-tx-2>>\\ntiddler-controls-foreground: <<colour flexoki-ui-3>>\\ntiddler-editor-background: <<colour flexoki-bg-2>>\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: <<colour flexoki-ui-2>>\\ntiddler-editor-fields-even: <<colour flexoki-ui-3>>\\ntiddler-editor-fields-odd: <<colour flexoki-ui-2>>\\ntiddler-info-background: <<colour flexoki-bg-2>>\\ntiddler-info-border: <<colour flexoki-200>>\\ntiddler-info-tab-background: <<colour flexoki-bg>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour flexoki-tx-3>>\\ntiddler-title-foreground: <<colour flexoki-magenta-600>>\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: <<colour flexoki-re-2>>\\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: <<colour flexoki-tx-3>>\\nvery-muted-foreground: <<colour flexoki-500>>\\nwikilist-background: <<colour flexoki-ui>>\\nwikilist-item: <<colour flexoki-paper>>\\nwikilist-info: <<colour flexoki-black>>\\nwikilist-title: <<colour flexoki-tx-2>>\\nwikilist-title-svg: <<colour wikilist-title>>\\nwikilist-url: <<colour flexoki-tx-3>>\\nwikilist-button-open: <<colour flexoki-gr-2>>\\nwikilist-button-open-hover: <<colour flexoki-gr>>\\nwikilist-button-reveal: <<colour flexoki-cy-2>>\\nwikilist-button-reveal-hover: <<colour flexoki-cy>>\\nwikilist-button-remove: <<colour flexoki-re-2>>\\nwikilist-button-remove-hover: <<colour flexoki-re>>\\nwikilist-toolbar-background: <<colour flexoki-ui-2>>\\nwikilist-toolbar-foreground: <<colour flexoki-500>>\\nwikilist-droplink-dragover: <<colour flexoki-pu>>\\nwikilist-button-background: <<colour flexoki-tx-3>>\\nwikilist-button-foreground: <<colour flexoki-black>>\\n\"},\"$:/palettes/GruvboxDark\":{\"title\":\"$:/palettes/GruvboxDark\",\"name\":\"Gruvbox Dark\",\"color-scheme\":\"dark\",\"description\":\"Retro groove color scheme\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"license\":\"https://github.com/morhetz/gruvbox\",\"text\":\"alert-background: #cc241d\\nalert-border: #cc241d\\nalert-highlight: #d79921\\nalert-muted-foreground: #272321\\nbackground: #3c3836\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-foreground: <<colour foreground>>\\ncode-background: #504945\\ncode-border: #504945\\ncode-foreground: #fc5e4b\\ndiff-delete-background: #fb4934\\ndiff-delete-foreground: <<colour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: <<colour foreground>>\\ndiff-insert-background: #b8bb26\\ndiff-insert-foreground: <<colour background>>\\ndiff-invisible-background: #ffff97\\ndiff-invisible-foreground: #444347\\ndirty-indicator: #fb4934\\ndownload-background: #1daf24\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: #665c54\\ndropdown-border: <<colour background>>\\ndropdown-tab-background-selected: #ebdbb2\\ndropdown-tab-background: #665c54\\ndropzone-background: #98971a\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #d3869b\\nexternal-link-foreground: #8ec07c\\nfootnote-target-background: #665c54\\nforeground: #fbf1c7\\nhighlight-background: #ffff79\\nhighlight-foreground: #000000\\nmenubar-background: #504945\\nmenubar-foreground: <<colour foreground>>\\nmessage-background: #b4c9c1\\nmessage-border: #83a598\\nmessage-foreground: #3c3836\\nmodal-backdrop: #625a57\\nmodal-background: <<colour background>>\\nmodal-border: #504945\\nmodal-footer-background: #3c3836\\nmodal-footer-border: #3c3836\\nmodal-header-border: #3c3836\\nmuted-foreground: #d5c4a1\\nnetwork-activity-foreground: <<colour primary>>\\nnotification-background: <<colour primary>>\\nnotification-border: <<colour primary>>\\npage-background: #282828\\npre-background: #504945\\npre-border: #504945\\nprimary: #da9921\\nselect-tag-background: #665c54\\nselect-tag-foreground: <<colour foreground>>\\nselection-background: #458588\\nselection-foreground: <<colour foreground>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #e3e0dd\\nsidebar-controls-foreground: #978b84\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #fbf1c7\\nsidebar-muted-foreground-hover: <<colour sidebar-controls-foreground-hover>>\\nsidebar-muted-foreground: <<colour sidebar-controls-foreground>>\\nsidebar-tab-background-selected: #bdae93\\nsidebar-tab-background: #3c3836\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: #bdae93\\nsidebar-tab-divider: <<colour page-background>>\\nsidebar-tab-foreground-selected: <<colour page-background>>\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #458588\\nsidebar-tiddler-link-foreground: #98971a\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-deprecated: #cc241d\\nstability-experimental: #b37d1c\\nstability-legacy: #529ca0\\nstability-stable: #649618\\nstatic-alert-foreground: #B48EAD\\ntab-background-selected: #ebdbb2\\ntab-background: #665c54\\ntab-border-selected: <<colour tab-background-selected>>\\ntab-border: #82746a\\ntab-divider: #bdae93\\ntab-foreground-selected: #282828\\ntab-foreground: #ebdbb2\\ntable-border: #7c6f64\\ntable-footer-background: #665c54\\ntable-header-background: #504945\\ntag-background: #d3869b\\ntag-foreground: #282828\\ntestcase-accent-level-1: #456d88\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #7c6f64\\ntiddler-controls-foreground-selected: <<colour primary>>\\ntiddler-controls-foreground: #665c54\\ntiddler-editor-background: #32302f\\ntiddler-editor-border-image: #282828\\ntiddler-editor-border: #282828\\ntiddler-editor-fields-even: #504945\\ntiddler-editor-fields-odd: #7c6f64\\ntiddler-info-background: #32302f\\ntiddler-info-border: #ebdbb2\\ntiddler-info-tab-background: #ebdbb2\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #7c6f64\\ntiddler-title-foreground: #a89984\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #887b75\\nvery-muted-foreground: #bdae93\\nwikilist-background: <<colour page-background>>\\nwikilist-button-background: #acacac\\nwikilist-button-foreground: <<colour button-foreground>>\\nwikilist-item: <<colour background>>\\nwikilist-toolbar-background: <<colour background>>\\nwikilist-toolbar-foreground: <<colour foreground>>\\nwikilist-title: <<colour foreground>>\\nwikilist-title-svg: <<colour wikilist-title>>\\nwikilist-url: <<colour muted-foreground>>\\nwikilist-button-open-hover: <<colour primary>>\\nwikilist-button-open: <<colour dropzone-background>>\\nwikilist-button-remove: <<colour dirty-indicator>>\\nwikilist-button-remove-hover: <<colour alert-background>>\\nwikilist-droplink-dragover: <<colour dropzone-background>>\\nwikilist-button-reveal: <<colour sidebar-tiddler-link-foreground-hover>>\\nwikilist-button-reveal-hover: <<colour message-background>>\\n\"},\"$:/palettes/Nord\":{\"title\":\"$:/palettes/Nord\",\"name\":\"Nord\",\"color-scheme\":\"dark\",\"description\":\"An arctic, north-bluish color palette.\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"license\":\"MIT, arcticicestudio, https://github.com/arcticicestudio/nord/blob/develop/LICENSE.md\",\"text\":\"alert-background: #D08770\\nalert-border: <<colour alert-background>>\\nalert-highlight: #a3436f\\nalert-muted-foreground: #495367\\nbackground: #3b4252\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-foreground: <<colour foreground>>\\ncode-background: #2E3440\\ncode-border: #2E3440\\ncode-foreground: #c7747c\\ndiff-delete-background: #BF616A\\ndiff-delete-foreground: <<colour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: <<colour foreground>>\\ndiff-insert-background: #A3BE8C\\ndiff-insert-foreground: <<colour background>>\\ndiff-invisible-background: #f9f3b5\\ndiff-invisible-foreground: <<colour muted-foreground>>\\ndirty-indicator: #BF616A\\ndownload-background: #A3BE8C\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour background>>\\ndropdown-tab-background-selected: #ECEFF4\\ndropdown-tab-background: #4C566A\\ndropzone-background: #A3BE8C\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #5E81AC\\nexternal-link-foreground: #8FBCBB\\nfootnote-target-background: #2E3440\\nforeground: #d8dee9\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmenubar-background: #2E3440\\nmenubar-foreground: #d8dee9\\nmessage-background: #2E3440\\nmessage-border: #2E3440\\nmessage-foreground: #6485aa\\nmodal-backdrop: #435678\\nmodal-background: <<colour background>>\\nmodal-border: #3b4252\\nmodal-footer-background: #3b4252\\nmodal-footer-border: #3b4252\\nmodal-header-border: #3b4252\\nmuted-foreground: #687693\\nnetwork-activity-foreground: <<colour primary>>\\nnotification-background: <<colour primary>>\\nnotification-border: #EBCB8B\\npage-background: #2e3440\\npre-background: #2E3440\\npre-border: #2E3440\\nprimary: #7b98bb\\nselect-tag-background: #3b4252\\nselect-tag-foreground: <<colour foreground>>\\nselection-background: #52749e\\nselection-foreground: <<colour foreground>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #D8DEE9\\nsidebar-controls-foreground: #5e6a84\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #D8DEE9\\nsidebar-muted-foreground-hover: #9fa8bb\\nsidebar-muted-foreground: #6c7b97\\nsidebar-tab-background-selected: #ECEFF4\\nsidebar-tab-background: #4C566A\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: #4C566A\\nsidebar-tab-divider: <<colour page-background>>\\nsidebar-tab-foreground-selected: #4C566A\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #A3BE8C\\nsidebar-tiddler-link-foreground: #81A1C1\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-deprecated: #ff595e\\nstability-experimental: #f29d00\\nstability-legacy: #2ddbca\\nstability-stable: #04ff04\\nstatic-alert-foreground: #B48EAD\\ntab-background-selected: #ECEFF4\\ntab-background: #4C566A\\ntab-border-selected: #4C566A\\ntab-border: #5c6883\\ntab-divider: #4C566A\\ntab-foreground-selected: #6c7a97\\ntab-foreground: #D8DEE9\\ntable-border: #4C566A\\ntable-footer-background: #2e3440\\ntable-header-background: #2e3440\\ntag-background: #A3BE8C\\ntag-foreground: #4C566A\\ntestcase-accent-level-1: #455e7d\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: \\ntiddler-controls-foreground-selected: #EBCB8B\\ntiddler-controls-foreground: #5e6a84\\ntiddler-editor-background: #2e3440\\ntiddler-editor-border-image: #2e3440\\ntiddler-editor-border: #232732\\ntiddler-editor-fields-even: #2e3440\\ntiddler-editor-fields-odd: #424a5b\\ntiddler-info-background: #2e3440\\ntiddler-info-border: #2e3440\\ntiddler-info-tab-background: #2e3440\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #5c6881\\ntiddler-title-foreground: #81A1C1\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #2d3038\\nvery-muted-foreground: #2d3038\\nwikilist-background: <<colour page-background>>\\nwikilist-toolbar-background: <<colour background>>\\nwikilist-item: <<colour background>>\\nwikilist-title: <<colour foreground>>\\nwikilist-info: <<colour muted-foreground>>\\nwikilist-button-open: #A3BE8C\\nwikilist-button-open-hover: #A3BE8C\\nwikilist-button-reveal: #81A1C1\\nwikilist-button-reveal-hover: #81A1C1\\nwikilist-button-remove: #B48EAD\\nwikilist-button-remove-hover: #B48EAD\"},\"$:/palettes/Rocker\":{\"title\":\"$:/palettes/Rocker\",\"name\":\"Rocker\",\"color-scheme\":\"dark\",\"description\":\"A dark theme\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background: #adadad\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nfootnote-target-background: #ecf2ff\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #999999\\nnetwork-activity-foreground: <<colour primary>>\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #000\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #cc0000\\nselect-tag-background: <<colour foreground>>\\nselect-tag-foreground: <<colour foreground>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #797979\\nsidebar-controls-foreground: #cacaca\\nsidebar-foreground-shadow: rgba(255,255,255, 0.0)\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #000000\\nsidebar-tab-background: <<colour tab-background>>\\nsidebar-tab-border-selected: #7c7c7c\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: <<colour tab-divider>>\\nsidebar-tab-foreground-selected: #ff0909\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #ffbb99\\nsidebar-tiddler-link-foreground: #cc0000\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-deprecated: #ff0000\\nstability-experimental: #c07c00\\nstability-legacy: #0000ff\\nstability-stable: #008000\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #bbbbbb\\ntab-divider: #d8d8d8\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ffbb99\\ntag-foreground: #000\\ntestcase-accent-level-1: #9e9eff\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #cc0000\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\"},\"$:/palettes/SolarFlare\":{\"title\":\"$:/palettes/SolarFlare\",\"name\":\"Solar Flare\",\"color-scheme\":\"light\",\"description\":\"Warm, relaxing earth colours\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"# Background Tones\\n\\nbase03: #002b36\\nbase02: #073642\\n\\n# Content Tones\\n\\nbase01: #586e75\\nbase00: #657b83\\nbase0: #839496\\nbase1: #93a1a1\\n\\n# Background Tones\\n\\nbase2: #eee8d5\\nbase3: #fdf6e3\\n\\n# Accent Colors\\n\\nyellow: #b58900\\norange: #cb4b16\\nred: #dc322f\\nmagenta: #d33682\\nviolet: #6c71c4\\nblue: #268bd2\\ncyan: #2aa198\\ngreen: #859900\\n\\n# Additional Tones (RA)\\n\\nbase10: #c0c4bb\\nviolet-muted: #7c81b0\\nblue-muted: #4e7baa\\n\\nyellow-hot: #ffcc44\\norange-hot: #eb6d20\\nred-hot: #ff2222\\nblue-hot: #2298ee\\ngreen-hot: #98ee22\\n\\n# Palette\\n\\n# Do not use colour macro for background and foreground\\nbackground: #fdf6e3\\n download-foreground: <<colour background>>\\n dragger-foreground: <<colour background>>\\n dropdown-background: <<colour background>>\\n modal-background: <<colour background>>\\n sidebar-foreground-shadow: <<colour background>>\\n tiddler-background: <<colour background>>\\n tiddler-border: <<colour background>>\\n tiddler-link-background: <<colour background>>\\n tab-background-selected: <<colour background>>\\n dropdown-tab-background-selected: <<colour tab-background-selected>>\\nforeground: #657b83\\n dragger-background: <<colour foreground>>\\n tab-foreground: <<colour foreground>>\\n tab-foreground-selected: <<colour tab-foreground>>\\n sidebar-tab-foreground-selected: <<colour tab-foreground-selected>>\\n sidebar-tab-foreground: <<colour tab-foreground>>\\n sidebar-button-foreground: <<colour foreground>>\\n sidebar-controls-foreground: <<colour foreground>>\\n sidebar-foreground: <<colour foreground>>\\n# base03\\n# base02\\n# base01\\n alert-muted-foreground: <<colour base01>>\\n# base00\\n code-foreground: <<colour base00>>\\n message-foreground: <<colour base00>>\\n tag-foreground: <<colour base00>>\\n# base0\\n sidebar-tiddler-link-foreground: <<colour base0>>\\n# base1\\n muted-foreground: <<colour base1>>\\n blockquote-bar: <<colour muted-foreground>>\\n dropdown-border: <<colour muted-foreground>>\\n sidebar-muted-foreground: <<colour muted-foreground>>\\n tiddler-title-foreground: <<colour muted-foreground>>\\n site-title-foreground: <<colour tiddler-title-foreground>>\\n# base2\\n stability-deprecated: <<colour red>>\\n stability-experimental: <<colour yellow>>\\n stability-legacy: <<colour blue-hot>>\\n stability-stable: <<colour green>>\\n modal-footer-background: <<colour base2>>\\n page-background: <<colour base2>>\\n modal-backdrop: <<colour page-background>>\\n notification-background: <<colour page-background>>\\n code-background: <<colour page-background>>\\n code-border: <<colour code-background>>\\n pre-background: <<colour page-background>>\\n pre-border: <<colour pre-background>>\\n sidebar-tab-background-selected: <<colour page-background>>\\n table-header-background: <<colour base2>>\\n tag-background: <<colour base2>>\\n tiddler-editor-background: <<colour base2>>\\n tiddler-info-background: <<colour base2>>\\n tiddler-info-tab-background: <<colour tiddler-info-border>>\\n tab-background: <<colour base2>>\\ndropdown-tab-background: <<colour tab-background>>\\n# base3\\n alert-background: <<colour base3>>\\n message-background: <<colour base3>>\\n# yellow\\n# orange\\n# red\\n# magenta\\n alert-highlight: <<colour magenta>>\\n# violet\\n external-link-foreground: <<colour violet>>\\n\\n# blue\\n# cyan\\n# green\\n# base10\\n tiddler-controls-foreground: <<colour base10>>\\n# violet-muted\\n external-link-foreground-visited: <<colour violet-muted>>\\n# blue-muted\\n primary: <<colour blue-muted>>\\n download-background: #5bb83d\\n tiddler-link-foreground: <<colour primary>>\\nalert-border: #b99e2f\\ndiff-delete-background: <<colour red>>\\ndiff-delete-foreground: <<colour background>>\\ndiff-equal-background: inherit\\ndiff-equal-foreground: inherit\\ndiff-insert-background: <<colour green>>\\ndiff-insert-foreground: <<colour background>>\\ndiff-invisible-background: <<colour yellow>>\\ndiff-invisible-foreground: <<colour background>>\\ndirty-indicator: #ff0000\\ndropzone-background: #008800\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nfootnote-target-background: #ded8c5\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-border: #cfd6e6\\nmodal-border: #999999\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-controls-foreground-hover: #000000\\nsidebar-muted-foreground-hover:\\nsidebar-tab-background: #ded8c5\\nsidebar-tiddler-link-foreground-hover:\\nstatic-alert-foreground: #aaaaaa\\ntab-border: #cccccc\\n modal-footer-border: <<colour tab-border>>\\n modal-header-border: <<colour tab-border>>\\n notification-border: <<colour tab-border>>\\n sidebar-tab-border: <<colour tab-border>>\\n tab-border-selected: <<colour tab-border>>\\n sidebar-tab-border-selected: <<colour tab-border-selected>>\\ntab-divider: #d8d8d8\\n sidebar-tab-divider: <<colour tab-divider>>\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntestcase-accent-level-1: #bec8cc\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-border: #dddddd\\ntiddler-subtitle-foreground: #c0c0c0\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\nnetwork-activity-foreground: <<colour primary>>\"},\"$:/palettes/SolarizedDark\":{\"title\":\"$:/palettes/SolarizedDark\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Precision dark colors for machines and people\",\"license\":\"MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE\",\"name\":\"SolarizedDark\",\"color-scheme\":\"dark\",\"text\":\"alert-background: #073642\\nalert-border: #93a1a1\\nalert-highlight: #d33682\\nalert-muted-foreground: #d33682\\nbackground: #073642\\nblockquote-bar: #d33682\\nbutton-background: #073642\\nbutton-border: #586e75\\nbutton-foreground: #93a1a1\\ncode-background: #073642\\ncode-border: #586e75\\ncode-foreground: #93a1a1\\ndiff-delete-background: #dc322f\\ndiff-delete-foreground: #eee8d5\\ndiff-equal-background: inherit\\ndiff-equal-foreground: inherit\\ndiff-insert-background: #859900\\ndiff-insert-foreground: #073642\\ndiff-invisible-background: #b58900\\ndiff-invisible-foreground: #eee8d5\\ndirty-indicator: #dc322f\\ndownload-background: #859900\\ndownload-foreground: #073642\\ndragger-background: #073642\\ndragger-foreground: #839496\\ndropdown-background: #073642\\ndropdown-border: #93a1a1\\ndropdown-tab-background: #002b36\\ndropdown-tab-background-selected: #073642\\ndropzone-background: #859900\\nexternal-link-background: inherit\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-foreground: #268bd2\\nexternal-link-foreground-hover: #1d669c\\nexternal-link-foreground-visited: #268bd2\\nfootnote-target-background: #073642\\nforeground: #839496\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmessage-background: #002b36\\nmessage-border: #586e75\\nmessage-foreground: #839496\\nmodal-backdrop: #657b83\\nmodal-background: #002b36\\nmodal-border: #586e75\\nmodal-footer-background: #073642\\nmodal-footer-border: #586e75\\nmodal-header-border: #586e75\\nmuted-foreground: #93a1a1\\nnetwork-activity-foreground: <<colour primary>>\\nnotification-background: #002b36\\nnotification-border: #586e75\\npage-background: #073642\\npre-background: inherit\\npre-border: #657b83\\nprimary: #859900\\nselect-tag-background: #002b36\\nselect-tag-foreground: #839496\\nsidebar-button-foreground: #93a1a1\\nsidebar-controls-foreground: #93a1a1\\nsidebar-controls-foreground-hover: #eee8d5\\nsidebar-foreground: #93a1a1\\nsidebar-foreground-shadow: transparent\\nsidebar-muted-foreground: #839496\\nsidebar-muted-foreground-hover: #93a1a1\\nsidebar-tab-background: #002b36\\nsidebar-tab-background-selected: #073642\\nsidebar-tab-border: #073642\\nsidebar-tab-border-selected: #839496\\nsidebar-tab-divider: #002b36\\nsidebar-tab-foreground: #657b83\\nsidebar-tab-foreground-selected: #93a1a1\\nsidebar-tiddler-link-foreground: #2aa198\\nsidebar-tiddler-link-foreground-hover: #eee8d5\\nsite-title-foreground: #d33682\\nstability-deprecated: #aa1a9f\\nstability-experimental: #806000\\nstability-legacy: #1d669c\\nstability-stable: #00df11\\nstatic-alert-foreground: #93a1a1\\ntab-background: #073642\\ntab-background-selected: #002b36\\ntab-border: #586e75\\ntab-border-selected: #93a1a1\\ntab-divider: #93a1a1\\ntab-foreground: #839496\\ntab-foreground-selected: #93a1a1\\ntable-border: #586e75\\ntable-footer-background: #073642\\ntable-header-background: #073642\\ntag-background: #b58900\\ntag-foreground: #002b36\\ntestcase-accent-level-1: #073642\\ntiddler-background: #002b36\\ntiddler-border: #586e75\\ntiddler-controls-foreground: inherit\\ntiddler-controls-foreground-hover: #d33682\\ntiddler-controls-foreground-selected: #2aa198\\ntiddler-editor-background: #002b36\\ntiddler-editor-border: #073642\\ntiddler-editor-border-image: #002b36\\ntiddler-editor-fields-even: #002b36\\ntiddler-editor-fields-odd: #073642\\ntiddler-info-background: #073642\\ntiddler-info-border: #657b83\\ntiddler-info-tab-background: #002b36\\ntiddler-link-background: #002b36\\ntiddler-link-foreground: #2aa198\\ntiddler-subtitle-foreground: #839496\\ntiddler-title-foreground: #d33682\\ntoolbar-cancel-button: #839496\\ntoolbar-close-button: #839496\\ntoolbar-delete-button: #dc322f\\ntoolbar-done-button: #839496\\ntoolbar-edit-button: #839496\\ntoolbar-info-button: #839496\\ntoolbar-new-button: #839496\\ntoolbar-options-button: #839496\\ntoolbar-save-button: inherit\\nuntagged-background: #586e75\\nvery-muted-foreground: #586e75\"},\"$:/palettes/SolarizedLight\":{\"title\":\"$:/palettes/SolarizedLight\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Precision colors for machines and people\",\"license\":\"MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE\",\"name\":\"SolarizedLight\",\"color-scheme\":\"light\",\"text\":\"alert-background: #eee8d5\\nalert-border: #586e75\\nalert-highlight: #d33682\\nalert-muted-foreground: #d33682\\nbackground: #eee8d5\\nblockquote-bar: #d33682\\nbutton-background: #eee8d5\\nbutton-border: #93a1a1\\nbutton-foreground: #586e75\\ncode-background: #eee8d5\\ncode-border: #93a1a1\\ncode-foreground: #586e75\\ndiff-delete-background: #dc322f\\ndiff-delete-foreground: #eee8d5\\ndiff-equal-background: inherit\\ndiff-equal-foreground: inherit\\ndiff-insert-background: #859900\\ndiff-insert-foreground: #eee8d5\\ndiff-invisible-background: #b58900\\ndiff-invisible-foreground: #eee8d5\\ndirty-indicator: #dc322f\\ndownload-background: #00910b\\ndownload-foreground: #eee8d5\\ndragger-background: #eee8d5\\ndragger-foreground: #657b83\\ndropdown-background: #eee8d5\\ndropdown-border: #586e75\\ndropdown-tab-background: #fdf6e3\\ndropdown-tab-background-selected: #eee8d5\\ndropzone-background: #859900\\nexternal-link-background: inherit\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-foreground: #268bd2\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #268bd2\\nfootnote-target-background: #eee8d5\\nforeground: #657b83\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #fdf6e3\\nmessage-border: #93a1a1\\nmessage-foreground: #657b83\\nmodal-backdrop: #839496\\nmodal-background: #fdf6e3\\nmodal-border: #93a1a1\\nmodal-footer-background: #eee8d5\\nmodal-footer-border: #93a1a1\\nmodal-header-border: #93a1a1\\nmuted-foreground: #586e75\\nnetwork-activity-foreground: <<colour primary>>\\nnotification-background: #fdf6e3\\nnotification-border: #93a1a1\\npage-background: #eee8d5\\npre-background: #eee8d5\\npre-border: #839496\\nprimary: #859900\\nselect-tag-background: #fdf6e3\\nselect-tag-foreground: #657b83\\nsidebar-button-foreground: #586e75\\nsidebar-controls-foreground: #586e75\\nsidebar-controls-foreground-hover: #d33682\\nsidebar-foreground: #586e75\\nsidebar-foreground-shadow: transparent\\nsidebar-muted-foreground: #657b83\\nsidebar-muted-foreground-hover: #586e75\\nsidebar-tab-background: #fdf6e3\\nsidebar-tab-background-selected: #eee8d5\\nsidebar-tab-border: #eee8d5\\nsidebar-tab-border-selected: #657b83\\nsidebar-tab-divider: #fdf6e3\\nsidebar-tab-foreground: #839496\\nsidebar-tab-foreground-selected: #586e75\\nsidebar-tiddler-link-foreground: #2aa198\\nsidebar-tiddler-link-foreground-hover: #002b36\\nsite-title-foreground: #d33682\\nstability-deprecated: #d21a1a\\nstability-experimental: #771e00\\nstability-legacy: #227abb\\nstability-stable: #576400\\nstatic-alert-foreground: #586e75\\ntab-background: #eee8d5\\ntab-background-selected: #fdf6e3\\ntab-border: #93a1a1\\ntab-border-selected: #586e75\\ntab-divider: #586e75\\ntab-foreground: #657b83\\ntab-foreground-selected: #586e75\\ntable-border: #93a1a1\\ntable-footer-background: #eee8d5\\ntable-header-background: #eee8d5\\ntag-background: #b58900\\ntag-foreground: #fdf6e3\\ntestcase-accent-level-1: #afc2db\\ntiddler-background: #fdf6e3\\ntiddler-border: #93a1a1\\ntiddler-controls-foreground: inherit\\ntiddler-controls-foreground-hover: #d33682\\ntiddler-controls-foreground-selected: #2aa198\\ntiddler-editor-background: #fdf6e3\\ntiddler-editor-border: #eee8d5\\ntiddler-editor-border-image: #fdf6e3\\ntiddler-editor-fields-even: #fdf6e3\\ntiddler-editor-fields-odd: #eee8d5\\ntiddler-info-background: #eee8d5\\ntiddler-info-border: #839496\\ntiddler-info-tab-background: #fdf6e3\\ntiddler-link-background: #fdf6e3\\ntiddler-link-foreground: #2aa198\\ntiddler-subtitle-foreground: #657b83\\ntiddler-title-foreground: #d33682\\ntoolbar-cancel-button: #657b83\\ntoolbar-close-button: #657b83\\ntoolbar-delete-button: #dc322f\\ntoolbar-done-button: #657b83\\ntoolbar-edit-button: #657b83\\ntoolbar-info-button: #657b83\\ntoolbar-new-button: #657b83\\ntoolbar-options-button: #657b83\\ntoolbar-save-button: inherit\\nuntagged-background: #586e75\\nvery-muted-foreground: #93a1a1\\n\"},\"$:/palettes/SpartanDay\":{\"title\":\"$:/palettes/SpartanDay\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Cold, spartan day colors\",\"name\":\"Spartan Day\",\"color-scheme\":\"light\",\"text\":\"alert-background: <<colour background>>\\nalert-border: <<colour very-muted-foreground>>\\nalert-highlight: <<colour very-muted-foreground>>\\nalert-muted-foreground: <<colour muted-foreground>>\\nbackground: #FAFAFA\\nblockquote-bar: <<colour page-background>>\\nbutton-background: transparent\\nbutton-foreground: inherit\\nbutton-border: <<colour tag-background>>\\ncode-background: #ececec\\ncode-border: #ececec\\ncode-foreground: \\ndirty-indicator: #c80000\\ndownload-background: <<colour primary>>\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: #FFFFFF\\ndropdown-border: <<colour dropdown-background>>\\ndropdown-tab-background-selected: <<colour dropdown-background>>\\ndropdown-tab-background: #F5F5F5\\ndropzone-background: <<colour tag-background>>\\nexternal-link-background-hover: transparent\\nexternal-link-background-visited: transparent\\nexternal-link-background: transparent\\nexternal-link-foreground-hover: \\nexternal-link-foreground-visited: \\nexternal-link-foreground: \\nfootnote-target-background: #ececec\\nforeground: rgba(0, 0, 0, 0.87)\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: <<colour background>>\\nmessage-border: <<colour very-muted-foreground>>\\nmessage-foreground: rgba(0, 0, 0, 0.54)\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour very-muted-foreground>>\\nmodal-footer-background: <<colour background>>\\nmodal-footer-border: <<colour very-muted-foreground>>\\nmodal-header-border: <<colour very-muted-foreground>>\\nmuted-foreground: rgba(0, 0, 0, 0.54)\\nnotification-background: <<colour dropdown-background>>\\nnotification-border: <<colour dropdown-background>>\\npage-background: #f4f4f4\\npre-background: #ececec\\npre-border: #ececec\\nprimary: #3949ab\\nselect-tag-background: <<colour background>>\\nselect-tag-foreground: <<colour foreground>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #aeaeae\\nsidebar-controls-foreground: #c6c6c6\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: rgba(0, 0, 0, 0.54)\\nsidebar-muted-foreground-hover: rgba(0, 0, 0, 0.54)\\nsidebar-muted-foreground: rgba(0, 0, 0, 0.38)\\nsidebar-tab-background-selected: <<colour page-background>>\\nsidebar-tab-background: transparent\\nsidebar-tab-border-selected: <<colour table-border>>\\nsidebar-tab-border: transparent\\nsidebar-tab-divider: <<colour table-border>>\\nsidebar-tab-foreground-selected: rgba(0, 0, 0, 0.87)\\nsidebar-tab-foreground: rgba(0, 0, 0, 0.54)\\nsidebar-tiddler-link-foreground-hover: rgba(0, 0, 0, 0.87)\\nsidebar-tiddler-link-foreground: rgba(0, 0, 0, 0.54)\\nsite-title-foreground: rgba(0, 0, 0, 0.87)\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: <<colour background>>\\ntab-background: transparent\\ntab-border-selected: <<colour table-border>>\\ntab-border: transparent\\ntab-divider: <<colour table-border>>\\ntab-foreground-selected: rgba(0, 0, 0, 0.87)\\ntab-foreground: rgba(0, 0, 0, 0.54)\\ntable-border: #d8d8d8\\ntable-footer-background: <<colour tiddler-editor-fields-odd>>\\ntable-header-background: <<colour tiddler-editor-fields-even>>\\ntag-background: #ec6\\ntag-foreground: <<colour button-foreground>>\\ntiddler-background: <<colour background>>\\ntiddler-border: #f9f9f9\\ntiddler-controls-foreground-hover: <<colour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground-selected: <<colour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground: <<colour sidebar-controls-foreground>>\\ntiddler-editor-background: transparent\\ntiddler-editor-border-image: \\ntiddler-editor-border: #e8e7e7\\ntiddler-editor-fields-even: rgba(0, 0, 0, 0.1)\\ntiddler-editor-fields-odd: rgba(0, 0, 0, 0.04)\\ntiddler-info-background: #F5F5F5\\ntiddler-info-border: #F5F5F5\\ntiddler-info-tab-background: <<colour tiddler-editor-fields-odd>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour muted-foreground>>\\ntiddler-title-foreground: #000000\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: <<colour very-muted-foreground>>\\nvery-muted-foreground: rgba(0, 0, 0, 0.12)\\n\"},\"$:/palettes/SpartanNight\":{\"title\":\"$:/palettes/SpartanNight\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Dark spartan colors\",\"name\":\"Spartan Night\",\"color-scheme\":\"dark\",\"text\":\"alert-background: <<colour background>>\\nalert-border: <<colour very-muted-foreground>>\\nalert-highlight: <<colour very-muted-foreground>>\\nalert-muted-foreground: <<colour muted-foreground>>\\nbackground: #303030\\nblockquote-bar: <<colour page-background>>\\nbutton-background: transparent\\nbutton-foreground: inherit\\nbutton-border: <<colour tag-background>>\\ncode-background: <<colour pre-background>>\\ncode-border: <<colour pre-border>>\\ncode-foreground: rgba(255, 255, 255, 0.54)\\ndirty-indicator: #c80000\\ndownload-background: <<colour primary>>\\ndownload-foreground: <<colour foreground>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: #424242\\ndropdown-border: <<colour dropdown-background>>\\ndropdown-tab-background-selected: <<colour dropdown-background>>\\ndropdown-tab-background: #050505\\ndropzone-background: <<colour tag-background>>\\nexternal-link-background-hover: transparent\\nexternal-link-background-visited: transparent\\nexternal-link-background: transparent\\nexternal-link-foreground-hover: \\nexternal-link-foreground-visited: #7c318c\\nexternal-link-foreground: #9e3eb3\\nfootnote-target-background: #494949\\nforeground: rgba(255, 255, 255, 0.7)\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmessage-background: <<colour background>>\\nmessage-border: <<colour very-muted-foreground>>\\nmessage-foreground: rgba(255, 255, 255, 0.54)\\nmodal-backdrop: <<colour page-background>>\\nmodal-background: <<colour background>>\\nmodal-border: <<colour very-muted-foreground>>\\nmodal-footer-background: <<colour background>>\\nmodal-footer-border: <<colour background>>\\nmodal-header-border: <<colour very-muted-foreground>>\\nmuted-foreground: rgba(255, 255, 255, 0.54)\\nnotification-background: <<colour dropdown-background>>\\nnotification-border: <<colour dropdown-background>>\\npage-background: #212121\\npre-background: #2a2a2a\\npre-border: transparent\\nprimary: #5656f3\\nselect-tag-background: <<colour background>>\\nselect-tag-foreground: <<colour foreground>>\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #494949\\nsidebar-controls-foreground: #5d5d5d\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground-hover: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground: rgba(255, 255, 255, 0.38)\\nsidebar-tab-background-selected: <<colour page-background>>\\nsidebar-tab-background: transparent\\nsidebar-tab-border-selected: <<colour table-border>>\\nsidebar-tab-border: transparent\\nsidebar-tab-divider: <<colour table-border>>\\nsidebar-tab-foreground-selected: rgba(255, 255, 255, 0.87)\\nsidebar-tab-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-tiddler-link-foreground-hover: rgba(255, 255, 255, 0.7)\\nsidebar-tiddler-link-foreground: rgba(255, 255, 255, 0.54)\\nsite-title-foreground: rgba(255, 255, 255, 0.7)\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: <<colour background>>\\ntab-background: transparent\\ntab-border-selected: <<colour table-border>>\\ntab-border: transparent\\ntab-divider: <<colour table-border>>\\ntab-foreground-selected: rgba(255, 255, 255, 0.87)\\ntab-foreground: rgba(255, 255, 255, 0.54)\\ntable-border: #3a3a3a\\ntable-footer-background: <<colour tiddler-editor-fields-odd>>\\ntable-header-background: <<colour tiddler-editor-fields-even>>\\ntag-background: #ec6\\ntag-foreground: <<colour button-foreground>>\\ntiddler-background: <<colour background>>\\ntiddler-border: rgb(55,55,55)\\ntiddler-controls-foreground-hover: <<colour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground-selected: <<colour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground: <<colour sidebar-controls-foreground>>\\ntiddler-editor-background: transparent\\ntiddler-editor-border-image: \\ntiddler-editor-border: rgba(255, 255, 255, 0.08)\\ntiddler-editor-fields-even: rgba(255, 255, 255, 0.1)\\ntiddler-editor-fields-odd: rgba(255, 255, 255, 0.04)\\ntiddler-info-background: #454545\\ntiddler-info-border: #454545\\ntiddler-info-tab-background: <<colour tiddler-editor-fields-odd>>\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: <<colour muted-foreground>>\\ntiddler-title-foreground: #FFFFFF\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: <<colour very-muted-foreground>>\\nvery-muted-foreground: rgba(255, 255, 255, 0.12)\\n\"},\"$:/palettes/Twilight\":{\"title\":\"$:/palettes/Twilight\",\"tags\":\"$:/tags/Palette\",\"author\":\"Thomas Elmiger\",\"type\":\"application/x-tiddler-dictionary\",\"name\":\"Twilight\",\"description\":\"Delightful, soft darkness.\",\"color-scheme\":\"dark\",\"text\":\"alert-background: rgb(255, 255, 102)\\nalert-border: rgb(232, 232, 125)\\nalert-highlight: rgb(255, 51, 51)\\nalert-muted-foreground: rgb(224, 82, 82)\\nbackground: rgb(38, 38, 38)\\nblockquote-bar: rgba(240, 196, 117, 0.7)\\nbutton-background: rgb(63, 63, 63)\\nbutton-border: rgb(127, 127, 127)\\nbutton-foreground: rgb(179, 179, 179)\\ncode-background: rgba(0,0,0,0.03)\\ncode-border: rgba(0,0,0,0.08)\\ncode-foreground: rgb(255, 94, 94)\\ndiff-delete-background: #ffc9c9\\ndiff-delete-foreground: <<colour background>>\\ndiff-equal-background: \\ndiff-equal-foreground: <<colour foreground>>\\ndiff-insert-background: #aaefad\\ndiff-insert-foreground: <<colour background>>\\ndiff-invisible-background: #fdfcbd\\ndiff-invisible-foreground: <<colour background>>\\ndirty-indicator: rgb(255, 94, 94)\\ndownload-background: #19a974\\ndownload-foreground: rgb(38, 38, 38)\\ndragger-background: rgb(179, 179, 179)\\ndragger-foreground: rgb(38, 38, 38)\\ndropdown-background: rgb(38, 38, 38)\\ndropdown-border: rgb(255, 255, 255)\\ndropdown-tab-background: rgba(0,0,0,.1)\\ndropdown-tab-background-selected: rgba(255,255,255,1)\\ndropzone-background: #9eebcf\\nexternal-link-background: inherit\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-foreground: rgb(179, 179, 255)\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: rgb(153, 153, 255)\\nfootnote-target-background: <<colour tag-foreground>>\\nforeground: rgb(179, 179, 179)\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmessage-background: <<colour tag-foreground>>\\nmessage-border: #96ccff\\nmessage-foreground: <<colour tag-background>>\\nmodal-backdrop: rgb(179, 179, 179)\\nmodal-background: rgb(38, 38, 38)\\nmodal-border: rgba(0,0,0,.5)\\nmodal-footer-background: #f4f4f4\\nmodal-footer-border: rgba(0,0,0,.1)\\nmodal-header-border: rgba(0,0,0,.2)\\nmuted-foreground: rgb(255, 255, 255)\\nnotification-background: <<colour tag-foreground>>\\nnotification-border: <<colour tag-background>>\\npage-background: rgb(26, 26, 26)\\npre-background: rgb(25, 25, 25)\\npre-border: rgba(0,0,0,.2)\\nprimary: rgb(255, 201, 102)\\nselect-tag-background: \\nselect-tag-foreground: \\nsidebar-button-foreground: rgb(179, 179, 179)\\nsidebar-controls-foreground: rgb(153, 153, 153)\\nsidebar-controls-foreground-hover: <<colour tiddler-controls-foreground-hover>>\\nsidebar-foreground: rgb(141, 141, 141)\\nsidebar-foreground-shadow: transparent\\nsidebar-muted-foreground: rgba(0, 0, 0, 0.5)\\nsidebar-muted-foreground-hover: rgb(141, 141, 141)\\nsidebar-tab-background: rgba(141, 141, 141, 0.2)\\nsidebar-tab-background-selected: rgb(26, 26, 26)\\nsidebar-tab-border: rgb(127, 127, 127)\\nsidebar-tab-border-selected: rgb(127, 127, 127)\\nsidebar-tab-divider: rgb(127, 127, 127)\\nsidebar-tab-foreground: rgb(179, 179, 179)\\nsidebar-tab-foreground-selected: rgb(179, 179, 179)\\nsidebar-tiddler-link-foreground: rgb(179, 179, 179)\\nsidebar-tiddler-link-foreground-hover: rgb(115, 115, 115)\\nsite-title-foreground: rgb(255, 201, 102)\\nstatic-alert-foreground: rgba(0,0,0,.3)\\ntab-background: rgba(0,0,0,0.125)\\ntab-background-selected: rgb(38, 38, 38)\\ntab-border: rgb(255, 201, 102)\\ntab-border-selected: rgb(255, 201, 102)\\ntab-divider: rgb(255, 201, 102)\\ntab-foreground: rgb(179, 179, 179)\\ntab-foreground-selected: rgb(179, 179, 179)\\ntable-border: rgba(255,255,255,.3)\\ntable-footer-background: rgba(0,0,0,.4)\\ntable-header-background: rgba(0,0,0,.1)\\ntag-background: rgb(255, 201, 102)\\ntag-foreground: rgb(25, 25, 25)\\ntestcase-accent-level-1: rgb(13, 52, 99)\\ntiddler-background: rgb(38, 38, 38)\\ntiddler-border: rgba(240, 196, 117, 0.7)\\ntiddler-controls-foreground: rgb(128, 128, 128)\\ntiddler-controls-foreground-hover: rgba(255, 255, 255, 0.8)\\ntiddler-controls-foreground-selected: rgba(255, 255, 255, 0.9)\\ntiddler-editor-background: rgb(33, 33, 33)\\ntiddler-editor-border: rgb(63, 63, 63)\\ntiddler-editor-border-image: rgb(25, 25, 25)\\ntiddler-editor-fields-even: rgb(33, 33, 33)\\ntiddler-editor-fields-odd: rgb(28, 28, 28)\\ntiddler-info-background: rgb(43, 43, 43)\\ntiddler-info-border: rgb(25, 25, 25)\\ntiddler-info-tab-background: rgb(43, 43, 43)\\ntiddler-link-background: rgb(38, 38, 38)\\ntiddler-link-foreground: rgb(204, 204, 255)\\ntiddler-subtitle-foreground: rgb(255, 255, 255)\\ntiddler-title-foreground: rgb(255, 192, 76)\\ntoolbar-cancel-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-done-button: \\ntoolbar-edit-button: \\ntoolbar-info-button: \\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\nuntagged-background: rgb(255, 255, 255)\\nvery-muted-foreground: rgba(240, 196, 117, 0.7)\\n\"},\"$:/palettes/Vanilla\":{\"title\":\"$:/palettes/Vanilla\",\"name\":\"Vanilla\",\"description\":\"Pale and unobtrusive\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"color-scheme\":\"light\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: <<colour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndiff-delete-background: #ffc9c9\\ndiff-delete-foreground: <<colour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: <<colour foreground>>\\ndiff-insert-background: #aaefad\\ndiff-insert-foreground: <<colour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: <<colour muted-foreground>>\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: <<colour background>>\\ndragger-background: <<colour foreground>>\\ndragger-foreground: <<colour background>>\\ndropdown-background: <<colour background>>\\ndropdown-border: <<colour muted-foreground>>\\ndropdown-tab-background-selected: #ffffff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nfootnote-target-background: #ecf2ff\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: <<colour foreground>>\\nmodal-background: <<colour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #bbbbbb\\nnetwork-activity-foreground: #448844\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #f4f4f4\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #5778d8\\nselection-background:\\nselection-foreground:\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: <<colour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #aaaaaa\\nsidebar-foreground-shadow: #ffffff\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #f4f4f4\\nsidebar-tab-background: #e0e0e0\\nsidebar-tab-border-selected: <<colour tab-border-selected>>\\nsidebar-tab-border: <<colour tab-border>>\\nsidebar-tab-divider: #e4e4e4\\nsidebar-tab-foreground-selected:\\nsidebar-tab-foreground: <<colour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #999999\\nsite-title-foreground: <<colour tiddler-title-foreground>>\\nstability-stable: #00b700\\nstability-experimental: #c07c00\\nstability-deprecated: #ff0000\\nstability-legacy: #0000ff\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: <<colour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #eecc66\\ntag-foreground: #ffffff\\ntestcase-accent-level-1: #c1eaff\\ntestcase-accent-level-2: #E3B740\\ntestcase-accent-level-3: #5FD564\\ntiddler-background: <<colour background>>\\ntiddler-border: <<colour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: <<colour background>>\\ntiddler-link-foreground: <<colour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #182955\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\nwikilist-background: #e5e5e5\\nwikilist-item: #ffffff\\nwikilist-info: #000000\\nwikilist-title: #666666\\nwikilist-title-svg: <<colour wikilist-title>>\\nwikilist-url: #aaaaaa\\nwikilist-button-open: #4fb82b\\nwikilist-button-open-hover: #009300\\nwikilist-button-reveal: #5778d8\\nwikilist-button-reveal-hover: #0000ff\\nwikilist-button-remove: #d85778\\nwikilist-button-remove-hover: #ff0000\\nwikilist-toolbar-background: #d3d3d3\\nwikilist-toolbar-foreground: #888888\\nwikilist-droplink-dragover: #ffc0c0\\nwikilist-button-background: #acacac\\nwikilist-button-foreground: #000000\"},\"$:/core/readme\":{\"title\":\"$:/core/readme\",\"text\":\"This plugin contains TiddlyWiki's core components, comprising:\\n\\n* JavaScript code modules\\n* Icons\\n* Templates needed to create TiddlyWiki's user interface\\n* British English (''en-GB'') translations of the localisable strings used by the core\\n\"},\"$:/library/sjcl.js/license\":{\"title\":\"$:/library/sjcl.js/license\",\"type\":\"text/plain\",\"text\":\"SJCL is open. You can use, modify and redistribute it under a BSD\\nlicense or under the GNU GPL, version 2.0.\\n\\n---------------------------------------------------------------------\\n\\nhttp://opensource.org/licenses/BSD-2-Clause\\n\\nCopyright (c) 2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at\\nStanford University. All rights reserved.\\n\\nRedistribution and use in source and binary forms, with or without\\nmodification, are permitted provided that the following conditions are\\nmet:\\n\\n1. Redistributions of source code must retain the above copyright\\nnotice, this list of conditions and the following disclaimer.\\n\\n2. Redistributions in binary form must reproduce the above copyright\\nnotice, this list of conditions and the following disclaimer in the\\ndocumentation and/or other materials provided with the distribution.\\n\\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \\\"AS\\nIS\\\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\\nHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n\\n---------------------------------------------------------------------\\n\\nhttp://opensource.org/licenses/GPL-2.0\\n\\nThe Stanford Javascript Crypto Library (hosted here on GitHub) is a\\nproject by the Stanford Computer Security Lab to build a secure,\\npowerful, fast, small, easy-to-use, cross-browser library for\\ncryptography in Javascript.\\n\\nCopyright (c) 2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at\\nStanford University.\\n\\nThis program is free software; you can redistribute it and/or modify it\\nunder the terms of the GNU General Public License as published by the\\nFree Software Foundation; either version 2 of the License, or (at your\\noption) any later version.\\n\\nThis program is distributed in the hope that it will be useful, but\\nWITHOUT ANY WARRANTY; without even the implied warranty of\\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\\nPublic License for more details.\\n\\nYou should have received a copy of the GNU General Public License along\\nwith this program; if not, write to the Free Software Foundation, Inc.,\\n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\"},\"$:/core/templates/MOTW.html\":{\"title\":\"$:/core/templates/MOTW.html\",\"text\":\"\\\\rules only filteredtranscludeinline transcludeinline entity\\n<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->\\n<!-- saved from url=(0021)https://tiddlywiki.com -->&#13;&#10;\"},\"$:/core/templates/alltiddlers.template.html\":{\"title\":\"$:/core/templates/alltiddlers.template.html\",\"type\":\"text/vnd.tiddlywiki-html\",\"text\":\"<!-- This template is provided for backwards compatibility with older versions of TiddlyWiki -->\\n\\n<$set name=\\\"exportFilter\\\" value=\\\"[!is[system]sort[title]]\\\">\\n\\n{{$:/core/templates/exporters/StaticRiver}}\\n\\n</$set>\\n\"},\"$:/core/templates/canonical-uri-external-image\":{\"title\":\"$:/core/templates/canonical-uri-external-image\",\"text\":\"<!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external images.\\n\\nChange the `./images/` part to a different base URI. The URI can be relative or absolute.\\n\\n-->\\n./images/<$view field=\\\"title\\\" format=\\\"doubleurlencoded\\\"/>\"},\"$:/core/templates/canonical-uri-external-raw\":{\"title\":\"$:/core/templates/canonical-uri-external-raw\",\"text\":\"<!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external raw files that are stored in the same directory\\n\\n-->\\n<$view field=\\\"title\\\" format=\\\"doubleurlencoded\\\"/>\"},\"$:/core/templates/canonical-uri-external-text\":{\"title\":\"$:/core/templates/canonical-uri-external-text\",\"text\":\"<!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external text files.\\n\\nChange the `./text/` part to a different base URI. The URI can be relative or absolute.\\n\\n-->\\n./text/<$view field=\\\"title\\\" format=\\\"doubleurlencoded\\\"/>.tid\"},\"$:/core/templates/css-tiddler\":{\"title\":\"$:/core/templates/css-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving CSS tiddlers as a style tag with data attributes representing the tiddler fields.\\n\\n-->`<style`<$fields template=' data-tiddler-$name$=\\\"$encoded_value$\\\"'></$fields>` type=\\\"text/css\\\">`<$view field=\\\"text\\\" format=\\\"text\\\" />`</style>`\"},\"$:/core/templates/exporters/CsvFile\":{\"title\":\"$:/core/templates/exporters/CsvFile\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/CsvFile}}\",\"extension\":\".csv\",\"file-type\":\"text/csv\",\"text\":\"<$macrocall $name=\\\"csvtiddlers\\\" filter=<<exportFilter>> format=\\\"quoted-comma-sep\\\" $output=\\\"text/raw\\\"/>\\n\"},\"$:/core/templates/exporters/JsonFile\":{\"title\":\"$:/core/templates/exporters/JsonFile\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/JsonFile}}\",\"extension\":\".json\",\"file-type\":\"application/json\",\"text\":\"<$macrocall $name=\\\"jsontiddlers\\\" filter=<<exportFilter>> $output=\\\"text/raw\\\"/>\\n\"},\"$:/core/templates/exporters/StaticRiver\":{\"title\":\"$:/core/templates/exporters/StaticRiver\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/StaticRiver}}\",\"extension\":\".html\",\"text\":\"\\\\define tv-config-static() yes\\n\\\\define tv-wikilink-template() #$uri_encoded$\\n\\\\define tv-config-toolbar-icons() no\\n\\\\define tv-config-toolbar-text() no\\n\\\\define tv-config-toolbar-class() tc-btn-invisible\\n\\\\rules only filteredtranscludeinline transcludeinline\\n<!doctype html>\\n<html>\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n<meta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"tiddlywiki-version\\\" content=\\\"{{$:/core/templates/version}}\\\" />\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n<meta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n<link id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n<title>{{$:/core/wiki/title}}</title>\\n<div id=\\\"styleArea\\\">\\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\\n</div>\\n<style type=\\\"text/css\\\">\\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\\n</style>\\n</head>\\n<body class=\\\"tc-body\\\">\\n{{$:/StaticBanner||$:/core/templates/html-tiddler}}\\n<section class=\\\"tc-story-river tc-static-story-river\\\">\\n{{$:/core/templates/exporters/StaticRiver/Content||$:/core/templates/html-tiddler}}\\n</section>\\n</body>\\n</html>\\n\"},\"$:/core/templates/exporters/StaticRiver/Content\":{\"title\":\"$:/core/templates/exporters/StaticRiver/Content\",\"text\":\"\\\\define renderContent()\\n{{{ $(exportFilter)$ ||$:/core/templates/static-tiddler}}}\\n\\\\end\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n<<renderContent>>\\n\"},\"$:/core/templates/exporters/TidFile\":{\"title\":\"$:/core/templates/exporters/TidFile\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/TidFile}}\",\"extension\":\".tid\",\"file-type\":\"text/vnd.tiddlywiki\",\"condition\":\"[<count>compare:lte[1]]\",\"text\":\"\\\\define renderContent()\\n{{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}\\n\\\\end\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n<<renderContent>>\"},\"$:/core/save/all-external-js\":{\"title\":\"$:/core/save/all-external-js\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\\n\\\\end\\n\\n<!-- Important: core library is provided by serving URI encoded $:/core/templates/tiddlywiki5.js -->\\n\\\\define defaultCoreURL() %24%3A%2Fcore%2Ftemplates%2Ftiddlywiki5.js\\n\\n<$let coreURL={{{ [[coreURL]is[variable]then<coreURL>else<defaultCoreURL>] }}}>\\n\\t{{$:/core/templates/tiddlywiki5-external-js.html}}\\n</$let>\\n\"},\"$:/core/save/offline-external-js\":{\"title\":\"$:/core/save/offline-external-js\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\\n\\\\end\\n\\\\define defaultCoreURL() tiddlywikicore-$(version)$.js\\n<$let coreURL={{{ [[coreURL]is[variable]then<coreURL>else<defaultCoreURL>] }}}>\\n\\t{{$:/core/templates/tiddlywiki5-external-js.html}}\\n</$let>\\n\"},\"$:/core/templates/tiddlywiki.js/load-tiddler\":{\"title\":\"$:/core/templates/tiddlywiki.js/load-tiddler\",\"text\":\"_load(window,<$macrocall $name=\\\"jsontiddler\\\" $output=\\\"text/raw\\\"/>);\"},\"$:/core/templates/tiddlywiki5.js\":{\"title\":\"$:/core/templates/tiddlywiki5.js\",\"text\":\"\\\\rules only filteredtranscludeinline transcludeinline codeinline\\n\\n`/*\\n`{{ $:/core/copyright.txt ||$:/core/templates/plain-text-tiddler}}`\\n*/\\n\\n$tw = (typeof $tw === 'undefined') ? Object.create(null) : $tw;\\n\\n$tw.preloadTiddlers = $tw.preloadTiddlers || [];\\n\\n_load = function(window,tiddler) {\\n\\t\\\"use strict\\\";\\n\\tvar f;\\n\\t$tw.preloadTiddlers.push(tiddler);\\n\\tif(tiddler.library === \\\"yes\\\") {\\n\\t\\tvar module = { exports:{} };\\n\\t\\tvar moduleName = function moduleName(path) {\\n\\t\\t\\tvar word = path.split(\\\"/\\\").pop();\\n\\t\\t\\tword = word.substring(0,word.indexOf(\\\".\\\")) || word;\\n\\t\\t\\treturn word;\\n\\t\\t}\\n\\t\\tf = new Function(\\\"module\\\",tiddler.text);\\n\\t\\tf(module);\\n\\t\\twindow[moduleName(tiddler.title)] = module.exports;\\n\\t} else {\\n\\t\\tf = new Function(\\\"window\\\",tiddler.text);\\n\\t\\tf(window);\\n\\t}\\n}\\n\\n/* ~~ Library modules ~~ */\\n\\n`{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/tiddlywiki.js/load-tiddler}}}`\\n\\n/* ~~ Boot kernel prologue ~~ */\\n\\n`{{ $:/boot/bootprefix.js ||$:/core/templates/tiddlywiki.js/load-tiddler}}`\\n\\n/* ~~ Core tiddlers ~~ */\\n\\n`{{$:/core/templates/tiddlywiki5.js/tiddlers}}`\\n\\n/* ~~ Boot kernel ~~ */\\n\\n`{{ $:/boot/boot.js ||$:/core/templates/tiddlywiki.js/load-tiddler}}`\\n\"},\"$:/core/templates/tiddlywiki5.js/tiddlers\":{\"title\":\"$:/core/templates/tiddlywiki5.js/tiddlers\",\"text\":\"`\\n$tw.preloadTiddlerArray(`<$text text=<<jsontiddlers \\\"[[$:/core]]\\\">>/>`);\\n$tw.preloadTiddlerArray([{\\n\\ttitle: \\\"$:/config/SaveWikiButton/Template\\\",\\n\\ttext: \\\"$:/core/save/offline-external-js\\\"\\n}]);\\n`\\n\"},\"$:/core/templates/tiddlywiki5-external-js.html\":{\"title\":\"$:/core/templates/tiddlywiki5-external-js.html\",\"text\":\"<$set name=\\\"saveTiddlerAndShadowsFilter\\\" filter=\\\"[subfilter<saveTiddlerFilter>] [subfilter<saveTiddlerFilter>plugintiddlers[]]\\\">\\n`<!doctype html>\\n`{{$:/core/templates/MOTW.html}}`<html lang=\\\"`<$text text={{{ [{$:/language}get[name]] }}}/>`\\\">\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n<!--~~ Raw markup for the top of the head section ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopHead]] ||$:/core/templates/raw-static-tiddler}}}`\\n<meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=Edge\\\"/>\\n<meta name=\\\"application-name\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"tiddlywiki-version\\\" content=\\\"`{{$:/core/templates/version}}`\\\" />\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n<meta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n<meta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n<meta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n<meta name=\\\"format-detection\\\" content=\\\"telephone=no\\\" />\\n<meta name=\\\"copyright\\\" content=\\\"`{{$:/core/copyright.txt}}`\\\" />\\n<link id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n<title>`{{$:/core/wiki/title}}`</title>\\n<!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~-->\\n\\n<!--~~ Raw markup ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/core/wiki/rawmarkup]] ||$:/core/templates/plain-text-tiddler}}}`\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}`\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified]] ||$:/core/templates/raw-static-tiddler}}}`\\n</head>\\n<body class=\\\"tc-body\\\">\\n<!--~~ Raw markup for the top of the body section ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n<!--~~ Static styles ~~-->\\n<div id=\\\"styleArea\\\">\\n`{{$:/boot/boot.css||$:/core/templates/css-tiddler}}`\\n</div>\\n<!--~~ Static content for Google and browsers without JavaScript ~~-->\\n<noscript>\\n<div id=\\\"splashArea\\\">\\n`{{$:/core/templates/static.area}}`\\n</div>\\n</noscript>\\n<!--~~ Ordinary tiddlers ~~-->\\n`{{$:/core/templates/store.area.template.html}}`\\n<!--~~ Raw markup for the bottom of the body section ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n<!--~~ Load external JavaScripts ~~-->\\n<script src=\\\"`{{{ [<coreURL>] }}}`\\\" onerror=\\\"alert('Error: Cannot load `{{{ [<coreURL>] }}}`');\\\"></script>\\n</body>\\n</html>`\\n</$set>\"},\"$:/core/templates/html-div-skinny-tiddler\":{\"title\":\"$:/core/templates/html-div-skinny-tiddler\",\"text\":\"<!--\\n\\nThis template is a variant of $:/core/templates/html-div-tiddler used for saving skinny tiddlers (with no text field)\\n\\n-->`<div`<$fields template=' $name$=\\\"$encoded_value$\\\"'></$fields>`>\\n<pre></pre>\\n</div>`\\n\"},\"$:/core/templates/html-div-tiddler\":{\"title\":\"$:/core/templates/html-div-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving tiddlers as an HTML DIV tag with attributes representing the tiddler fields.\\n\\n-->`<div`<$fields template=' $name$=\\\"$encoded_value$\\\"'></$fields>`>\\n<pre>`<$view field=\\\"text\\\" format=\\\"htmltextencoded\\\" />`</pre>\\n</div>`\\n\"},\"$:/core/templates/html-json-skinny-tiddler\":{\"title\":\"$:/core/templates/html-json-skinny-tiddler\",\"text\":\"<$text text=<<join>>/><$jsontiddler tiddler=<<currentTiddler>> exclude=\\\"text\\\" escapeUnsafeScriptChars=\\\"yes\\\"/>\\n\"},\"$:/core/templates/html-json-tiddler\":{\"title\":\"$:/core/templates/html-json-tiddler\",\"text\":\"<$jsontiddler tiddler=<<currentTiddler>> escapeUnsafeScriptChars=\\\"yes\\\"/>\"},\"$:/core/templates/html-tiddler\":{\"title\":\"$:/core/templates/html-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving tiddlers as raw HTML\\n\\n--><$view field=\\\"text\\\" format=\\\"htmlwikified\\\" />\"},\"$:/core/templates/javascript-tiddler\":{\"title\":\"$:/core/templates/javascript-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving JavaScript tiddlers as a script tag with data attributes representing the tiddler fields.\\n\\n-->`<script`<$fields template=' data-tiddler-$name$=\\\"$encoded_value$\\\"'></$fields>` type=\\\"text/javascript\\\">`<$view field=\\\"text\\\" format=\\\"text\\\" />`</script>`\"},\"$:/core/templates/json-tiddler\":{\"title\":\"$:/core/templates/json-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving tiddlers as raw JSON\\n\\n--><$text text=<<jsontiddler>>/>\"},\"$:/core/templates/module-tiddler\":{\"title\":\"$:/core/templates/module-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving JavaScript tiddlers as a script tag with data attributes representing the tiddler fields. The body of the tiddler is wrapped in a call to the `$tw.modules.define` function in order to define the body of the tiddler as a module\\n\\n-->`<script`<$fields template=' data-tiddler-$name$=\\\"$encoded_value$\\\"'></$fields>` type=\\\"text/javascript\\\" data-module=\\\"yes\\\">$tw.modules.define(\\\"`<$view field=\\\"title\\\" format=\\\"jsencoded\\\" />`\\\",\\\"`<$view field=\\\"module-type\\\" format=\\\"jsencoded\\\" />`\\\",function(module,exports,require) {`<$view field=\\\"text\\\" format=\\\"text\\\" />`});\\n</script>`\"},\"$:/core/templates/plain-text-tiddler\":{\"title\":\"$:/core/templates/plain-text-tiddler\",\"text\":\"<$view field=\\\"text\\\" format=\\\"text\\\" />\"},\"$:/core/templates/raw-static-tiddler\":{\"title\":\"$:/core/templates/raw-static-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving tiddlers as static HTML\\n\\n--><$view field=\\\"text\\\" format=\\\"plainwikified\\\" />\"},\"$:/core/save/all\":{\"title\":\"$:/core/save/all\",\"text\":\"\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/save/empty\":{\"title\":\"$:/core/save/empty\",\"text\":\"\\\\define saveTiddlerFilter()\\n[is[system]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/save/lazy-all\":{\"title\":\"$:/core/save/lazy-all\",\"text\":\"\\\\define saveTiddlerFilter()\\n[is[system]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] [is[tiddler]type[application/javascript]] +[sort[title]]\\n\\\\end\\n\\\\define skinnySaveTiddlerFilter()\\n[!is[system]] -[type[application/javascript]]\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/save/lazy-images\":{\"title\":\"$:/core/save/lazy-images\",\"text\":\"\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]] \\n\\\\end\\n\\\\define skinnySaveTiddlerFilter()\\n[!is[system]is[image]]\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/templates/server/static.sidebar.wikitext\":{\"title\":\"$:/core/templates/server/static.sidebar.wikitext\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-sidebar-scrollable\\\" style=\\\"overflow: auto;\\\" role=\\\"region\\\" aria-label={{$:/language/SideBar/Caption}}>\\n<div class=\\\"tc-sidebar-header\\\">\\n<h1 class=\\\"tc-site-title\\\">\\n<$transclude tiddler=\\\"$:/SiteTitle\\\"/>\\n</h1>\\n<div class=\\\"tc-site-subtitle\\\">\\n<$transclude tiddler=\\\"$:/SiteSubtitle\\\"/>\\n</div>\\n<h2>\\n</h2>\\n<div class=\\\"tc-sidebar-lists\\\">\\n<$list filter={{$:/DefaultTiddlers}}>\\n<div class=\\\"tc-menu-list-subitem\\\">\\n<$link><$text text=<<currentTiddler>>/></$link>\\n</div>\\n</$list>\\n</div>\\n<!-- Currently disabled the recent list as it is unweildy when the responsive narrow view kicks in\\n<h2>\\n{{$:/language/SideBar/Recent/Caption}}\\n</h2>\\n<div class=\\\"tc-sidebar-lists\\\">\\n<$macrocall $name=\\\"timeline\\\" format={{$:/language/RecentChanges/DateFormat}}/>\\n</div>\\n</div>\\n</div>\\n-->\\n\"},\"$:/core/templates/server/static.tiddler.html\":{\"title\":\"$:/core/templates/server/static.tiddler.html\",\"text\":\"\\\\whitespace trim\\n\\\\define tv-config-static() yes\\n\\\\define tv-wikilink-template() $uri_encoded$\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n<html>\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n<meta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"tiddlywiki-version\\\" content={{$:/core/templates/version}} />\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n<meta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n<meta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n<meta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n<meta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n<link id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n<link rel=\\\"stylesheet\\\" href=\\\"%24%3A%2Fcore%2Ftemplates%2Fstatic.template.css\\\">\\n<title><$view field=\\\"caption\\\" format=\\\"plainwikified\\\"><$view field=\\\"title\\\"/></$view>: <$view tiddler=\\\"$:/core/wiki/title\\\" format=\\\"plainwikified\\\"/></title>\\n</head>\\n<body class=\\\"tc-body\\\">\\n<$transclude tiddler=\\\"$:/core/templates/server/static.sidebar.wikitext\\\" mode=\\\"inline\\\"/>\\n<section class=\\\"tc-story-river\\\" role=\\\"main\\\">\\n<div class=\\\"tc-tiddler-frame\\\" role=\\\"article\\\">\\n<$transclude tiddler=\\\"$:/core/templates/server/static.tiddler.wikitext\\\" mode=\\\"inline\\\"/>\\n</div>\\n</section>\\n</body>\\n</html>\"},\"$:/core/templates/server/static.tiddler.wikitext\":{\"title\":\"$:/core/templates/server/static.tiddler.wikitext\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-tiddler-title tc-clearfix\\\">\\n<div class=\\\"tc-titlebar\\\">\\n<h2><$text text=<<currentTiddler>>/></h2>\\n</div>\\n</div>\\n<div class=\\\"tc-subtitle tc-clearfix\\\">\\n<$link to={{!!modifier}}>\\n<$view field=\\\"modifier\\\"/>\\n</$link> <$view field=\\\"modified\\\" format=\\\"date\\\" template={{$:/language/Tiddler/DateFormat}}/>\\n</div>\\n<div class=\\\"tc-tags-wrapper\\\" tc-clearfix>\\n<$list filter=\\\"[all[current]tags[]sort[title]]\\\">\\n<a href={{{ [<currentTiddler>encodeuricomponent[]] }}}>\\n<$macrocall $name=\\\"tag-pill\\\" tag=<<currentTiddler>>/>\\n</a>\\n</$list>\\n</div>\\n<div class=\\\"tc-tiddler-body tc-clearfix\\\">\\n<$transclude mode=\\\"block\\\"/>\\n</div>\\n\"},\"$:/core/templates/single.tiddler.window\":{\"title\":\"$:/core/templates/single.tiddler.window\",\"text\":\"\\\\whitespace trim\\n\\\\define containerClasses()\\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$\\n\\\\end\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\n<$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n<div class=<<containerClasses>>>\\n\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n\\n<$transclude tiddler=\\\"$:/core/ui/ViewTemplate/body\\\" mode=\\\"block\\\"/>\\n\\n</$navigator>\\n\\n</div>\\n\\n</$vars>\\n\"},\"$:/core/templates/social-metadata\":{\"title\":\"$:/core/templates/social-metadata\",\"tags\":\"$:/tags/RawMarkupWikified\",\"text\":\"\\\\procedure meta-plain(name,source,name-attribute:\\\"name\\\")\\n\\\\whitespace trim\\n<%if [<source>has[text]] %>\\n\\t&lt;meta&#32;<$text text=<<name-attribute>>/>=\\\"<$text text=<<name>>/>\\\" content=\\\"<$text text={{{ [<source>get[text]encodehtml[]] }}}/>\\\"&gt;\\n\\t<$text text={{{ [charcode[10]] }}}/>\\n<%endif%>\\n\\\\end meta-plain\\n\\n\\\\procedure meta-wikified(name,source,name-attribute:\\\"name\\\")\\n\\\\whitespace trim\\n<%if [<source>has[text]] %>\\n\\t<$wikify name=\\\"html\\\" text={{{ [<source>get[text]] }}} output=\\\"text\\\">\\n\\t\\t&lt;meta&#32;<$text text=<<name-attribute>>/>=\\\"<$text text=<<name>>/>\\\" content=\\\"<$text text={{{ [<html>encodehtml[]] }}}/>\\\"&gt;\\n\\t\\t<$text text={{{ [charcode[10]] }}}/>\\n\\t</$wikify>\\n<%endif%>\\n\\\\end meta-wikified\\n\\n\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock conditional commentinline commentblock\\n<<meta-wikified \\\"description\\\" \\\"$:/SiteSubtitle\\\">>\\n\\n<!-- Facebook Meta Tags -->\\n<<meta-plain \\\"og:url\\\" \\\"$:/SiteUrl\\\" \\\"property\\\">>\\n<<meta-plain \\\"og:type\\\" \\\"website\\\" \\\"property\\\">>\\n<<meta-wikified \\\"og:title\\\" \\\"$:/SiteTitle\\\" \\\"property\\\">>\\n<<meta-wikified \\\"og:description\\\" \\\"$:/SiteSubtitle\\\" \\\"property\\\">>\\n<<meta-plain \\\"og:image\\\" \\\"$:/SitePreviewUrl\\\" \\\"property\\\">>\\n\\n<!-- Twitter Meta Tags -->\\n<<meta-plain \\\"twitter:card\\\" \\\"summary_large_image\\\">>\\n<<meta-plain \\\"twitter:domain\\\" \\\"$:/SiteDomain\\\" \\\"property\\\">>\\n<<meta-plain \\\"twitter:url\\\" \\\"$:/SiteUrl\\\" \\\"property\\\">>\\n<<meta-wikified \\\"twitter:title\\\" \\\"$:/SiteTitle\\\">>\\n<<meta-wikified \\\"twitter:description\\\" \\\"$:/SiteSubtitle\\\">>\\n<<meta-plain \\\"twitter:image\\\" \\\"$:/SitePreviewUrl\\\">>\\n\"},\"$:/core/templates/split-recipe\":{\"title\":\"$:/core/templates/split-recipe\",\"text\":\"<$list filter=\\\"[!is[system]]\\\">\\ntiddler: <$view field=\\\"title\\\" format=\\\"urlencoded\\\"/>.tid\\n</$list>\\n\"},\"$:/core/templates/static-tiddler\":{\"title\":\"$:/core/templates/static-tiddler\",\"text\":\"<a name=<<currentTiddler>>>\\n<$transclude tiddler=\\\"$:/core/ui/ViewTemplate\\\"/>\\n</a>\"},\"$:/core/templates/static.area\":{\"title\":\"$:/core/templates/static.area\",\"text\":\"<$reveal type=\\\"nomatch\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawStaticContent]!has[draft.of]] ||$:/core/templates/raw-static-tiddler}}}\\n{{$:/core/templates/static.content||$:/core/templates/html-tiddler}}\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\nThis file contains an encrypted ~TiddlyWiki. Enable ~JavaScript and enter the decryption password when prompted.\\n</$reveal>\\n<!-- ensure splash screen isn't shown when JS is disabled -->\\n`<style>\\n.tc-remove-when-wiki-loaded {display: none;}\\n</style>`\\n\"},\"$:/core/templates/static.content\":{\"title\":\"$:/core/templates/static.content\",\"text\":\"<!-- For Google, and people without JavaScript-->\\nThis [[TiddlyWiki|https://tiddlywiki.com]] contains the following tiddlers:\\n\\n<ul>\\n<$list filter=<<saveTiddlerFilter>>>\\n<li><$view field=\\\"title\\\" format=\\\"text\\\"></$view></li>\\n</$list>\\n</ul>\\n\"},\"$:/core/templates/static.template.css\":{\"title\":\"$:/core/templates/static.template.css\",\"text\":\"{{$:/boot/boot.css||$:/core/templates/plain-text-tiddler}}\\n\\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\\n\"},\"$:/core/templates/static.template.html\":{\"title\":\"$:/core/templates/static.template.html\",\"type\":\"text/vnd.tiddlywiki-html\",\"text\":\"\\\\define tv-config-static() yes\\n\\\\define tv-wikilink-template() static/$uri_doubleencoded$.html\\n\\\\define tv-config-toolbar-icons() no\\n\\\\define tv-config-toolbar-text() no\\n\\\\define tv-config-toolbar-class() tc-btn-invisible\\n\\\\rules only filteredtranscludeinline transcludeinline\\n<!doctype html>\\n<html>\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n<meta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"tiddlywiki-version\\\" content=\\\"{{$:/core/templates/version}}\\\" />\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n<meta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n<meta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n<meta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n<meta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n<link id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n<title>{{$:/core/wiki/title}}</title>\\n<div id=\\\"styleArea\\\">\\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\\n</div>\\n<style type=\\\"text/css\\\">\\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\\n</style>\\n</head>\\n<body class=\\\"tc-body\\\">\\n{{$:/StaticBanner||$:/core/templates/html-tiddler}}\\n{{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}}\\n</body>\\n</html>\\n\"},\"$:/core/templates/static.tiddler.html\":{\"title\":\"$:/core/templates/static.tiddler.html\",\"text\":\"\\\\define tv-wikilink-template() $uri_doubleencoded$.html\\n\\\\define tv-config-static() yes\\n\\\\define tv-config-toolbar-icons() no\\n\\\\define tv-config-toolbar-text() no\\n\\\\define tv-config-toolbar-class() tc-btn-invisible\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n`<!doctype html>\\n<html>\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n<meta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"tiddlywiki-version\\\" content=\\\"`{{$:/core/templates/version}}`\\\" />\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n<meta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n<meta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n<meta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n<meta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n<link id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n<link rel=\\\"stylesheet\\\" href=\\\"static.css\\\">\\n<title>`<$view field=\\\"caption\\\"><$view field=\\\"title\\\"/></$view>: {{$:/core/wiki/title}}`</title>\\n</head>\\n<body class=\\\"tc-body\\\">\\n`{{$:/StaticBanner||$:/core/templates/html-tiddler}}`\\n<section class=\\\"tc-story-river tc-static-story-river\\\">\\n`<$view tiddler=\\\"$:/core/ui/ViewTemplate\\\" format=\\\"htmlwikified\\\"/>`\\n</section>\\n</body>\\n</html>\\n`\\n\"},\"$:/core/templates/store.area.template.html\":{\"title\":\"$:/core/templates/store.area.template.html\",\"text\":\"\\\\whitespace trim\\n<!-- Unencrypted -->\\n<$list filter=\\\"[[$:/isEncrypted]get[text]else[no]match[no]]\\\">\\n <$list filter=\\\"[[storeAreaFormat]is[variable]getvariable[]else[json]match[json]]\\\">\\n <!-- New-style JSON store area, with an old-style store area for compatibility with v5.1.x tooling -->\\n `<script class=\\\"tiddlywiki-tiddler-store\\\" type=\\\"application/json\\\">[`\\n <$let newline={{{ [charcode[10]] }}} join=`,$(newline)$`>\\n <$text text=<<newline>>/>\\n <$list filter=<<saveTiddlerFilter>> join=<<join>> template=\\\"$:/core/templates/html-json-tiddler\\\"/>\\n <$list filter=\\\"[subfilter<skinnySaveTiddlerFilter>]\\\" template=\\\"$:/core/templates/html-json-skinny-tiddler\\\"/>\\n <$text text=<<newline>>/>\\n </$let>\\n `]</script>`\\n `<div id=\\\"storeArea\\\" style=\\\"display:none;\\\">`\\n `</div>`\\n </$list>\\n <$list filter=\\\"[[storeAreaFormat]is[variable]getvariable[]else[json]match[div]]\\\">\\n <!-- Old-style DIV/PRE-based store area -->\\n <$reveal type=\\\"nomatch\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n `<div id=\\\"storeArea\\\" style=\\\"display:none;\\\">`\\n <$list filter={{{ [<saveTiddlerFilter>] }}} template=\\\"$:/core/templates/html-div-tiddler\\\"/>\\n <$list filter=\\\"[subfilter<skinnySaveTiddlerFilter>]\\\" template=\\\"$:/core/templates/html-div-skinny-tiddler\\\"/>\\n `</div>`\\n </$reveal>\\n </$list>\\n</$list>\\n<!-- Encrypted -->\\n<$list filter=\\\"[[$:/isEncrypted]get[text]else[no]match[yes]]\\\">\\n `<!--~~ Encrypted tiddlers ~~-->`\\n `<pre id=\\\"encryptedStoreArea\\\" type=\\\"text/plain\\\" style=\\\"display:none;\\\">`\\n <$encrypt filter=<<saveTiddlerFilter>>/>\\n `</pre>`\\n</$list>\"},\"$:/core/templates/tid-tiddler\":{\"title\":\"$:/core/templates/tid-tiddler\",\"text\":\"<!--\\n\\nThis template is used for saving tiddlers in TiddlyWeb *.tid format\\n\\n--><$fields exclude='text bag' template='$name$: $value$\\n'></$fields>`\\n`<$view field=\\\"text\\\" format=\\\"text\\\" />\"},\"$:/core/templates/tiddler-metadata\":{\"title\":\"$:/core/templates/tiddler-metadata\",\"text\":\"<!--\\n\\nThis template is used for saving tiddler metadata *.meta files\\n\\n--><$fields exclude='text bag' template='$name$: $value$\\n'></$fields>\"},\"$:/core/templates/tiddlywiki5.html\":{\"title\":\"$:/core/templates/tiddlywiki5.html\",\"text\":\"<$set name=\\\"saveTiddlerAndShadowsFilter\\\" filter=\\\"[subfilter<saveTiddlerFilter>] [subfilter<saveTiddlerFilter>plugintiddlers[]]\\\">\\n`<!doctype html>\\n`{{$:/core/templates/MOTW.html}}`<html lang=\\\"`<$text text={{{ [{$:/language}get[name]] }}}/>`\\\">\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n<!--~~ Raw markup for the top of the head section ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopHead]] ||$:/core/templates/raw-static-tiddler}}}`\\n<meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=Edge\\\"/>\\n<meta name=\\\"application-name\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n<meta name=\\\"tiddlywiki-version\\\" content=\\\"`{{$:/core/templates/version}}`\\\" />\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n<meta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n<meta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n<meta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n<meta name=\\\"format-detection\\\" content=\\\"telephone=no\\\" />\\n<meta name=\\\"copyright\\\" content=\\\"`{{$:/core/copyright.txt}}`\\\" />\\n<link id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n<title>`{{$:/core/wiki/title}}`</title>\\n<!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~-->\\n\\n<!--~~ Raw markup ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/core/wiki/rawmarkup]] ||$:/core/templates/plain-text-tiddler}}}\\n{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}\\n{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified]] ||$:/core/templates/raw-static-tiddler}}}`\\n</head>\\n<body class=\\\"tc-body\\\">\\n<!--~~ Raw markup for the top of the body section ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n<!--~~ Static styles ~~-->\\n<div id=\\\"styleArea\\\">\\n`{{$:/boot/boot.css||$:/core/templates/css-tiddler}}`\\n</div>\\n<!--~~ Static content for Google and browsers without JavaScript ~~-->\\n<noscript>\\n<div id=\\\"splashArea\\\">\\n`{{$:/core/templates/static.area}}`\\n</div>\\n</noscript>\\n<!--~~ Ordinary tiddlers ~~-->\\n`{{$:/core/templates/store.area.template.html}}`\\n<!--~~ Library modules ~~-->\\n<div id=\\\"libraryModules\\\" style=\\\"display:none;\\\">\\n`{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/javascript-tiddler}}}`\\n</div>\\n<!--~~ Boot kernel prologue ~~-->\\n<div id=\\\"bootKernelPrefix\\\" style=\\\"display:none;\\\">\\n`{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}`\\n</div>\\n<!--~~ Boot kernel ~~-->\\n<div id=\\\"bootKernel\\\" style=\\\"display:none;\\\">\\n`{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}`\\n</div>\\n<!--~~ Raw markup for the bottom of the body section ~~-->\\n`{{{ [enlist<saveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n</body>\\n</html>`\\n</$set>\\n\"},\"$:/core/templates/version\":{\"title\":\"$:/core/templates/version\",\"text\":\"<<version>>\"},\"$:/core/templates/wikified-tiddler\":{\"title\":\"$:/core/templates/wikified-tiddler\",\"text\":\"<$transclude />\"},\"$:/core/ui/AboveStory/tw2-plugin-check\":{\"title\":\"$:/core/ui/AboveStory/tw2-plugin-check\",\"tags\":\"$:/tags/AboveStory\",\"text\":\"\\\\define lingo-base() $:/language/AboveStory/ClassicPlugin/\\n<$list filter=\\\"[all[system+tiddlers]tag[systemConfig]limit[1]]\\\">\\n\\n<div class=\\\"tc-message-box\\\">\\n\\n<<lingo Warning>>\\n\\n<ul>\\n\\n<$list filter=\\\"[all[system+tiddlers]tag[systemConfig]]\\\">\\n\\n<li>\\n\\n<$link><$view field=\\\"title\\\"/></$link>\\n\\n</li>\\n\\n</$list>\\n\\n</ul>\\n\\n</div>\\n\\n</$list>\\n\"},\"$:/core/ui/Actions/new-image\":{\"title\":\"$:/core/ui/Actions/new-image\",\"tags\":\"$:/tags/Actions\",\"description\":\"create a new image tiddler\",\"text\":\"\\\\whitespace trim\\n<$action-sendmessage $message=\\\"tm-new-tiddler\\\" type={{{ [{$:/config/NewImageType}addprefix[image/]] }}}/>\\n\"},\"$:/core/ui/Actions/new-journal\":{\"title\":\"$:/core/ui/Actions/new-journal\",\"tags\":\"$:/tags/Actions\",\"description\":\"create a new journal tiddler\",\"text\":\"\\\\whitespace trim\\n\\\\function get-tags() [<textFieldTags>] [<tagsFieldTags>] +[join[ ]]\\n<$let journalTitleTemplate={{$:/config/NewJournal/Title}} textFieldTags={{$:/config/NewJournal/Tags}} tagsFieldTags={{$:/config/NewJournal/Tags!!tags}} journalText={{$:/config/NewJournal/Text}}>\\n<$wikify name=\\\"journalTitle\\\" text=\\\"<$transclude $variable='now' format=<<journalTitleTemplate>>/>\\\">\\n<$reveal type=\\\"nomatch\\\" state=<<journalTitle>> text=\\\"\\\">\\n<$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=<<journalTitle>> tags=<<get-tags>> text={{{ [<journalTitle>get[]] }}}/>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<journalTitle>> text=\\\"\\\">\\n<$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=<<journalTitle>> tags=<<get-tags>> text=<<journalText>>/>\\n</$reveal>\\n</$wikify>\\n</$let>\\n\"},\"$:/core/ui/Actions/new-tiddler\":{\"title\":\"$:/core/ui/Actions/new-tiddler\",\"tags\":\"$:/tags/Actions\",\"description\":\"create a new empty tiddler\",\"text\":\"\\\\whitespace trim\\n\\\\function get-tags() [<textFieldTags>] [<tagsFieldTags>] +[join[ ]]\\n<$let textFieldTags={{$:/config/NewTiddler/Tags}} tagsFieldTags={{$:/config/NewTiddler/Tags!!tags}}>\\n<$action-sendmessage $message=\\\"tm-new-tiddler\\\" tags=<<get-tags>>/>\\n</$let>\\n\"},\"$:/core/ui/AdvancedSearch/Filter\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/Filter/Caption}}\",\"text\":\"\\\\procedure lingo-base() $:/language/Search/\\n\\\\procedure set-next-input-tab()\\n<$transclude $variable=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"after\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"\\n/>\\n\\\\end\\n\\n\\\\procedure set-previous-input-tab()\\n<$transclude $variable=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"before\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"\\n/>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions()\\n\\\\whitespace trim\\n<$list filter=\\\"[{$:/temp/advancedsearch/input}!match{$:/temp/advancedsearch}]\\\">\\n\\t<$list-empty>\\n\\t\\t<$action-deletetiddler $filter=\\\"[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]\\\"/>\\n\\t</$list-empty>\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n</$list>\\n\\\\end\\n\\n\\\\procedure input-accept-actions()\\n\\\\whitespace trim\\n<$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\">\\n\\t<$list-empty>\\n\\t\\t<$list filter=\\\"[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]\\\">\\n\\t\\t\\t<$action-navigate $to={{{ [<tiddler>get[text]] }}}/>\\n\\t\\t</$list>\\n\\t<$/list-empty>\\n\\t<$action-navigate $to={{{ [<tiddler>get[text]] }}}/>\\n</$list>\\n\\\\end\\n\\n\\\\procedure input-accept-variant-actions()\\n\\\\whitespace trim\\n<$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\">\\n\\t<$list-empty>\\n\\t\\t<$list filter=\\\"[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]\\\">\\n\\t\\t\\t<$list filter=\\\"[<__tiddler__>get[text]minlength[1]]\\\">\\n\\t\\t\\t\\t<$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/>\\n\\t\\t\\t</$list>\\n\\t\\t</$list>\\n\\t</$list-empty>\\n\\t<$list filter=\\\"[<tiddler>get[text]minlength[1]]\\\">\\n\\t\\t<$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/>\\n\\t</$list>\\n</$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\\n<<lingo Filter/Hint>>\\n\\n<div class=\\\"tc-search tc-advanced-search\\\">\\n\\t<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>> class=\\\"tc-small-gap-right\\\">\\n\\t\\t<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-previous-input-tab>>>\\n\\t\\t\\t<$transclude $variable=\\\"keyboard-driven-input\\\"\\n\\t\\t\\t\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\t\\t\\t\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\t\\t\\t\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\t\\t\\t\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\t\\t\\t\\ttype=\\\"search\\\"\\n\\t\\t\\t\\ttag=\\\"input\\\"\\n\\t\\t\\t\\tfocus={{$:/config/Search/AutoFocus}}\\n\\t\\t\\t\\tconfigTiddlerFilter=\\\"[[$:/temp/advancedsearch]]\\\"\\n\\t\\t\\t\\tfirstSearchFilterField=\\\"text\\\"\\n\\t\\t\\t\\tinputAcceptActions=<<input-accept-actions>>\\n\\t\\t\\t\\tinputAcceptVariantActions=<<input-accept-variant-actions>>\\n\\t\\t\\t\\tinputCancelActions=<<cancel-search-actions>>\\n\\t\\t\\t/>\\n\\t\\t</$keyboard>\\n\\t</$keyboard>\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch/FilterButton]!has[draft.of]]\\\">\\n\\t\\t<$transclude/>\\n\\t</$list>\\n</div>\\n\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\" tag=\\\"div\\\" class=\\\"tc-search-results\\\">\\n\\t<$set name=\\\"resultCount\\\" value=\\\"<$count filter={{$:/temp/advancedsearch}}/>\\\">\\n\\t\\t<p><<lingo Filter/Matches>></p>\\n\\t\\t<$list filter={{$:/temp/advancedsearch}}>\\n\\t\\t\\t<span class={{{[<currentTiddler>addsuffix[-primaryList]] -[[$:/temp/advancedsearch/selected-item]get[text]] :and[then[]else[tc-list-item-selected]] }}}>\\n\\t\\t\\t\\t<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\\t\\t\\t</span>\\n\\t\\t</$list>\\n\\t</$set>\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<<cancel-search-actions>>\\n<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\"\\\"\\\".tc-advanced-search input\\\"\\\"\\\" />\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button tooltip={{$:/language/Buttons/DeleteTiddlers/Hint}} popup=<<qualify \\\"$:/state/filterDeleteDropdown\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/delete-button}}\\n</$button>\\n</$reveal>\\n\\n<$reveal state=<<qualify \\\"$:/state/filterDeleteDropdown\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$set name=\\\"resultCount\\\" value=\\\"\\\"\\\"<$count filter={{$:/temp/advancedsearch}}/>\\\"\\\"\\\">\\n{{$:/language/ConfirmDeleteTiddlers}}\\n</$set>\\n</div>\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$button class=\\\"tc-btn\\\">\\n<$action-deletetiddler $filter={{$:/temp/advancedsearch}}/>\\n{{$:/language/Buttons/DeleteTiddlers/Hint}}\\n</$button>\\n</div>\\n</div>\\n</div>\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n\\n<span class=\\\"tc-popup-keep\\\">\\n<$button popup=<<qualify \\\"$:/state/filterDropdown\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n</$button>\\n</span>\\n\\n<$reveal state=<<qualify \\\"$:/state/filterDropdown\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n<$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n<$linkcatcher actions=\\\"<$action-setfield $tiddler='$:/temp/advancedsearch' text=<<navigateTo>>/><$action-setfield $tiddler='$:/temp/advancedsearch/input' text=<<navigateTo>>/><$action-setfield $tiddler='$:/temp/advancedsearch/refresh' text='yes'/><$action-sendmessage $message='tm-focus-selector' $param='.tc-advanced-search input' />\\\">\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Filter]!is[draft]]\\\">\\n<$link to={{!!filter}}><$let tv-wikilinks=\\\"no\\\"><$transclude field=\\\"description\\\"/></$let></$link>\\n</$list>\\n</div>\\n</div>\\n</$linkcatcher>\\n</$set>\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/export\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/export\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$macrocall $name=\\\"exportButton\\\" exportFilter={{$:/temp/advancedsearch}} lingoBase=\\\"$:/language/Buttons/ExportTiddlers/\\\"/>\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Shadows\":{\"title\":\"$:/core/ui/AdvancedSearch/Shadows\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/Shadows/Caption}}\",\"first-search-filter\":\"[all[shadows]search<userInput>sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]]\",\"text\":\"\\\\procedure lingo-base() $:/language/Search/\\n\\n\\\\procedure set-next-input-tab()\\n<$transclude $variable=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"after\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\procedure set-previous-input-tab()\\n<$transclude $variable=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"before\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\\\"\\n\\temptyMessage=\\\"<$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\">\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n</$list>\\n<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\\\end\\n\\n\\\\procedure input-accept-actions()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"<$list filter='[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]'><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\\\">\\n\\t<$action-navigate $to={{{ [<tiddler>get[text]] }}}/>\\n</$list>\\n\\\\end\\n\\n\\\\procedure input-accept-variant-actions()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"<$list filter='[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]'><$list filter='[<tiddler>get[text]minlength[1]]'><$action-sendmessage $message='tm-edit-tiddler' $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\\\">\\n\\t<$list filter=\\\"[<tiddler>get[text]minlength[1]]\\\">\\n\\t\\t<$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/>\\n</$list></$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\\n<<lingo Shadows/Hint>>\\n\\n<div class=\\\"tc-search\\\">\\n<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>>>\\n<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-previous-input-tab>>>\\n<$transclude $variable=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tconfigTiddlerFilter=\\\"[[$:/core/ui/AdvancedSearch/Shadows]]\\\"\\n\\tinputCancelActions=<<cancel-search-actions>>\\n\\tinputAcceptActions=<<input-accept-actions>>\\n\\tinputAcceptVariantActions=<<input-accept-variant-actions>>\\n\\tfilterMinLength={{$:/config/Search/MinLength}}/>\\n</$keyboard>\\n</$keyboard>\\n&#32;\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<<cancel-search-actions>>\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n</div>\\n\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n<$list filter=\\\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"<div class='tc-search-results'>{{$:/language/Search/Search/TooShort}}</div>\\\" variable=\\\"listItem\\\">\\n\\n<$set name=\\\"resultCount\\\" value={{{ [all[shadows]search{$:/temp/advancedsearch}] :except[[$:/temp/advancedsearch]] :except[[$:/temp/advancedsearch/input]] :and[count[]]}}}>\\n\\n<div class=\\\"tc-search-results\\\">\\n\\n<%if [<resultCount>match[0]] %>\\n\\t{{$:/language/Search/Matches/NoMatch}}\\n<%else%>\\n\\t<<lingo Shadows/Matches>>\\n<%endif%>\\n\\n<$list filter=\\\"[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] :except[[$:/temp/advancedsearch]] :except[[$:/temp/advancedsearch/input]]\\\">\\n<span class={{{[<currentTiddler>addsuffix[-primaryList]] :except[[$:/temp/advancedsearch/selected-item]get[text]] :and[then[]else[tc-list-item-selected]] }}}>\\n<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n</span>\\n</$list>\\n\\n</div>\\n\\n</$set>\\n\\n</$list>\\n\\n</$reveal>\\n\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"match\\\" text=\\\"\\\">\\n\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Standard\":{\"title\":\"$:/core/ui/AdvancedSearch/Standard\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/Standard/Caption}}\",\"text\":\"\\\\procedure lingo-base() $:/language/Search/\\n\\\\procedure set-next-input-tab() <$transclude $variable=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab--1498284803\\\" tag=\\\"$:/tags/AdvancedSearch\\\" beforeafter=\\\"after\\\" defaultState=\\\"$:/core/ui/AdvancedSearch/System\\\" actions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"/>\\n\\n\\\\procedure set-previous-input-tab() <$transclude $variable=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab--1498284803\\\" tag=\\\"$:/tags/AdvancedSearch\\\" beforeafter=\\\"before\\\" defaultState=\\\"$:/core/ui/AdvancedSearch/System\\\" actions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"/>\\n\\n\\\\procedure next-search-tab() <$transclude $variable=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/advancedsearch\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"after\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=<<nextTab>>/>\\\"/>\\n\\n\\\\procedure previous-search-tab() <$transclude $variable=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/advancedsearch\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"before\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=<<nextTab>>/>\\\"/>\\n\\n\\\\procedure cancel-search-actions() <$list filter=\\\"[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\\\" emptyMessage=\\\"<$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\"><$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/><$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/></$list><$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\n\\\\procedure input-accept-actions() <$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"<$list filter='[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]'><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\\\"><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\\n\\n\\\\procedure input-accept-variant-actions() <$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"<$list filter='[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]'><$list filter='[<tiddler>get[text]minlength[1]]'><$action-sendmessage $message='tm-edit-tiddler' $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\\\"><$list filter=\\\"[<tiddler>get[text]minlength[1]]\\\"><$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\\n\\n\\\\whitespace trim\\n\\n<<lingo Standard/Hint>>\\n\\n<div class=\\\"tc-search\\\">\\n<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>>>\\n<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-previous-input-tab>>>\\n<$keyboard key=\\\"shift-alt-Right\\\" actions=<<next-search-tab>>>\\n<$keyboard key=\\\"shift-alt-Left\\\" actions=<<previous-search-tab>>>\\n<$transclude $variable=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tinputCancelActions=<<cancel-search-actions>>\\n\\tinputAcceptActions=<<input-accept-actions>>\\n\\tinputAcceptVariantActions=<<input-accept-variant-actions>>\\n\\tconfigTiddlerFilter=\\\"[[$:/state/advancedsearch/standard/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}]\\\"\\n\\tfilterMinLength={{$:/config/Search/MinLength}}/>\\n</$keyboard>\\n</$keyboard>\\n</$keyboard>\\n</$keyboard>\\n&#32;\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<<cancel-search-actions>>\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n</div>\\n\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\\\"\\n\\temptyMessage=\\\"<div class='tc-search-results'>{{$:/language/Search/Search/TooShort}}</div>\\\"\\n\\tvariable=\\\"listItem\\\">\\n<$vars\\n\\tuserInput={{{ [[$:/temp/advancedsearch]get[text]] }}}\\n\\tconfigTiddler={{{ [[$:/state/advancedsearch/standard/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}}\\n\\tsearchListState=\\\"$:/temp/advancedsearch/selected-item\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\\\">\\n<$list-empty>\\n<$list filter='[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]'><$transclude mode=\\\"block\\\"/></$list>\\n</$list-empty>\\n<$transclude $variable=\\\"tabs\\\"\\n\\ttabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\\\"\\n\\tdefault={{$:/config/SearchResults/Default}}\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=<<currentTab>>/>\\\"\\n\\texplicitState=\\\"$:/state/tab/search-results/advancedsearch\\\" />\\n</$list>\\n</$vars>\\n</$list>\\n</$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/System\":{\"title\":\"$:/core/ui/AdvancedSearch/System\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/System/Caption}}\",\"first-search-filter\":\"[is[system]search<userInput>sort[title]limit[250]] :except[[$:/temp/advancedsearch]] :except[[$:/temp/advancedsearch/input]] :except[[$:/temp/advancedsearch/selected-item]]\",\"text\":\"\\\\procedure lingo-base() $:/language/Search/\\n\\\\procedure set-next-input-tab()\\n<$transclude $variable=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"after\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\procedure set-previous-input-tab()\\n<$transclude $variable=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"before\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=<<nextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\\\"\\n\\temptyMessage=\\\"<$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\">\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n</$list>\\n<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\\\end\\n\\n\\\\procedure input-accept-actions()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"<$list filter='[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]'><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\\\">\\n\\t<$action-navigate $to={{{ [<tiddler>get[text]] }}}/>\\n</$list>\\n\\\\end\\n\\n\\\\procedure input-accept-variant-actions()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"<$list filter='[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]'><$list filter='[<tiddler>get[text]minlength[1]]'><$action-sendmessage $message='tm-edit-tiddler' $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\\\">\\n\\t<$list filter=\\\"[<tiddler>get[text]minlength[1]]\\\">\\n\\t\\t<$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/>\\n</$list></$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\\n<<lingo System/Hint>>\\n\\n<div class=\\\"tc-search\\\">\\n<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>>>\\n<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-previous-input-tab>>>\\n<$transclude $variable=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tconfigTiddlerFilter=\\\"[[$:/core/ui/AdvancedSearch/System]]\\\"\\n\\tinputCancelActions=<<cancel-search-actions>>\\n\\tinputAcceptActions=<<input-accept-actions>>\\n\\tinputAcceptVariantActions=<<input-accept-variant-actions>>\\n\\tfilterMinLength={{$:/config/Search/MinLength}}/>\\n</$keyboard>\\n</$keyboard>\\n&#32;\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<<cancel-search-actions>>\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n</div>\\n\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n<$list filter=\\\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"<div class='tc-search-results'>{{$:/language/Search/Search/TooShort}}</div>\\\" variable=\\\"listItem\\\">\\n\\n<$set name=\\\"resultCount\\\" value={{{ [is[system]search{$:/temp/advancedsearch}] :except[[$:/temp/advancedsearch]] :except[[$:/temp/advancedsearch/input]] :except[[$:/temp/advancedsearch/selected-item]] +[count[]] }}}>\\n\\n<div class=\\\"tc-search-results\\\">\\n\\n<%if [<resultCount>match[0]] %>\\n\\t{{$:/language/Search/Matches/NoMatch}}\\n<%else%>\\n\\t<<lingo System/Matches>>\\n<%endif%>\\n\\n<$list filter=\\\"[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] :except[[$:/temp/advancedsearch]] :except[[$:/temp/advancedsearch/input]] :except[[$:/temp/advancedsearch/selected-item]]\\\">\\n<span class={{{[<currentTiddler>addsuffix[-primaryList]] :except[[$:/temp/advancedsearch/selected-item]get[text]] :and[then[]else[tc-list-item-selected]] }}}>\\n<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n</span>\\n</$list>\\n\\n</div>\\n\\n</$set>\\n\\n</$list>\\n\\n</$reveal>\\n\\n<$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"match\\\" text=\\\"\\\">\\n\\n</$reveal>\\n\"},\"$:/AdvancedSearch\":{\"title\":\"$:/AdvancedSearch\",\"icon\":\"$:/core/images/advanced-search-button\",\"color\":\"#bbb\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-advanced-search\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]\\\" default=\\\"$:/core/ui/AdvancedSearch/System\\\" actions=\\\"\\\"\\\"<$action-setfield $tiddler=\\\"$:/state/advancedsearch/currentTab\\\" text=<<currentTab>>/>\\\"\\\"\\\" explicitState=\\\"$:/state/tab--1498284803\\\"/>\\n</div>\\n\"},\"$:/core/ui/AlertTemplate\":{\"title\":\"$:/core/ui/AlertTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-alert\\\">\\n<div class=\\\"tc-alert-toolbar\\\">\\n<$button class=\\\"tc-btn-invisible\\\"><$action-deletetiddler $tiddler=<<currentTiddler>>/>{{$:/core/images/cancel-button}}</$button>\\n</div>\\n<div class=\\\"tc-alert-subtitle\\\">\\n<$wikify name=\\\"format\\\" text=<<lingo Tiddler/DateFormat>>>\\n<$view field=\\\"component\\\"/>\\n&#32;-&#32;\\n<$view field=\\\"modified\\\" format=\\\"date\\\" template=<<format>>/>\\n&#32;\\n<$reveal type=\\\"nomatch\\\" state=\\\"!!count\\\" text=\\\"\\\">\\n<span class=\\\"tc-alert-highlight\\\">\\n({{$:/language/Count}}:&#32;<$view field=\\\"count\\\"/>)\\n</span>\\n</$reveal>\\n</$wikify>\\n</div>\\n<div class=\\\"tc-alert-body\\\">\\n\\n<$transclude/>\\n\\n</div>\\n</div>\\n\"},\"$:/core/ui/BinaryWarning\":{\"title\":\"$:/core/ui/BinaryWarning\",\"text\":\"\\\\define lingo-base() $:/language/BinaryWarning/\\n<<lingo Prompt>>\\n\"},\"$:/core/ui/VisibleTransclude\":{\"title\":\"$:/core/ui/VisibleTransclude\",\"text\":\"<!--\\nImport this component to make all the child transclusions visible.\\n\\nBlock transclusions are shown in red, and inline transclusions are shown in green.\\n-->\\n\\\\widget $transclude()\\n<!-- Use a parameters widget so that we can access the `$params` data -->\\n<$parameters tiddler=\\\"\\\" $$tiddler=\\\"\\\" mode=\\\"\\\" $$mode=\\\"\\\" $parseMode=\\\"@parseMode\\\" $params=\\\"@params\\\">\\n\\t<!-- Replicate the logic of the transclude widget to determine the output mode, and hence the tag and colour to use for output -->\\n\\t<$let\\n\\t\\tmode={{{ [[$mode]is[variable]then<$mode>!is[blank]] :else[[mode]is[variable]then<mode>!is[blank]] :else[<@parseMode>] }}}\\n\\t\\toutputTag={{{ [<mode>match[inline]then[span]else[div]] }}}\\n\\t\\toutputColour={{{ [<mode>match[inline]then[green]else[red]] }}}\\n\\t>\\n\\t\\t<!-- Use divs or spans according to the mode -->\\n\\t\\t<$genesis $type=<<outputTag>> style=\\\"color:white;padding:4px;\\\" style.background=<<outputColour>>>\\n\\t\\t\\t<$genesis $type=<<outputTag>> style=\\\"display: inline-block;\\\">\\n\\t\\t\\t\\t<div style=\\\"background:white;color:black;font-size: 12px;line-height:1.2;text-align:left;font-weight:normal;padding:4px;margin:4px;\\\">\\n\\t\\t\\t\\t\\t<!-- Render the parameters to the transclusion -->\\n\\t\\t\\t\\t\\t<$list filter=\\\"[<@params>jsonindexes[]]\\\" emptyMessage=\\\"(none)\\\">\\n\\t\\t\\t\\t\\t\\t<div>\\n\\t\\t\\t\\t\\t\\t\\t<$text text=<<currentTiddler>>/><$text text=\\\": \\\"/><$text text={{{ [<@params>jsonget<currentTiddler>] }}}/>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</$genesis>\\n\\t\\t\\t<$genesis $type=<<outputTag>> style=\\\"background:white;color:black;padding:4px;\\\">\\n\\t\\t\\t\\t<!-- Look for a parameter starting with $ to determine if we are in legacy mode -->\\n\\t\\t\\t\\t<$list filter=\\\"[<@params>jsonindexes[]] :filter[<currentTiddler>prefix[$]] +[limit[1]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\\"\\\"\\n\\t\\t\\t\\t\\t<!-- Legacy mode: we render the transclusion without a dollar sign for recursionMarker and mode -->\\n\\t\\t\\t\\t\\t<$genesis $type=\\\"$transclude\\\" $remappable=\\\"no\\\" $names=\\\"[<@params>jsonindexes[]]\\\" $values=\\\"[<@params>jsonindexes[]] :map[<@params>jsonget<currentTiddler>]\\\" recursionMarker=\\\"no\\\" mode=<<mode>> $$fillignore=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t<!-- Reach back up to the grandparent transclusion to get the correct slot value -->\\n\\t\\t\\t\\t\\t\\t<$slot $name=\\\"ts-raw\\\"/>\\n\\t\\t\\t\\t\\t</$genesis>\\n\\t\\t\\t\\t\\\"\\\"\\\">\\n\\t\\t\\t\\t\\t<!-- Non-legacy mode: we use dollar signs for the recursionMarker and mode -->\\n\\t\\t\\t\\t\\t<$genesis $type=\\\"$transclude\\\" $remappable=\\\"no\\\" $names=\\\"[<@params>jsonindexes[]]\\\" $values=\\\"[<@params>jsonindexes[]] :map[<@params>jsonget<currentTiddler>]\\\" $$recursionMarker=\\\"no\\\" $$mode=<<mode>> $$fillignore=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t<!-- Reach back up to the grandparent transclusion to get the correct slot fill value -->\\n\\t\\t\\t\\t\\t\\t<$slot $name=\\\"ts-raw\\\"/>\\n\\t\\t\\t\\t\\t</$genesis>\\n\\t\\t\\t\\t</$list>\\n\\t\\t\\t</$genesis>\\n\\t\\t</$genesis>\\n\\t</$let>\\n</$parameters>\\n\\\\end\\n\"},\"$:/core/ui/Components/plugin-info\":{\"title\":\"$:/core/ui/Components/plugin-info\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Plugins/\\n\\n\\\\define popup-state-macro()\\n$(qualified-state)$-$(currentTiddler)$\\n\\\\end\\n\\n\\\\define tabs-state-macro()\\n$(popup-state)$-$(pluginInfoType)$\\n\\\\end\\n\\n\\\\define plugin-icon-title()\\n$(currentTiddler)$/icon\\n\\\\end\\n\\n\\\\define plugin-disable-title()\\n$:/config/Plugins/Disabled/$(currentTiddler)$\\n\\\\end\\n\\n\\\\define plugin-table-body(type,disabledMessage,default-popup-state)\\n\\\\whitespace trim\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-toggle\\\">\\n\\t<$reveal type=\\\"nomatch\\\" state=<<popup-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">\\n\\t\\t<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<popup-state>> setTo=\\\"yes\\\">\\n\\t\\t\\t{{$:/core/images/chevron-right}}\\n\\t\\t</$button>\\n\\t</$reveal>\\n\\t<$reveal type=\\\"match\\\" state=<<popup-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">\\n\\t\\t<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<popup-state>> setTo=\\\"no\\\">\\n\\t\\t\\t{{$:/core/images/chevron-down}}\\n\\t\\t</$button>\\n\\t</$reveal>\\n</div>\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n\\t<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>\\n\\t\\t<$transclude tiddler=\\\"$:/core/images/plugin-generic-$type$\\\"/>\\n\\t</$transclude>\\n</div>\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n\\t<h1>\\n\\t\\t''<$text text={{{ [<currentTiddler>get[name]] ~[<currentTiddler>split[/]last[1]] }}}/>'':&nbsp;<$view field=\\\"description\\\"><$view field=\\\"title\\\"/></$view>&nbsp;$disabledMessage$\\n\\t</h1>\\n\\t<h2>\\n\\t\\t<$view field=\\\"title\\\"/>\\n\\t</h2>\\n\\t<h2>\\n\\t\\t<div>\\n\\t\\t\\t<%if [<currentTiddler>get[stability]match[STABILITY_0_DEPRECATED]] %>\\n\\t\\t\\t\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-deprecated\\\"><<lingo \\\"Stability/Deprecated\\\">></span>\\n\\t\\t\\t<%elseif [<currentTiddler>get[stability]match[STABILITY_1_EXPERIMENTAL]] %>\\n\\t\\t\\t\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-experimental\\\"><<lingo \\\"Stability/Experimental\\\">></span>\\n\\t\\t\\t<%elseif [<currentTiddler>get[stability]match[STABILITY_2_STABLE]] %>\\n\\t\\t\\t\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-stable\\\"><<lingo \\\"Stability/Stable\\\">></span>\\n\\t\\t\\t<%elseif [<currentTiddler>get[stability]match[STABILITY_3_LEGACY]] %>\\n\\t\\t\\t\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-legacy\\\"><<lingo \\\"Stability/Legacy\\\">></span>\\n\\t\\t\\t<%endif%>\\n\\t\\t\\t<em><$view field=\\\"version\\\"/></em></div>\\n\\t</h2>\\n</div>\\n\\\\end\\n\\n\\\\define plugin-info(type,default-popup-state)\\n\\\\whitespace trim\\n<$set name=\\\"popup-state\\\" value=<<popup-state-macro>>>\\n\\t<$reveal type=\\\"nomatch\\\" state=<<plugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t<$link to={{!!title}} class=\\\"tc-plugin-info\\\">\\n\\t\\t\\t<<plugin-table-body type:\\\"$type$\\\" default-popup-state:\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">>\\n\\t\\t</$link>\\n\\t</$reveal>\\n\\t<$reveal type=\\\"match\\\" state=<<plugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t<$link to={{!!title}} class=\\\"tc-plugin-info tc-plugin-info-disabled\\\">\\n\\t\\t\\t<<plugin-table-body type:\\\"$type$\\\" default-popup-state:\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\" disabledMessage:\\\"<$macrocall $name='lingo' title='Disabled/Status'/>\\\">>\\n\\t\\t</$link>\\n\\t</$reveal>\\n\\t<$reveal type=\\\"match\\\" text=\\\"yes\\\" state=<<popup-state>> default=\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">\\n\\t\\t<div class=\\\"tc-plugin-info-dropdown\\\">\\n\\t\\t\\t<div class=\\\"tc-plugin-info-dropdown-body\\\">\\n\\t\\t\\t\\t<$list filter=\\\"[all[current]] -[[$:/core]]\\\">\\n\\t\\t\\t\\t\\t<div style=\\\"float:right;\\\">\\n\\t\\t\\t\\t\\t\\t<$reveal type=\\\"nomatch\\\" state=<<plugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$button set=<<plugin-disable-title>> setTo=\\\"yes\\\" tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t<<lingo Disable/Caption>>\\n\\t\\t\\t\\t\\t\\t\\t</$button>\\n\\t\\t\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t\\t\\t\\t<$reveal type=\\\"match\\\" state=<<plugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$button set=<<plugin-disable-title>> setTo=\\\"no\\\" tooltip={{$:/language/ControlPanel/Plugins/Enable Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t<<lingo Enable/Caption>>\\n\\t\\t\\t\\t\\t\\t\\t</$button>\\n\\t\\t\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t<$set name=\\\"tabsList\\\" filter=\\\"[<currentTiddler>list[]] contents\\\">\\n\\t\\t\\t\\t\\t<$macrocall $name=\\\"tabs\\\" state=<<tabs-state-macro>> tabsList=<<tabsList>> default={{{ [enlist<tabsList>] }}} template=\\\"$:/core/ui/PluginInfo\\\"/>\\n\\t\\t\\t\\t</$set>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</$reveal>\\n</$set>\\n\\\\end\\n\\n<$macrocall $name=\\\"plugin-info\\\" type=<<plugin-type>> default-popup-state=<<default-popup-state>>/>\\n\"},\"$:/core/ui/Components/tag-link\":{\"title\":\"$:/core/ui/Components/tag-link\",\"text\":\"\\\\whitespace trim\\n<$link>\\n<$set name=\\\"backgroundColor\\\" value={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}>\\n<span style=<<tag-styles>> class=\\\"tc-tag-label\\\">\\n<$view field=\\\"title\\\" format=\\\"text\\\"/>\\n</span>\\n</$set>\\n</$link>\"},\"$:/core/ui/ControlPanel/Advanced\":{\"title\":\"$:/core/ui/ControlPanel/Advanced\",\"tags\":\"$:/tags/ControlPanel/Info\",\"caption\":\"{{$:/language/ControlPanel/Advanced/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Advanced/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/TiddlerFields\\\" explicitState=\\\"$:/state/tab--959111941\\\"/>\\n</div>\\n\"},\"$:/core/ui/ControlPanel/Appearance\":{\"title\":\"$:/core/ui/ControlPanel/Appearance\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Appearance/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Appearance/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Theme\\\" explicitState=\\\"$:/state/tab--1963855381\\\"/>\\n</div>\\n\"},\"$:/snippets/retain-story-ordering-button\":{\"title\":\"$:/snippets/retain-story-ordering-button\",\"text\":\"<$button set=\\\"$:/DefaultTiddlers\\\" setTo={{$:/config/ControlPanel/Basics/DefaultTiddlers/RetainStory}} ><<currentTiddler>></$button>\"},\"$:/core/ui/ControlPanel/Basics\":{\"title\":\"$:/core/ui/ControlPanel/Basics\",\"tags\":\"$:/tags/ControlPanel/Info\",\"caption\":\"{{$:/language/ControlPanel/Basics/Caption}}\",\"text\":\"\\\\procedure lingo-base() $:/language/ControlPanel/Basics/\\n\\\\whitespace trim\\n\\n|tc-max-width tc-edit-max-width|k\\n|<<lingo Version/Prompt>> |''<<version>>'' |\\n|<$link to=\\\"$:/SiteTitle\\\"><<lingo Title/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/SiteSubtitle\\\"><<lingo Subtitle/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/status/UserName\\\"><<lingo Username/Prompt>></$link> |<$edit-text tiddler=\\\"$:/status/UserName\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/config/AnimationDuration\\\"><<lingo AnimDuration/Prompt>></$link> |<$edit-text tiddler=\\\"$:/config/AnimationDuration\\\" default=\\\"\\\" tag=\\\"input\\\" type=\\\"number\\\"/> |\\n|<$link to=\\\"$:/DefaultTiddlers\\\"><<lingo DefaultTiddlers/Prompt>></$link> |<<lingo DefaultTiddlers/TopHint>><br> <$edit class=\\\"tc-edit-texteditor\\\" tiddler=\\\"$:/DefaultTiddlers\\\" autoHeight=\\\"yes\\\"/><br>//<<lingo DefaultTiddlers/BottomHint>>// |\\n|<$link to=\\\"$:/language/DefaultNewTiddlerTitle\\\"><<lingo NewTiddler/Title/Prompt>></$link> |<$edit-text tiddler=\\\"$:/language/DefaultNewTiddlerTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/config/NewJournal/Title\\\"><<lingo NewJournal/Title/Prompt>></$link> |<$edit-text tiddler=\\\"$:/config/NewJournal/Title\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/config/NewJournal/Text\\\"><<lingo NewJournal/Text/Prompt>></$link> |<$edit tiddler=\\\"$:/config/NewJournal/Text\\\" class=\\\"tc-edit-texteditor\\\" default=\\\"\\\" autoHeight=\\\"yes\\\"/> |\\n|<$link to=\\\"$:/config/NewTiddler/Tags\\\"><<lingo NewTiddler/Tags/Prompt>></$link> |<$vars currentTiddler=\\\"$:/config/NewTiddler/Tags\\\" tagField=\\\"text\\\">{{||$:/core/ui/EditTemplate/tags}}<$list filter=\\\"[<currentTiddler>tags[]] +[limit[1]]\\\" variable=\\\"ignore\\\"><$button tooltip={{$:/language/ControlPanel/Basics/RemoveTags/Hint}}><<lingo RemoveTags>><$action-listops $tiddler=<<currentTiddler>> $field=\\\"text\\\" $subfilter={{{ [<currentTiddler>get[tags]] }}}/><$action-setfield $tiddler=<<currentTiddler>> tags=\\\"\\\"/></$button></$list></$vars> |\\n|<$link to=\\\"$:/config/NewJournal/Tags\\\"><<lingo NewJournal/Tags/Prompt>></$link> |<$vars currentTiddler=\\\"$:/config/NewJournal/Tags\\\" tagField=\\\"text\\\">{{||$:/core/ui/EditTemplate/tags}}<$list filter=\\\"[<currentTiddler>tags[]] +[limit[1]]\\\" variable=\\\"ignore\\\"><$button tooltip={{$:/language/ControlPanel/Basics/RemoveTags/Hint}}><<lingo RemoveTags>><$action-listops $tiddler=<<currentTiddler>> $field=\\\"text\\\" $subfilter={{{ [<currentTiddler>get[tags]] }}}/><$action-setfield $tiddler=<<currentTiddler>> tags=\\\"\\\"/></$button></$list></$vars> |\\n|<$link to=\\\"$:/config/AutoFocus\\\"><<lingo AutoFocus/Prompt>></$link> |{{$:/snippets/minifocusswitcher}} |\\n|<<lingo Language/Prompt>> |{{$:/snippets/minilanguageswitcher}} |\\n|<<lingo Tiddlers/Prompt>> |<<show-filter-count \\\"[!is[system]sort[title]]\\\">> |\\n|<<lingo Tags/Prompt>> |<<show-filter-count \\\"[tags[]sort[title]]\\\">> |\\n|<<lingo SystemTiddlers/Prompt>> |<<show-filter-count \\\"[is[system]sort[title]]\\\">> |\\n|<<lingo ShadowTiddlers/Prompt>> |<<show-filter-count \\\"[all[shadows]sort[title]]\\\">> |\\n|<<lingo OverriddenShadowTiddlers/Prompt>> |<<show-filter-count \\\"[is[tiddler]is[shadow]sort[title]]\\\">> |\\n\"},\"$:/core/ui/ControlPanel/EditTemplateBody\":{\"title\":\"$:/core/ui/ControlPanel/EditTemplateBody\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/EditTemplateBody/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/EditTemplateBody/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/EditTemplateBodyFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/FieldEditor\":{\"title\":\"$:/core/ui/ControlPanel/FieldEditor\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/FieldEditor/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/FieldEditor/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/FieldEditorFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/StoryTiddler\":{\"title\":\"$:/core/ui/ControlPanel/StoryTiddler\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/StoryTiddler/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/StoryTiddler/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/StoryTiddlerTemplateFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/TiddlerColour\":{\"title\":\"$:/core/ui/ControlPanel/TiddlerColour\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/TiddlerColour/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/TiddlerColour/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/TiddlerColourFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/TiddlerIcon\":{\"title\":\"$:/core/ui/ControlPanel/TiddlerIcon\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/TiddlerIcon/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/TiddlerIcon/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/TiddlerIconFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/ViewTemplateBody\":{\"title\":\"$:/core/ui/ControlPanel/ViewTemplateBody\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/ViewTemplateBody/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/ViewTemplateBody/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/ViewTemplateBodyFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/ViewTemplateSubtitle\":{\"title\":\"$:/core/ui/ControlPanel/ViewTemplateSubtitle\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/ViewTemplateSubtitle/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/ViewTemplateSubtitle/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/ViewTemplateSubtitleFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/ViewTemplateTags\":{\"title\":\"$:/core/ui/ControlPanel/ViewTemplateTags\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/ViewTemplateTags/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/ViewTemplateTags/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/ViewTemplateTagsFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/ViewTemplateTitle\":{\"title\":\"$:/core/ui/ControlPanel/ViewTemplateTitle\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/ViewTemplateTitle/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/ViewTemplateTitle/\\n\\n<<lingo Hint>>\\n\\n{{$:/tags/ViewTemplateTitleFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/Cascades\":{\"title\":\"$:/core/ui/ControlPanel/Cascades\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/Cascades/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Cascades/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Cascades]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/StoryTiddler\\\"/>\\n</div>\\n\"},\"$:/core/ui/ControlPanel/EditorTypes\":{\"title\":\"$:/core/ui/ControlPanel/EditorTypes\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/EditorTypes/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/EditorTypes/\\n\\\\whitespace trim\\n\\n<<lingo Hint>>\\n\\n<table>\\n<tbody>\\n<tr>\\n<th><<lingo Type/Caption>></th>\\n<th><<lingo Editor/Caption>></th>\\n</tr>\\n<$list filter=\\\"[all[shadows+tiddlers]prefix[$:/config/EditorTypeMappings/]sort[title]]\\\">\\n<tr>\\n<td>\\n<$link>\\n<$list filter=\\\"[all[current]removeprefix[$:/config/EditorTypeMappings/]]\\\">\\n<$text text={{!!title}}/>\\n</$list>\\n</$link>\\n</td>\\n<td>\\n<$view field=\\\"text\\\"/>\\n</td>\\n</tr>\\n</$list>\\n</tbody>\\n</table>\\n\"},\"$:/core/ui/ControlPanel/Info\":{\"title\":\"$:/core/ui/ControlPanel/Info\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Info/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Info/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Basics\\\" explicitState=\\\"$:/state/tab--2112689675\\\"/>\\n</div>\\n\"},\"$:/core/ui/ControlPanel/KeyboardShortcuts\":{\"title\":\"$:/core/ui/ControlPanel/KeyboardShortcuts\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/KeyboardShortcuts/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/KeyboardShortcuts/\\n\\n\\\\define new-shortcut(title)\\n\\\\whitespace trim\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$edit-shortcut tiddler=\\\"$title$\\\" placeholder={{$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt}} focus=\\\"true\\\" style=\\\"width:auto;\\\"/>\\n&#32;\\n<$button>\\n<<lingo Add/Caption>>\\n<$action-listops\\n\\t$tiddler=\\\"$(shortcutTitle)$\\\"\\n\\t$field=\\\"text\\\"\\n\\t$subfilter=\\\"[{$title$}]\\\"\\n/>\\n<$action-deletetiddler\\n\\t$tiddler=\\\"$title$\\\"\\n/>\\n</$button>\\n</div>\\n\\\\end\\n\\n\\\\define shortcut-list-item(caption)\\n\\\\whitespace trim\\n<td>\\n</td>\\n<td style=\\\"text-align:right;font-size:0.7em;\\\">\\n<<lingo Platform/$caption$>>\\n</td>\\n<td>\\n<div style=\\\"position:relative;\\\">\\n<$button popup=<<qualify \\\"$:/state/dropdown/$(shortcutTitle)$\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/edit-button}}\\n</$button>\\n&#32;\\n<$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/html\\\" shortcuts={{$(shortcutTitle)$}} prefix=\\\"<kbd>\\\" separator=\\\"</kbd> <kbd>\\\" suffix=\\\"</kbd>\\\"/>\\n\\n<$reveal state=<<qualify \\\"$:/state/dropdown/$(shortcutTitle)$\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown tc-popup-keep\\\">\\n<$list\\n\\tfilter=\\\"[list[$(shortcutTitle)$!!text]sort[title]]\\\"\\n\\tvariable=\\\"shortcut\\\"\\n\\temptyMessage=\\\"<div class='tc-dropdown-item-plain'>//<<lingo NoShortcuts/Caption>>//</div>\\\">\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint}}>\\n<$action-listops\\n\\t$tiddler=\\\"$(shortcutTitle)$\\\"\\n\\t$field=\\\"text\\\"\\n\\t$subfilter=\\\"+[remove<shortcut>]\\\"\\n/>\\n<small>{{$:/core/images/close-button}}</small>\\n</$button>\\n&#32;\\n<kbd>\\n<$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/html\\\" shortcuts=<<shortcut>>/>\\n</kbd>\\n</div>\\n</$list>\\n<hr/>\\n<$macrocall $name=\\\"new-shortcut\\\" title=<<qualify \\\"$:/state/new-shortcut/$(shortcutTitle)$\\\">>/>\\n</div>\\n</div>\\n</$reveal>\\n</div>\\n</td>\\n\\\\end\\n\\n\\\\define shortcut-list(caption,prefix)\\n\\\\whitespace trim\\n<tr>\\n<$list filter=\\\"[[$prefix$$(shortcutName)$]]\\\" variable=\\\"shortcutTitle\\\">\\n<<shortcut-list-item \\\"$caption$\\\">>\\n</$list>\\n</tr>\\n\\\\end\\n\\n\\\\define shortcut-editor()\\n\\\\whitespace trim\\n<<shortcut-list \\\"All\\\" \\\"$:/config/shortcuts/\\\">> \\n<<shortcut-list \\\"Mac\\\" \\\"$:/config/shortcuts-mac/\\\">>\\n<<shortcut-list \\\"NonMac\\\" \\\"$:/config/shortcuts-not-mac/\\\">>\\n<<shortcut-list \\\"Linux\\\" \\\"$:/config/shortcuts-linux/\\\">>\\n<<shortcut-list \\\"NonLinux\\\" \\\"$:/config/shortcuts-not-linux/\\\">>\\n<<shortcut-list \\\"Windows\\\" \\\"$:/config/shortcuts-windows/\\\">>\\n<<shortcut-list \\\"NonWindows\\\" \\\"$:/config/shortcuts-not-windows/\\\">>\\n\\\\end\\n\\n\\\\define shortcut-preview()\\n<$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/html\\\" shortcuts={{$(shortcutPrefix)$$(shortcutName)$}} prefix=\\\"<kbd>\\\" separator=\\\"</kbd> <kbd>\\\" suffix=\\\"</kbd>\\\"/>\\n\\\\end\\n\\n\\\\define shortcut-item-inner()\\n\\\\whitespace trim\\n<tr>\\n<td>\\n<$reveal type=\\\"nomatch\\\" state=<<dropdownStateTitle>> text=\\\"open\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<$action-setfield\\n\\t$tiddler=<<dropdownStateTitle>>\\n\\t$value=\\\"open\\\"\\n/>\\n{{$:/core/images/right-arrow}}\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<dropdownStateTitle>> text=\\\"open\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<$action-setfield\\n\\t$tiddler=<<dropdownStateTitle>>\\n\\t$value=\\\"close\\\"\\n/>\\n{{$:/core/images/down-arrow}}\\n</$button>\\n</$reveal>\\n&#32;\\n''<$text text=<<shortcutName>>/>''\\n</td>\\n<td>\\n<$transclude tiddler=\\\"$:/config/ShortcutInfo/$(shortcutName)$\\\"/>\\n</td>\\n<td>\\n<$list filter=\\\"$:/config/shortcuts/ $:/config/shortcuts-mac/ $:/config/shortcuts-not-mac/ $:/config/shortcuts-linux/ $:/config/shortcuts-not-linux/ $:/config/shortcuts-windows/ $:/config/shortcuts-not-windows/\\\" variable=\\\"shortcutPrefix\\\">\\n<<shortcut-preview>>\\n</$list>\\n</td>\\n</tr>\\n<$set name=\\\"dropdownState\\\" value={{$(dropdownStateTitle)$}}>\\n<$list filter=\\\"[<dropdownState>match[open]]\\\" variable=\\\"listItem\\\">\\n<<shortcut-editor>>\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define shortcut-item()\\n\\\\whitespace trim\\n<$set name=\\\"dropdownStateTitle\\\" value=<<qualify \\\"$:/state/dropdown/keyboardshortcut/$(shortcutName)$\\\">>>\\n<<shortcut-item-inner>>\\n</$set>\\n\\\\end\\n\\\\whitespace trim\\n\\n<table>\\n<tbody>\\n<$list filter=\\\"[all[shadows+tiddlers]removeprefix[$:/config/ShortcutInfo/]]\\\" variable=\\\"shortcutName\\\">\\n<<shortcut-item>>\\n</$list>\\n</tbody>\\n</table>\\n\"},\"$:/core/ui/ControlPanel/LoadedModules\":{\"title\":\"$:/core/ui/ControlPanel/LoadedModules\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/LoadedModules/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n<<lingo LoadedModules/Hint>>\\n\\n{{$:/snippets/modules}}\\n\"},\"$:/core/ui/ControlPanel/Modals/AddPlugins\":{\"title\":\"$:/core/ui/ControlPanel/Modals/AddPlugins\",\"subtitle\":\"{{$:/core/images/download-button}} {{$:/language/ControlPanel/Plugins/Add/Caption}}\",\"text\":\"\\\\define install-plugin-actions()\\n\\\\whitespace trim\\n<$action-sendmessage $message=\\\"tm-load-plugin-from-library\\\" url={{!!url}} title={{$(assetInfo)$!!original-title}}/>\\n<$set name=\\\"url\\\" value={{!!url}}>\\n<$set name=\\\"currentTiddler\\\" value=<<assetInfo>>>\\n<$list filter=\\\"[enlist{!!dependents}] [{!!parent-plugin}] +[sort[name]]\\\" variable=\\\"dependency\\\">\\n<$action-sendmessage $message=\\\"tm-load-plugin-from-library\\\" url=<<url>> title=<<dependency>>/>\\n</$list>\\n</$set>\\n</$set>\\n\\\\end\\n\\n\\\\define install-plugin-button()\\n\\\\whitespace trim\\n<div>\\n<$set name=\\\"libraryVersion\\\" value={{{ [<assetInfo>get[version]] }}}>\\n<$set name=\\\"installedVersion\\\" value={{{ [<assetInfo>get[original-title]get[version]] }}}>\\n<$set name=\\\"reinstall-type\\\" value={{{ [<libraryVersion>compare:version:eq<installedVersion>then[tc-reinstall]] [<libraryVersion>compare:version:gt<installedVersion>then[tc-reinstall-upgrade]] [<libraryVersion>compare:version:lt<installedVersion>then[tc-reinstall-downgrade]] }}}>\\n<$button actions=<<install-plugin-actions>> class={{{ [<assetInfo>get[original-title]has[version]then<reinstall-type>] tc-btn-invisible tc-install-plugin +[join[ ]] }}}>\\n{{$:/core/images/download-button}}\\n&#32;\\n<$list filter=\\\"[<assetInfo>get[original-title]get[version]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"{{$:/language/ControlPanel/Plugins/Install/Caption}}\\\">\\n<$list filter=\\\"[<libraryVersion>compare:version:gt<installedVersion>]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\n\\\\whitespace trim\\n<$list filter='[<libraryVersion>compare:version:lt<installedVersion>]' variable='ignore' emptyMessage='{{$:/language/ControlPanel/Plugins/Reinstall/Caption}}'>\\n{{$:/language/ControlPanel/Plugins/Downgrade/Caption}}\\n</$list>\\n\\\">\\n{{$:/language/ControlPanel/Plugins/Update/Caption}}\\n</$list>\\n</$list>\\n</$button>\\n<div>\\n</div>\\n<$reveal stateTitle=<<assetInfo>> stateField=\\\"requires-reload\\\" type=\\\"match\\\" text=\\\"yes\\\">{{$:/language/ControlPanel/Plugins/PluginWillRequireReload}}</$reveal>\\n</$set>\\n</$set>\\n</$set>\\n</div>\\n\\\\end\\n\\n\\\\define popup-state-macro()\\n$:/state/add-plugin-info/$(connectionTiddler)$/$(assetInfo)$\\n\\\\end\\n\\n\\\\define display-plugin-info(type)\\n\\\\whitespace trim\\n<$set name=\\\"popup-state\\\" value=<<popup-state-macro>>>\\n<div class=\\\"tc-plugin-info\\\">\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-toggle\\\">\\n<$reveal type=\\\"nomatch\\\" state=<<popup-state>> text=\\\"yes\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<popup-state>> setTo=\\\"yes\\\">\\n{{$:/core/images/chevron-right}}\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<popup-state>> text=\\\"yes\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<popup-state>> setTo=\\\"no\\\">\\n{{$:/core/images/chevron-down}}\\n</$button>\\n</$reveal>\\n</div>\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n<$list filter=\\\"[<assetInfo>has[icon]]\\\" emptyMessage=\\\"\\\"\\\"<$transclude tiddler=\\\"$:/core/images/plugin-generic-$type$\\\"/>\\\"\\\"\\\">\\n<img src={{$(assetInfo)$!!icon}}/>\\n</$list>\\n</div>\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n<h1><strong><$text text={{{ [<assetInfo>get[name]] ~[<assetInfo>get[original-title]split[/]last[1]] }}}/></strong>:\\n&#32;\\n<$view tiddler=<<assetInfo>> field=\\\"description\\\"/>\\n</h1>\\n<h2><$view tiddler=<<assetInfo>> field=\\\"original-title\\\"/></h2>\\n<div>\\n<%if [<assetInfo>get[stability]match[STABILITY_0_DEPRECATED]] %>\\n\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-deprecated\\\">{{$:/language/ControlPanel/Plugins/Stability/Deprecated}}</span>\\n<%elseif [<assetInfo>get[stability]match[STABILITY_1_EXPERIMENTAL]] %>\\n\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-experimental\\\">{{$:/language/ControlPanel/Plugins/Stability/Experimental}}</span>\\n<%elseif [<assetInfo>get[stability]match[STABILITY_2_STABLE]] %>\\n\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-stable\\\">{{$:/language/ControlPanel/Plugins/Stability/Stable}}</span>\\n<%elseif [<assetInfo>get[stability]match[STABILITY_3_LEGACY]] %>\\n\\t<span class=\\\"tc-plugin-info-stability tc-plugin-info-stability-legacy\\\">{{$:/language/ControlPanel/Plugins/Stability/Legacy}}</span>\\n<%endif%>\\n<em><$view tiddler=<<assetInfo>> field=\\\"version\\\"/></em></div>\\n<$list filter=\\\"[<assetInfo>get[original-title]get[version]]\\\" variable=\\\"installedVersion\\\"><div><em>{{$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint}}</em></div></$list>\\n</div>\\n<div class=\\\"tc-plugin-info-chunk tc-plugin-info-buttons\\\">\\n<<install-plugin-button>>\\n</div>\\n</div>\\n<$set name=\\\"original-title\\\" value={{{ [<assetInfo>get[original-title]] }}}>\\n<$reveal type=\\\"match\\\" text=\\\"yes\\\" state=<<popup-state>>>\\n<div class=\\\"tc-plugin-info-dropdown\\\">\\n<$list filter=\\\"[enlist{!!dependents}] [<currentTiddler>get[parent-plugin]] +[limit[1]] ~[<assetInfo>get[original-title]!is[tiddler]]\\\" variable=\\\"ignore\\\">\\n<div class=\\\"tc-plugin-info-dropdown-message\\\">\\n<$list filter=\\\"[<assetInfo>get[original-title]!is[tiddler]]\\\">\\n{{$:/language/ControlPanel/Plugins/NotInstalled/Hint}}\\n</$list>\\n<$set name=\\\"currentTiddler\\\" value=<<assetInfo>>>\\n<$list filter=\\\"[enlist{!!dependents}] [<currentTiddler>get[parent-plugin]] +[limit[1]]\\\" variable=\\\"ignore\\\">\\n<div>\\n{{$:/language/ControlPanel/Plugins/AlsoRequires}}&#32;\\n<$list filter=\\\"[enlist{!!dependents}] [{!!parent-plugin}] +[sort[name]]\\\" variable=\\\"dependency\\\">\\n<$text text=<<dependency>>/>&#32;\\n</$list>\\n</div>\\n</$list>\\n</$set>\\n</div>\\n</$list>\\n<div class=\\\"tc-plugin-info-dropdown-body\\\">\\n<$transclude tiddler=<<assetInfo>> field=\\\"readme\\\" mode=\\\"block\\\"/>\\n</div>\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin<original-title>limit[1]]\\\" variable=\\\"ignore\\\">\\n<div class=\\\"tc-plugin-info-sub-plugins\\\">\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin<original-title>sort[name]]\\\" variable=\\\"assetInfo\\\">\\n<<display-plugin-info \\\"$type$\\\">>\\n</$list>\\n</div>\\n</$list>\\n</div>\\n</$reveal>\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin<original-title>limit[1]]\\\" variable=\\\"ignore\\\">\\n<$reveal type=\\\"nomatch\\\" text=\\\"yes\\\" state=<<popup-state>> tag=\\\"div\\\" class=\\\"tc-plugin-info-sub-plugin-indicator\\\">\\n<$wikify name=\\\"count\\\" text=\\\"\\\"\\\"<$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin<original-title>]\\\"/>\\\"\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\" set=<<popup-state>> setTo=\\\"yes\\\">\\n{{$:/language/ControlPanel/Plugins/SubPluginPrompt}}\\n</$button>\\n</$wikify>\\n</$reveal>\\n</$list>\\n</$set>\\n</$set>\\n\\\\end\\n\\n\\\\define load-plugin-library-button()\\n\\\\whitespace trim\\n<$list filter=\\\"[<currentTiddler>get[enabled]else[yes]match[yes]]\\\" variable=\\\"ignore\\\">\\n<$button class=\\\"tc-btn-big-green\\\">\\n<$action-sendmessage $message=\\\"tm-load-plugin-library\\\" url={{!!url}} infoTitlePrefix=\\\"$:/temp/RemoteAssetInfo/\\\"/>\\n{{$:/core/images/chevron-right}}&#32;{{$:/language/ControlPanel/Plugins/OpenPluginLibrary}}\\n</$button>\\n</$list>\\n\\\\end\\n\\n\\\\define display-server-assets(type)\\n\\\\whitespace trim\\n{{$:/language/Search/Search}}:\\n&#32;\\n<$edit-text tiddler=\\\"\\\"\\\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\\\"\\\"\\\" default=\\\"\\\" type=\\\"search\\\" tag=\\\"input\\\"/>\\n&#32;\\n<$reveal state=\\\"\\\"\\\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\\\"\\\"\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\">\\n<$action-setfield $tiddler=\\\"\\\"\\\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\\\"\\\"\\\" $field=\\\"text\\\" $value=\\\"\\\"/>\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n<div class=\\\"tc-plugin-library-listing\\\">\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]search:author,description,original-title,readme,title{$:/temp/RemoteAssetSearch/$(currentTiddler)$}sort[name]]\\\" variable=\\\"assetInfo\\\">\\n<$list filter=\\\"[[$:/temp/RemoteAssetSearch/$(currentTiddler)$]has[text]] ~[<assetInfo>!has[parent-plugin]]\\\" variable=\\\"ignore\\\"><!-- Hide sub-plugins if we're not searching -->\\n<<display-plugin-info \\\"$type$\\\">>\\n</$list>\\n</$list>\\n</div>\\n\\\\end\\n\\n\\\\define display-server-connection()\\n\\\\whitespace trim\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/ServerConnection]suffix{!!url}]\\\" variable=\\\"connectionTiddler\\\" emptyMessage=<<load-plugin-library-button>>>\\n\\n<$set name=\\\"transclusion\\\" value=<<connectionTiddler>>>\\n\\n<<tabs \\\"[[$:/core/ui/ControlPanel/Plugins/Add/Updates]] [[$:/core/ui/ControlPanel/Plugins/Add/Plugins]] [[$:/core/ui/ControlPanel/Plugins/Add/Themes]] [[$:/core/ui/ControlPanel/Plugins/Add/Languages]]\\\" \\\"$:/core/ui/ControlPanel/Plugins/Add/Plugins\\\">>\\n\\n</$set>\\n\\n</$list>\\n\\\\end\\n\\n\\\\define close-library-button()\\n\\\\whitespace trim\\n<$reveal type='nomatch' state='$:/temp/ServerConnection/$(PluginLibraryURL)$' text=''>\\n<$button class='tc-btn-big-green'>\\n<$action-sendmessage $message=\\\"tm-unload-plugin-library\\\" url={{!!url}}/>\\n{{$:/core/images/chevron-left}}&#32;{{$:/language/ControlPanel/Plugins/ClosePluginLibrary}}\\n<$action-deletetiddler $filter=\\\"[prefix[$:/temp/ServerConnection/$(PluginLibraryURL)$]][prefix[$:/temp/RemoteAssetInfo/$(PluginLibraryURL)$]]\\\"/>\\n</$button>\\n</$reveal>\\n\\\\end\\n\\n\\\\define plugin-library-listing()\\n\\\\whitespace trim\\n<div class=\\\"tc-tab-set\\\">\\n<$set name=\\\"defaultTab\\\" value={{{ [all[tiddlers+shadows]tag[$:/tags/PluginLibrary]] }}}>\\n<div class=\\\"tc-tab-buttons\\\">\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/PluginLibrary]]\\\">\\n<$button set=<<qualify \\\"$:/state/addplugins/tab\\\">> setTo=<<currentTiddler>> default=<<defaultTab>> selectedClass=\\\"tc-tab-selected\\\">\\n<$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n<$transclude field=\\\"caption\\\"/>\\n</$set>\\n</$button>\\n</$list>\\n</div>\\n<div class=\\\"tc-tab-divider\\\"/>\\n<div class=\\\"tc-tab-content\\\">\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/PluginLibrary]]\\\">\\n<$reveal type=\\\"match\\\" state=<<qualify \\\"$:/state/addplugins/tab\\\">> text=<<currentTiddler>> default=<<defaultTab>>>\\n<h2><$link><$transclude field=\\\"caption\\\"><$view field=\\\"title\\\"/></$transclude></$link></h2>\\n//<$view field=\\\"url\\\"/>//\\n<$transclude mode=\\\"block\\\"/>\\n<$set name=PluginLibraryURL value={{!!url}}>\\n<<close-library-button>>\\n</$set>\\n&#32;\\n<<display-server-connection>>\\n</$reveal>\\n</$list>\\n</div>\\n</$set>\\n</div>\\n\\\\end\\n\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\whitespace trim\\n\\n<div>\\n<<plugin-library-listing>>\\n</div>\\n\"},\"$:/core/ui/ControlPanel/Palette\":{\"title\":\"$:/core/ui/ControlPanel/Palette\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/Palette/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Palette/\\n\\n{{$:/snippets/paletteswitcher}}\\n\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/state/ShowPaletteEditor\\\" text=\\\"yes\\\">\\n\\n<$button set=\\\"$:/state/ShowPaletteEditor\\\" setTo=\\\"yes\\\"><<lingo ShowEditor/Caption>></$button>\\n\\n</$reveal>\\n\\n<$reveal type=\\\"match\\\" state=\\\"$:/state/ShowPaletteEditor\\\" text=\\\"yes\\\">\\n\\n<$button set=\\\"$:/state/ShowPaletteEditor\\\" setTo=\\\"no\\\"><<lingo HideEditor/Caption>></$button>\\n{{$:/PaletteManager}}\\n\\n</$reveal>\\n\\n\"},\"$:/core/ui/ControlPanel/Parsing\":{\"title\":\"$:/core/ui/ControlPanel/Parsing\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/Parsing/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Parsing/\\n\\n\\\\define toggle(Type)\\n\\\\whitespace trim\\n<$checkbox\\ntiddler=\\\"\\\"\\\"$:/config/WikiParserRules/$Type$/$(rule)$\\\"\\\"\\\"\\nfield=\\\"text\\\"\\nchecked=\\\"enable\\\"\\nunchecked=\\\"disable\\\"\\ndefault=\\\"enable\\\">\\n<span class=\\\"tc-small-gap-left\\\"><<rule>></span>\\n</$checkbox>\\n\\\\end\\n\\n\\\\define rules(type,Type)\\n\\\\whitespace trim\\n<$list filter=\\\"[wikiparserrules[$type$]]\\\" variable=\\\"rule\\\">\\n<dd><<toggle $Type$>></dd>\\n</$list>\\n\\\\end\\n\\\\whitespace trim\\n\\n<<lingo Hint>>\\n\\n<dl>\\n<dt><<lingo Pragma/Caption>></dt>\\n<<rules pragma Pragma>>\\n<dt><<lingo Inline/Caption>></dt>\\n<<rules inline Inline>>\\n<dt><<lingo Block/Caption>></dt>\\n<<rules block Block>>\\n</dl>\"},\"$:/core/ui/ControlPanel/Plugins/Add/Languages\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Languages\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Languages/Caption}} (<$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[language]]\\\"/>)\",\"text\":\"<<display-server-assets language>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Add/Plugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Plugins/Caption}} (<$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[plugin]]\\\"/>)\",\"text\":\"<<display-server-assets plugin>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Add/Themes\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Themes\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Themes/Caption}} (<$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[theme]]\\\"/>)\",\"text\":\"<<display-server-assets theme>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Add/Updates\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Updates\",\"caption\":\"<$importvariables filter=\\\"$:/core/ui/ControlPanel/Plugins/Add/Updates\\\">{{$:/language/ControlPanel/Plugins/Updates/Caption}} (<<update-count>>)</$importvariables>\",\"text\":\"\\\\define each-updateable-plugin(body)\\n\\\\whitespace trim\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}sort[title]]\\\" variable=\\\"assetInfo\\\">\\n<$set name=\\\"libraryVersion\\\" value={{{ [<assetInfo>get[version]] }}}>\\n<$list filter=\\\"[<assetInfo>get[original-title]has[version]!version<libraryVersion>]\\\" variable=\\\"ignore\\\">\\n<$set name=\\\"installedVersion\\\" value={{{ [<assetInfo>get[original-title]get[version]] }}}>\\n<$list filter=\\\"[<installedversion>!match<libraryVersion>]\\\" variable=\\\"ignore\\\">\\n$body$\\n</$list>\\n</$set>\\n</$list>\\n</$set>\\n</$list>\\n\\\\end\\n\\n\\\\define update-all-actions()\\n<$macrocall $name=\\\"each-updateable-plugin\\\" body=\\\"\\\"\\\"\\n<<install-plugin-actions>>\\n\\\"\\\"\\\"/>\\n\\\\end\\n\\n\\\\define update-count()\\n<$wikify name=\\\"count-filter\\\" text=<<each-updateable-plugin \\\"&#91;&#91;<$text text=<<assetInfo>>/>]]\\\">>><$count filter=<<count-filter>>/></$wikify>\\n\\\\end\\n\\n\\\\whitespace trim\\n<$button actions=<<update-all-actions>> class=\\\"tc-btn-invisible tc-install-plugin tc-reinstall-upgrade\\\">\\n{{$:/core/images/download-button}}\\n&#32;\\n{{||$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption}}\\n</$button>\\n\\n<div class=\\\"tc-plugin-library-listing\\\">\\n<$macrocall $name=\\\"each-updateable-plugin\\\" body=\\\"\\\"\\\"\\n<$macrocall $name=\\\"display-plugin-info\\\" type={{{ [<assetInfo>get[original-plugin-type]] }}}/>\\n\\\"\\\"\\\"/>\\n</div>\\n\"},\"$:/core/ui/ControlPanel/Plugins/AddPlugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/AddPlugins\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Plugins/\\n\\\\whitespace trim\\n\\n<$button message=\\\"tm-modal\\\" param=\\\"$:/core/ui/ControlPanel/Modals/AddPlugins\\\" tooltip={{$:/language/ControlPanel/Plugins/Add/Hint}} class=\\\"tc-btn-big-green tc-primary-btn\\\">\\n{{$:/core/images/download-button}}\\n&#32;\\n<<lingo Add/Caption>>\\n</$button>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Installed/Languages\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Installed/Languages\",\"tags\":\"$:/tags/ControlPanel/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Languages/Caption}} (<$count filter=\\\"[!has[draft.of]plugin-type[language]]\\\"/>)\",\"text\":\"<<plugin-table language>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\",\"tags\":\"$:/tags/ControlPanel/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Plugins/Caption}} (<$count filter=\\\"[!has[draft.of]plugin-type[plugin]]\\\"/>)\",\"text\":\"<<plugin-table plugin>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Installed/Themes\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Installed/Themes\",\"tags\":\"$:/tags/ControlPanel/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Themes/Caption}} (<$count filter=\\\"[!has[draft.of]plugin-type[theme]]\\\"/>)\",\"text\":\"<<plugin-table theme>>\\n\"},\"$:/core/ui/ControlPanel/Plugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Plugins/\\n\\n\\\\define plugin-table(type)\\n\\\\whitespace trim\\n<$set name=\\\"plugin-type\\\" value=\\\"\\\"\\\"$type$\\\"\\\"\\\">\\n<$set name=\\\"qualified-state\\\" value=<<qualify \\\"$:/state/plugin-info\\\">>>\\n<$list filter=\\\"[!has[draft.of]plugin-type[$type$]sort[name]]\\\" emptyMessage=<<lingo \\\"Empty/Hint\\\">> template=\\\"$:/core/ui/Components/plugin-info\\\"/>\\n</$set>\\n</$set>\\n\\\\end\\n\\n{{$:/core/ui/ControlPanel/Plugins/AddPlugins}}\\n\\n<<lingo Installed/Hint>>\\n\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[tiddlers+shadows]tag[$:/tags/ControlPanel/Plugins]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\\\" explicitState=\\\"$:/state/tab--86143343\\\"/>\\n\"},\"$:/core/ui/ControlPanel/Saving/DownloadSaver\":{\"title\":\"$:/core/ui/ControlPanel/Saving/DownloadSaver\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/DownloadSaver/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Saving/DownloadSaver/\\n\\n<div class=\\\"tc-control-panel-saving\\\" data-setting-title=<<currentTab>>>\\n\\n<<lingo Hint>>\\n\\n!!.tc-control-panel-accent <$link to=\\\"$:/config/DownloadSaver/AutoSave\\\"><<lingo AutoSave/Hint>></$link>\\n\\n<$checkbox tiddler=\\\"$:/config/DownloadSaver/AutoSave\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo AutoSave/Description>></span>\\n</$checkbox>\\n</div>\"},\"$:/core/ui/ControlPanel/Saving/General\":{\"title\":\"$:/core/ui/ControlPanel/Saving/General\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/General/Caption}}\",\"list-before\":\"\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/\\n\\n<div class=\\\"tc-control-panel-saving\\\" data-setting-title=<<currentTab>>>\\n\\n{{$:/language/ControlPanel/Saving/General/Hint}}\\n\\n!!.tc-control-panel-accent <$link to=\\\"$:/config/AutoSave\\\"><<lingo AutoSave/Caption>></$link>\\n\\n<<lingo AutoSave/Hint>>\\n\\n<$radio tiddler=\\\"$:/config/AutoSave\\\" value=\\\"yes\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo AutoSave/Enabled/Description>></span>\\n</$radio>\\n\\n<$radio tiddler=\\\"$:/config/AutoSave\\\" value=\\\"no\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo AutoSave/Disabled/Description>></span>\\n</$radio>\\n</div>\"},\"$:/core/ui/ControlPanel/Saving/GitHub\":{\"title\":\"$:/core/ui/ControlPanel/Saving/GitHub\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/GitService/GitHub/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\\n\\\\define service-name() ~GitHub\\n\\n<<lingo Description>>\\n\\n|<<lingo UserName>> |<$edit-text tiddler=\\\"$:/GitHub/Username\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo GitHub/Password>> |<$password name=\\\"github\\\"/> |\\n|<<lingo Repo>> |<$edit-text tiddler=\\\"$:/GitHub/Repo\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Branch>> |<$edit-text tiddler=\\\"$:/GitHub/Branch\\\" default=\\\"main\\\" tag=\\\"input\\\"/> |\\n|<<lingo Path>> |<$edit-text tiddler=\\\"$:/GitHub/Path\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Filename>> |<$edit-text tiddler=\\\"$:/GitHub/Filename\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo ServerURL>> |<$edit-text tiddler=\\\"$:/GitHub/ServerURL\\\" default=\\\"https://api.github.com\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\"},\"$:/core/ui/ControlPanel/Saving/GitLab\":{\"title\":\"$:/core/ui/ControlPanel/Saving/GitLab\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/GitService/GitLab/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\\n\\\\define service-name() ~GitLab\\n\\n<<lingo Description>>\\n\\n|<<lingo UserName>> |<$edit-text tiddler=\\\"$:/GitLab/Username\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo GitLab/Password>> |<$password name=\\\"gitlab\\\"/> |\\n|<<lingo Repo>> |<$edit-text tiddler=\\\"$:/GitLab/Repo\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Branch>> |<$edit-text tiddler=\\\"$:/GitLab/Branch\\\" default=\\\"master\\\" tag=\\\"input\\\"/> |\\n|<<lingo Path>> |<$edit-text tiddler=\\\"$:/GitLab/Path\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Filename>> |<$edit-text tiddler=\\\"$:/GitLab/Filename\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo ServerURL>> |<$edit-text tiddler=\\\"$:/GitLab/ServerURL\\\" default=\\\"https://gitlab.com/api/v4\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\"},\"$:/core/ui/ControlPanel/Saving/TiddlySpot\":{\"title\":\"$:/core/ui/ControlPanel/Saving/TiddlySpot\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/TiddlySpot/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/TiddlySpot/\\n\\n\\\\define siteURL(path)\\nhttp://$(userName)$.tiddlyspot.com/$path$/\\n\\\\end\\n\\\\define siteLink(path)\\n\\\\whitespace trim\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/UploadName\\\" text=\\\"\\\">\\n<$set name=\\\"userName\\\" value={{$:/UploadName}}>\\n<$reveal type=\\\"match\\\" state=\\\"$:/UploadURL\\\" text=\\\"\\\">\\n<<siteURL $path$>>\\n</$reveal>\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/UploadURL\\\" text=\\\"\\\">\\n<$macrocall $name=resolvePath source={{$:/UploadBackupDir}} root={{$:/UploadURL}}/>\\n</$reveal>\\n</$set>\\n</$reveal>\\n\\\\end\\n\\n<<lingo Description>>\\n\\n|<<lingo UserName>> |<$edit-text tiddler=\\\"$:/UploadName\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Password>> |<$password name=\\\"upload\\\"/> |\\n\\n''<<lingo Advanced/Heading>>''\\n\\n|<<lingo ServerURL>> |<$edit-text tiddler=\\\"$:/UploadURL\\\" default=\\\"\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\\n|<<lingo Filename>> |<$edit-text tiddler=\\\"$:/UploadFilename\\\" default=\\\"index.html\\\" tag=\\\"input\\\"/> |\\n|<<lingo UploadDir>> |<$edit-text tiddler=\\\"$:/UploadDir\\\" default=\\\".\\\" tag=\\\"input\\\"/> |\\n|<<lingo BackupDir>> |<$edit-text tiddler=\\\"$:/UploadBackupDir\\\" default=\\\".\\\" tag=\\\"input\\\"/> |\\n\\n<<lingo TiddlySpot/Hint>>\\n\"},\"$:/core/ui/ControlPanel/Saving/Gitea\":{\"title\":\"$:/core/ui/ControlPanel/Saving/Gitea\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/GitService/Gitea/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\\n\\\\define service-name() Gitea\\n\\n<<lingo Description>>\\n\\n|<<lingo UserName>> |<$edit-text tiddler=\\\"$:/Gitea/Username\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Gitea/Password>> |<$password name=\\\"Gitea\\\"/> |\\n|<<lingo Repo>> |<$edit-text tiddler=\\\"$:/Gitea/Repo\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Branch>> |<$edit-text tiddler=\\\"$:/Gitea/Branch\\\" default=\\\"master\\\" tag=\\\"input\\\"/> |\\n|<<lingo Path>> |<$edit-text tiddler=\\\"$:/Gitea/Path\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo Filename>> |<$edit-text tiddler=\\\"$:/Gitea/Filename\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<<lingo ServerURL>> |<$edit-text tiddler=\\\"$:/Gitea/ServerURL\\\" default=\\\"https://gitea/api/v1\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\\n\"},\"$:/core/ui/ControlPanel/Saving\":{\"title\":\"$:/core/ui/ControlPanel/Saving\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Saving/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Saving/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Saving]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Saving/General\\\" explicitState=\\\"$:/state/tab-2065006209\\\"/>\\n</div>\\n\"},\"$:/core/buttonstyles/Borderless\":{\"title\":\"$:/core/buttonstyles/Borderless\",\"tags\":\"$:/tags/ToolbarButtonStyle\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless}}\",\"text\":\"tc-btn-invisible\"},\"$:/core/buttonstyles/Boxed\":{\"title\":\"$:/core/buttonstyles/Boxed\",\"tags\":\"$:/tags/ToolbarButtonStyle\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed}}\",\"text\":\"tc-btn-boxed\"},\"$:/core/buttonstyles/Rounded\":{\"title\":\"$:/core/buttonstyles/Rounded\",\"tags\":\"$:/tags/ToolbarButtonStyle\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded}}\",\"text\":\"tc-btn-rounded\"},\"$:/core/ui/ControlPanel/Settings/CamelCase\":{\"title\":\"$:/core/ui/ControlPanel/Settings/CamelCase\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/CamelCase/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/CamelCase/\\n\\n<<lingo Hint>>\\n\\n<$checkbox tiddler=\\\"$:/config/WikiParserRules/Inline/wikilink\\\"\\n\\tfield=\\\"text\\\" checked=\\\"enable\\\" unchecked=\\\"disable\\\" default=\\\"enable\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/WikiParserRules/Inline/wikilink\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo Description>>\\n\\t</$link>\\n</$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab\":{\"title\":\"$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab\",\"caption\":\"{{$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption}}\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/DefaultMoreSidebarTab/\\n\\n<$link to=\\\"$:/config/DefaultMoreSidebarTab\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$select tiddler=\\\"$:/config/DefaultMoreSidebarTab\\\" class=\\\"tc-select\\\">\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\\\">\\n\\t\\t<option value=<<currentTiddler>>><$transclude field=\\\"caption\\\">\\n\\t\\t\\t<$text text=<<currentTiddler>>/>\\n\\t\\t\\t</$transclude>\\n\\t\\t</option>\\n\\t</$list>\\n</$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/DefaultSidebarTab\":{\"title\":\"$:/core/ui/ControlPanel/Settings/DefaultSidebarTab\",\"caption\":\"{{$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption}}\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/DefaultSidebarTab/\\n\\\\whitespace trim\\n\\n<$link to=\\\"$:/config/DefaultSidebarTab\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$select tiddler=\\\"$:/config/DefaultSidebarTab\\\" class=\\\"tc-select\\\">\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\\\">\\n\\t\\t<option value=<<currentTiddler>>>\\n\\t\\t\\t<$transclude field=\\\"caption\\\">\\n\\t\\t\\t\\t<$text text=<<currentTiddler>>/>\\n\\t\\t\\t</$transclude>\\n\\t\\t</option>\\n\\t</$list>\\n</$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/DefaultTiddlerInfoTab\":{\"title\":\"$:/core/ui/ControlPanel/Settings/DefaultTiddlerInfoTab\",\"caption\":\"{{$:/language/ControlPanel/Settings/DefaultTiddlerInfoTab/Caption}}\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/DefaultTiddlerInfoTab/\\n\\n<$link to=\\\"$:/config/TiddlerInfo/Default\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$select tiddler=\\\"$:/config/TiddlerInfo/Default\\\" class=\\\"tc-select\\\">\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!is[draft]]\\\">\\n\\t\\t<option value=<<currentTiddler>>><$transclude field=\\\"caption\\\">\\n\\t\\t\\t<$text text=<<currentTiddler>>/>\\n\\t\\t\\t</$transclude>\\n\\t\\t</option>\\n\\t</$list>\\n</$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/EditorToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Settings/EditorToolbar\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/EditorToolbar/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/EditorToolbar/\\n<<lingo Hint>>\\n\\n<$checkbox tiddler=\\\"$:/config/TextEditor/EnableToolbar\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/TextEditor/EnableToolbar\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo Description>>\\n\\t</$link>\\n</$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/InfoPanelMode\":{\"title\":\"$:/core/ui/ControlPanel/Settings/InfoPanelMode\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/InfoPanelMode/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/InfoPanelMode/\\n\\n<$link to=\\\"$:/config/TiddlerInfo/Mode\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$radio tiddler=\\\"$:/config/TiddlerInfo/Mode\\\" value=\\\"popup\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Popup/Description>></span>\\n</$radio>\\n\\n<$radio tiddler=\\\"$:/config/TiddlerInfo/Mode\\\" value=\\\"sticky\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Sticky/Description>></span>\\n</$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/LinkToBehaviour\":{\"title\":\"$:/core/ui/ControlPanel/Settings/LinkToBehaviour\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/LinkToBehaviour/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/LinkToBehaviour/\\n\\n<$link to=\\\"$:/config/Navigation/openLinkFromInsideRiver\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo \\\"InsideRiver/Hint\\\">>\\n</$link>\\n\\n<$select tiddler=\\\"$:/config/Navigation/openLinkFromInsideRiver\\\" class=\\\"tc-select\\\">\\n\\t<option value=\\\"above\\\"><<lingo \\\"OpenAbove\\\">></option>\\n\\t<option value=\\\"below\\\"><<lingo \\\"OpenBelow\\\">></option>\\n\\t<option value=\\\"top\\\"><<lingo \\\"OpenAtTop\\\">></option>\\n\\t<option value=\\\"bottom\\\"><<lingo \\\"OpenAtBottom\\\">></option>\\n</$select>\\n\\n<$link to=\\\"$:/config/Navigation/openLinkFromOutsideRiver\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo \\\"OutsideRiver/Hint\\\">>\\n</$link>\\n\\n<$select tiddler=\\\"$:/config/Navigation/openLinkFromOutsideRiver\\\" class=\\\"tc-select\\\">\\n\\t<option value=\\\"top\\\"><<lingo \\\"OpenAtTop\\\">></option>\\n\\t<option value=\\\"bottom\\\"><<lingo \\\"OpenAtBottom\\\">></option>\\n</$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/MissingLinks\":{\"title\":\"$:/core/ui/ControlPanel/Settings/MissingLinks\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/MissingLinks/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/MissingLinks/\\n<<lingo Hint>>\\n\\n<$checkbox tiddler=\\\"$:/config/MissingLinks\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\">\\n\\t<$link to=\\\"$:/config/MissingLinks\\\" class=\\\"tc-control-panel-item\\\">\\n\\t\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Description>></span>\\n\\t</$link>\\n</$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/NavigationAddressBar\":{\"title\":\"$:/core/ui/ControlPanel/Settings/NavigationAddressBar\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/NavigationAddressBar/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/NavigationAddressBar/\\n\\n<$link to=\\\"$:/config/Navigation/UpdateAddressBar\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$radio tiddler=\\\"$:/config/Navigation/UpdateAddressBar\\\" value=\\\"permaview\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Permaview/Description>></span>\\n</$radio>\\n\\n<$radio tiddler=\\\"$:/config/Navigation/UpdateAddressBar\\\" value=\\\"permalink\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Permalink/Description>></span>\\n</$radio>\\n\\n<$radio tiddler=\\\"$:/config/Navigation/UpdateAddressBar\\\" value=\\\"no\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo No/Description>></span>\\n</$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/NavigationHistory\":{\"title\":\"$:/core/ui/ControlPanel/Settings/NavigationHistory\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/NavigationHistory/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/NavigationHistory/\\n\\n<$link to=\\\"$:/config/Navigation/UpdateHistory\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$radio tiddler=\\\"$:/config/Navigation/UpdateHistory\\\" value=\\\"yes\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Yes/Description>></span>\\n</$radio>\\n\\n<$radio tiddler=\\\"$:/config/Navigation/UpdateHistory\\\" value=\\\"no\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo No/Description>></span>\\n</$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode\":{\"title\":\"$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/NavigationPermalinkviewMode/\\n<<lingo Hint>>\\n\\n<$checkbox tiddler=\\\"$:/config/Navigation/Permalinkview/CopyToClipboard\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/Navigation/Permalinkview/CopyToClipboard\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo CopyToClipboard/Description>>\\n\\t</$link>\\n</$checkbox>\\n\\n<$checkbox tiddler=\\\"$:/config/Navigation/Permalinkview/UpdateAddressBar\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/Navigation/Permalinkview/UpdateAddressBar\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo UpdateAddressBar/Description>>\\n\\t</$link>\\n</$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation\":{\"title\":\"$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/PerformanceInstrumentation/\\n<<lingo Hint>>\\n\\n<$checkbox tiddler=\\\"$:/config/Performance/Instrumentation\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/Performance/Instrumentation\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo Description>>\\n\\t</$link>\\n</$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/RecentLimit\":{\"title\":\"$:/core/ui/ControlPanel/Settings/RecentLimit\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/RecentLimit/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure lingo-base() $:/language/ControlPanel/Settings/RecentLimit/\\n<<lingo Hint>>\\n\\n|tc-table-no-border|k\\n|<$link to=\\\"$:/config/RecentLimit\\\"><<lingo Caption>></$link> |<$edit-text tiddler=\\\"$:/config/RecentLimit\\\" tag=\\\"input\\\" type=\\\"number\\\"/> |\\n\"},\"$:/core/ui/ControlPanel/Settings/TitleLinks\":{\"title\":\"$:/core/ui/ControlPanel/Settings/TitleLinks\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/TitleLinks/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/TitleLinks/\\n\\n<$link to=\\\"$:/config/Tiddlers/TitleLinks\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo Hint>>\\n</$link>\\n\\n<$radio tiddler=\\\"$:/config/Tiddlers/TitleLinks\\\" value=\\\"yes\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo Yes/Description>></span>\\n</$radio>\\n\\n<$radio tiddler=\\\"$:/config/Tiddlers/TitleLinks\\\" value=\\\"no\\\">\\n\\t<span class=\\\"tc-tiny-gap-left\\\"><<lingo No/Description>></span>\\n</$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle\":{\"title\":\"$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtonStyle/\\n\\n<$link to=\\\"$:/config/Toolbar/ButtonClass\\\" class=\\\"tc-control-panel-item\\\">\\n\\t<<lingo \\\"Hint\\\">>\\n</$link>\\n\\n<$select tiddler=\\\"$:/config/Toolbar/ButtonClass\\\" class=\\\"tc-select\\\">\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ToolbarButtonStyle]]\\\">\\n\\t\\t<option value={{!!text}}>{{!!caption}}</option>\\n\\t</$list>\\n</$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/ToolbarButtons\":{\"title\":\"$:/core/ui/ControlPanel/Settings/ToolbarButtons\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtons/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtons/\\n<<lingo Hint>>\\n\\n<$checkbox tiddler=\\\"$:/config/Toolbar/Icons\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/Toolbar/Icons\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo Icons/Description>>\\n\\t</$link>\\n</$checkbox>\\n\\n<$checkbox tiddler=\\\"$:/config/Toolbar/Text\\\"\\n\\tfield=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"\\n\\tclass=\\\"tc-control-panel-item\\\"\\n>\\n\\t<$link to=\\\"$:/config/Toolbar/Text\\\" class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<<lingo Text/Description>>\\n\\t</$link>\\n</$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings\":{\"title\":\"$:/core/ui/ControlPanel/Settings\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Settings/Caption}}\",\"text\":\"<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/SettingsTab]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\\\" explicitState=\\\"$:/state/tab--697582678\\\"/>\\n</div>\"},\"$:/core/ui/ControlPanel/SocialCard\":{\"title\":\"$:/core/ui/ControlPanel/SocialCard\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/SocialCard/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\\n<<lingo SocialCard/Hint>>\\n\\n|<$link to=\\\"$:/SiteTitle\\\"><<lingo Basics/Title/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/SiteSubtitle\\\"><<lingo Basics/Subtitle/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/SiteDomain\\\"><<lingo SocialCard/Domain/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SiteDomain\\\" default=\\\"\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\\n|<$link to=\\\"$:/SiteUrl\\\"><<lingo SocialCard/Url/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SiteUrl\\\" default=\\\"\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\\n|<$link to=\\\"$:/SitePreviewUrl\\\"><<lingo SocialCard/PreviewUrl/Prompt>></$link> |<$edit-text tiddler=\\\"$:/SitePreviewUrl\\\" default=\\\"\\\" tag=\\\"input\\\" type=\\\"url\\\"/> |\\n\\n<%if [[$:/SitePreviewUrl]get[text]else[]!is[blank]] %>\\n<div>\\n<div>\\n<<lingo SocialCard/PreviewUrl/Preview>>\\n</div>\\n<img src={{$:/SitePreviewUrl}}/>\\n</div>\\n<%endif%>\"},\"$:/core/ui/ControlPanel/StoryView\":{\"title\":\"$:/core/ui/ControlPanel/StoryView\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/StoryView/Caption}}\",\"text\":\"{{$:/snippets/viewswitcher}}\\n\"},\"$:/core/ui/ControlPanel/Stylesheets\":{\"title\":\"$:/core/ui/ControlPanel/Stylesheets\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/Stylesheets/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\\n<<lingo Stylesheets/Hint>>\\n\\n{{$:/snippets/peek-stylesheets}}\\n\"},\"$:/core/ui/ControlPanel/TestCases\":{\"title\":\"$:/core/ui/ControlPanel/TestCases\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/TestCases/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/TestCases/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/TestCases]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/TestCases/All\\\"/>\\n</div>\\n\"},\"$:/core/ui/ControlPanel/TestCases/All\":{\"title\":\"$:/core/ui/ControlPanel/TestCases/All\",\"tags\":\"$:/tags/ControlPanel/TestCases\",\"caption\":\"{{$:/language/ControlPanel/TestCases/All/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n<<lingo TestCases/All/Hint>>\\n\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/wiki-test-spec]type[text/vnd.tiddlywiki-multiple]] [all[tiddlers+shadows]tag[$:/tags/wiki-test-spec-failing]type[text/vnd.tiddlywiki-multiple]]\\\">\\n\\n<h2>\\n\\n<$link>\\n\\n<$text text=<<currentTiddler>>/>\\n\\n</$link>\\n\\n</h2>\\n\\n<$transclude\\n\\t$tiddler=\\\"$:/core/ui/TestCaseTemplate\\\"\\n/>\\n\\n</$list>\\n\"},\"$:/core/ui/ControlPanel/TestCases/Failed\":{\"title\":\"$:/core/ui/ControlPanel/TestCases/Failed\",\"tags\":\"$:/tags/ControlPanel/TestCases\",\"caption\":\"{{$:/language/ControlPanel/TestCases/Failed/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n<<lingo TestCases/Failed/Hint>>\\n\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/wiki-test-spec]type[text/vnd.tiddlywiki-multiple]] [all[tiddlers+shadows]tag[$:/tags/wiki-test-spec-failing]type[text/vnd.tiddlywiki-multiple]]\\\">\\n\\n<$transclude\\n\\t$tiddler=\\\"$:/core/ui/TestCaseTemplate\\\"\\n\\thideIfPass=\\\"yes\\\"\\n/>\\n\\n</$list>\\n\"},\"$:/core/ui/ControlPanel/Theme\":{\"title\":\"$:/core/ui/ControlPanel/Theme\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/Theme/Caption}}\",\"text\":\"{{$:/snippets/themeswitcher}}\\n\"},\"$:/core/ui/ControlPanel/TiddlerFields\":{\"title\":\"$:/core/ui/ControlPanel/TiddlerFields\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/TiddlerFields/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\\n<<lingo TiddlerFields/Hint>>\\n\\n{{$:/snippets/allfields}}\"},\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\":{\"title\":\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\",\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"caption\":\"TiddlyWiki\",\"list-before\":\"\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/\\n\\n<<lingo Hint>>\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings]]\\\">\\n\\n<div class=\\\"tc-control-panel-setting\\\" data-setting-title=<<currentTiddler>> >\\n\\n!!.tc-control-panel-accent <$link><$transclude field=\\\"caption\\\"/></$link>\\n\\n<$transclude/>\\n\\n</div>\\n\\n</$list>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/EditToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/EditToolbar\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/EditToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/EditToolbarButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/EditToolbar/Hint}}\\n\\n<$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n<$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n<$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/EditToolbar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n</$set>\\n\\n</$set>\"},\"$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\",\"text\":\"\\\\define config-title()\\n$(config-base)$$(currentTiddler)$\\n\\\\end\\n\\\\whitespace trim\\n\\n<$draggable tiddler=<<currentTiddler>>>\\n<$checkbox tiddler=<<config-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/>\\n&#32;\\n<span class=\\\"tc-icon-wrapper\\\"><$transclude tiddler={{!!icon}}/></span>\\n&#32;\\n<$transclude field=\\\"caption\\\"/>\\n&#32;--&#32;\\n<i class=\\\"tc-muted\\\"><$transclude field=\\\"description\\\"/></i>\\n</$draggable>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/EditorToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/EditorToolbar\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/EditorToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/EditorToolbarButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/EditorToolbar/Hint}}\\n\\n<$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/EditorToolbar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\\\"/>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\",\"text\":\"\\\\define config-title()\\n$(config-base)$$(currentTiddler)$\\n\\\\end\\n\\\\whitespace trim\\n\\n<$draggable tiddler=<<currentTiddler>>>\\n<$checkbox tiddler=<<config-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/>\\n&#32;\\n<span class=\\\"tc-icon-wrapper\\\">\\n&#32;\\n<$transclude field=\\\"caption\\\"/>\\n&#32;\\n<i class=\\\"tc-muted\\\">\\n--&#32;\\n<$transclude field=\\\"description\\\"/>\\n</i></span>\\n</$draggable>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/PageControls\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/PageControls\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/PageControls/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/PageControlButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}\\n\\n<$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n<$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n<$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/PageControls\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n</$set>\\n\\n</$set>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/ViewToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/ViewToolbarButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/ViewToolbar/Hint}}\\n\\n<$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n<$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n<$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/ViewToolbar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n</$set>\\n\\n</$set>\\n\"},\"$:/core/ui/ControlPanel/Toolbars\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Toolbars/Hint}}\\n\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\\\" class=\\\"tc-vertical\\\" explicitState=\\\"$:/state/tabs/controlpanel/toolbars-1345989671\\\"/>\\n</div>\\n\"},\"$:/ControlPanel\":{\"title\":\"$:/ControlPanel\",\"icon\":\"$:/core/images/options-button\",\"color\":\"#bbb\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-control-panel\\\">\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Info\\\" explicitState=\\\"$:/state/tab-1749438307\\\"/>\\n</div>\\n\"},\"$:/core/ui/DefaultSearchResultList\":{\"title\":\"$:/core/ui/DefaultSearchResultList\",\"tags\":\"$:/tags/SearchResults\",\"caption\":\"{{$:/language/Search/DefaultResults/Caption}}\",\"first-search-filter\":\"[!is[system]search:title<userInput>sort[title]limit[250]]\",\"second-search-filter\":\"[!is[system]search<userInput>sort[title]limit[250]]\",\"text\":\"\\\\define searchResultList()\\n\\\\whitespace trim\\n//<small>{{$:/language/Search/Matches/Title}}</small>//\\n\\n<$list filter=\\\"[<userInput>minlength[1]]\\\" variable=\\\"ignore\\\">\\n<$list filter={{{ [<configTiddler>get[first-search-filter]] }}} emptyMessage={{$:/language/Search/Matches/NoResult}}>\\n<span class={{{[<currentTiddler>addsuffix[-primaryList]] -[<searchListState>get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n</span>\\n</$list>\\n</$list>\\n\\n//<small>{{$:/language/Search/Matches/All}}</small>//\\n\\n<$list filter=\\\"[<userInput>minlength[1]]\\\" variable=\\\"ignore\\\">\\n<$list filter={{{ [<configTiddler>get[second-search-filter]] }}} emptyMessage={{$:/language/Search/Matches/NoResult}}>\\n<span class={{{[<currentTiddler>addsuffix[-secondaryList]] -[<searchListState>get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n</span>\\n</$list>\\n</$list>\\n\\n\\\\end\\n<<searchResultList>>\\n\"},\"$:/core/ui/DownloadFullWiki\":{\"title\":\"$:/core/ui/DownloadFullWiki\",\"text\":\"\\\\whitespace trim\\n\\\\rules except wikilink\\n\\nTo download the standard single-file version of your wiki:\\n\\n<$wikify name=\\\"site-title\\\" text={{$:/config/SaveWikiButton/Filename}}>\\n<$let publishFilter=\\\"\\\"\\\"-[[$:/config/SaveWikiButton/Template]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]]\\\"\\\"\\\">\\n<$button tooltip=\\\"Download fully standalone wiki\\\" aria-label=\\\"download full wiki\\\" class=\\\"tc-btn-big-green\\\">\\n<$action-sendmessage $message=\\\"tm-download-file\\\" $param=\\\"$:/core/save/all\\\" publishFilter=<<publishFilter>> filename=<<site-title>>/>\\n{{$:/core/images/download-button}}\\n<span class=\\\"tc-tiny-gap-left\\\">\\nDownload full wiki\\n</span>\\n</$button>\\n</$let>\\n</$wikify>\"},\"$:/core/ui/EditTemplate/body/preview/diffs-current\":{\"title\":\"$:/core/ui/EditTemplate/body/preview/diffs-current\",\"tags\":\"$:/tags/EditPreview\",\"caption\":\"{{$:/language/EditTemplate/Body/Preview/Type/DiffCurrent}}\",\"list-after\":\"$:/core/ui/EditTemplate/body/preview/output\",\"text\":\"<$list filter=\\\"[<currentTiddler>!is[image]]\\\" emptyMessage={{$:/core/ui/EditTemplate/body/preview/output}}>\\n\\n<$macrocall $name=\\\"compareTiddlerText\\\" sourceTiddlerTitle={{!!draft.of}} destTiddlerTitle=<<currentTiddler>>/>\\n\\n</$list>\\n\\n\"},\"$:/core/ui/EditTemplate/body/preview/diffs-shadow\":{\"title\":\"$:/core/ui/EditTemplate/body/preview/diffs-shadow\",\"tags\":\"$:/tags/EditPreview\",\"caption\":\"{{$:/language/EditTemplate/Body/Preview/Type/DiffShadow}}\",\"list-after\":\"$:/core/ui/EditTemplate/body/preview/output\",\"text\":\"<$list filter=\\\"[<currentTiddler>!is[image]]\\\" emptyMessage={{$:/core/ui/EditTemplate/body/preview/output}}>\\n\\n<$macrocall $name=\\\"compareTiddlerText\\\" sourceTiddlerTitle={{{ [{!!draft.of}shadowsource[]] }}} sourceSubTiddlerTitle={{!!draft.of}} destTiddlerTitle=<<currentTiddler>>/>\\n\\n</$list>\\n\\n\"},\"$:/core/ui/EditTemplate/body/preview/output\":{\"title\":\"$:/core/ui/EditTemplate/body/preview/output\",\"tags\":\"$:/tags/EditPreview\",\"caption\":\"{{$:/language/EditTemplate/Body/Preview/Type/Output}}\",\"text\":\"\\\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Macro/View/Body]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View/Body]!is[draft]]\\n<$set name=\\\"tv-tiddler-preview\\\" value=\\\"yes\\\">\\n\\n<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />\\n\\n</$set>\\n\"},\"$:/state/showeditpreview\":{\"title\":\"$:/state/showeditpreview\",\"text\":\"no\"},\"$:/core/ui/EditTemplate/body/canonical-uri\":{\"title\":\"$:/core/ui/EditTemplate/body/canonical-uri\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/Body/\\n\\n<div class=\\\"tc-message-box\\\">\\n\\n<<lingo External/Hint>>\\n\\n<a href={{!!_canonical_uri}}><$text text={{!!_canonical_uri}}/></a>\\n\\n<$edit-text field=\\\"_canonical_uri\\\" class=\\\"tc-edit-fields\\\" tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\"></$edit-text>\\n\\n</div>\\n\"},\"$:/core/ui/EditTemplate/body/default\":{\"title\":\"$:/core/ui/EditTemplate/body/default\",\"text\":\"\\\\function edit-preview-state()\\n[{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[<qualified-preview-state>] +[get[text]] :else[[no]]\\n\\\\end\\n\\n\\\\define config-visibility-title()\\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\\n\\\\end\\n\\n\\\\define importFileActions()\\n<$action-popup $state=<<importState>> $coords=\\\"(0,0,0,0)\\\" $floating=\\\"yes\\\"/>\\n\\\\end\\n\\n\\\\whitespace trim\\n<$let\\n\\tqualified-preview-state=<<qualify \\\"$:/state/showeditpreview\\\">>\\n\\teditPreviewStateTiddler={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[<qualified-preview-state>] }}}\\n\\timportTitle=<<qualify $:/ImportImage>>\\n\\timportState=<<qualify $:/state/ImportImage>> >\\n<$dropzone importTitle=<<importTitle>> autoOpenOnImport=\\\"no\\\" contentTypesFilter={{$:/config/Editor/ImportContentTypesFilter}} class=\\\"tc-dropzone-editor\\\" enable={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}} filesOnly=\\\"yes\\\" actions=<<importFileActions>> >\\n<div>\\n<div class={{{ [<edit-preview-state>match[yes]then[tc-tiddler-preview]else[tc-tiddler-preview-hidden]] [[tc-tiddler-editor]] +[join[ ]] }}}>\\n\\n<$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/editor\\\" mode=\\\"inline\\\"/>\\n\\n<$list filter=\\\"[<editPreviewStateTiddler>get[text]match[yes]]\\\" variable=\\\"ignore\\\">\\n\\n<div class=\\\"tc-tiddler-preview-preview\\\" data-tiddler-title={{!!draft.title}} data-tags={{!!tags}}>\\n\\n<$transclude tiddler={{$:/state/editpreviewtype}} mode=\\\"inline\\\">\\n\\n<$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/preview/output\\\" mode=\\\"inline\\\"/>\\n\\n</$transclude>\\n\\n</div>\\n\\n</$list>\\n\\n</div>\\n\\n</div>\\n\\n</$dropzone>\\n\\n</$let>\\n\"},\"$:/core/ui/EditTemplate/body/editor\":{\"title\":\"$:/core/ui/EditTemplate/body/editor\",\"text\":\"\\\\whitespace trim\\n\\n<$edit\\n\\n field=\\\"text\\\"\\n class=\\\"tc-edit-texteditor tc-edit-texteditor-body\\\"\\n placeholder={{$:/language/EditTemplate/Body/Placeholder}}\\n tabindex={{$:/config/EditTabIndex}}\\n focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}\\n cancelPopups=\\\"yes\\\"\\n fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}\\n\\n><$set\\n\\n name=\\\"targetTiddler\\\"\\n value=<<currentTiddler>>\\n\\n><$list\\n\\n filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\\\"\\n\\n><$reveal\\n\\n type=\\\"nomatch\\\"\\n state=<<config-visibility-title>>\\n text=\\\"hide\\\"\\n class=\\\"tc-text-editor-toolbar-item-wrapper\\\"\\n\\n><$transclude\\n\\n tiddler=\\\"$:/core/ui/EditTemplate/body/toolbar/button\\\"\\n mode=\\\"inline\\\"\\n\\n/></$reveal></$list><$list\\n\\n filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]\\\"\\n\\n><$list\\n\\tfilter={{!!condition}}\\n\\tvariable=\\\"list-condition\\\"\\n><$transclude/>\\n</$list></$list></$set></$edit>\\n\"},\"$:/core/ui/EditTemplate/body/toolbar/button\":{\"title\":\"$:/core/ui/EditTemplate/body/toolbar/button\",\"text\":\"\\\\define toolbar-button-icon()\\n<$list\\n\\n filter=\\\"[all[current]!has[custom-icon]]\\\"\\n variable=\\\"no-custom-icon\\\"\\n\\n><$transclude\\n\\n tiddler={{!!icon}}\\n\\n/></$list>\\n\\\\end\\n\\n\\\\define toolbar-button-tooltip()\\n{{!!description}}<$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/plain\\\" shortcuts={{!!shortcuts}} prefix=\\\"` - [\\\" separator=\\\"] [\\\" suffix=\\\"]`\\\"/>\\n\\\\end\\n\\n\\\\define toolbar-button()\\n<$list\\n\\n filter={{!!condition}}\\n variable=\\\"list-condition\\\"\\n\\n><$wikify\\n\\n name=\\\"tooltip-text\\\"\\n text=<<toolbar-button-tooltip>>\\n mode=\\\"inline\\\"\\n output=\\\"text\\\"\\n\\n><$list\\n\\n filter=\\\"[all[current]!has[dropdown]]\\\"\\n variable=\\\"no-dropdown\\\"\\n\\n><$set name=disabled filter={{!!condition-disabled}}><$button\\n\\n class=\\\"tc-btn-invisible $(buttonClasses)$\\\"\\n tooltip=<<tooltip-text>>\\n actions={{!!actions}}\\n disabled=<<disabled>>\\n\\n><span\\n\\n data-tw-keyboard-shortcut={{{ [<disabled>match[yes]then[]else{!!shortcuts}] }}}\\n\\n/><<toolbar-button-icon>><$transclude\\n\\n tiddler=<<currentTiddler>>\\n field=\\\"text\\\"\\n\\n/></$button></$set></$list><$list\\n\\n filter=\\\"[all[current]has[dropdown]]\\\"\\n variable=\\\"dropdown\\\"\\n\\n><$set\\n\\n name=\\\"dropdown-state\\\"\\n value=<<qualify \\\"$:/state/EditorToolbarDropdown\\\">>\\n\\n><$set name=disabled filter={{!!condition-disabled}}><$button\\n\\n popup=<<dropdown-state>>\\n class=\\\"tc-popup-keep tc-btn-invisible $(buttonClasses)$\\\"\\n selectedClass=\\\"tc-selected\\\"\\n tooltip=<<tooltip-text>>\\n actions={{!!actions}}\\n disabled=<<disabled>>\\n\\n><span\\n\\n data-tw-keyboard-shortcut={{{ [<disabled>match[yes]then[]else{!!shortcuts}] }}}\\n\\n/><<toolbar-button-icon>><$transclude\\n\\n tiddler=<<currentTiddler>>\\n field=\\\"text\\\"\\n\\n/></$button></$set><$reveal\\n\\n state=<<dropdown-state>>\\n type=\\\"popup\\\"\\n position=\\\"below\\\"\\n animate=\\\"yes\\\"\\n tag=\\\"span\\\"\\n\\n><div\\n\\n class=\\\"tc-drop-down tc-popup-keep\\\"\\n\\n><$transclude\\n\\n tiddler={{!!dropdown}}\\n mode=\\\"block\\\"\\n\\n/></div></$reveal></$set></$list></$wikify></$list>\\n\\\\end\\n\\n\\\\define toolbar-button-outer()\\n<$set\\n\\n name=\\\"buttonClasses\\\"\\n value={{!!button-classes}}\\n\\n><<toolbar-button>></$set>\\n\\\\end\\n\\n<<toolbar-button-outer>>\"},\"$:/core/ui/EditTemplate/body\":{\"title\":\"$:/core/ui/EditTemplate/body\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/EditTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/EditTemplate/body/default]] }}} />\\n\"},\"$:/core/ui/EditTemplate/controls\":{\"title\":\"$:/core/ui/EditTemplate/controls\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\define config-title() $:/config/EditToolbarButtons/Visibility/$(listItem)$\\n\\\\whitespace trim\\n<div class=\\\"tc-tiddler-title tc-tiddler-edit-title tc-clearfix\\\">\\n\\t<$view field=\\\"title\\\"/>\\n\\t<span class=\\\"tc-tiddler-controls tc-titlebar\\\">\\n\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}>\\n\\t\\t\\t\\t<$reveal type=\\\"nomatch\\\" state=<<config-title>> text=\\\"hide\\\">\\n\\t\\t\\t\\t\\t<$transclude $tiddler=<<listItem>>/>\\n\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t</$let>\\n\\t\\t</$list>\\n\\t</span>\\n</div>\\n\"},\"$:/core/ui/EditTemplate/fieldEditor/default\":{\"title\":\"$:/core/ui/EditTemplate/fieldEditor/default\",\"text\":\"<$edit-text tiddler=<<currentTiddler>> field=<<currentField>> tag=\\\"input\\\" default=\\\"\\\" class=\\\"tc-edit-texteditor tc-edit-fieldeditor\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}} tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\"/>\"},\"$:/core/ui/EditTemplate/fields\":{\"title\":\"$:/core/ui/EditTemplate/fields\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\procedure lingo-base() $:/language/EditTemplate/\\n\\\\function tf.config-title() [[$:/config/EditTemplateFields/Visibility/]addsuffix[$(currentField)$]substitute[]get[text]]\\n\\n\\\\function tf.config-filter() [[hide]] :except[title<tf.config-title>]\\n\\n<!-- Beware this is duplicated from EditTemplate.tid. For details see bug #7054 -->\\n\\\\procedure get-field-value-tiddler-filter() [subfilter<get-field-editor-filter>sha256[16]addprefix[/]addprefix<newFieldValueTiddlerPrefix>]\\n\\\\procedure get-field-editor-filter() [<newFieldNameTiddler>get[text]else[]] :cascade[all[shadows+tiddlers]tag[$:/tags/FieldEditorFilter]!is[draft]get[text]] :and[!is[blank]else{$:/core/ui/EditTemplate/fieldEditor/default}]\\n\\n\\\\procedure prefix.bracket() [\\n\\\\procedure suffix.bracket() ]\\n\\n\\\\function tf.current-tiddler-new-field-selector() [[data-tiddler-title=]addprefix[$(prefix.bracket)$]substitute[]addsuffix<currentTiddlerCSSescaped>addsuffix[$(suffix.bracket)$]substitute[]] .tc-edit-field-add-name-wrapper input :and[join[ ]]\\n\\n\\\\procedure new-field-actions()\\n\\\\whitespace trim\\n<$action-sendmessage $message=\\\"tm-add-field\\\" $name={{{ [<newFieldNameTiddler>get[text]] }}} $value={{{ [<newFieldNameTiddler>get[text]] :map[subfilter<get-field-value-tiddler-filter>get[text]] }}}/>\\n<$set name=\\\"safeNewFieldValueTiddlerPrefix\\\" value=<<newFieldValueTiddlerPrefix>> emptyValue=<<qualify \\\"$:/temp/NewFieldValue\\\">> >\\n\\t<$action-deletetiddler $filter=\\\"[<newFieldNameTiddler>] [prefix[$:/temp/NewFieldValue]prefix<safeNewFieldValueTiddlerPrefix>] [<storeTitle>] [<searchListState>]\\\"/>\\n</$set>\\n<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=<<tf.current-tiddler-new-field-selector>>/>\\n\\\\end\\n\\n\\\\procedure delete-state-tiddlers() <$action-deletetiddler $filter=\\\"[<newFieldNameTiddler>] [<storeTitle>] [<searchListState>]\\\"/>\\n\\n\\\\procedure cancel-search-actions-inner()\\n\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[<storeTitle>has[text]] [<newFieldNameTiddler>has[text]]\\\"\\n\\tvariable=\\\"ignore\\\"\\n\\temptyMessage=\\\"<<cancel-delete-tiddler-actions 'cancel'>>\\\">\\n<<delete-state-tiddlers>>\\n</$list>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions()\\n\\\\whitespace trim\\n<$set name=\\\"userInput\\\" value={{{ [<storeTitle>get[text]] }}}>\\n<$list\\n\\tfilter=\\\"[<newFieldNameTiddler>get[text]!match<userInput>]\\\"\\n\\temptyMessage=\\\"<<cancel-search-actions-inner>>\\\">\\n<$action-setfield $tiddler=<<newFieldNameTiddler>> text=<<userInput>>/><$action-setfield $tiddler=<<refreshTitle>> text=\\\"yes\\\"/>\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\procedure new-field()\\n\\\\whitespace trim\\n<$vars name={{{ [<newFieldNameTiddler>get[text]] }}}>\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" default=<<name>>>\\n<$button tooltip={{$:/language/EditTemplate/Fields/Add/Button/Hint}}>\\n<$action-sendmessage $message=\\\"tm-add-field\\\"\\n$name=<<name>>\\n$value={{{ [subfilter<get-field-value-tiddler-filter>get[text]] }}}/>\\n<$set name=\\\"safeNewFieldValueTiddlerPrefix\\\" value=<<newFieldValueTiddlerPrefix>> emptyValue=<<qualify \\\"$:/temp/NewFieldValue\\\">> >\\n\\t<$action-deletetiddler $filter=\\\"[<newFieldNameTiddler>] [prefix[$:/temp/NewFieldValue]prefix<safeNewFieldValueTiddlerPrefix>] [<storeTitle>] [<searchListState>]\\\"/>\\n</$set>\\n<<lingo Fields/Add/Button>>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" default=<<name>>>\\n<$button>\\n<<lingo Fields/Add/Button>>\\n</$button>\\n</$reveal>\\n</$vars>\\n\\\\end\\n\\\\whitespace trim\\n\\n<$set name=\\\"newFieldValueTiddlerPrefix\\\" value=<<newFieldValueTiddlerPrefix>> emptyValue=<<qualify \\\"$:/temp/NewFieldValue\\\">> >\\n<div class=\\\"tc-edit-fields\\\">\\n<table class={{{ [all[current]fields[]] :filter[lookup[$:/config/EditTemplateFields/Visibility/]!match[hide]] :and[count[]!match[0]] :and[then[tc-edit-fields]] :else[[tc-edit-fields tc-edit-fields-small]] }}}>\\n<tbody>\\n<$list filter=\\\"[all[current]fields[]] :and[sort[title]]\\\" variable=\\\"currentField\\\" storyview=\\\"pop\\\">\\n<$list filter=<<tf.config-filter>> variable=\\\"temp\\\">\\n<tr class=\\\"tc-edit-field\\\">\\n<td class=\\\"tc-edit-field-name\\\">\\n<$text text=<<currentField>>/>:</td>\\n<td class=\\\"tc-edit-field-value\\\">\\n<$keyboard key=\\\"((delete-field))\\\" actions=\\\"\\\"\\\"<$action-deletefield $field=<<currentField>>/><$set name=\\\"currentTiddlerCSSescaped\\\" value={{{ [<currentTiddler>escapecss[]] }}}><$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=<<tf.current-tiddler-new-field-selector>>/></$set>\\\"\\\"\\\">\\n<$transclude tiddler={{{ [<currentField>] :cascade[all[shadows+tiddlers]tag[$:/tags/FieldEditorFilter]!is[draft]get[text]] :and[!is[blank]else{$:/core/ui/EditTemplate/fieldEditor/default}] }}} />\\n</$keyboard>\\n</td>\\n<td class=\\\"tc-edit-field-remove\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/EditTemplate/Field/Remove/Hint}} aria-label={{$:/language/EditTemplate/Field/Remove/Caption}}>\\n<$action-deletefield $field=<<currentField>>/>\\n{{$:/core/images/delete-button}}\\n</$button>\\n</td>\\n</tr>\\n</$list>\\n</$list>\\n</tbody>\\n</table>\\n</div>\\n\\n<$fieldmangler>\\n<div class=\\\"tc-edit-field-add\\\">\\n<em class=\\\"tc-edit tc-small-gap-right\\\">\\n<<lingo Fields/Add/Prompt>>\\n</em>\\n<$vars refreshTitle=<<qualify \\\"$:/temp/fieldname/refresh\\\">> storeTitle=<<newFieldNameInputTiddler>> searchListState=<<newFieldNameSelectionTiddler>>>\\n<div class=\\\"tc-edit-field-add-name-wrapper\\\">\\n<$transclude $variable=\\\"keyboard-driven-input\\\" tiddler=<<newFieldNameTiddler>> storeTitle=<<storeTitle>> refreshTitle=<<refreshTitle>>\\n\\t\\tselectionStateTitle=<<searchListState>> tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}}\\n\\t\\tfocusPopup=<<qualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-edit-texteditor tc-popup-handle\\\" tabindex={{$:/config/EditTabIndex}}\\n\\t\\tfocus={{{ [{$:/config/AutoFocus}match[fields]then[true]] :else[[false]] }}} cancelPopups=\\\"yes\\\"\\n\\t\\tconfigTiddlerFilter=\\\"[[$:/config/EditMode/fieldname-filter]]\\\" inputCancelActions=<<cancel-search-actions>> />\\n<$button popup=<<qualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-btn-invisible tc-btn-dropdown tc-small-gap\\\" tooltip={{$:/language/EditTemplate/Field/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Field/Dropdown/Caption}}>{{$:/core/images/down-arrow}}</$button>\\n<$reveal state=<<qualify \\\"$:/state/popup/field-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n<$linkcatcher to=<<newFieldNameTiddler>>>\\n<div class=\\\"tc-dropdown-item\\\">\\n<<lingo Fields/Add/Dropdown/User>>\\n</div>\\n<$set name=\\\"newFieldName\\\" value={{{ [<storeTitle>get[text]] }}}>\\n<$list filter=\\\"[!is[shadow]!is[system]fields[]search:title<newFieldName>sort[]] :except[[created]] :except[[creator]] :except[[draft.of]] :except[[draft.title]] :except[[modified]] :except[[modifier]] :except[[tags]] :except[[text]] :except[[title]] :except[[type]]\\\" variable=\\\"currentField\\\">\\n<$list filter=\\\"[<currentField>addsuffix[-primaryList]] :except[<searchListState>get[text]]\\\" emptyMessage=\\\"\\\"\\\"<$link to=<<currentField>> class=\\\"tc-list-item-selected\\\"><$text text=<<currentField>>/></$link>\\\"\\\"\\\">\\n<$link to=<<currentField>>>\\n<$text text=<<currentField>>/>\\n</$link>\\n</$list>\\n</$list>\\n<div class=\\\"tc-dropdown-item\\\">\\n<<lingo Fields/Add/Dropdown/System>>\\n</div>\\n<$list filter=\\\"[fields[]search:title<newFieldName>sort[]] :except[!is[shadow]!is[system]fields[]]\\\" variable=\\\"currentField\\\">\\n<$list filter=\\\"[<currentField>addsuffix[-secondaryList]] :except[<searchListState>get[text]]\\\" emptyMessage=\\\"\\\"\\\"<$link to=<<currentField>> class=\\\"tc-list-item-selected\\\"><$text text=<<currentField>>/></$link>\\\"\\\"\\\">\\n<$link to=<<currentField>>>\\n<$text text=<<currentField>>/>\\n</$link>\\n</$list>\\n</$list>\\n</$set>\\n</$linkcatcher>\\n</$set>\\n</div>\\n</$reveal>\\n</div>\\n<$let currentTiddlerCSSescaped={{{ [<currentTiddler>escapecss[]] }}} currentTiddler={{{ [subfilter<get-field-value-tiddler-filter>] }}} currentField=\\\"text\\\" currentFieldName={{{ [<newFieldNameTiddler>get[text]] }}}>\\n<span class=\\\"tc-edit-field-add-value tc-small-gap-right\\\">\\n<$keyboard key=\\\"((add-field))\\\" actions=<<new-field-actions>>>\\n<$transclude tiddler={{{ [subfilter<get-field-editor-filter>] }}} />\\n</$keyboard>\\n</span>\\n<span class=\\\"tc-edit-field-add-button\\\">\\n<$transclude $variable=\\\"new-field\\\"/>\\n</span>\\n</$let>\\n</$vars>\\n</div>\\n</$fieldmangler>\\n</$set>\"},\"$:/core/ui/EditTemplate/shadow\":{\"title\":\"$:/core/ui/EditTemplate/shadow\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/Shadow/\\n\\\\define pluginLinkBody()\\n\\\\whitespace trim\\n<$link to=\\\"\\\"\\\"$(pluginTitle)$\\\"\\\"\\\">\\n<$text text=\\\"\\\"\\\"$(pluginTitle)$\\\"\\\"\\\"/>\\n</$link>\\n\\\\end\\n\\\\whitespace trim\\n<$list filter=\\\"[all[current]get[draft.of]is[shadow]!is[tiddler]]\\\">\\n\\n<$list filter=\\\"[all[current]shadowsource[]]\\\" variable=\\\"pluginTitle\\\">\\n\\n<$set name=\\\"pluginLink\\\" value=<<pluginLinkBody>>>\\n<div class=\\\"tc-message-box\\\">\\n\\n<<lingo Warning>>\\n\\n</div>\\n</$set>\\n</$list>\\n\\n</$list>\\n\\n<$list filter=\\\"[all[current]get[draft.of]is[shadow]is[tiddler]]\\\">\\n\\n<$list filter=\\\"[all[current]shadowsource[]]\\\" variable=\\\"pluginTitle\\\">\\n\\n<$set name=\\\"pluginLink\\\" value=<<pluginLinkBody>>>\\n<div class=\\\"tc-message-box\\\">\\n\\n<<lingo OverriddenWarning>>\\n\\n</div>\\n</$set>\\n</$list>\\n\\n</$list>\"},\"$:/core/ui/EditTemplate/tags\":{\"title\":\"$:/core/ui/EditTemplate/tags\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure lingo-base() $:/language/EditTemplate/\\n\\n\\\\procedure tag-body-inner(colour,fallbackTarget,colourA,colourB,icon,tagField:\\\"tags\\\")\\n<$wikify name=\\\"foregroundColor\\\"\\n\\ttext=\\\"\\\"\\\"<$macrocall $name=\\\"contrastcolour\\\"\\n\\t\\ttarget=<<colour>>\\n\\t\\tfallbackTarget=<<fallbackTarget>>\\n\\t\\tcolourA=<<colourA>>\\n\\t\\tcolourB=<<colourB>>/>\\n\\t\\\"\\\"\\\"\\n>\\n\\t<$let backgroundColor=<<colour>> >\\n\\t\\t<span class=\\\"tc-tag-label tc-tag-list-item tc-small-gap-right\\\"\\n\\t\\t\\tdata-tag-title=<<currentTiddler>>\\n\\t\\t\\tstyle=`color:$(foregroundColor)$; fill:$(foregroundColor)$; background-color:$(backgroundColor)$;`\\n\\t\\t>\\n\\t\\t\\t<$transclude tiddler=<<icon>>/>\\n\\t\\t\\t<$view field=\\\"title\\\" format=\\\"text\\\"/>\\n\\t\\t\\t<$button class=\\\"tc-btn-invisible tc-remove-tag-button\\\"\\n\\t\\t\\t\\tstyle.fill=<<foregroundColor>>\\n\\t\\t\\t>\\n\\t\\t\\t\\t<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter=\\\"-[{!!title}]\\\"/>\\n\\t\\t\\t\\t{{$:/core/images/close-button}}\\n\\t\\t\\t</$button>\\n\\t\\t</span>\\n\\t</$let>\\n</$wikify>\\n\\\\end\\n\\n\\\\procedure tag-body(colour,palette,icon,tagField:\\\"tags\\\")\\n<$macrocall $name=\\\"tag-body-inner\\\"\\n\\tcolour=`$(colour)$`\\n\\tcolourA={{{ [<palette>getindex[foreground]] }}}\\n\\tcolourB={{{ [<palette>getindex[background]] }}}\\n\\tfallbackTarget={{{ [<palette>getindex[tag-background]] }}}\\n\\ticon=<<icon>>\\n\\ttagField=<<tagField>>\\n/>\\n\\\\end\\n\\n\\\\procedure edit-tags-template(tagField:\\\"tags\\\")\\n<div class=\\\"tc-edit-tags\\\">\\n\\t<$list filter=\\\"[<currentTiddler>get<tagField>enlist-input[]sort[title]]\\\" storyview=\\\"pop\\\">\\n\\t\\t<$macrocall $name=\\\"tag-body\\\"\\n\\t\\t\\tcolour={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t\\t\\tpalette={{$:/palette}}\\n\\t\\t\\ticon={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}\\n\\t\\t\\ttagField=<<tagField>>\\n\\t\\t/>\\n\\t</$list>\\n\\t<$let tabIndex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\">\\n\\t\\t<$macrocall $name=\\\"tag-picker\\\" tagField=<<tagField>>/>\\n\\t</$let>\\n</div>\\n\\\\end\\n<$let saveTiddler=<<currentTiddler>>>\\n\\t<$macrocall $name=\\\"edit-tags-template\\\" tagField=<<tagField>>/>\\n</$let>\\n\"},\"$:/core/ui/EditTemplate/title\":{\"title\":\"$:/core/ui/EditTemplate/title\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\whitespace trim\\n<$edit-text field=\\\"draft.title\\\" class=\\\"tc-titlebar tc-edit-texteditor\\\" focus={{{ [{$:/config/AutoFocus}match[title]then[true]] ~[[false]] }}} tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\"/>\\n\\n<$vars pattern=\\\"\\\"\\\"[\\\\|\\\\[\\\\]{}]\\\"\\\"\\\" bad-chars=\\\"\\\"\\\"`| [ ] { }`\\\"\\\"\\\">\\n\\n<$list filter=\\\"[all[current]regexp:draft.title<pattern>]\\\" variable=\\\"listItem\\\">\\n\\n<div class=\\\"tc-message-box\\\">\\n\\n{{$:/core/images/warning}}&#32;{{$:/language/EditTemplate/Title/BadCharacterWarning}}\\n\\n</div>\\n\\n</$list>\\n\\n</$vars>\\n\\n<$reveal state=\\\"!!draft.title\\\" type=\\\"nomatch\\\" text={{!!draft.of}} tag=\\\"div\\\">\\n\\n<$list filter=\\\"[{!!draft.title}!is[missing]]\\\" variable=\\\"listItem\\\">\\n\\n<div class=\\\"tc-message-box\\\">\\n\\n{{$:/core/images/warning}}&#32;{{$:/language/EditTemplate/Title/Exists/Prompt}}:&#32;<$link to={{!!draft.title}} />\\n\\n</div>\\n\\n</$list>\\n\\n<$list filter=\\\"[{!!draft.of}!is[missing]]\\\" variable=\\\"listItem\\\">\\n\\n<$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>\\n\\n<$checkbox tiddler=\\\"$:/config/RelinkOnRename\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\">&#32;{{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>\\n\\n<$list filter=\\\"[title<fromTitle>backlinks[]limit[1]]\\\" variable=\\\"listItem\\\">\\n\\n<$vars stateTiddler=<<qualify \\\"$:/state/edit/references\\\">> >\\n\\n<$reveal type=\\\"nomatch\\\" state=<<stateTiddler>> text=\\\"show\\\">\\n<$button set=<<stateTiddler>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/right-arrow}}\\n&#32;\\n<<lingo EditTemplate/Title/References/Prompt>></$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<stateTiddler>> text=\\\"show\\\">\\n<$button set=<<stateTiddler>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n&#32;\\n<<lingo EditTemplate/Title/References/Prompt>></$button>\\n</$reveal>\\n\\n<$reveal type=\\\"match\\\" state=<<stateTiddler>> text=\\\"show\\\">\\n<$tiddler tiddler=<<fromTitle>> >\\n<$transclude tiddler=\\\"$:/core/ui/TiddlerInfo/References\\\"/>\\n</$tiddler>\\n</$reveal>\\n\\n</$vars>\\n\\n</$list>\\n\\n</$vars>\\n\\n</$list>\\n\\n</$reveal>\\n\"},\"$:/core/ui/EditTemplate/type\":{\"title\":\"$:/core/ui/EditTemplate/type\",\"tags\":\"$:/tags/EditTemplate\",\"first-search-filter\":\"[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]sort[description]sort[group-sort]removeprefix[$:/language/Docs/Types/]search<userInput>]\",\"text\":\"\\\\procedure lingo-base() $:/language/EditTemplate/\\n\\\\procedure input-cancel-actions() <$list filter=\\\"[<storeTitle>get[text]] [<currentTiddler>get[type]] :and[limit[1]]\\\" emptyMessage=\\\"\\\"\\\"<<cancel-delete-tiddler-actions \\\"cancel\\\">>\\\"\\\"\\\"><$action-sendmessage $message=\\\"tm-remove-field\\\" $param=\\\"type\\\"/><$action-deletetiddler $filter=\\\"[<typeInputTiddler>] [<refreshTitle>] [<typeSelectionTiddler>]\\\"/></$list>\\n\\\\whitespace trim\\n<$set name=\\\"refreshTitle\\\" value=<<qualify \\\"$:/temp/type-search/refresh\\\">>>\\n<div class=\\\"tc-edit-type-selector-wrapper\\\">\\n<em class=\\\"tc-edit tc-small-gap-right\\\"><<lingo Type/Prompt>></em>\\n<div class=\\\"tc-type-selector-dropdown-wrapper\\\">\\n<div class=\\\"tc-type-selector\\\"><$fieldmangler>\\n<$transclude $variable=\\\"keyboard-driven-input\\\" tiddler=<<currentTiddler>> storeTitle=<<typeInputTiddler>> refreshTitle=<<refreshTitle>> selectionStateTitle=<<typeSelectionTiddler>> field=\\\"type\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<<qualify \\\"$:/state/popup/type-dropdown\\\">> class=\\\"tc-edit-typeeditor tc-edit-texteditor tc-popup-handle\\\" tabindex={{$:/config/EditTabIndex}} focus={{{ [{$:/config/AutoFocus}match[type]then[true]] :else[[false]] }}} cancelPopups=\\\"yes\\\" configTiddlerFilter=\\\"[[$:/core/ui/EditTemplate/type]]\\\" inputCancelActions=<<input-cancel-actions>>/><$button popup=<<qualify \\\"$:/state/popup/type-dropdown\\\">> class=\\\"tc-btn-invisible tc-btn-dropdown tc-small-gap\\\" tooltip={{$:/language/EditTemplate/Type/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Type/Dropdown/Caption}}>{{$:/core/images/down-arrow}}</$button><$button message=\\\"tm-remove-field\\\" param=\\\"type\\\" class=\\\"tc-btn-invisible tc-btn-icon\\\" tooltip={{$:/language/EditTemplate/Type/Delete/Hint}} aria-label={{$:/language/EditTemplate/Type/Delete/Caption}}>{{$:/core/images/delete-button}}<$action-deletetiddler $filter=\\\"[<typeInputTiddler>] [<storeTitle>] [<refreshTitle>] [<selectionStateTitle>]\\\"/></$button>\\n</$fieldmangler></div>\\n\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n<$reveal state=<<qualify \\\"$:/state/popup/type-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<$linkcatcher to=\\\"!!type\\\">\\n<$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group-sort]]'>\\n<div class=\\\"tc-dropdown-item\\\">\\n<$text text={{!!group}}/>\\n</div>\\n<$set name=\\\"userInput\\\" value={{{ [<typeInputTiddler>get[text]] }}}>\\n<$list filter=\\\"[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]group{!!group}] :and[sort[description]] :and[removeprefix[$:/language/Docs/Types/]] :and[search<userInput>]\\\"><span class={{{ [<currentTiddler>addsuffix[-primaryList]] :except[<typeSelectionTiddler>get[text]] :and[then[]else[tc-list-item-selected]] }}}><$link to={{{ [<currentTiddler>addprefix[$:/language/Docs/Types/]get[name]] }}}><$view tiddler={{{ [<currentTiddler>addprefix[$:/language/Docs/Types/]] }}} field=\\\"description\\\"/><$text text=\\\" \\\"/>(<$view tiddler={{{ [<currentTiddler>addprefix[$:/language/Docs/Types/]] }}} field=\\\"name\\\"/>)</$link></span>\\n</$list>\\n</$set>\\n</$list>\\n</$linkcatcher>\\n</div>\\n</$reveal>\\n</$set>\\n</div>\\n</div>\\n</div>\\n</$set>\\n\"},\"$:/core/ui/EditTemplate\":{\"title\":\"$:/core/ui/EditTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\define delete-edittemplate-state-tiddlers()\\n<$set name=\\\"safeNewFieldValueTiddlerPrefix\\\" value=<<newFieldValueTiddlerPrefix>> emptyValue=<<qualify \\\"$:/temp/NewFieldValue\\\">> >\\n\\t<$action-deletetiddler $filter=\\\"[<newFieldNameTiddler>] [prefix[$:/temp/NewFieldValue]prefix<safeNewFieldValueTiddlerPrefix>] [<newFieldNameInputTiddler>] [<newFieldNameSelectionTiddler>] [<newTagNameTiddler>] [<newTagNameInputTiddler>] [<newTagNameSelectionTiddler>] [<typeInputTiddler>] [<typeSelectionTiddler>]\\\"/>\\n</$set>\\n\\\\end\\n\\n<!-- Beware this is duplicated from fields.tid. For details see bug #7054 -->\\n\\\\define get-field-value-tiddler-filter() [subfilter<get-field-editor-filter>sha256[16]addprefix[/]addprefix<newFieldValueTiddlerPrefix>]\\n\\\\define get-field-editor-filter() [<newFieldNameTiddler>get[text]else[]] :cascade[all[shadows+tiddlers]tag[$:/tags/FieldEditorFilter]!is[draft]get[text]] :and[!is[blank]else{$:/core/ui/EditTemplate/fieldEditor/default}]\\n\\n\\\\define save-tiddler-actions()\\n\\\\whitespace trim\\n<$action-sendmessage $message=\\\"tm-add-tag\\\" $param={{{ [<newTagNameTiddler>get[text]] }}}/>\\n<$action-sendmessage $message=\\\"tm-add-field\\\" $name={{{ [<newFieldNameTiddler>get[text]] }}} $value={{{ [<newFieldNameTiddler>get[text]] :map[subfilter<get-field-value-tiddler-filter>get[text]] }}}/>\\n<<delete-edittemplate-state-tiddlers>>\\n<$action-sendmessage $message=\\\"tm-save-tiddler\\\"/>\\n\\\\end\\n\\n\\\\define cancel-delete-tiddler-actions(message)\\n\\\\whitespace trim\\n<<delete-edittemplate-state-tiddlers>>\\n<$action-sendmessage $message=\\\"tm-$message$-tiddler\\\"/>\\n\\\\end\\n\\n\\\\whitespace trim\\n<div\\n\\tdata-tiddler-title=<<currentTiddler>>\\n\\tdata-tags={{!!tags}}\\n\\tclass={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/TiddlerTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-tiddler-frame tc-tiddler-edit-frame [<currentTiddler>is[tiddler]then[tc-tiddler-exists]] [<currentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [<currentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [<currentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [<currentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}\\n\\trole=\\\"region\\\"\\n\\taria-label={{$:/language/EditTemplate/Caption}}>\\n<$fieldmangler>\\n<$vars\\n\\tstoryTiddler=<<currentTiddler>>\\n\\tnewTagNameTiddler=<<qualify \\\"$:/temp/NewTagName\\\">>\\n\\tnewFieldNameTiddler=<<qualify \\\"$:/temp/NewFieldName\\\">>\\n\\tnewFieldValueTiddlerPrefix=<<qualify \\\"$:/temp/NewFieldValue\\\">>\\n\\tnewFieldNameInputTiddler=<<qualify \\\"$:/temp/NewFieldName/input\\\">>\\n\\tnewFieldNameSelectionTiddler=<<qualify \\\"$:/temp/NewFieldName/selected-item\\\">>\\n\\tnewTagNameInputTiddler=<<qualify \\\"$:/temp/NewTagName/input\\\">>\\n\\tnewTagNameSelectionTiddler=<<qualify \\\"$:/temp/NewTagName/selected-item\\\">>\\n\\ttypeInputTiddler=<<qualify \\\"$:/temp/Type/input\\\">>\\n\\ttypeSelectionTiddler=<<qualify \\\"$:/temp/Type/selected-item\\\">>>\\n<$keyboard key=\\\"((cancel-edit-tiddler))\\\" actions=<<cancel-delete-tiddler-actions \\\"cancel\\\">> tag=\\\"div\\\">\\n<$keyboard key=\\\"((save-tiddler))\\\" actions=<<save-tiddler-actions>> tag=\\\"div\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n<$transclude tiddler=<<listItem>>/>\\n</$list>\\n</$keyboard>\\n</$keyboard>\\n</$vars>\\n</$fieldmangler>\\n</div>\\n\"},\"$:/core/ui/Buttons/cancel\":{\"title\":\"$:/core/ui/Buttons/cancel\",\"tags\":\"$:/tags/EditToolbar\",\"caption\":\"{{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}\",\"description\":\"{{$:/language/Buttons/Cancel/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button actions=<<cancel-delete-tiddler-actions \\\"cancel\\\">>\\n\\ttooltip={{$:/language/Buttons/Cancel/Hint}}\\n\\taria-label={{$:/language/Buttons/Cancel/Hint}}\\n\\tclass=<<tv-config-toolbar-class>>\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/cancel-button}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Cancel/Caption}}/></span>\\n\\t<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/delete\":{\"title\":\"$:/core/ui/Buttons/delete\",\"tags\":\"$:/tags/EditToolbar $:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}\",\"description\":\"{{$:/language/Buttons/Delete/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button actions=<<cancel-delete-tiddler-actions \\\"delete\\\">>\\n\\ttooltip={{$:/language/Buttons/Delete/Hint}}\\n\\taria-label={{$:/language/Buttons/Delete/Hint}}\\n\\tclass=<<tv-config-toolbar-class>>\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/delete-button}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Delete/Caption}}/></span>\\n\\t<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/save\":{\"title\":\"$:/core/ui/Buttons/save\",\"tags\":\"$:/tags/EditToolbar\",\"caption\":\"{{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}\",\"description\":\"{{$:/language/Buttons/Save/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure save-tiddler-button()\\n<$fieldmangler>\\n\\t<$button\\n\\t\\ttooltip={{$:/language/Buttons/Save/Hint}}\\n\\t\\taria-label={{$:/language/Buttons/Save/Hint}}\\n\\t\\tclass=<<tv-config-toolbar-class>>\\n\\t>\\n\\t\\t<<save-tiddler-actions>>\\n\\t\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t\\t{{$:/core/images/done-button}}\\n\\t\\t<%endif%>\\n\\t\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t\\t<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Save/Caption}}/></span>\\n\\t\\t<%endif%>\\n\\t</$button>\\n</$fieldmangler>\\n\\\\end\\n<<save-tiddler-button>>\\n\"},\"$:/core/ui/EditorToolbar/bold\":{\"title\":\"$:/core/ui/EditorToolbar/bold\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/bold\",\"caption\":\"{{$:/language/Buttons/Bold/Caption}}\",\"description\":\"{{$:/language/Buttons/Bold/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((bold))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"''\\\"\\n\\tsuffix=\\\"''\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/clear-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/clear-dropdown\",\"text\":\"''{{$:/language/Buttons/Clear/Hint}}''\\n\\n<div class=\\\"tc-colour-chooser\\\">\\n\\n<$macrocall $name=\\\"colour-picker\\\" actions=\\\"\\\"\\\"\\n\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-bitmap-operation\\\"\\n\\t$param=\\\"clear\\\"\\n\\tcolour=<<colour-picker-value>>\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n\\\"\\\"\\\"/>\\n\\n</div>\\n\"},\"$:/core/ui/EditorToolbar/clear\":{\"title\":\"$:/core/ui/EditorToolbar/clear\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/erase\",\"caption\":\"{{$:/language/Buttons/Clear/Caption}}\",\"description\":\"{{$:/language/Buttons/Clear/Hint}}\",\"condition\":\"[<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/clear-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/editor-height-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/editor-height-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/EditorHeight/\\n''<<lingo Hint>>''\\n\\n<$radio tiddler=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" value=\\\"auto\\\"> {{$:/core/images/auto-height}} <<lingo Caption/Auto>></$radio>\\n\\n<$radio tiddler=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" value=\\\"fixed\\\"> {{$:/core/images/fixed-height}} <<lingo Caption/Fixed>> <$edit-text tag=\\\"input\\\" tiddler=\\\"$:/config/TextEditor/EditorHeight/Height\\\" default=\\\"100px\\\"/></$radio>\\n\"},\"$:/core/ui/EditorToolbar/editor-height\":{\"title\":\"$:/core/ui/EditorToolbar/editor-height\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/fixed-height\",\"custom-icon\":\"yes\",\"caption\":\"{{$:/language/Buttons/EditorHeight/Caption}}\",\"description\":\"{{$:/language/Buttons/EditorHeight/Hint}}\",\"condition\":\"[<targetTiddler>type[]] [<targetTiddler>get[type]prefix[text/]] [<targetTiddler>get[type]match[application/javascript]] [<targetTiddler>get[type]match[application/json]] [<targetTiddler>get[type]match[application/x-tiddler-dictionary]] [<targetTiddler>get[type]match[image/svg+xml]] +[first[]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/editor-height-dropdown\",\"text\":\"\\\\whitespace trim\\n<$reveal tag=\\\"span\\\" state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"fixed\\\">\\n{{$:/core/images/fixed-height}}\\n</$reveal>\\n<$reveal tag=\\\"span\\\" state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"auto\\\">\\n{{$:/core/images/auto-height}}\\n</$reveal>\\n\"},\"$:/core/ui/EditorToolbar/excise-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/excise-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Excise/\\n\\n\\\\define body(config-title)\\n\\\\whitespace trim\\n''<<lingo Hint>>''\\n\\n<<lingo Caption/NewTitle>>&#32;<$edit-text tag=\\\"input\\\" tiddler=\\\"$config-title$/new-title\\\" default=\\\"\\\" focus=\\\"true\\\"/>\\n\\n<$set name=\\\"new-title\\\" value={{$config-title$/new-title}}>\\n<$list filter=\\\"\\\"\\\"[<new-title>is[tiddler]]\\\"\\\"\\\">\\n<div class=\\\"tc-error\\\">\\n<<lingo Caption/TiddlerExists>>\\n</div>\\n</$list>\\n</$set>\\n\\n<$checkbox tiddler=\\\"\\\"\\\"$config-title$/tagnew\\\"\\\"\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"false\\\">&#32;<<lingo Caption/Tag>></$checkbox>\\n\\n<<lingo Caption/Replace>>&#32;<$select tiddler=\\\"\\\"\\\"$config-title$/type\\\"\\\"\\\" default=\\\"transclude\\\">\\n<option value=\\\"link\\\"><<lingo Caption/Replace/Link>></option>\\n<option value=\\\"transclude\\\"><<lingo Caption/Replace/Transclusion>></option>\\n<option value=\\\"macro\\\"><<lingo Caption/Replace/Macro>></option>\\n</$select>\\n\\n<$reveal state=\\\"\\\"\\\"$config-title$/type\\\"\\\"\\\" type=\\\"match\\\" text=\\\"macro\\\">\\n<<lingo Caption/MacroName>>&#32;<$edit-text tag=\\\"input\\\" tiddler=\\\"\\\"\\\"$config-title$/macro-title\\\"\\\"\\\" default=\\\"translink\\\"/>\\n</$reveal>\\n\\n<$button>\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"excise\\\"\\n\\ttitle={{$config-title$/new-title}}\\n\\ttype={{$config-title$/type}}\\n\\tmacro={{$config-title$/macro-title}}\\n\\ttagnew={{$config-title$/tagnew}}\\n/>\\n<$action-deletetiddler\\n\\t$tiddler=\\\"$config-title$/new-title\\\"\\n/>\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n<<lingo Caption/Excise>>\\n</$button>\\n\\\\end\\n\\n<$macrocall $name=\\\"body\\\" config-title=<<qualify \\\"$:/state/Excise/\\\">>/>\\n\"},\"$:/core/ui/EditorToolbar/excise\":{\"title\":\"$:/core/ui/EditorToolbar/excise\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/excise\",\"caption\":\"{{$:/language/Buttons/Excise/Caption}}\",\"description\":\"{{$:/language/Buttons/Excise/Hint}}\",\"condition\":\"[<targetTiddler>type[]] [<targetTiddler>type[text/vnd.tiddlywiki]] [<targetTiddler>type[text/markdown]] [<targetTiddler>type[text/x-markdown]] +[first[]]\",\"shortcuts\":\"((excise))\",\"dropdown\":\"$:/core/ui/EditorToolbar/excise-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/file-import\":{\"title\":\"$:/core/ui/EditorToolbar/file-import\",\"tags\":\"$:/tags/EditorTools\",\"condition\":\"[<targetTiddler>filter{$:/config/Editor/EnableImportFilter}]\",\"text\":\"\\\\procedure lingo-base() $:/language/Import/\\n\\n\\\\procedure closePopupActions()\\n<$action-deletetiddler $filter=\\\"[title<importState>] [title<importTitle>]\\\"/>\\n\\\\end closePopupActions\\n\\n\\\\procedure tw5-ImageTemplate() [img[$(currentTiddler)$]]\\n\\\\procedure tw5-FileTemplate() [[$(currentTiddler)$]]\\n\\n<!-- The following characters must be escaped in markdown: <>()\\\\ -->\\n\\\\function escape.title() [search-replace:g:regexp[\\\\(|\\\\)|<|>|\\\\\\\\],[\\\\$&]]\\n\\\\procedure markdown-ImageTemplate() ![](<#${ [<currentTiddler>escape.title[]] }$>)\\n\\\\procedure markdown-FileTemplate() [](<#${ [<currentTiddler>escape.title[]] }$>)\\n\\n\\\\function is.markdown.tiddler() [all[]type[text/x-markdown]] [all[]type[text/markdown]]\\n\\\\function is.image() [get[type]prefix[image]]\\n\\\\function get.markdown.link() [is.image[]then<markdown-ImageTemplate>else<markdown-FileTemplate>]\\n\\\\function get.tw5.link() [is.image[]then<tw5-ImageTemplate>else<tw5-FileTemplate>] \\n\\\\function get.link.template() [<storyTiddler>is.markdown.tiddler[]then<get.markdown.link>else<get.tw5.link>]\\n\\n\\\\procedure postImportActions()\\n\\\\whitespace trim\\n<$list filter=\\\"[<importTitle>links[]] :reduce[get.link.template[]substitute[]addprefix<accumulator>]\\\" variable=\\\"imageTitle\\\">\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"insert-text\\\"\\n\\ttext=<<imageTitle>>\\n/>\\n</$list>\\n<<closePopupActions>>\\n\\\\end postImportActions\\n\\n\\\\procedure buttons()\\n\\\\whitespace trim\\n<$button class=\\\"tc-btn-invisible\\\" actions=<<closePopupActions>> ><<lingo Listing/Cancel/Caption>></$button>\\n&#32;\\n<$button class=\\\"tc-btn-invisible\\\" message=\\\"tm-perform-import\\\" param=<<importTitle>> actions=<<postImportActions>> ><<lingo Listing/Import/Caption>></$button>\\n\\\\end buttons\\n\\n\\\\whitespace trim\\n<$reveal type=\\\"popup\\\" state=<<importState>> tag=\\\"div\\\" class=\\\"tc-editor-importpopup\\\">\\n<div class=\\\"tc-editor-import\\\">\\n<$list filter=\\\"[<importTitle>field:plugin-type[import]]\\\">\\n<h2><<lingo Editor/Import/Heading>></h2>\\n<$tiddler tiddler=<<importTitle>>>\\n{{||$:/core/ui/ImportListing}}\\n<<buttons>>\\n</$tiddler>\\n</$list>\\n</div>\\n</$reveal>\"},\"$:/core/ui/EditorToolbar/heading-1\":{\"title\":\"$:/core/ui/EditorToolbar/heading-1\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-1\",\"caption\":\"{{$:/language/Buttons/Heading1/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading1/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((heading-1))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"1\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-2\":{\"title\":\"$:/core/ui/EditorToolbar/heading-2\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-2\",\"caption\":\"{{$:/language/Buttons/Heading2/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading2/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-2))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"2\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-3\":{\"title\":\"$:/core/ui/EditorToolbar/heading-3\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-3\",\"caption\":\"{{$:/language/Buttons/Heading3/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading3/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-3))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"3\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-4\":{\"title\":\"$:/core/ui/EditorToolbar/heading-4\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-4\",\"caption\":\"{{$:/language/Buttons/Heading4/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading4/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-4))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"4\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-5\":{\"title\":\"$:/core/ui/EditorToolbar/heading-5\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-5\",\"caption\":\"{{$:/language/Buttons/Heading5/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading5/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-5))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"5\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-6\":{\"title\":\"$:/core/ui/EditorToolbar/heading-6\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-6\",\"caption\":\"{{$:/language/Buttons/Heading6/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading6/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-6))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"6\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/italic\":{\"title\":\"$:/core/ui/EditorToolbar/italic\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/italic\",\"caption\":\"{{$:/language/Buttons/Italic/Caption}}\",\"description\":\"{{$:/language/Buttons/Italic/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((italic))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"//\\\"\\n\\tsuffix=\\\"//\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/line-width-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/line-width-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/LineWidth/\\n\\n\\\\define toolbar-line-width-inner()\\n<$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(line-width)$\\\"\\\"\\\">\\n\\n<$action-setfield\\n\\t$tiddler=\\\"$:/config/BitmapEditor/LineWidth\\\"\\n\\t$value=\\\"$(line-width)$\\\"\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n<div style=\\\"display: inline-block; margin: 4px calc(80px - $(line-width)$); background-color: #000; width: calc(100px + $(line-width)$ * 2); height: $(line-width)$; border-radius: 120px; vertical-align: middle;\\\"/>\\n\\n<span style=\\\"margin-left: 8px;\\\">\\n\\n<$text text=\\\"\\\"\\\"$(line-width)$\\\"\\\"\\\"/>\\n\\n<$reveal state=\\\"$:/config/BitmapEditor/LineWidth\\\" type=\\\"match\\\" text=\\\"\\\"\\\"$(line-width)$\\\"\\\"\\\" tag=\\\"span\\\">\\n\\n<$entity entity=\\\"&nbsp;\\\"/>\\n\\n<$entity entity=\\\"&#x2713;\\\"/>\\n\\n</$reveal>\\n\\n</span>\\n\\n</$button>\\n\\\\end\\n\\n''<<lingo Hint>>''\\n\\n<$list filter={{$:/config/BitmapEditor/LineWidths}} variable=\\\"line-width\\\">\\n\\n<<toolbar-line-width-inner>>\\n\\n</$list>\\n\"},\"$:/core/ui/EditorToolbar/line-width\":{\"title\":\"$:/core/ui/EditorToolbar/line-width\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/line-width\",\"caption\":\"{{$:/language/Buttons/LineWidth/Caption}}\",\"description\":\"{{$:/language/Buttons/LineWidth/Hint}}\",\"condition\":\"[<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/line-width-dropdown\",\"text\":\"<$text text={{$:/config/BitmapEditor/LineWidth}}/>\\n\"},\"$:/core/ui/EditorToolbar/link-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/link-dropdown\",\"text\":\"\\\\procedure lingo-base() $:/language/Buttons/Link/\\n\\n\\\\procedure add-link-actions()\\n\\\\whitespace trim\\n<$action-sendmessage $message=\\\"tm-edit-text-operation\\\" $param=\\\"make-link\\\" text={{{ [<linkTiddler>get[text]] }}} />\\n<$action-deletetiddler $filter=\\\"[<dropdown-state>] [<searchTiddler>] [<linkTiddler>] [<storeTitle>] [<searchListState>]\\\"/>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions-inner()\\n<$let userInput={{{ [<storeTitle>get[text]] }}}><$list filter=\\\"[<searchTiddler>get[text]!match<userInput>]\\\" emptyMessage=\\\"<$action-deletetiddler $filter='[<searchTiddler>] [<linkTiddler>] [<storeTitle>] [<searchListState>]'/>\\\"><$action-setfield $tiddler=<<searchTiddler>> text=<<userInput>>/><$action-setfield $tiddler=<<refreshTitle>> text=\\\"yes\\\"/></$list></$let>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions() <$list filter=\\\"[<storeTitle>!has[text]] :and[<searchTiddler>!has[text]]\\\" emptyMessage=\\\"<<cancel-search-actions-inner>>\\\"><$action-sendmessage $message=\\\"tm-edit-text-operation\\\" $param=\\\"focus-editor\\\"/></$list>\\n\\n\\\\procedure external-link()\\n\\\\whitespace trim\\n<$button class=\\\"tc-btn-invisible tc-btn-mini\\\" style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\" actions=<<add-link-actions>>>\\n{{$:/core/images/chevron-right}}\\n</$button>\\n\\\\end\\n\\n\\\\procedure set-next-input-tab() <$transclude $variable=\\\"change-input-tab-after\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"<$action-setfield $tiddler='$:/state/search/currentTab' text=<<nextTab>>/>\\\"/>\\n\\n\\\\procedure set-previous-input-tab() <$transclude $variable=\\\"change-input-tab-before\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"<$action-setfield $tiddler='$:/state/search/currentTab' text=<<nextTab>>/>\\\"/>\\n\\n\\\\procedure body(config-title)\\n\\\\whitespace trim\\n''<<lingo Hint>>''\\n\\n<$let searchTiddler=`$(config-title)$/search` linkTiddler=`$(config-title)$/link` linktext=\\\"\\\" searchListState=<<qualify \\\"$:/temp/link-search/selected-item\\\">> refreshTitle=<<qualify \\\"$:/temp/link-search/refresh\\\">> storeTitle=<<qualify \\\"$:/temp/link-search/input\\\">>>\\n\\n<$let linkTiddler=<<searchTiddler>>>\\n<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>>>\\n<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-previous-input-tab>> class=\\\"tc-create-wikitext-link\\\">\\n<$transclude $variable=\\\"keyboard-driven-input\\\" tiddler=<<searchTiddler>> storeTitle=<<storeTitle>>\\n\\t\\tselectionStateTitle=<<searchListState>> refreshTitle=<<refreshTitle>> type=\\\"search\\\" filterMinLength=\\\"1\\\"\\n\\t\\ttag=\\\"input\\\" focus=\\\"true\\\" class=\\\"tc-popup-handle\\\" inputCancelActions=<<cancel-search-actions>>\\n\\t\\tinputAcceptActions=<<add-link-actions>> placeholder={{$:/language/Search/Search}} default=\\\"\\\"\\n\\t\\tconfigTiddlerFilter=\\\"[[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}]\\\" />\\n</$keyboard>\\n</$keyboard>\\n&#32;\\n<$reveal tag=\\\"span\\\" state=<<storeTitle>> type=\\\"nomatch\\\" text=\\\"\\\">\\n<<external-link>>\\n&#32;\\n<$button class=\\\"tc-btn-invisible tc-btn-mini\\\" style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\">\\n<<cancel-search-actions>><$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=`[data-tiddler-title=${[<storyTiddler>escapecss[]]}$] .tc-create-wikitext-link input`/>\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n</$let>\\n\\n<$reveal tag=\\\"div\\\" state=<<storeTitle>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n<$linkcatcher actions=<<add-link-actions>> to=<<linkTiddler>>>\\n\\n<$let userInput={{{ [<storeTitle>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}}>\\n\\n{{$:/core/ui/SearchResults}}\\n\\n</$let>\\n\\n</$linkcatcher>\\n\\n</$reveal>\\n\\n</$let>\\n\\n\\\\end\\n\\n<$transclude $variable=\\\"body\\\" config-title=<<qualify \\\"$:/state/Link/\\\">>/>\"},\"$:/core/ui/EditorToolbar/link\":{\"title\":\"$:/core/ui/EditorToolbar/link\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/link\",\"caption\":\"{{$:/language/Buttons/Link/Caption}}\",\"description\":\"{{$:/language/Buttons/Link/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((link))\",\"dropdown\":\"$:/core/ui/EditorToolbar/link-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/linkify\":{\"title\":\"$:/core/ui/EditorToolbar/linkify\",\"caption\":\"{{$:/language/Buttons/Linkify/Caption}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"description\":\"{{$:/language/Buttons/Linkify/Hint}}\",\"icon\":\"$:/core/images/linkify\",\"list-before\":\"$:/core/ui/EditorToolbar/mono-block\",\"shortcuts\":\"((linkify))\",\"tags\":\"$:/tags/EditorToolbar\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"[[\\\"\\n\\tsuffix=\\\"]]\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/list-bullet\":{\"title\":\"$:/core/ui/EditorToolbar/list-bullet\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/list-bullet\",\"caption\":\"{{$:/language/Buttons/ListBullet/Caption}}\",\"description\":\"{{$:/language/Buttons/ListBullet/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((list-bullet))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"*\\\"\\n\\tcount=\\\"1\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/list-number\":{\"title\":\"$:/core/ui/EditorToolbar/list-number\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/list-number\",\"caption\":\"{{$:/language/Buttons/ListNumber/Caption}}\",\"description\":\"{{$:/language/Buttons/ListNumber/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((list-number))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"#\\\"\\n\\tcount=\\\"1\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/mono-block\":{\"title\":\"$:/core/ui/EditorToolbar/mono-block\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/mono-block\",\"caption\":\"{{$:/language/Buttons/MonoBlock/Caption}}\",\"description\":\"{{$:/language/Buttons/MonoBlock/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((mono-block))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-lines\\\"\\n\\tprefix=\\\"\\n```\\\"\\n\\tsuffix=\\\"```\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/mono-line\":{\"title\":\"$:/core/ui/EditorToolbar/mono-line\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/mono-line\",\"caption\":\"{{$:/language/Buttons/MonoLine/Caption}}\",\"description\":\"{{$:/language/Buttons/MonoLine/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((mono-line))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"`\\\"\\n\\tsuffix=\\\"`\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/more-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/more-dropdown\",\"text\":\"\\\\define config-title()\\n$:/config/EditorToolbarButtons/Visibility/$(toolbarItem)$\\n\\\\end\\n\\n\\\\define conditional-button()\\n\\\\whitespace trim\\n<$list filter={{$(toolbarItem)$!!condition}} variable=\\\"condition\\\">\\n<$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/toolbar/button\\\" mode=\\\"inline\\\"/>\\n&#32;\\n<$transclude tiddler=<<toolbarItem>> field=\\\"description\\\"/>\\n</$list>\\n\\\\end\\n\\\\whitespace trim\\n\\n<div class=\\\"tc-text-editor-toolbar-more\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]] -[[$:/core/ui/EditorToolbar/more]]\\\">\\n<$reveal type=\\\"match\\\" state=<<config-visibility-title>> text=\\\"hide\\\" tag=\\\"div\\\">\\n<<conditional-button>>\\n</$reveal>\\n</$list>\\n</div>\\n\"},\"$:/core/ui/EditorToolbar/more\":{\"title\":\"$:/core/ui/EditorToolbar/more\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/down-arrow\",\"caption\":\"{{$:/language/Buttons/More/Caption}}\",\"description\":\"{{$:/language/Buttons/More/Hint}}\",\"condition\":\"[<targetTiddler>]\",\"dropdown\":\"$:/core/ui/EditorToolbar/more-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/opacity-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/opacity-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Opacity/\\n\\n\\\\define toolbar-opacity-inner()\\n<$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(opacity)$\\\"\\\"\\\">\\n\\n<$action-setfield\\n\\t$tiddler=\\\"$:/config/BitmapEditor/Opacity\\\"\\n\\t$value=\\\"$(opacity)$\\\"\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n<div style=\\\"display: inline-block; vertical-align: middle; background-color: $(current-paint-colour)$; opacity: $(opacity)$; width: 1em; height: 1em; border-radius: 50%;\\\"/>\\n\\n<span style=\\\"margin-left: 8px;\\\">\\n\\n<$text text=\\\"\\\"\\\"$(opacity)$\\\"\\\"\\\"/>\\n\\n<$reveal state=\\\"$:/config/BitmapEditor/Opacity\\\" type=\\\"match\\\" text=\\\"\\\"\\\"$(opacity)$\\\"\\\"\\\" tag=\\\"span\\\">\\n\\n<$entity entity=\\\"&nbsp;\\\"/>\\n\\n<$entity entity=\\\"&#x2713;\\\"/>\\n\\n</$reveal>\\n\\n</span>\\n\\n</$button>\\n\\\\end\\n\\n\\\\define toolbar-opacity()\\n''<<lingo Hint>>''\\n\\n<$list filter={{$:/config/BitmapEditor/Opacities}} variable=\\\"opacity\\\">\\n\\n<<toolbar-opacity-inner>>\\n\\n</$list>\\n\\\\end\\n\\n<$set name=\\\"current-paint-colour\\\" value={{$:/config/BitmapEditor/Colour}}>\\n\\n<$set name=\\\"current-opacity\\\" value={{$:/config/BitmapEditor/Opacity}}>\\n\\n<<toolbar-opacity>>\\n\\n</$set>\\n\\n</$set>\\n\"},\"$:/core/ui/EditorToolbar/opacity\":{\"title\":\"$:/core/ui/EditorToolbar/opacity\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/opacity\",\"caption\":\"{{$:/language/Buttons/Opacity/Caption}}\",\"description\":\"{{$:/language/Buttons/Opacity/Hint}}\",\"condition\":\"[<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/opacity-dropdown\",\"text\":\"<$text text={{$:/config/BitmapEditor/Opacity}}/>\\n\"},\"$:/core/ui/EditorToolbar/paint-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/paint-dropdown\",\"text\":\"''{{$:/language/Buttons/Paint/Hint}}''\\n\\n<$macrocall $name=\\\"colour-picker\\\" actions=\\\"\\\"\\\"\\n\\n<$action-setfield\\n\\t$tiddler=\\\"$:/config/BitmapEditor/Colour\\\"\\n\\t$value=<<colour-picker-value>>\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n\\\"\\\"\\\"/>\\n\"},\"$:/core/ui/EditorToolbar/paint\":{\"title\":\"$:/core/ui/EditorToolbar/paint\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/paint\",\"caption\":\"{{$:/language/Buttons/Paint/Caption}}\",\"description\":\"{{$:/language/Buttons/Paint/Hint}}\",\"condition\":\"[<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/paint-dropdown\",\"text\":\"\\\\define toolbar-paint()\\n<div style=\\\"display: inline-block; vertical-align: middle; background-color: $(colour-picker-value)$; width: 1em; height: 1em; border-radius: 50%;\\\"/>\\n\\\\end\\n\\\\whitespace trim\\n<$set name=\\\"colour-picker-value\\\" value={{$:/config/BitmapEditor/Colour}}>\\n<<toolbar-paint>>\\n</$set>\\n\"},\"$:/core/ui/EditorToolbar/picture-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/picture-dropdown\",\"text\":\"\\\\define replacement-text()\\n[img[$(imageTitle)$]]\\n\\\\end\\n\\n''{{$:/language/Buttons/Picture/Hint}}''\\n\\n<$macrocall $name=\\\"image-picker\\\" actions=\\\"\\\"\\\"\\n\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"replace-selection\\\"\\n\\ttext=<<replacement-text>>\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n\\\"\\\"\\\"/>\\n\"},\"$:/core/ui/EditorToolbar/picture\":{\"title\":\"$:/core/ui/EditorToolbar/picture\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/picture\",\"caption\":\"{{$:/language/Buttons/Picture/Caption}}\",\"description\":\"{{$:/language/Buttons/Picture/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((picture))\",\"dropdown\":\"$:/core/ui/EditorToolbar/picture-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/preview-type-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/preview-type-dropdown\",\"text\":\"\\\\define preview-type-button()\\n<$button tag=\\\"a\\\">\\n\\n<$action-setfield $tiddler=\\\"$:/state/editpreviewtype\\\" $value=\\\"$(previewType)$\\\"/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n<$transclude tiddler=<<previewType>> field=\\\"caption\\\" mode=\\\"inline\\\">\\n\\n<$view tiddler=<<previewType>> field=\\\"title\\\" mode=\\\"inline\\\"/>\\n\\n</$transclude> \\n\\n<$reveal tag=\\\"span\\\" state=\\\"$:/state/editpreviewtype\\\" type=\\\"match\\\" text=<<previewType>> default=\\\"$:/core/ui/EditTemplate/body/preview/output\\\">\\n\\n<$entity entity=\\\"&nbsp;\\\"/>\\n\\n<$entity entity=\\\"&#x2713;\\\"/>\\n\\n</$reveal>\\n\\n</$button>\\n\\\\end\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditPreview]!has[draft.of]]\\\" variable=\\\"previewType\\\">\\n\\n<<preview-type-button>>\\n\\n</$list>\\n\"},\"$:/core/ui/EditorToolbar/preview-type\":{\"title\":\"$:/core/ui/EditorToolbar/preview-type\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/chevron-down\",\"caption\":\"{{$:/language/Buttons/PreviewType/Caption}}\",\"description\":\"{{$:/language/Buttons/PreviewType/Hint}}\",\"condition\":\"[all[shadows+tiddlers]tag[$:/tags/EditPreview]!has[draft.of]butfirst[]limit[1]]\",\"button-classes\":\"tc-text-editor-toolbar-item-adjunct\",\"dropdown\":\"$:/core/ui/EditorToolbar/preview-type-dropdown\"},\"$:/core/ui/EditorToolbar/preview\":{\"title\":\"$:/core/ui/EditorToolbar/preview\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/preview-open\",\"custom-icon\":\"yes\",\"caption\":\"{{$:/language/Buttons/Preview/Caption}}\",\"description\":\"{{$:/language/Buttons/Preview/Hint}}\",\"condition\":\"[<targetTiddler>]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((preview))\",\"text\":\"\\\\whitespace trim\\n<span>\\n\\t<$transclude $tiddler={{{ [<edit-preview-state>match[yes]then[$:/core/images/preview-open]else[$:/core/images/preview-closed]] }}} />\\n</span>\\n<$action-setfield $tiddler=<<editPreviewStateTiddler>> $value={{{ [<editPreviewStateTiddler>get[text]toggle[yes],[no]] }}} />\\n<$action-sendmessage $message=\\\"tm-edit-text-operation\\\" $param=\\\"focus-editor\\\"/>\\n\"},\"$:/core/ui/EditorToolbar/quote\":{\"title\":\"$:/core/ui/EditorToolbar/quote\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/quote\",\"caption\":\"{{$:/language/Buttons/Quote/Caption}}\",\"description\":\"{{$:/language/Buttons/Quote/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((quote))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-lines\\\"\\n\\tprefix=\\\"\\n<<<\\\"\\n\\tsuffix=\\\"<<<\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/rotate-left\":{\"title\":\"$:/core/ui/EditorToolbar/rotate-left\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/rotate-left\",\"caption\":\"{{$:/language/Buttons/RotateLeft/Caption}}\",\"description\":\"{{$:/language/Buttons/RotateLeft/Hint}}\",\"condition\":\"[<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-bitmap-operation\\\"\\n\\t$param=\\\"rotate-left\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/size-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/size-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Size/\\n\\n\\\\define toolbar-button-size-preset(config-title)\\n<$set name=\\\"width\\\" filter=\\\"$(sizePair)$ +[first[]]\\\">\\n\\n<$set name=\\\"height\\\" filter=\\\"$(sizePair)$ +[last[]]\\\">\\n\\n<$button tag=\\\"a\\\">\\n\\n<$action-setfield\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-width\\\"\\\"\\\"\\n\\t$value=<<width>>\\n/>\\n\\n<$action-setfield\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-height\\\"\\\"\\\"\\n\\t$value=<<height>>\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/presets-popup\\\"\\\"\\\"\\n/>\\n\\n<$text text=<<width>>/> &times; <$text text=<<height>>/>\\n\\n</$button>\\n\\n</$set>\\n\\n</$set>\\n\\\\end\\n\\n\\\\define toolbar-button-size(config-title)\\n\\\\whitespace trim\\n''{{$:/language/Buttons/Size/Hint}}''\\n\\n<<lingo Caption/Width>>&#32;<$edit-text tag=\\\"input\\\" tiddler=\\\"\\\"\\\"$config-title$/new-width\\\"\\\"\\\" default=<<tv-bitmap-editor-width>> focus=\\\"true\\\" size=\\\"8\\\"/>\\n&#32;\\n<<lingo Caption/Height>>&#32;<$edit-text tag=\\\"input\\\" tiddler=\\\"\\\"\\\"$config-title$/new-height\\\"\\\"\\\" default=<<tv-bitmap-editor-height>> size=\\\"8\\\"/>\\n&#32;\\n<$button popup=\\\"\\\"\\\"$config-title$/presets-popup\\\"\\\"\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\" style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\" selectedClass=\\\"tc-selected\\\">\\n{{$:/core/images/down-arrow}}\\n</$button>\\n\\n<$reveal tag=\\\"span\\\" state=\\\"\\\"\\\"$config-title$/presets-popup\\\"\\\"\\\" type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\\n<div class=\\\"tc-drop-down tc-popup-keep\\\">\\n\\n<$list filter={{$:/config/BitmapEditor/ImageSizes}} variable=\\\"sizePair\\\">\\n\\n<$macrocall $name=\\\"toolbar-button-size-preset\\\" config-title=\\\"$config-title$\\\"/>\\n\\n</$list>\\n\\n</div>\\n\\n</$reveal>\\n\\n<$button>\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-bitmap-operation\\\"\\n\\t$param=\\\"resize\\\"\\n\\twidth={{$config-title$/new-width}}\\n\\theight={{$config-title$/new-height}}\\n/>\\n<$action-deletetiddler\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-width\\\"\\\"\\\"\\n/>\\n<$action-deletetiddler\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-height\\\"\\\"\\\"\\n/>\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n<<lingo Caption/Resize>>\\n</$button>\\n\\\\end\\n\\n<$macrocall $name=\\\"toolbar-button-size\\\" config-title=<<qualify \\\"$:/state/Size/\\\">>/>\\n\"},\"$:/core/ui/EditorToolbar/size\":{\"title\":\"$:/core/ui/EditorToolbar/size\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/size\",\"caption\":\"{{$:/language/Buttons/Size/Caption}}\",\"description\":\"{{$:/language/Buttons/Size/Hint}}\",\"condition\":\"[<targetTiddler>is[image]] -[<targetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/size-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/StampDropdown/ItemTemplate\":{\"title\":\"$:/core/ui/EditorToolbar/StampDropdown/ItemTemplate\",\"text\":\"<$linkcatcher actions=\\\"\\\"\\\"\\n\\n<$list filter=\\\"[<modifier>!match[ctrl]]\\\" variable=\\\"ignore\\\">\\n\\n<$list filter=\\\"[<currentTiddler>addsuffix[/prefix]!is[tiddler]!is[shadow]removesuffix[/prefix]addsuffix[/suffix]!is[tiddler]!is[shadow]]\\\" variable=\\\"ignore\\\">\\n\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"replace-selection\\\"\\n\\ttext={{{ [<currentTiddler>get[text]] }}}\\n/>\\n\\n</$list>\\n\\n\\n<$list filter=\\\"[<currentTiddler>addsuffix[/prefix]] [<currentTiddler>addsuffix[/suffix]] +[is[shadow]] :else[is[tiddler]] +[limit[1]]\\\" variable=\\\"ignore\\\">\\n\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix={{{ [<currentTiddler>addsuffix[/prefix]get[text]] }}}\\n\\tsuffix={{{ [<currentTiddler>addsuffix[/suffix]get[text]] }}}\\n/>\\n\\n</$list>\\n\\n</$list>\\n\\n<$list filter=\\\"[<modifier>match[ctrl]]\\\" variable=\\\"ignore\\\">\\n\\n<$action-sendmessage $message=\\\"tm-edit-tiddler\\\"/>\\n\\n</$list>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n\\\"\\\"\\\">\\n\\n<$link tooltip={{{ [<currentTiddler>get[description]] }}}>\\n\\n<$transclude tiddler=<<currentTiddler>> field=\\\"caption\\\" mode=\\\"inline\\\">\\n\\n<$view tiddler=<<currentTiddler>> field=\\\"title\\\" />\\n\\n</$transclude>\\n\\n</$link>\\n\\n</$linkcatcher>\\n\"},\"$:/core/ui/EditorToolbar/stamp-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/stamp-dropdown\",\"text\":\"<$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/TextEditor/Snippet\\\" subFilter=\\\"!is[draft]\\\" itemTemplate=\\\"$:/core/ui/EditorToolbar/StampDropdown/ItemTemplate\\\"/>\\n\\n----\\n\\n<$button tag=\\\"a\\\">\\n\\n<$action-sendmessage\\n\\t$message=\\\"tm-new-tiddler\\\"\\n\\ttags=\\\"$:/tags/TextEditor/Snippet\\\"\\n\\tcaption={{$:/language/Buttons/Stamp/New/Title}}\\n\\ttext={{$:/language/Buttons/Stamp/New/Text}}\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n\\n<em>\\n\\n<$text text={{$:/language/Buttons/Stamp/Caption/New}}/>\\n\\n</em>\\n\\n</$button>\\n\"},\"$:/core/ui/EditorToolbar/stamp\":{\"title\":\"$:/core/ui/EditorToolbar/stamp\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/stamp\",\"caption\":\"{{$:/language/Buttons/Stamp/Caption}}\",\"description\":\"{{$:/language/Buttons/Stamp/Hint}}\",\"condition\":\"[<targetTiddler>type[]] [<targetTiddler>get[type]prefix[text/]] [<targetTiddler>get[type]match[application/javascript]] [<targetTiddler>get[type]match[application/json]] [<targetTiddler>get[type]match[application/x-tiddler-dictionary]] [<targetTiddler>get[type]match[image/svg+xml]] +[first[]]\",\"shortcuts\":\"((stamp))\",\"dropdown\":\"$:/core/ui/EditorToolbar/stamp-dropdown\",\"button-classes\":\"tc-editortoolbar-stamp-button\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/strikethrough\":{\"title\":\"$:/core/ui/EditorToolbar/strikethrough\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/strikethrough\",\"caption\":\"{{$:/language/Buttons/Strikethrough/Caption}}\",\"description\":\"{{$:/language/Buttons/Strikethrough/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((strikethrough))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"~~\\\"\\n\\tsuffix=\\\"~~\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/subscript\":{\"title\":\"$:/core/ui/EditorToolbar/subscript\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/subscript\",\"caption\":\"{{$:/language/Buttons/Subscript/Caption}}\",\"description\":\"{{$:/language/Buttons/Subscript/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((subscript))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\",,\\\"\\n\\tsuffix=\\\",,\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/superscript\":{\"title\":\"$:/core/ui/EditorToolbar/superscript\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/superscript\",\"caption\":\"{{$:/language/Buttons/Superscript/Caption}}\",\"description\":\"{{$:/language/Buttons/Superscript/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((superscript))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"^^\\\"\\n\\tsuffix=\\\"^^\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/transcludify\":{\"title\":\"$:/core/ui/EditorToolbar/transcludify\",\"caption\":\"{{$:/language/Buttons/Transcludify/Caption}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"description\":\"{{$:/language/Buttons/Transcludify/Hint}}\",\"icon\":\"$:/core/images/transcludify\",\"list-before\":\"$:/core/ui/EditorToolbar/mono-block\",\"shortcuts\":\"((transcludify))\",\"tags\":\"$:/tags/EditorToolbar\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"{{\\\"\\n\\tsuffix=\\\"}}\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/underline\":{\"title\":\"$:/core/ui/EditorToolbar/underline\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/underline\",\"caption\":\"{{$:/language/Buttons/Underline/Caption}}\",\"description\":\"{{$:/language/Buttons/Underline/Hint}}\",\"condition\":\"[<targetTiddler>!has[type]] [<targetTiddler>get[type]prefix[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((underline))\",\"text\":\"<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"__\\\"\\n\\tsuffix=\\\"__\\\"\\n\\ttrimSelection=\\\"yes\\\"\\n/>\\n\"},\"$:/core/ui/ExportTiddlyWikiCore\":{\"title\":\"$:/core/ui/ExportTiddlyWikiCore\",\"text\":\"\\\\define jsFileName() tiddlywikicore-$(version)$.js\\n\\\\define noExportMsg()\\nIt appears that you have a wiki with an external ~TiddlyWiki core. The export action cannot be performed.\\n<p>You will need to view the page source in your browser. Then go to the very bottom the the source, find the last `<script>` \\nelement, and right-click its `src` URI. Save the link as ''$(jsFileName)$''</p>\\n\\\\end\\n\\n''For advanced users''\\n\\nExport the ~TiddlyWiki core ~JavaScript code for running with external ~JavaScript:\\n\\n<$button tooltip=\\\"Export the ~TiddlyWiki core code for running with external ~JavaScript\\\" aria-label=\\\"export TiddlyWiki core\\\" class=\\\"tc-btn-big-green\\\">\\n<$list filter=\\\"[[$:/boot/boot.js]is[missing]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\\"\\\"<$action-sendmessage $message=\\\"tm-download-file\\\" $param=\\\"$:/core/templates/tiddlywiki5.js\\\" filename=<<jsFileName>> type=\\\"application/javascript\\\"/>\\\"\\\"\\\" >\\n<$action-setfield $tiddler=<<qualify \\\"$:/temp/alert\\\">> text=<<noExportMsg>> subtitle=\\\"Export ~TiddllyWiki Core\\\"/>\\n<$action-sendmessage $message=\\\"tm-modal\\\" $param=<<qualify \\\"$:/temp/alert\\\">>/>\\n</$list>\\n{{$:/core/images/download-button}} Download ~TiddlyWiki core\\n</$button>\\n\\n[[Further information|https://tiddlywiki.com/#Using%20the%20external%20JavaScript%20template]]\\n\"},\"$:/core/Filters/AllTags\":{\"title\":\"$:/core/Filters/AllTags\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[tags[]!is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/AllTags}}\",\"text\":\"\"},\"$:/core/Filters/AllTiddlers\":{\"title\":\"$:/core/Filters/AllTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[!is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/AllTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/Drafts\":{\"title\":\"$:/core/Filters/Drafts\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[has[draft.of]sort[title]]\",\"description\":\"{{$:/language/Filters/Drafts}}\",\"text\":\"\"},\"$:/core/Filters/Missing\":{\"title\":\"$:/core/Filters/Missing\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[missing]sort[title]]\",\"description\":\"{{$:/language/Filters/Missing}}\",\"text\":\"\"},\"$:/core/Filters/Orphans\":{\"title\":\"$:/core/Filters/Orphans\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[orphans]sort[title]]\",\"description\":\"{{$:/language/Filters/Orphans}}\",\"text\":\"\"},\"$:/core/Filters/OverriddenShadowTiddlers\":{\"title\":\"$:/core/Filters/OverriddenShadowTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[is[shadow]]\",\"description\":\"{{$:/language/Filters/OverriddenShadowTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/RecentSystemTiddlers\":{\"title\":\"$:/core/Filters/RecentSystemTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[has[modified]!sort[modified]limit[50]]\",\"description\":\"{{$:/language/Filters/RecentSystemTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/RecentTiddlers\":{\"title\":\"$:/core/Filters/RecentTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[!is[system]has[modified]!sort[modified]limit[50]]\",\"description\":\"{{$:/language/Filters/RecentTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/SessionTiddlers\":{\"title\":\"$:/core/Filters/SessionTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[haschanged[]]\",\"description\":\"{{$:/language/Filters/SessionTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/ShadowTiddlers\":{\"title\":\"$:/core/Filters/ShadowTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[shadows]sort[title]]\",\"description\":\"{{$:/language/Filters/ShadowTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/StoryList\":{\"title\":\"$:/core/Filters/StoryList\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[list[$:/StoryList]] -$:/AdvancedSearch\",\"description\":\"{{$:/language/Filters/StoryList}}\",\"text\":\"\"},\"$:/core/Filters/SystemTags\":{\"title\":\"$:/core/Filters/SystemTags\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[shadows+tiddlers]tags[]is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/SystemTags}}\",\"text\":\"\"},\"$:/core/Filters/SystemTiddlers\":{\"title\":\"$:/core/Filters/SystemTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/SystemTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/TypedTiddlers\":{\"title\":\"$:/core/Filters/TypedTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]\",\"description\":\"{{$:/language/Filters/TypedTiddlers}}\",\"text\":\"\"},\"$:/core/ui/ImportListing\":{\"title\":\"$:/core/ui/ImportListing\",\"text\":\"\\\\define lingo-base() $:/language/Import/\\n\\n\\\\define messageField() message-$(payloadTiddler)$\\n\\n\\\\define payloadTitleFilter() [<currentTiddler>get<renameField>minlength[1]else<payloadTiddler>]\\n\\n\\\\define overWriteWarning()\\n\\\\whitespace trim\\n<$list filter=\\\"[<currentTiddler>!has<suppressedField>]\\\">\\n<$text text={{{[subfilter<payloadTitleFilter>!is[tiddler]then[]] ~[<lingo-base>addsuffix[Listing/Rename/OverwriteWarning]get[text]]}}}/>\\n</$list>\\n\\\\end\\n\\n\\\\define selectionInfo()\\n\\\\whitespace trim\\n<$set name=\\\"escUnselected\\\" value={{{[{$:/language/Import/Upgrader/Tiddler/Unselected}escaperegexp[]addprefix[(?g)]]}}}>\\n\\t<$list filter=\\\"[all[current]get<messageField>regexp<escUnselected>]\\\" variable=\\\"ignore\\\">\\n\\t\\t<$text text={{{[all[current]get<selectionField>match[checked]then{$:/language/Import/Upgrader/Tiddler/Selected}else[]]}}}/>\\n\\t</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define libraryInfo()\\n\\\\whitespace trim\\n<$set name=\\\"escUnselected\\\" value={{{[{$:/language/Import/Upgrader/Tiddler/Unselected}escaperegexp[]addprefix[(?g)]]}}}>\\n\\t<$list filter=\\\"[all[current]get<messageField>!regexp<escUnselected>]\\\" variable=\\\"ignore\\\">\\n\\t\\t<$text text={{{[all[current]get<messageField>]}}}/>\\n\\t</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define selectionField() selection-$(payloadTiddler)$\\n\\n\\\\define renameField() rename-$(payloadTiddler)$\\n\\n\\\\define suppressedField() suppressed-$(payloadTiddler)$\\n\\n\\\\define newImportTitleTiddler() $:/temp/NewImportTitle-$(payloadTiddler)$\\n\\n\\\\define previewPopupState() $(currentTiddler)$!!popup-$(payloadTiddler)$\\n\\n\\\\define renameFieldState() $(currentTiddler)$!!state-rename-$(payloadTiddler)$\\n\\n\\\\define select-all-actions()\\n\\\\whitespace trim\\n<$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" variable=\\\"payloadTiddler\\\">\\n<$action-setfield $field={{{ [<payloadTiddler>addprefix[selection-]] }}} $value={{$:/state/import/select-all}}/>\\n</$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n<div class=\\\"tc-table-wrapper\\\">\\n<table class=\\\"tc-import-table\\\">\\n<tbody>\\n<tr>\\n<th align=\\\"left\\\">\\n<$checkbox tiddler=\\\"$:/state/import/select-all\\\" field=\\\"text\\\" checked=\\\"checked\\\" unchecked=\\\"unchecked\\\" default=\\\"checked\\\" actions=<<select-all-actions>>>\\n&#32;\\n<<lingo Listing/Select/Caption>>\\n</$checkbox>\\n</th>\\n<th>\\n<<lingo Listing/Title/Caption>>\\n</th>\\n<th>\\n<<lingo Listing/Status/Caption>>\\n</th>\\n</tr>\\n<$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" variable=\\\"payloadTiddler\\\">\\n<tr class={{{[<currentTiddler>has<suppressedField>then[tc-row-disabled]] ~[subfilter<payloadTitleFilter>is[tiddler]then[tc-row-warning]] }}}>\\n<td>\\n<$checkbox field=<<selectionField>> checked=\\\"checked\\\" unchecked=\\\"unchecked\\\" default=\\\"checked\\\" disabled={{{[<currentTiddler>has<suppressedField>then[yes]else[no]]}}}/>\\n</td>\\n<td>\\n<$reveal type=\\\"nomatch\\\" state=<<renameFieldState>> text=\\\"yes\\\" tag=\\\"div\\\">\\n<$reveal type=\\\"nomatch\\\" state=<<previewPopupState>> text=\\\"yes\\\" tag=\\\"div\\\" class=\\\"tc-flex\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown tc-flex-grow-1 tc-word-break\\\" set=<<previewPopupState>> setTo=\\\"yes\\\" disabled={{{[<currentTiddler>has<suppressedField>then[yes]else[no]]}}}>\\n<span class=\\\"tc-small-gap-right\\\">{{$:/core/images/right-arrow}}</span><$text text={{{[subfilter<payloadTitleFilter>]}}}/>\\n</$button>\\n<$list filter=\\\"[<currentTiddler>!has<suppressedField>]\\\"><$button class=\\\"tc-btn-invisible\\\" set=<<renameFieldState>> setTo=\\\"yes\\\" tooltip={{{[<lingo-base>addsuffix[Listing/Rename/Tooltip]get[text]]}}}>{{$:/core/images/edit-button}}</$button></$list>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<previewPopupState>> text=\\\"yes\\\" tag=\\\"div\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<previewPopupState>> setTo=\\\"no\\\">\\n<span class=\\\"tc-small-gap-right\\\">{{$:/core/images/down-arrow}}</span><$text text={{{[subfilter<payloadTitleFilter>]}}}/>\\n</$button>\\n</$reveal>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<renameFieldState>> text=\\\"yes\\\" tag=\\\"div\\\">\\n<$text text={{{[<lingo-base>addsuffix[Listing/Rename/Prompt]get[text]]}}}/>\\n</$reveal>\\n</td>\\n<td>\\n<<selectionInfo>>\\n&#32;\\n<<libraryInfo>>\\n&#32;\\n<<overWriteWarning>>\\n</td>\\n</tr>\\n<$reveal type=\\\"match\\\" state=<<renameFieldState>> text=\\\"yes\\\" tag=\\\"tr\\\">\\n\\t<td colspan=\\\"3\\\">\\n\\t\\t<div class=\\\"tc-flex\\\">\\n\\t\\t\\t<$edit-text tiddler=<<newImportTitleTiddler>> default={{{[subfilter<payloadTitleFilter>]}}} tag=\\\"input\\\" class=\\\"tc-import-rename tc-flex-grow-1\\\"/>\\n\\t\\t\\t<span class=\\\"tc-small-gap-left\\\">\\n\\t\\t\\t\\t<$button class=\\\"tc-btn-invisible\\\" set=<<renameFieldState>> setTo=\\\"no\\\" tooltip={{{[<lingo-base>addsuffix[Listing/Rename/CancelRename]get[text]]}}}>\\n\\t\\t\\t\\t\\t{{$:/core/images/close-button}}\\n\\t\\t\\t\\t\\t<$action-deletetiddler $tiddler=<<newImportTitleTiddler>>/>\\n\\t\\t\\t\\t</$button>\\n\\t\\t\\t\\t<span class=\\\"tc-small-gap-right\\\"/>\\n\\t\\t\\t</span>\\n\\t\\t\\t<$button class=\\\"tc-btn-invisible\\\" set=<<renameFieldState>> setTo=\\\"no\\\" tooltip={{{[<lingo-base>addsuffix[Listing/Rename/ConfirmRename]get[text]]}}}>\\n\\t\\t\\t\\t{{$:/core/images/done-button}}\\n\\t\\t\\t\\t<$action-setfield $field=<<renameField>> $value={{{[<newImportTitleTiddler>get[text]minlength[1]else<payloadTiddler>]}}} />\\n\\t\\t\\t\\t<$action-deletetiddler $tiddler=<<newImportTitleTiddler>>/>\\n\\t\\t\\t</$button>\\n\\t\\t</div>\\n\\t</td>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"yes\\\" state=<<previewPopupState>> tag=\\\"tr\\\">\\n<td colspan=\\\"3\\\">\\n<$list filter=\\\"[{$:/state/importpreviewtype}has[text]]\\\" variable=\\\"listItem\\\" emptyMessage={{$:/core/ui/ImportPreviews/Text}}>\\n\\t<div>\\n\\t\\t<$transclude tiddler={{$:/state/importpreviewtype}}/>\\n\\t</div>\\n</$list>\\n</td>\\n</$reveal>\\n</$list>\\n</tbody>\\n</table>\\n</div>\\n\"},\"$:/core/ui/ImportPreviews/Diff\":{\"title\":\"$:/core/ui/ImportPreviews/Diff\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/Diff}}\",\"text\":\"<$macrocall $name=\\\"compareTiddlerText\\\" sourceTiddlerTitle=<<payloadTiddler>> destTiddlerTitle=<<currentTiddler>> destSubTiddlerTitle=<<payloadTiddler>>/>\\n\"},\"$:/core/ui/ImportPreviews/DiffFields\":{\"title\":\"$:/core/ui/ImportPreviews/DiffFields\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/DiffFields}}\",\"text\":\"<$macrocall $name=\\\"compareTiddlers\\\" sourceTiddlerTitle=<<payloadTiddler>> destTiddlerTitle=<<currentTiddler>> destSubTiddlerTitle=<<payloadTiddler>> exclude=\\\"text\\\"/>\\n\"},\"$:/core/ui/ImportPreviews/Fields\":{\"title\":\"$:/core/ui/ImportPreviews/Fields\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/Fields}}\",\"text\":\"\\\\whitespace trim\\n<table class=\\\"tc-view-field-table\\\">\\n<tbody>\\n<$list filter=\\\"[<payloadTiddler>subtiddlerfields<currentTiddler>sort[]] -text\\\" variable=\\\"fieldName\\\">\\n<tr class=\\\"tc-view-field\\\">\\n<td class=\\\"tc-view-field-name\\\">\\n<$text text=<<fieldName>>/>\\n</td>\\n<td class=\\\"tc-view-field-value\\\">\\n<$view field=<<fieldName>> tiddler=<<currentTiddler>> subtiddler=<<payloadTiddler>>/>\\n</td>\\n</tr>\\n</$list>\\n</tbody>\\n</table>\\n\"},\"$:/core/ui/ImportPreviews/Text\":{\"title\":\"$:/core/ui/ImportPreviews/Text\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/Text}}\",\"code-body\":\"yes\",\"text\":\"<$transclude tiddler=<<currentTiddler>> subtiddler=<<payloadTiddler>> mode=\\\"block\\\"/>\\n\"},\"$:/core/ui/ImportPreviews/TextRaw\":{\"title\":\"$:/core/ui/ImportPreviews/TextRaw\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/TextRaw}}\",\"text\":\"<pre><code><$view tiddler=<<currentTiddler>> subtiddler=<<payloadTiddler>> /></code></pre>\"},\"$:/core/ui/KeyboardShortcuts/advanced-search\":{\"title\":\"$:/core/ui/KeyboardShortcuts/advanced-search\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((advanced-search))\",\"text\":\"\\\\whitespace trim\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n<$action-navigate $to=\\\"$:/AdvancedSearch\\\" $scroll=\\\"yes\\\"/>\\n<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\"\\\"\\\"[data-tiddler-title=\\\"$:/AdvancedSearch\\\"] .tc-search input\\\"\\\"\\\" preventScroll=\\\"true\\\"/>\\n</$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/change-sidebar-layout\":{\"title\":\"$:/core/ui/KeyboardShortcuts/change-sidebar-layout\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((change-sidebar-layout))\",\"text\":\"\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[{$:/themes/tiddlywiki/vanilla/options/sidebarlayout}match[fixed-fluid]]\\\"\\n\\temptyMessage=\\\"<$action-setfield $tiddler='$:/themes/tiddlywiki/vanilla/options/sidebarlayout' text='fixed-fluid'/>\\\">\\n<$action-setfield $tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" text=\\\"fluid-fixed\\\"/>\\n</$list>\\n\"},\"$:/core/ui/KeyboardShortcuts/new-image\":{\"title\":\"$:/core/ui/KeyboardShortcuts/new-image\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-image))\",\"text\":\"\\\\whitespace trim\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n{{$:/core/ui/Actions/new-image}}\\n</$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/new-journal\":{\"title\":\"$:/core/ui/KeyboardShortcuts/new-journal\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-journal))\",\"text\":\"\\\\whitespace trim\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n{{$:/core/ui/Actions/new-journal}}\\n</$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/new-tiddler\":{\"title\":\"$:/core/ui/KeyboardShortcuts/new-tiddler\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-tiddler))\",\"text\":\"\\\\whitespace trim\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n{{$:/core/ui/Actions/new-tiddler}}\\n</$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/open-control-panel\":{\"title\":\"$:/core/ui/KeyboardShortcuts/open-control-panel\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((open-control-panel))\",\"text\":\"\\\\whitespace trim\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n<$action-navigate $to=\\\"$:/ControlPanel\\\" $scroll=\\\"yes\\\"/>\\n</$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/refresh\":{\"title\":\"$:/core/ui/KeyboardShortcuts/refresh\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((refresh))\",\"text\":\"<$action-sendmessage $message=\\\"tm-browser-refresh\\\"/>\\n\"},\"$:/core/ui/KeyboardShortcuts/save-wiki\":{\"title\":\"$:/core/ui/KeyboardShortcuts/save-wiki\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((save-wiki))\",\"text\":\"\\\\whitespace trim\\n<$wikify name=\\\"site-title\\\" text={{$:/config/SaveWikiButton/Filename}}>\\n<$action-sendmessage $message=\\\"tm-save-wiki\\\" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>\\n</$wikify>\\n\"},\"$:/core/ui/KeyboardShortcuts/sidebar-search\":{\"title\":\"$:/core/ui/KeyboardShortcuts/sidebar-search\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((sidebar-search))\",\"text\":\"<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-search input\\\"/>\\n\"},\"$:/core/ui/KeyboardShortcuts/switcher\":{\"title\":\"$:/core/ui/KeyboardShortcuts/switcher\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((layout-switcher))\",\"text\":\"<$action-sendmessage $message=\\\"tm-show-switcher\\\" switch=\\\"layout\\\"/>\"},\"$:/core/ui/KeyboardShortcuts/toggle-sidebar\":{\"title\":\"$:/core/ui/KeyboardShortcuts/toggle-sidebar\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((toggle-sidebar))\",\"text\":\"\\\\whitespace trim\\n<$list\\n\\tfilter=\\\"[[$:/state/sidebar]is[missing]] [{$:/state/sidebar}removeprefix[yes]]\\\"\\n\\temptyMessage=\\\"<$action-setfield $tiddler='$:/state/sidebar' text='yes'/>\\\">\\n<$action-setfield $tiddler=\\\"$:/state/sidebar\\\" text=\\\"no\\\"/>\\n</$list>\\n\"},\"$:/snippets/LayoutSwitcher\":{\"title\":\"$:/snippets/LayoutSwitcher\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/LayoutSwitcher/Caption}}\",\"text\":\"\\\\whitespace trim\\n<$linkcatcher to=\\\"$:/layout\\\">\\n<div class=\\\"tc-chooser\\\">\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/Layout]] [[$:/core/ui/PageTemplate]] +[!is[draft]sort[name]]\\\">\\n<$list\\n\\tfilter=\\\"[{$:/layout}!has[text]]\\\"\\n\\tvariable=\\\"ignore\\\"\\n\\temptyMessage=\\\"\\\"\\\"\\\\whitespace trim\\n\\t\\t<$set name=\\\"cls\\\" filter=\\\"[all[current]field:title{$:/layout}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n\\t\\t<div class=<<cls>>>\\n\\t\\t<$link to={{!!title}}>\\n\\t\\t''<$transclude tiddler={{{ [<currentTiddler>get[icon]] }}}/><$transclude field=\\\"name\\\"/>''&#32;-&#32;<$transclude field=\\\"description\\\"/>\\n\\t\\t</$link></div></$set>\\n\\\"\\\"\\\">\\n<$set name=\\\"cls\\\" filter=\\\"[all[current]field:title[$:/core/ui/PageTemplate]]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n<div class=<<cls>>>\\n<$link to={{!!title}}>\\n''<$transclude tiddler={{{ [<currentTiddler>get[icon]] }}}/><$transclude field=\\\"name\\\"/>''&#32;-&#32;<$transclude field=\\\"description\\\"/>\\n</$link>\\n</div>\\n</$set>\\n</$list>\\n</$list>\\n</div>\\n</$linkcatcher>\\n\"},\"$:/core/ui/ListItemTemplate\":{\"title\":\"$:/core/ui/ListItemTemplate\",\"text\":\"<div class=\\\"tc-menu-list-item\\\"><$link /></div>\"},\"$:/snippets/ListTaggedCascade\":{\"title\":\"$:/snippets/ListTaggedCascade\",\"text\":\"\\\\whitespace trim\\n{{||$:/language/ControlPanel/Cascades/TagPrompt}}\\n\\n<ol>\\n<$list filter=\\\"[all[shadows+tiddlers]tag<currentTiddler>]\\\">\\n<li>\\n<div>\\n<$link><$text text=<<currentTiddler>>/></$link>\\n</div>\\n<$codeblock code={{!!text}}/>\\n</li>\\n</$list>\\n</ol>\\n\"},\"$:/Manager/ItemMain/Fields\":{\"title\":\"$:/Manager/ItemMain/Fields\",\"tags\":\"$:/tags/Manager/ItemMain\",\"caption\":\"{{$:/language/Manager/Item/Fields}}\",\"text\":\"\\\\whitespace trim\\n<table>\\n<tbody>\\n<$list filter=\\\"[all[current]fields[]sort[title]] -text\\\" template=\\\"$:/core/ui/TiddlerFieldTemplate\\\" variable=\\\"listItem\\\"/>\\n</tbody>\\n</table>\\n\"},\"$:/Manager/ItemMain/RawText\":{\"title\":\"$:/Manager/ItemMain/RawText\",\"tags\":\"$:/tags/Manager/ItemMain\",\"caption\":\"{{$:/language/Manager/Item/RawText}}\",\"text\":\"<pre><code><$view/></code></pre>\\n\"},\"$:/Manager/ItemMain/WikifiedText\":{\"title\":\"$:/Manager/ItemMain/WikifiedText\",\"tags\":\"$:/tags/Manager/ItemMain\",\"caption\":\"{{$:/language/Manager/Item/WikifiedText}}\",\"text\":\"<$transclude mode=\\\"block\\\"/>\\n\"},\"$:/Manager/ItemSidebar/Colour\":{\"title\":\"$:/Manager/ItemSidebar/Colour\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Colour}}\",\"text\":\"\\\\define swatch-styles()\\nheight: 1em;\\nbackground-color: $(colour)$\\n\\\\end\\n\\n\\\\whitespace trim\\n<$vars colour={{!!color}}>\\n<p style=<<swatch-styles>>/>\\n</$vars>\\n<p>\\n<$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"color\\\"/>\\n&#32;/&#32;\\n<$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"text\\\" size=\\\"9\\\"/>\\n</p>\\n\"},\"$:/Manager/ItemSidebar/Icon\":{\"title\":\"$:/Manager/ItemSidebar/Icon\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Icon}}\",\"text\":\"\\\\whitespace trim\\n<p>\\n<div class=\\\"tc-manager-icon-editor\\\">\\n<$button popup=<<qualify \\\"$:/state/popup/image-picker\\\">> class=\\\"tc-btn-invisible\\\">\\n<$transclude tiddler={{!!icon}}>\\n{{$:/language/Manager/Item/Icon/None}}\\n</$transclude>\\n</$button>\\n<div class=\\\"tc-block-dropdown-wrapper\\\" style=\\\"position: static;\\\">\\n<$reveal state=<<qualify \\\"$:/state/popup/image-picker\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" tag=\\\"div\\\" class=\\\"tc-popup\\\">\\n<div class=\\\"tc-block-dropdown tc-popup-keep\\\" style=\\\"width: 80%; left: 10%; right: 10%; padding: 0.5em;\\\">\\n<$macrocall\\n\\t$name=\\\"image-picker-include-tagged-images\\\"\\n\\tactions=\\\"<$action-setfield $field='icon' $value=<<imageTitle>>/><$action-deletetiddler $tiddler=<<qualify '$:/state/popup/image-picker'>>/>\\\"/>\\n</div>\\n</$reveal>\\n</div>\\n</div>\\n</p>\\n\"},\"$:/Manager/ItemSidebar/Tags\":{\"title\":\"$:/Manager/ItemSidebar/Tags\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Tags}}\",\"text\":\"\\\\whitespace trim\\n\\\\define tag-checkbox-actions()\\n<$action-listops\\n\\t$tiddler=\\\"$:/config/Manager/RecentTags\\\"\\n\\t$subfilter=\\\"[<tag>] [list[$:/config/Manager/RecentTags]] +[limit[12]]\\\"\\n/>\\n\\\\end\\n\\n\\\\define tag-picker-actions()\\n<<tag-checkbox-actions>>\\n\\\\end\\n\\n<p>\\n<$list filter=\\\"[all[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] \\\" variable=\\\"tag\\\" storyview=\\\"pop\\\">\\n<div>\\n<$checkbox tiddler=<<currentTiddler>> tag=<<tag>> actions=<<tag-checkbox-actions>>>\\n<$macrocall $name=\\\"tag-pill\\\" tag=<<tag>>/>\\n</$checkbox>\\n</div>\\n</$list>\\n</p>\\n<p>\\n<$fieldmangler>\\n<$macrocall $name=\\\"tag-picker\\\" actions=<<tag-picker-actions>>/>\\n</$fieldmangler>\\n</p>\\n\"},\"$:/Manager/ItemSidebar/Tools\":{\"title\":\"$:/Manager/ItemSidebar/Tools\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Tools}}\",\"text\":\"\\\\whitespace trim\\n<p>\\n<$button to=<<currentTiddler>>>\\n{{$:/core/images/link}}&#32;open\\n</$button>\\n</p>\\n<p>\\n<$button message=\\\"tm-edit-tiddler\\\" param=<<currentTiddler>>>\\n{{$:/core/images/edit-button}}&#32;edit\\n</$button>\\n</p>\\n\"},\"$:/Manager\":{\"title\":\"$:/Manager\",\"icon\":\"$:/core/images/list\",\"color\":\"#bbb\",\"text\":\"\\\\define lingo-base() $:/language/Manager/\\n\\n\\\\define list-item-content-item()\\n\\\\whitespace trim\\n<div class=\\\"tc-manager-list-item-content-item\\\">\\n\\t<$vars state-title=\\\"\\\"\\\"$:/state/popup/manager/item/$(listItem)$\\\"\\\"\\\">\\n\\t\\t<$reveal state=<<state-title>> type=\\\"match\\\" text=\\\"show\\\" default=\\\"show\\\" tag=\\\"div\\\">\\n\\t\\t\\t<$button set=<<state-title>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible tc-manager-list-item-content-item-heading\\\">\\n\\t\\t\\t\\t{{$:/core/images/down-arrow}}&#32;<$transclude tiddler=<<listItem>> field=\\\"caption\\\"/>\\n\\t\\t\\t</$button>\\n\\t\\t</$reveal>\\n\\t\\t<$reveal state=<<state-title>> type=\\\"nomatch\\\" text=\\\"show\\\" default=\\\"show\\\" tag=\\\"div\\\">\\n\\t\\t\\t<$button set=<<state-title>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible tc-manager-list-item-content-item-heading\\\">\\n\\t\\t\\t\\t{{$:/core/images/right-arrow}}&#32;<$transclude tiddler=<<listItem>> field=\\\"caption\\\"/>\\n\\t\\t\\t</$button>\\n\\t\\t</$reveal>\\n\\t\\t<$reveal state=<<state-title>> type=\\\"match\\\" text=\\\"show\\\" default=\\\"show\\\" tag=\\\"div\\\" class=\\\"tc-manager-list-item-content-item-body\\\">\\n\\t\\t\\t<$transclude tiddler=<<listItem>>/>\\n\\t\\t</$reveal>\\n\\t</$vars>\\n</div>\\n\\\\end\\n\\n\\\\whitespace trim\\n<div class=\\\"tc-manager-wrapper\\\">\\n\\t<div class=\\\"tc-manager-controls\\\">\\n\\t\\t<div class=\\\"tc-manager-control\\\">\\n\\t\\t\\t<<lingo Controls/Show/Prompt>>&#32;<$select tiddler=\\\"$:/config/Manager/Show\\\" default=\\\"tiddlers\\\">\\n\\t\\t\\t\\t<option value=\\\"tiddlers\\\"><<lingo Controls/Show/Option/Tiddlers>></option>\\n\\t\\t\\t\\t<option value=\\\"tags\\\"><<lingo Controls/Show/Option/Tags>></option>\\n\\t\\t\\t</$select>\\n\\t\\t</div>\\n\\t\\t<div class=\\\"tc-manager-control\\\">\\n\\t\\t\\t<<lingo Controls/Search/Prompt>>&#32;<$edit-text tiddler=\\\"$:/config/Manager/Filter\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/Manager/Controls/Search/Placeholder}}/>\\n\\t\\t</div>\\n\\t\\t<div class=\\\"tc-manager-control\\\">\\n\\t\\t\\t<<lingo Controls/FilterByTag/Prompt>>&#32;<$select tiddler=\\\"$:/config/Manager/Tag\\\" default=\\\"\\\">\\n\\t\\t\\t\\t<option value=\\\"\\\"><<lingo Controls/FilterByTag/None>></option>\\n\\t\\t\\t\\t<$list filter=\\\"[!is{$:/config/Manager/System}tags[]!is[system]sort[title]]\\\" variable=\\\"tag\\\">\\n\\t\\t\\t\\t\\t<option value=<<tag>>><$text text=<<tag>>/></option>\\n\\t\\t\\t\\t</$list>\\n\\t\\t\\t</$select>\\n\\t\\t</div>\\n\\t\\t<div class=\\\"tc-manager-control\\\">\\n\\t\\t\\t<<lingo Controls/Sort/Prompt>>&#32;<$select tiddler=\\\"$:/config/Manager/Sort\\\" default=\\\"title\\\">\\n\\t\\t\\t\\t<optgroup label=\\\"Common\\\">\\n\\t\\t\\t\\t\\t<$list filter=\\\"title modified modifier created creator created\\\" variable=\\\"field\\\">\\n\\t\\t\\t\\t\\t\\t<option value=<<field>>><$text text=<<field>>/></option>\\n\\t\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t</optgroup>\\n\\t\\t\\t\\t<optgroup label=\\\"All\\\">\\n\\t\\t\\t\\t\\t<$list filter=\\\"[all{$:/config/Manager/Show}!is{$:/config/Manager/System}fields[]sort[title]] -title -modified -modifier -created -creator -created\\\" variable=\\\"field\\\">\\n\\t\\t\\t\\t\\t\\t<option value=<<field>>><$text text=<<field>>/></option>\\n\\t\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t</optgroup>\\n\\t\\t\\t</$select>\\n\\t\\t\\t&#32;\\n\\t\\t\\t<$checkbox tiddler=\\\"$:/config/Manager/Order\\\" field=\\\"text\\\" checked=\\\"reverse\\\" unchecked=\\\"forward\\\" default=\\\"forward\\\">\\n\\t\\t\\t\\t&#32;\\n\\t\\t\\t\\t<<lingo Controls/Order/Prompt>>\\n\\t\\t\\t</$checkbox>\\n\\t\\t</div>\\n\\t\\t<div class=\\\"tc-manager-control\\\">\\n\\t\\t\\t<$checkbox tiddler=\\\"$:/config/Manager/System\\\" field=\\\"text\\\" checked=\\\"\\\" unchecked=\\\"system\\\" default=\\\"system\\\">\\n\\t\\t\\t\\t&#32;\\n\\t\\t\\t\\t{{$:/language/SystemTiddlers/Include/Prompt}}\\n\\t\\t\\t</$checkbox>\\n\\t\\t</div>\\n\\t</div>\\n\\t<div class=\\\"tc-manager-list\\\">\\n\\t\\t<$list filter=\\\"[all{$:/config/Manager/Show}!is{$:/config/Manager/System}search{$:/config/Manager/Filter}tag:strict{$:/config/Manager/Tag}sort{$:/config/Manager/Sort}order{$:/config/Manager/Order}]\\\">\\n\\t\\t\\t<$vars transclusion=<<currentTiddler>>>\\n\\t\\t\\t\\t<div style=\\\"tc-manager-list-item\\\">\\n\\t\\t\\t\\t\\t<$button popup=<<qualify \\\"$:/state/manager/popup\\\">> class=\\\"tc-btn-invisible tc-manager-list-item-heading\\\" selectedClass=\\\"tc-manager-list-item-heading-selected\\\">\\n\\t\\t\\t\\t\\t\\t<$text text=<<currentTiddler>>/>\\n\\t\\t\\t\\t\\t</$button>\\n\\t\\t\\t\\t\\t<$reveal state=<<qualify \\\"$:/state/manager/popup\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" tag=\\\"div\\\" class=\\\"tc-manager-list-item-content tc-popup-handle\\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\\"tc-manager-list-item-content-tiddler\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Manager/ItemMain]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<<list-item-content-item>>\\n\\t\\t\\t\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t<div class=\\\"tc-manager-list-item-content-sidebar\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Manager/ItemSidebar]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<<list-item-content-item>>\\n\\t\\t\\t\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</$vars>\\n\\t\\t</$list>\\n\\t</div>\\n</div>\\n\"},\"$:/core/ui/MissingTemplate\":{\"title\":\"$:/core/ui/MissingTemplate\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-tiddler-missing\\\">\\n<$button popup=<<qualify \\\"$:/state/popup/missing\\\">> class=\\\"tc-btn-invisible tc-missing-tiddler-label\\\">\\n<$view field=\\\"title\\\" format=\\\"text\\\" />\\n</$button>\\n<$reveal state=<<qualify \\\"$:/state/popup/missing\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\">\\n<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n<hr>\\n<$list filter=\\\"[all[current]backlinks[]sort[title]]\\\" template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n</div>\\n</$reveal>\\n</div>\\n\"},\"$:/core/ui/MoreSideBar/All\":{\"title\":\"$:/core/ui/MoreSideBar/All\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/All/Caption}}\",\"text\":\"<$list filter={{$:/core/Filters/AllTiddlers!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Drafts\":{\"title\":\"$:/core/ui/MoreSideBar/Drafts\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Drafts/Caption}}\",\"text\":\"<$list filter={{$:/core/Filters/Drafts!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Explorer\":{\"title\":\"$:/core/ui/MoreSideBar/Explorer\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Explorer/Caption}}\",\"text\":\"<<tree \\\"$:/\\\">>\\n\"},\"$:/core/ui/MoreSideBar/Missing\":{\"title\":\"$:/core/ui/MoreSideBar/Missing\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Missing/Caption}}\",\"text\":\"<$list filter={{$:/core/Filters/Missing!!filter}} template=\\\"$:/core/ui/MissingTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Orphans\":{\"title\":\"$:/core/ui/MoreSideBar/Orphans\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Orphans/Caption}}\",\"text\":\"<$list filter={{$:/core/Filters/Orphans!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Plugins\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Caption}}\",\"text\":\"\\n{{$:/language/ControlPanel/Plugins/Installed/Hint}}\\n\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar/Plugins]!has[draft.of]]\\\" default=\\\"$:/core/ui/MoreSideBar/Plugins/Plugins\\\" explicitState=\\\"$:/state/tab-1163638994\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Recent\":{\"title\":\"$:/core/ui/MoreSideBar/Recent\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Recent/Caption}}\",\"text\":\"<$macrocall $name=\\\"timeline\\\" format={{$:/language/RecentChanges/DateFormat}}/>\\n\"},\"$:/core/ui/MoreSideBar/Shadows\":{\"title\":\"$:/core/ui/MoreSideBar/Shadows\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Shadows/Caption}}\",\"text\":\"<$list filter={{$:/core/Filters/ShadowTiddlers!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/System\":{\"title\":\"$:/core/ui/MoreSideBar/System\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/System/Caption}}\",\"text\":\"<$list filter={{$:/core/Filters/SystemTiddlers!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Tags\":{\"title\":\"$:/core/ui/MoreSideBar/Tags\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Tags/Caption}}\",\"text\":\"\\\\whitespace trim\\n<$let tv-config-toolbar-icons=\\\"yes\\\" tv-config-toolbar-text=\\\"yes\\\" tv-config-toolbar-class=\\\"\\\">\\n\\t<div class=\\\"tc-tiny-v-gap-bottom\\\">\\n\\t\\t{{$:/core/ui/Buttons/tag-manager}}\\n\\t</div>\\n</$let>\\n<$list filter={{$:/core/Filters/AllTags!!filter}}>\\n\\t<div class=\\\"tc-tiny-v-gap-bottom\\\">\\n\\t\\t<$transclude tiddler=\\\"$:/core/ui/TagTemplate\\\"/>\\n\\t</div>\\n</$list>\\n<hr class=\\\"tc-untagged-separator\\\">\\n{{$:/core/ui/UntaggedTemplate}}\\n\"},\"$:/core/ui/MoreSideBar/Types\":{\"title\":\"$:/core/ui/MoreSideBar/Types\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Types/Caption}}\",\"text\":\"\\\\whitespace trim\\n<$list filter={{$:/core/Filters/TypedTiddlers!!filter}}>\\n<div class=\\\"tc-menu-list-item\\\">\\n<$view field=\\\"type\\\"/>\\n<$list filter=\\\"[type{!!type}!is[system]sort[title]]\\\">\\n<div class=\\\"tc-menu-list-subitem\\\">\\n<$link to={{!!title}}><$view field=\\\"title\\\"/></$link>\\n</div>\\n</$list>\\n</div>\\n</$list>\\n\"},\"$:/core/ui/MoreSideBar/Plugins/Languages\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins/Languages\",\"tags\":\"$:/tags/MoreSideBar/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Languages/Caption}}\",\"text\":\"<$list filter=\\\"[!has[draft.of]plugin-type[language]sort[name]]\\\" template=\\\"$:/core/ui/PluginListItemTemplate\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}/>\\n\"},\"$:/core/ui/MoreSideBar/Plugins/Plugins\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins/Plugins\",\"tags\":\"$:/tags/MoreSideBar/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Plugins/Caption}}\",\"text\":\"<$list filter=\\\"[!has[draft.of]plugin-type[plugin]sort[name]]\\\" template=\\\"$:/core/ui/PluginListItemTemplate\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}>>/>\\n\"},\"$:/core/ui/MoreSideBar/Plugins/Theme\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins/Theme\",\"tags\":\"$:/tags/MoreSideBar/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Themes/Caption}}\",\"text\":\"<$list filter=\\\"[!has[draft.of]plugin-type[theme]sort[name]]\\\" template=\\\"$:/core/ui/PluginListItemTemplate\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}/>\\n\"},\"$:/core/ui/Buttons/advanced-search\":{\"title\":\"$:/core/ui/Buttons/advanced-search\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/advanced-search-button}} {{$:/language/Buttons/AdvancedSearch/Caption}}\",\"description\":\"{{$:/language/Buttons/AdvancedSearch/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure advanced-search-button(class)\\n\\\\whitespace trim\\n<$button to=\\\"$:/AdvancedSearch\\\" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/advanced-search-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/></span>\\n<%endif%>\\n</$button>\\n\\\\end\\n\\n<$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/AdvancedSearch]]\\\" emptyMessage=<<advanced-search-button>>>\\n<<advanced-search-button \\\"tc-selected\\\">>\\n</$list>\\n\"},\"$:/core/ui/Buttons/close-all\":{\"title\":\"$:/core/ui/Buttons/close-all\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}}\",\"description\":\"{{$:/language/Buttons/CloseAll/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-close-all-tiddlers\\\" tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/close-all-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/CloseAll/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/control-panel\":{\"title\":\"$:/core/ui/Buttons/control-panel\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}\",\"description\":\"{{$:/language/Buttons/ControlPanel/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure control-panel-button(class)\\n\\\\whitespace trim\\n<$button to=\\\"$:/ControlPanel\\\" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/options-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>\\n<%endif%>\\n</$button>\\n\\\\end\\n\\n<$list filter=\\\"[list<tv-story-list>] +[field:title[$:/ControlPanel]]\\\" emptyMessage=<<control-panel-button>>>\\n<<control-panel-button \\\"tc-selected\\\">>\\n</$list>\\n\"},\"$:/core/ui/Buttons/encryption\":{\"title\":\"$:/core/ui/Buttons/encryption\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Caption}}\",\"description\":\"{{$:/language/Buttons/Encryption/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$reveal type=\\\"match\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n<$button message=\\\"tm-clear-password\\\" tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/locked-padlock}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n<$button message=\\\"tm-set-password\\\" tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/unlocked-padlock}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/export-page\":{\"title\":\"$:/core/ui/Buttons/export-page\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/export-button}} {{$:/language/Buttons/ExportPage/Caption}}\",\"description\":\"{{$:/language/Buttons/ExportPage/Hint}}\",\"text\":\"<$transclude $variable=\\\"exportButton\\\" exportFilter=\\\"[!is[system]sort[title]]\\\" lingoBase=\\\"$:/language/Buttons/ExportPage/\\\"/>\"},\"$:/core/ui/Buttons/fold-all\":{\"title\":\"$:/core/ui/Buttons/fold-all\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/fold-all-button}} {{$:/language/Buttons/FoldAll/Caption}}\",\"description\":\"{{$:/language/Buttons/FoldAll/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/FoldAll/Hint}} aria-label={{$:/language/Buttons/FoldAll/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-fold-all-tiddlers\\\" $param=<<currentTiddler>> foldedStatePrefix=\\\"$:/state/folded/\\\"/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/fold-all-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/FoldAll/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/full-screen\":{\"title\":\"$:/core/ui/Buttons/full-screen\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}}\",\"description\":\"{{$:/language/Buttons/FullScreen/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-full-screen\\\" tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/full-screen-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/FullScreen/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/home\":{\"title\":\"$:/core/ui/Buttons/home\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}\",\"description\":\"{{$:/language/Buttons/Home/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-home\\\" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/home-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Home/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/import\":{\"title\":\"$:/core/ui/Buttons/import\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}}\",\"description\":\"{{$:/language/Buttons/Import/Hint}}\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-file-input-wrapper\\\">\\n<$button tooltip={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/import-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Import/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n<$browse tooltip={{$:/language/Buttons/Import/Hint}}/>\\n</div>\\n\"},\"$:/core/ui/Buttons/language\":{\"title\":\"$:/core/ui/Buttons/language\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/globe}} {{$:/language/Buttons/Language/Caption}}\",\"description\":\"{{$:/language/Buttons/Language/Hint}}\",\"text\":\"\\\\whitespace trim\\n<span class=\\\"tc-popup-keep\\\">\\n<$button popup=<<qualify \\\"$:/state/popup/language\\\">> tooltip={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/language}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Language/Caption}}/></span>\\n<%endif%>\\n</$button>\\n</span>\\n<$reveal state=<<qualify \\\"$:/state/popup/language\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\">\\n{{$:/snippets/languageswitcher}}\\n</div>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/layout\":{\"title\":\"$:/core/ui/Buttons/layout\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/layout-button}} {{$:/language/Buttons/LayoutSwitcher/Caption}}\",\"description\":\"{{$:/language/LayoutSwitcher/Description}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/LayoutSwitcher/Hint}} aria-label={{$:/language/Buttons/LayoutSwitcher/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-show-switcher\\\" switch=\\\"layout\\\"/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/layout-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/LayoutSwitcher/Caption}}/></span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/manager\":{\"title\":\"$:/core/ui/Buttons/manager\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/list}} {{$:/language/Buttons/Manager/Caption}}\",\"description\":\"{{$:/language/Buttons/Manager/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure manager-button(class)\\n\\\\whitespace trim\\n<$button to=\\\"$:/Manager\\\" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/list}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Manager/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\\\\end\\n\\n<$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/Manager]]\\\" emptyMessage=<<manager-button>>>\\n<<manager-button \\\"tc-selected\\\">>\\n</$list>\\n\"},\"$:/core/ui/Buttons/more-page-actions\":{\"title\":\"$:/core/ui/Buttons/more-page-actions\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}\",\"description\":\"{{$:/language/Buttons/More/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$\\n\\n<$button popup=<<qualify \\\"$:/state/popup/more\\\">>\\n\\ttooltip={{$:/language/Buttons/More/Hint}}\\n\\taria-label={{$:/language/Buttons/More/Caption}}\\n\\tclass=<<tv-config-toolbar-class>>\\n\\tselectedClass=\\\"tc-selected\\\"\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/down-arrow}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\">\\n\\t\\t\\t<$text text={{$:/language/Buttons/More/Caption}}/>\\n\\t\\t</span>\\n\\t<%endif%>\\n</$button>\\n<$reveal state=<<qualify \\\"$:/state/popup/more\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\\t<div class=\\\"tc-drop-down\\\">\\n\\t\\t<$let tv-config-toolbar-icons=\\\"yes\\\" tv-config-toolbar-text=\\\"yes\\\" tv-config-toolbar-class=\\\"tc-btn-invisible\\\">\\n\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]\\\"\\n\\t\\t\\t\\tvariable=\\\"listItem\\\"\\n\\t\\t\\t>\\n\\t\\t\\t\\t<$reveal type=\\\"match\\\" state=<<config-title>> text=\\\"hide\\\">\\n\\t\\t\\t\\t\\t<$set name=\\\"tv-config-toolbar-class\\\"\\n\\t\\t\\t\\t\\t\\tfilter=\\\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\\\"\\n\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t</$list>\\n\\t\\t</$let>\\n\\t</div>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/network-activity\":{\"title\":\"$:/core/ui/Buttons/network-activity\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/network-activity}} {{$:/language/Buttons/NetworkActivity/Caption}}\",\"description\":\"{{$:/language/Buttons/NetworkActivity/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-http-cancel-all-requests\\\" tooltip={{$:/language/Buttons/NetworkActivity/Hint}} aria-label={{$:/language/Buttons/NetworkActivity/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/network-activity}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/NetworkActivity/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/new-image\":{\"title\":\"$:/core/ui/Buttons/new-image\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/new-image-button}} {{$:/language/Buttons/NewImage/Caption}}\",\"description\":\"{{$:/language/Buttons/NewImage/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/NewImage/Hint}} aria-label={{$:/language/Buttons/NewImage/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-image}}>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/new-image-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/NewImage/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/new-journal\":{\"title\":\"$:/core/ui/Buttons/new-journal\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournal/Caption}}\",\"description\":\"{{$:/language/Buttons/NewJournal/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure journalButton()\\n<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-journal}}>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/new-journal-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/NewJournal/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\\\\end\\n<<journalButton>>\\n\"},\"$:/core/ui/Buttons/new-tiddler\":{\"title\":\"$:/core/ui/Buttons/new-tiddler\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}\",\"description\":\"{{$:/language/Buttons/NewTiddler/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/new-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/NewTiddler/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/palette\":{\"title\":\"$:/core/ui/Buttons/palette\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/palette}} {{$:/language/Buttons/Palette/Caption}}\",\"description\":\"{{$:/language/Buttons/Palette/Hint}}\",\"text\":\"\\\\whitespace trim\\n<span class=\\\"tc-popup-keep\\\">\\n<$button popup=<<qualify \\\"$:/state/popup/palette\\\">> tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/palette}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>\\n<%endif%>\\n</$button>\\n</span>\\n<$reveal state=<<qualify \\\"$:/state/popup/palette\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\" style=\\\"font-size:0.7em;\\\">\\n{{$:/snippets/paletteswitcher}}\\n</div>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/print\":{\"title\":\"$:/core/ui/Buttons/print\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/print-button}} {{$:/language/Buttons/Print/Caption}}\",\"description\":\"{{$:/language/Buttons/Print/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-print\\\" tooltip={{$:/language/Buttons/Print/Hint}} aria-label={{$:/language/Buttons/Print/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/print-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Print/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/refresh\":{\"title\":\"$:/core/ui/Buttons/refresh\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}}\",\"description\":\"{{$:/language/Buttons/Refresh/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-browser-refresh\\\" tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/refresh-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Refresh/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/Buttons/save-wiki\":{\"title\":\"$:/core/ui/Buttons/save-wiki\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/save-button-dynamic}} {{$:/language/Buttons/SaveWiki/Caption}}\",\"description\":\"{{$:/language/Buttons/SaveWiki/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure saveActions()\\n<$wikify name=\\\"site-title\\\" text={{$:/config/SaveWikiButton/Filename}}>\\n\\t<$action-sendmessage $message=\\\"tm-save-wiki\\\" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>\\n</$wikify>\\n\\\\end\\n\\n<$button actions=<<saveActions>>\\n\\ttooltip={{$:/language/Buttons/SaveWiki/Hint}}\\n\\taria-label={{$:/language/Buttons/SaveWiki/Caption}}\\n\\tclass=<<tv-config-toolbar-class>>\\n>\\n<span class=\\\"tc-dirty-indicator\\\">\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/save-button-dynamic}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>\\n</span>\\n<%endif%>\\n</span>\\n</$button>\\n\"},\"$:/core/ui/Buttons/storyview\":{\"title\":\"$:/core/ui/Buttons/storyview\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/storyview-classic}} {{$:/language/Buttons/StoryView/Caption}}\",\"description\":\"{{$:/language/Buttons/StoryView/Hint}}\",\"text\":\"\\\\whitespace trim\\n<span class=\\\"tc-popup-keep\\\">\\n<$button popup=<<qualify \\\"$:/state/popup/storyview\\\">> tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n<$set name=\\\"storyview\\\" value={{$:/view}}>\\n<$transclude tiddler=`$:/core/images/storyview-$(storyview)$`/>\\n</$set>\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/StoryView/Caption}}/></span>\\n<%endif%>\\n</$button>\\n</span>\\n<$reveal state=<<qualify \\\"$:/state/popup/storyview\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\">\\n{{$:/snippets/viewswitcher}}\\n</div>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/tag-manager\":{\"title\":\"$:/core/ui/Buttons/tag-manager\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}}\",\"description\":\"{{$:/language/Buttons/TagManager/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure control-panel-button(class)\\n\\\\whitespace trim\\n<$button to=\\\"$:/TagManager\\\" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/tag-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/TagManager/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\\\\end\\n\\n<$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/TagManager]]\\\" emptyMessage=<<control-panel-button>>>\\n<<control-panel-button \\\"tc-selected\\\">>\\n</$list>\\n\"},\"$:/core/ui/Buttons/theme\":{\"title\":\"$:/core/ui/Buttons/theme\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}\",\"description\":\"{{$:/language/Buttons/Theme/Hint}}\",\"text\":\"\\\\whitespace trim\\n<span class=\\\"tc-popup-keep\\\">\\n<$button popup=<<qualify \\\"$:/state/popup/theme\\\">> tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/theme-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Theme/Caption}}/></span>\\n<%endif%>\\n</$button>\\n</span>\\n<$reveal state=<<qualify \\\"$:/state/popup/theme\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\">\\n<$linkcatcher to=\\\"$:/theme\\\">\\n{{$:/snippets/themeswitcher}}\\n</$linkcatcher>\\n</div>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/timestamp\":{\"title\":\"$:/core/ui/Buttons/timestamp\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/timestamp-on}} {{$:/language/Buttons/Timestamp/Caption}}\",\"description\":\"{{$:/language/Buttons/Timestamp/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/config/TimestampDisable\\\" text=\\\"yes\\\">\\n<$button tooltip={{$:/language/Buttons/Timestamp/On/Hint}} aria-label={{$:/language/Buttons/Timestamp/On/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-setfield $tiddler=\\\"$:/config/TimestampDisable\\\" $value=\\\"yes\\\"/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/timestamp-on}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Timestamp/On/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=\\\"$:/config/TimestampDisable\\\" text=\\\"yes\\\">\\n<$button tooltip={{$:/language/Buttons/Timestamp/Off/Hint}} aria-label={{$:/language/Buttons/Timestamp/Off/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-setfield $tiddler=\\\"$:/config/TimestampDisable\\\" $value=\\\"no\\\"/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/timestamp-off}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/unfold-all\":{\"title\":\"$:/core/ui/Buttons/unfold-all\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/unfold-all-button}} {{$:/language/Buttons/UnfoldAll/Caption}}\",\"description\":\"{{$:/language/Buttons/UnfoldAll/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/UnfoldAll/Hint}} aria-label={{$:/language/Buttons/UnfoldAll/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-unfold-all-tiddlers\\\" $param=<<currentTiddler>> foldedStatePrefix=\\\"$:/state/folded/\\\"/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/unfold-all-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/UnfoldAll/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\"},\"$:/core/ui/PageTemplate/pagecontrols\":{\"title\":\"$:/core/ui/PageTemplate/pagecontrols\",\"text\":\"\\\\whitespace trim\\n\\\\function config-title() [[$:/config/PageControlButtons/Visibility/$(listItem)$]substitute[]]\\n\\n<div class=\\\"tc-page-controls\\\">\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t<$list filter=\\\"[<config-title>!text[hide]]\\\" storyview=\\\"pop\\\" variable=\\\"ignore\\\">\\n\\t\\t\\t<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}>\\n\\t\\t\\t\\t<$transclude $tiddler=<<listItem>> $mode=\\\"inline\\\"/>\\n\\t\\t\\t</$let>\\n\\t\\t</$list>\\n\\t</$list>\\n</div>\"},\"$:/core/ui/PageStylesheet\":{\"title\":\"$:/core/ui/PageStylesheet\",\"code-body\":\"yes\",\"text\":\"\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\whitespace trim\\n\\n<$set name=\\\"currentTiddler\\\" value={{$:/language}}>\\n\\n<$set name=\\\"languageTitle\\\" value={{!!name}}>\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\\\">\\n<$transclude mode=\\\"block\\\"/>\\n</$list>\\n\\n</$set>\\n\\n</$set>\\n\"},\"$:/core/ui/PageTemplate/alerts\":{\"title\":\"$:/core/ui/PageTemplate/alerts\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"<div class=\\\"tc-alerts\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Alert]!has[draft.of]]\\\" template=\\\"$:/core/ui/AlertTemplate\\\" storyview=\\\"pop\\\"/>\\n\\n</div>\\n\"},\"$:/core/ui/PageTemplate/drafts\":{\"title\":\"$:/core/ui/PageTemplate/drafts\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\whitespace trim\\n<$reveal state=\\\"$:/status/IsReadOnly\\\" type=\\\"nomatch\\\" text=\\\"yes\\\" tag=\\\"div\\\" class=\\\"tc-drafts-list\\\">\\n<$list filter=\\\"[has[draft.of]!sort[modified]] -[list[$:/StoryList]]\\\">\\n<$link>\\n{{$:/core/images/edit-button}} <$text text=<<currentTiddler>>/>\\n</$link>\\n</$list>\\n</$reveal>\\n\"},\"$:/core/ui/PageTemplate/pluginreloadwarning\":{\"title\":\"$:/core/ui/PageTemplate/pluginreloadwarning\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\define lingo-base() $:/language/\\n\\n<$list filter=\\\"[{$:/status/RequireReloadDueToPluginChange}match[yes]]\\\">\\n\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/temp/HidePluginWarning\\\" text=\\\"yes\\\">\\n\\n<div class=\\\"tc-plugin-reload-warning\\\">\\n\\n<$set name=\\\"tv-config-toolbar-class\\\" value=\\\"\\\">\\n\\n<<lingo PluginReloadWarning>> <$button set=\\\"$:/temp/HidePluginWarning\\\" setTo=\\\"yes\\\" class=\\\"tc-btn-invisible\\\">{{$:/core/images/close-button}}</$button>\\n\\n</$set>\\n\\n</div>\\n\\n</$reveal>\\n\\n</$list>\\n\"},\"$:/core/ui/PageTemplate/sidebar\":{\"title\":\"$:/core/ui/PageTemplate/sidebar\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title()\\n$:/config/SideBarSegments/Visibility/$(listItem)$\\n\\\\end\\n\\n<$scrollable fallthrough=\\\"no\\\" class=\\\"tc-sidebar-scrollable\\\">\\n\\n<div class=\\\"tc-sidebar-header\\\">\\n\\n<$reveal state=\\\"$:/state/sidebar\\\" type=\\\"match\\\" text=\\\"yes\\\" default=\\\"yes\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n<$reveal type=\\\"nomatch\\\" state=<<config-title>> text=\\\"hide\\\" tag=\\\"div\\\">\\n\\n<$transclude tiddler=<<listItem>> mode=\\\"block\\\"/>\\n\\n</$reveal>\\n\\n</$list>\\n\\n</$reveal>\\n\\n</div>\\n\\n</$scrollable>\\n\"},\"$:/core/ui/PageTemplate/story\":{\"title\":\"$:/core/ui/PageTemplate/story\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\whitespace trim\\n<section class=\\\"tc-story-river\\\" role=\\\"main\\\">\\n\\n<section class=\\\"story-backdrop\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]\\\">\\n\\n<$transclude/>\\n\\n</$list>\\n\\n</section>\\n\\n<$list filter=\\\"[list[$:/StoryList]]\\\" history=\\\"$:/HistoryList\\\" template=\\\"$:/core/ui/StoryTiddlerTemplate\\\" storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/>\\n\\n<section class=\\\"story-frontdrop\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]\\\">\\n\\n<$transclude/>\\n\\n</$list>\\n\\n</section>\\n\\n</section>\\n\"},\"$:/core/ui/PageTemplate/topleftbar\":{\"title\":\"$:/core/ui/PageTemplate/topleftbar\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"<span class=\\\"tc-topbar tc-topbar-left\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]\\\" variable=\\\"listItem\\\" storyview=\\\"pop\\\">\\n\\n<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\n</$list>\\n\\n</span>\\n\"},\"$:/core/ui/PageTemplate/toprightbar\":{\"title\":\"$:/core/ui/PageTemplate/toprightbar\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"<span class=\\\"tc-topbar tc-topbar-right\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]\\\" variable=\\\"listItem\\\" storyview=\\\"pop\\\">\\n\\n<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\n</$list>\\n\\n</span>\\n\"},\"$:/core/ui/PageTemplate\":{\"title\":\"$:/core/ui/PageTemplate\",\"name\":\"{{$:/language/PageTemplate/Name}}\",\"description\":\"{{$:/language/PageTemplate/Description}}\",\"icon\":\"$:/core/images/standard-layout\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\n<$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-enable-drag-and-drop={{$:/config/DragAndDrop/Enable}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n<div class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/PageTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-page-container [[tc-page-view-]addsuffix<storyviewTitle>] [[tc-language-]addsuffix<languageTitle>] :and[unique[]join[ ]] }}} >\\n\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n\\n<$dropzone enable=<<tv-enable-drag-and-drop>> class=\\\"tc-dropzone tc-page-container-inner\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n<$transclude tiddler=<<listItem>>/>\\n\\n</$list>\\n\\n</$dropzone>\\n\\n</$navigator>\\n\\n</div>\\n\\n</$vars>\\n\"},\"$:/PaletteManager\":{\"title\":\"$:/PaletteManager\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Palette/Editor/\\n\\\\define describePaletteColour(colour)\\n<$transclude tiddler=\\\"$:/language/Docs/PaletteColours/$colour$\\\"><$text text=\\\"$colour$\\\"/></$transclude>\\n\\\\end\\n\\\\define edit-colour-placeholder()\\n edit $(colourName)$\\n\\\\end\\n\\\\define colour-tooltip(showhide) $showhide$ editor for $(newColourName)$ \\n\\n\\\\define resolve-colour(macrocall)\\n\\\\import $:/core/macros/utils\\n\\\\whitespace trim\\n<$wikify name=\\\"name\\\" text=\\\"\\\"\\\"$macrocall$\\\"\\\"\\\">\\n<<name>>\\n</$wikify>\\n\\\\end\\n\\n\\\\define delete-colour-index-actions() <$action-setfield $index=<<colourName>>/>\\n\\\\define palette-manager-colour-row-segment()\\n\\\\whitespace trim\\n<$edit-text index=<<colourName>> tag=\\\"input\\\" placeholder=<<edit-colour-placeholder>> default=\\\"\\\"/>\\n<br>\\n<$edit-text index=<<colourName>> type=\\\"color\\\" tag=\\\"input\\\" class=\\\"tc-palette-manager-colour-input\\\"/>\\n<$list filter=\\\"[<currentTiddler>getindex<colourName>removeprefix[<<]removesuffix[>>]] [<currentTiddler>getindex<colourName>removeprefix[<$]removesuffix[/>]]\\\" variable=\\\"ignore\\\">\\n<$set name=\\\"state\\\" value={{{ [[$:/state/palettemanager/]addsuffix<currentTiddler>addsuffix[/]addsuffix<colourName>] }}}>\\n<$wikify name=\\\"newColourName\\\" text=\\\"\\\"\\\"<$macrocall $name=\\\"resolve-colour\\\" macrocall={{{ [<currentTiddler>getindex<colourName>] }}}/>\\\"\\\"\\\">\\n<$reveal state=<<state>> type=\\\"nomatch\\\" text=\\\"show\\\">\\n<$button tooltip=<<colour-tooltip show>> aria-label=<<colour-tooltip show>> class=\\\"tc-btn-invisible\\\" set=<<state>> setTo=\\\"show\\\">{{$:/core/images/down-arrow}}<$text text=<<newColourName>> class=\\\"tc-small-gap-left\\\"/></$button><br>\\n</$reveal>\\n<$reveal state=<<state>> type=\\\"match\\\" text=\\\"show\\\">\\n<$button tooltip=<<colour-tooltip hide>> aria-label=<<colour-tooltip show>> class=\\\"tc-btn-invisible\\\" actions=\\\"\\\"\\\"<$action-deletetiddler $tiddler=<<state>>/>\\\"\\\"\\\">{{$:/core/images/up-arrow}}<$text text=<<newColourName>> class=\\\"tc-small-gap-left\\\"/></$button><br>\\n</$reveal>\\n<$reveal state=<<state>> type=\\\"match\\\" text=\\\"show\\\">\\n<$set name=\\\"colourName\\\" value=<<newColourName>>>\\n<br>\\n<<palette-manager-colour-row-segment>>\\n<br><br>\\n</$set>\\n</$reveal>\\n</$wikify>\\n</$set>\\n</$list>\\n\\\\end\\n\\n\\\\define palette-manager-colour-row()\\n\\\\whitespace trim\\n<tr>\\n<td>\\n<span style=\\\"float:right;\\\">\\n<$button tooltip={{$:/language/ControlPanel/Palette/Editor/Delete/Hint}} aria-label={{$:/language/ControlPanel/Palette/Editor/Delete/Hint}} class=\\\"tc-btn-invisible\\\" actions=<<delete-colour-index-actions>>>\\n{{$:/core/images/delete-button}}</$button>\\n</span>\\n''<$macrocall $name=\\\"describePaletteColour\\\" colour=<<colourName>>/>''<br/>\\n<$macrocall $name=\\\"colourName\\\" $output=\\\"text/plain\\\"/>\\n</td>\\n<td>\\n<<palette-manager-colour-row-segment>>\\n</td>\\n</tr>\\n\\\\end\\n\\n\\\\define palette-manager-table()\\n\\\\whitespace trim\\n<table>\\n<tbody>\\n<$set name=\\\"colorList\\\" filter=\\\"[{$:/state/palettemanager/showexternal}match[yes]]\\\"\\n value=\\\"[all[shadows+tiddlers]tag[$:/tags/Palette]indexes[]]\\\" emptyValue=\\\"[<currentTiddler>indexes[]]\\\">\\n<$list filter=<<colorList>> variable=\\\"colourName\\\"> <<palette-manager-colour-row>> </$list>\\n</$set>\\n</tbody>\\n</table>\\n\\\\end\\n\\\\whitespace trim\\n<$set name=\\\"currentTiddler\\\" value={{$:/palette}}>\\n\\n<<lingo Prompt>>&#32;<$link to={{$:/palette}}><$macrocall $name=\\\"currentTiddler\\\" $output=\\\"text/plain\\\"/></$link>\\n\\n<$list filter=\\\"[all[current]is[shadow]is[tiddler]]\\\" variable=\\\"listItem\\\">\\n<<lingo Prompt/Modified>>\\n&#32;\\n<$button message=\\\"tm-delete-tiddler\\\" param={{$:/palette}}><<lingo Reset/Caption>></$button>\\n</$list>\\n\\n<$list filter=\\\"[all[current]is[shadow]!is[tiddler]]\\\" variable=\\\"listItem\\\">\\n<<lingo Clone/Prompt>>\\n</$list>\\n\\n<$button message=\\\"tm-new-tiddler\\\" param={{$:/palette}}><<lingo Clone/Caption>></$button>\\n\\n<$checkbox tiddler=\\\"$:/state/palettemanager/showexternal\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\"><span class=\\\"tc-small-gap-left\\\"><<lingo Names/External/Show>></span></$checkbox>\\n\\n<<palette-manager-table>>\\n\"},\"$:/core/ui/PluginInfo\":{\"title\":\"$:/core/ui/PluginInfo\",\"text\":\"\\\\define localised-info-tiddler-title()\\n$(currentTiddler)$/$(languageTitle)$/$(currentTab)$\\n\\\\end\\n\\\\define info-tiddler-title()\\n$(currentTiddler)$/$(currentTab)$\\n\\\\end\\n\\\\define default-tiddler-title()\\n$:/core/ui/PluginInfo/Default/$(currentTab)$\\n\\\\end\\n\\\\whitespace trim\\n<$transclude tiddler=<<localised-info-tiddler-title>> mode=\\\"block\\\">\\n<$transclude tiddler=<<currentTiddler>> subtiddler=<<localised-info-tiddler-title>> mode=\\\"block\\\">\\n<$transclude tiddler=<<currentTiddler>> subtiddler=<<info-tiddler-title>> mode=\\\"block\\\">\\n<$transclude tiddler=<<default-tiddler-title>> mode=\\\"block\\\">\\n{{$:/language/ControlPanel/Plugin/NoInfoFound/Hint}}\\n</$transclude>\\n</$transclude>\\n</$transclude>\\n</$transclude>\\n\"},\"$:/core/ui/PluginInfo/Default/contents\":{\"title\":\"$:/core/ui/PluginInfo/Default/contents\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\\n\\\\whitespace trim\\n<<lingo Hint>>\\n<ul>\\n<$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" emptyMessage=<<lingo Empty/Hint>>>\\n<li>\\n<$link />\\n</li>\\n</$list>\\n</ul>\\n\"},\"$:/core/ui/PluginListItemTemplate\":{\"title\":\"$:/core/ui/PluginListItemTemplate\",\"text\":\"\\\\whitespace trim\\n<$link to={{!!title}} class=\\\"tc-plugin-info\\\">\\n\\t<div class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n\\t\\t<$transclude tiddler=<<currentTiddler>> subtiddler={{{ [<currentTiddler>addsuffix[/icon]] }}}>\\n\\t\\t\\t<$transclude tiddler={{{ [<currentTiddler>get[plugin-type]addprefix[$:/core/images/plugin-generic-]] }}}/>\\n\\t\\t</$transclude>\\n\\t</div>\\n\\t<div class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n\\t\\t<h1>\\n\\t\\t\\t''<$text text={{{ [<currentTiddler>get[name]] ~[<currentTiddler>split[/]last[1]] }}}/>'':&nbsp;<$view field=\\\"description\\\"><$view field=\\\"title\\\"/></$view>\\n\\t\\t</h1>\\n\\t</div>\\n</$link>\\n\"},\"$:/core/ui/RootTemplate\":{\"title\":\"$:/core/ui/RootTemplate\",\"code-body\":\"yes\",\"text\":\"<$transclude tiddler={{{ [{$:/layout}has[text]] ~[[$:/core/ui/PageTemplate]] }}} mode=\\\"inline\\\"/>\\n\\n\"},\"$:/core/ui/SearchResults\":{\"title\":\"$:/core/ui/SearchResults\",\"text\":\"<div class=\\\"tc-search-results\\\">\\n\\n<$list\\n\\tfilter=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\\\"\\n\\temptyMessage=\\\"<$list filter='[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]'><$transclude mode='block'/></$list>\\\">\\n\\n<$macrocall $name=\\\"tabs\\\"\\n\\ttabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\\\"\\n\\tdefault={{$:/config/SearchResults/Default}}\\n\\tactions=\\\"<$action-setfield $tiddler='$:/state/search/currentTab' text=<<currentTab>>/>\\\"\\n\\texplicitState=\\\"$:/state/tab/search-results/sidebar\\\"/>\\n\\n</$list>\\n\\n</div>\\n\"},\"$:/core/ui/SideBar/More\":{\"title\":\"$:/core/ui/SideBar/More\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/More/Caption}}\",\"text\":\"\\\\whitespace trim\\n<div class={{{ [{$:/config/ui/SideBar/More/horizontal}match[yes]then[tc-sidebar-tabs]else[tc-more-sidebar]] }}}>\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\\\" default={{$:/config/DefaultMoreSidebarTab}} state=\\\"$:/state/tab/moresidebar\\\" class={{{ [{$:/config/ui/SideBar/More/horizontal}match[yes]then[tc-sidebar-tabs-more]else[tc-vertical tc-sidebar-tabs-more]] }}} explicitState=\\\"$:/state/tab/moresidebar-1850697562\\\"/>\\n</div>\\n\"},\"$:/core/ui/SideBar/Open\":{\"title\":\"$:/core/ui/SideBar/Open\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/Open/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/CloseAll/\\n\\n\\\\define drop-actions()\\n<$action-listops $tiddler=<<tv-story-list>> $subfilter=\\\"+[insertbefore<actionTiddler>,<currentTiddler>]\\\"/>\\n\\\\end\\n\\n\\\\define placeholder()\\n<div class=\\\"tc-droppable-placeholder\\\"/>\\n\\\\end\\n\\n\\\\define droppable-item(button)\\n\\\\whitespace trim\\n<$droppable actions=<<drop-actions>> enable=<<tv-allow-drag-and-drop>> tag=\\\"div\\\">\\n<<placeholder>>\\n<div>\\n$button$\\n</div>\\n</$droppable>\\n\\\\end\\n\\n<div class=\\\"tc-sidebar-tab-open\\\">\\n<$list filter=\\\"[list<tv-story-list>]\\\" history=<<tv-history-list>> storyview=\\\"pop\\\">\\n<div class=\\\"tc-sidebar-tab-open-item\\\">\\n<$macrocall $name=\\\"droppable-item\\\" button=\\\"<$button message='tm-close-tiddler' tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class='tc-btn-invisible tc-btn-mini tc-small-gap-right'>{{$:/core/images/close-button}}</$button><$link/>\\\"/>\\n</div>\\n</$list>\\n<$tiddler tiddler=\\\"\\\">\\n<div>\\n<$macrocall $name=\\\"droppable-item\\\" button=\\\"<$button message='tm-close-all-tiddlers' class='tc-btn-invisible tc-btn-mini'><<lingo Button>></$button>\\\"/>\\n</div>\\n</$tiddler>\\n</div>\\n\"},\"$:/core/ui/SideBar/Recent\":{\"title\":\"$:/core/ui/SideBar/Recent\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/Recent/Caption}}\",\"text\":\"<$transclude $variable=\\\"timeline\\\" format={{$:/language/RecentChanges/DateFormat}} limit={{$:/config/RecentLimit}}/>\\n\"},\"$:/core/ui/SideBar/Tools\":{\"title\":\"$:/core/ui/SideBar/Tools\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/Tools/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure lingo-base() $:/language/ControlPanel/\\n\\\\function config-title() [[$:/config/PageControlButtons/Visibility/$(listItem)$]substitute[]]\\n\\n<<lingo Basics/Version/Prompt>><span class=\\\"tc-tiny-gap-left\\\"><<version>></span>\\n\\n<$let tv-config-toolbar-icons=\\\"yes\\\"\\n\\ttv-config-toolbar-text=\\\"yes\\\"\\n\\ttv-config-toolbar-class=\\\"\\\"\\n>\\n\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t<div class={{{ [<listItem>encodeuricomponent[]addprefix[tc-btn-]] tc-sidebar-tools-item +[join[ ]] }}}\\n\\t\\t\\tdata-title=<<listItem>>\\n\\t\\t>\\n\\t\\t\\t<$checkbox tiddler=<<config-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\" class=\\\"tc-tiny-gap-right\\\"/>\\n\\t\\t\\t\\t<$transclude $tiddler=<<listItem>>/>\\n\\t\\t\\t\\t<i class=\\\"tc-tiny-gap-left tc-muted\\\">\\n\\t\\t\\t\\t\\t<$transclude $tiddler=<<listItem>> $field=\\\"description\\\"/>\\n\\t\\t\\t\\t</i>\\n\\t\\t</div>\\n\\t</$list>\\n</$let>\\n\"},\"$:/core/ui/SideBarLists\":{\"title\":\"$:/core/ui/SideBarLists\",\"text\":\"<$transclude tiddler=\\\"$:/core/ui/SideBarSegments/search\\\"/>\\n\\n<$transclude tiddler=\\\"$:/core/ui/SideBarSegments/tabs\\\"/>\\n\\n\"},\"$:/core/ui/SideBarSegments/page-controls\":{\"title\":\"$:/core/ui/SideBarSegments/page-controls\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"{{||$:/core/ui/PageTemplate/pagecontrols}}\\n\"},\"$:/core/ui/SideBarSegments/search\":{\"title\":\"$:/core/ui/SideBarSegments/search\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure count-popup-button()\\n\\\\whitespace trim\\n<$button popup=<<qualify \\\"$:/state/popup/search-dropdown\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n<$list filter=\\\"[<searchTiddler>get[text]minlength{$:/config/Search/MinLength}limit[1]]\\\" variable=\\\"listItem\\\">\\n<$vars userInput={{{ [<searchTiddler>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}} replaceRegexp=\\\"limit\\\\[\\\\d+\\\\]\\\">\\n<$vars primaryListFilter={{{ [<configTiddler>get[first-search-filter]search-replace:g:regexp<replaceRegexp>,[]] }}} secondaryListFilter={{{ [<configTiddler>get[second-search-filter]search-replace:g:regexp<replaceRegexp>,[]] }}}>\\n<$set name=\\\"resultCount\\\" value=\\\"\\\"\\\"<$count filter=\\\"[subfilter<primaryListFilter>] [subfilter<secondaryListFilter>]\\\"/>\\\"\\\"\\\">\\n{{$:/language/Search/Matches}}\\n</$set>\\n</$vars>\\n</$vars>\\n</$list>\\n</$button>\\n\\\\end\\n\\n\\\\procedure search-results-list()\\n\\\\whitespace trim\\n<$vars userInput={{{ [<searchTiddler>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}}>\\n<$list filter=\\\"[<userInput>minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"\\\"\\\"<div class=\\\"tc-search-results\\\">{{$:/language/Search/Search/TooShort}}</div>\\\"\\\"\\\" variable=\\\"listItem\\\">\\n\\n<$tiddler tiddler=<<configTiddler>>>\\n\\n{{$:/core/ui/SearchResults}}\\n\\n</$tiddler>\\n\\n</$list>\\n</$vars>\\n\\\\end\\n\\n\\\\procedure cancel-search-actions() <$list filter=\\\"[<searchTiddler>get[text]!match{$:/temp/search}]\\\" emptyMessage=\\\"\\\"\\\"<$action-deletetiddler $filter=\\\"[[$:/temp/search]] [<searchTiddler>] [<searchListState>]\\\"/>\\\"\\\"\\\"><$action-setfield $tiddler=\\\"$:/temp/search\\\" text={{{ [<searchTiddler>get[text]] }}}/><$action-setfield $tiddler=\\\"$:/temp/search/refresh\\\" text=\\\"yes\\\"/></$list>\\n\\n\\\\procedure input-accept-actions() <$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\\\"\\\"<$list filter=\\\"[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]\\\"><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\\\"\\\"\\\"><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\\n\\n\\\\procedure input-accept-variant-actions() <$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\\\"\\\"<$list filter=\\\"[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]\\\"><$list filter=\\\"[<tiddler>get[text]minlength[1]]\\\"><$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\\\"\\\"\\\"><$list filter=\\\"[<tiddler>get[text]minlength[1]]\\\"><$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\\n\\n\\\\procedure set-next-input-tab() <$transclude $variable=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"after\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"\\\"\\\"<$action-setfield $tiddler=\\\"$:/state/search/currentTab\\\" text=<<nextTab>>/>\\\"\\\"\\\"/>\\n\\n\\\\procedure set-previous-input-tab() <$transclude $variable=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"before\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"\\\"\\\"<$action-setfield $tiddler=\\\"$:/state/search/currentTab\\\" text=<<nextTab>>/>\\\"\\\"\\\"/>\\n\\n\\\\procedure advanced-search-actions() <$action-setfield $tiddler=\\\"$:/temp/advancedsearch\\\" text={{$:/temp/search/input}}/><$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/search/input}}/><<delete-state-tiddlers>><$action-navigate $to=\\\"$:/AdvancedSearch\\\"/><$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/><$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\"\\\"\\\"[data-tiddler-title=\\\"$:/AdvancedSearch\\\"] .tc-search input\\\"\\\"\\\" preventScroll=\\\"true\\\"/><$action-deletetiddler $filter=\\\"$:/temp/search $:/temp/search/input $:/temp/search/refresh [<searchListState>]\\\"/>\\n\\n<div class=\\\"tc-sidebar-lists tc-sidebar-search\\\">\\n\\n<$vars editTiddler=\\\"$:/temp/search\\\" searchTiddler=\\\"$:/temp/search/input\\\" searchListState=<<qualify \\\"$:/state/search-list/selected-item\\\">>>\\n<div class=\\\"tc-search\\\">\\n<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>>>\\n<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-previous-input-tab>>>\\n<$keyboard key=\\\"((advanced-search-sidebar))\\\" actions=<<advanced-search-actions>>>\\n<form class=\\\"tc-form-inline\\\">\\n<$transclude $variable=\\\"keyboard-driven-input\\\" tiddler=<<editTiddler>> storeTitle=<<searchTiddler>> \\n\\t\\tselectionStateTitle=<<searchListState>> refreshTitle=\\\"$:/temp/search/refresh\\\" type=\\\"search\\\" \\n\\t\\ttag=\\\"input\\\" focus={{$:/config/Search/AutoFocus}} focusPopup=<<qualify \\\"$:/state/popup/search-dropdown\\\">> \\n\\t\\tclass=\\\"tc-tiny-gap-right tc-popup-handle\\\" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=<<cancel-search-actions>> \\n\\t\\tinputAcceptActions=<<input-accept-actions>> inputAcceptVariantActions=<<input-accept-variant-actions>> cancelPopups=\\\"yes\\\" \\n\\t\\tconfigTiddlerFilter=\\\"[[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}]\\\"/>\\n</form>\\n</$keyboard>\\n</$keyboard>\\n</$keyboard>\\n<$reveal state=<<searchTiddler>> type=\\\"nomatch\\\" text=\\\"\\\">\\n<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\\\"tc-btn-invisible\\\">\\n<<advanced-search-actions>>\\n{{$:/core/images/advanced-search-button}}\\n</$button>\\n<$button class=\\\"tc-btn-invisible\\\">\\n<<cancel-search-actions>><$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-search input\\\"/>\\n{{$:/core/images/close-button}}\\n</$button>\\n<<count-popup-button>>\\n</$reveal>\\n<$reveal state=<<searchTiddler>> type=\\\"match\\\" text=\\\"\\\">\\n<$button to=\\\"$:/AdvancedSearch\\\" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/advanced-search-button}}\\n</$button>\\n</$reveal>\\n</div>\\n\\n<$reveal tag=\\\"div\\\" class=\\\"tc-block-dropdown-wrapper\\\" state=<<searchTiddler>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n<$reveal tag=\\\"div\\\" class=\\\"tc-block-dropdown tc-search-drop-down tc-popup-handle\\\" state=<<qualify \\\"$:/state/popup/search-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\\n<<search-results-list>>\\n\\n</$reveal>\\n\\n</$reveal>\\n\\n</$vars>\\n\\n</div>\\n\"},\"$:/core/ui/SideBarSegments/site-subtitle\":{\"title\":\"$:/core/ui/SideBarSegments/site-subtitle\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"<div class=\\\"tc-site-subtitle\\\">\\n\\n<$transclude tiddler=\\\"$:/SiteSubtitle\\\" mode=\\\"inline\\\"/>\\n\\n</div>\\n\"},\"$:/core/ui/SideBarSegments/site-title\":{\"title\":\"$:/core/ui/SideBarSegments/site-title\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"<h1 class=\\\"tc-site-title\\\">\\n\\n<$transclude tiddler=\\\"$:/SiteTitle\\\" mode=\\\"inline\\\"/>\\n\\n</h1>\\n\"},\"$:/core/ui/SideBarSegments/tabs\":{\"title\":\"$:/core/ui/SideBarSegments/tabs\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"<div class=\\\"tc-sidebar-lists tc-sidebar-tabs\\\" role=\\\"region\\\" aria-label={{$:/language/SideBar/Caption}}>\\n\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\\\" default={{$:/config/DefaultSidebarTab}} state=\\\"$:/state/tab/sidebar\\\" class=\\\"tc-sidebar-tabs-main\\\" explicitState=\\\"$:/state/tab/sidebar--595412856\\\"/>\\n\\n</div>\\n\"},\"$:/core/ui/StoryTiddlerTemplate\":{\"title\":\"$:/core/ui/StoryTiddlerTemplate\",\"code-body\":\"yes\",\"text\":\"<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/StoryTiddlerTemplateFilter]!is[draft]get[text]] :and[has[title]else[$:/core/ui/ViewTemplate]] }}} />\\n\"},\"$:/core/ui/SwitcherModal\":{\"title\":\"$:/core/ui/SwitcherModal\",\"subtitle\":\"<$text text={{{[<switch>lookup[$:/language/Switcher/Subtitle/]]}}}/>\",\"class\":\"tc-modal-centered\",\"mask-closable\":\"yes\",\"text\":\"<$tiddler tiddler={{{[<switch>lookup[$:/config/SwitcherTargets/]]}}}>\\n\\n\\n<$transclude/>\\n\\n\\n</$tiddler>\"},\"$:/TagManager\":{\"title\":\"$:/TagManager\",\"icon\":\"$:/core/images/tag-button\",\"color\":\"#bbb\",\"text\":\"\\\\define lingo-base() $:/language/TagManager/\\n\\n\\\\define iconEditorTab(type)\\n\\\\whitespace trim\\n<$link to=\\\"\\\"><<lingo Icons/None>></$link>\\n<$list filter=\\\"[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]\\\">\\n\\t<$link to={{!!title}}>\\n\\t\\t<$transclude/> <$view field=\\\"title\\\"/>\\n\\t</$link>\\n</$list>\\n\\\\end\\n\\n\\\\define iconEditor(title)\\n\\\\whitespace trim\\n<div class=\\\"tc-drop-down-wrapper\\\">\\n\\t<$button popupTitle={{{ [[$:/state/popup/icon/]addsuffix<__title__>] }}} class=\\\"tc-btn-invisible tc-btn-dropdown\\\">\\n\\t\\t{{$:/core/images/down-arrow}}\\n\\t</$button>\\n\\t<$reveal stateTitle={{{ [[$:/state/popup/icon/]addsuffix<__title__>] }}} type=\\\"popup\\\" position=\\\"belowleft\\\" text=\\\"\\\" default=\\\"\\\">\\n\\t\\t<div class=\\\"tc-drop-down\\\">\\n\\t\\t\\t<$linkcatcher actions=\\\"\\\"\\\"<$action-setfield $tiddler=<<__title__>> icon=<<navigateTo>>/>\\\"\\\"\\\">\\n\\t\\t\\t\\t<<iconEditorTab type:\\\"!\\\">>\\n\\t\\t\\t\\t<hr/>\\n\\t\\t\\t\\t<<iconEditorTab type:\\\"\\\">>\\n\\t\\t\\t</$linkcatcher>\\n\\t\\t</div>\\n\\t</$reveal>\\n</div>\\n\\\\end\\n\\n\\\\define toggleButton(state)\\n\\\\whitespace trim\\n<$reveal stateTitle=<<__state__>> type=\\\"match\\\" text=\\\"closed\\\" default=\\\"closed\\\">\\n\\t<$button setTitle=<<__state__>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-btn-dropdown\\\" selectedClass=\\\"tc-selected\\\">\\n\\t\\t{{$:/core/images/info-button}}\\n\\t</$button>\\n</$reveal>\\n<$reveal stateTitle=<<__state__>> type=\\\"match\\\" text=\\\"open\\\" default=\\\"closed\\\">\\n\\t<$button setTitle=<<__state__>> setTo=\\\"closed\\\" class=\\\"tc-btn-invisible tc-btn-dropdown\\\" selectedClass=\\\"tc-selected\\\">\\n\\t\\t{{$:/core/images/info-button}}\\n\\t</$button>\\n</$reveal>\\n\\\\end\\n\\n\\\\procedure color-picker-actions()\\n\\\\whitespace trim\\n<$action-setfield $tiddler=<<currentTiddler>> color=<<colour-picker-value>>/>\\n\\\\end\\n\\n\\\\procedure color-picker-button()\\n\\\\whitespace trim\\n<div class=\\\"tc-drop-down-wrapper\\\">\\n<$button class=\\\"tc-btn-invisible\\\" popup={{{ [[$:/state/tag-manager/color/]addsuffix<currentTiddler>] }}}>{{$:/core/images/palette}}</$button>\\n<$reveal type=\\\"popup\\\" tag=\\\"div\\\" class=\\\"tc-drop-down tc-popup-keep\\\" state={{{ [[$:/state/tag-manager/color/]addsuffix<currentTiddler>] }}}>\\n<$transclude $variable=\\\"colour-picker\\\" actions=<<color-picker-actions>>/>\\n</$reveal>\\n</div>\\n\\\\end\\n\\n\\\\whitespace trim\\n<table class=\\\"tc-tag-manager-table\\\">\\n<tbody>\\n\\t<tr>\\n\\t\\t<th><<lingo Colour/Heading>></th>\\n\\t\\t<th class=\\\"tc-tag-manager-tag\\\"><<lingo Tag/Heading>></th>\\n\\t\\t<th><<lingo Count/Heading>></th>\\n\\t\\t<th><<lingo Icon/Heading>></th>\\n\\t\\t<th><<lingo Info/Heading>></th>\\n\\t</tr>\\n\\t<$list filter=\\\"[tags[]!is[system]sort[title]]\\\">\\n\\t\\t<tr>\\n\\t\\t\\t<td><$transclude $variable=\\\"color-picker-button\\\"/></td>\\n\\t\\t\\t<td>{{||$:/core/ui/TagTemplate}}</td>\\n\\t\\t\\t<td><$count filter=\\\"[all[current]tagging[]]\\\"/></td>\\n\\t\\t\\t<td>\\n\\t\\t\\t\\t<$macrocall $name=\\\"iconEditor\\\" title={{!!title}}/>\\n\\t\\t\\t</td>\\n\\t\\t\\t<td>\\n\\t\\t\\t\\t<$macrocall $name=\\\"toggleButton\\\" state={{{ [[$:/state/tag-manager/]addsuffix<currentTiddler>] }}} />\\n\\t\\t\\t</td>\\n\\t\\t</tr>\\n\\t\\t<tr>\\n\\t\\t\\t<td></td>\\n\\t\\t\\t<td colspan=\\\"4\\\">\\n\\t\\t\\t\\t<$reveal stateTitle={{{ [[$:/state/tag-manager/]addsuffix<currentTiddler>] }}} type=\\\"match\\\" text=\\\"open\\\" default=\\\"\\\">\\n\\t\\t\\t\\t\\t<table>\\n\\t\\t\\t\\t\\t\\t<tbody>\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td><<lingo Colour/Heading>></td>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td><$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"text\\\" size=\\\"9\\\"/></td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td><<lingo Icon/Heading>></td>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td><$edit-text field=\\\"icon\\\" tag=\\\"input\\\" size=\\\"45\\\"/></td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t</tbody>\\n\\t\\t\\t\\t\\t</table>\\n\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t</td>\\n\\t\\t</tr>\\n\\t</$list>\\n\\t<tr>\\n\\t\\t<td></td>\\n\\t\\t<td style=\\\"position:relative;\\\">\\n\\t\\t\\t{{$:/core/ui/UntaggedTemplate}}\\n\\t\\t</td>\\n\\t\\t<td>\\n\\t\\t\\t<small class=\\\"tc-menu-list-count\\\"><$count filter=\\\"[untagged[]!is[system]] -[tags[]]\\\"/></small>\\n\\t\\t</td>\\n\\t\\t<td></td>\\n\\t\\t<td></td>\\n\\t</tr>\\n</tbody>\\n</table>\"},\"$:/core/ui/TagPickerTagTemplate\":{\"title\":\"$:/core/ui/TagPickerTagTemplate\",\"text\":\"\\\\whitespace trim\\n<$button class=<<button-classes>> tag=\\\"a\\\" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}>\\n\\t<$list filter=\\\"[<saveTiddler>minlength[1]]\\\">\\n\\t\\t<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter=\\\"[<tag>]\\\"/>\\n\\t</$list>\\n\\t<$set name=\\\"currentTiddlerCSSEscaped\\\" value={{{ [<saveTiddler>escapecss[]] }}}>\\n\\t\\t<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=<<get-tagpicker-focus-selector>> preventScroll=\\\"true\\\"/>\\n\\t</$set>\\n\\t<<delete-tag-state-tiddlers>>\\n\\t<$list filter=\\\"[<refreshTitle>minlength[1]]\\\">\\n\\t\\t<$action-setfield $tiddler=<<refreshTitle>> text=\\\"yes\\\"/>\\n\\t</$list>\\n\\t<<actions>>\\n\\t<$set name=\\\"backgroundColor\\\"\\n\\t\\tvalue={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t>\\n\\t\\t<$wikify name=\\\"foregroundColor\\\"\\n\\t\\t\\ttext=\\\"\\\"\\\"<$macrocall $name=\\\"contrastcolour\\\" target=<<backgroundColor>> fallbackTarget=<<fallbackTarget>> colourA=<<colourA>> colourB=<<colourB>>/>\\\"\\\"\\\"\\n\\t\\t>\\n\\t\\t\\t<span class=\\\"tc-tag-label tc-btn-invisible\\\"\\n\\t\\t\\t\\tstyle=<<tag-pill-styles>>\\n\\t\\t\\t\\tdata-tag-title=<<currentTiddler>>\\n\\t\\t\\t>\\n\\t\\t\\t\\t{{||$:/core/ui/TiddlerIcon}}<$view field=\\\"title\\\" format=\\\"text\\\"/>\\n\\t\\t\\t</span>\\n\\t\\t</$wikify>\\n\\t</$set>\\n</$button>\\n\"},\"$:/core/ui/TagTemplate\":{\"title\":\"$:/core/ui/TagTemplate\",\"text\":\"\\\\whitespace trim\\n<span class=\\\"tc-tag-list-item\\\" data-tag-title=<<currentTiddler>>>\\n<$set name=\\\"transclusion\\\" value=<<currentTiddler>>>\\n\\t<$macrocall $name=\\\"tag-pill-body\\\"\\n\\t\\ttag=<<currentTiddler>>\\n\\t\\ticon={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}\\n\\t\\tcolour={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t\\tpalette={{$:/palette}}\\n\\t\\telement-tag=\\\"$button\\\"\\n\\t\\telement-attributes=\\\"\\\"\\\"popup=<<qualify \\\"$:/state/popup/tag\\\">> dragFilter=\\\"[subfilter{$:/core/config/TagPillDragFilter}]\\\" tag='span'\\\"\\\"\\\"\\n\\t/>\\n\\t<$reveal state=<<qualify \\\"$:/state/popup/tag\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\" class=\\\"tc-drop-down\\\">\\n\\t\\t<$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\\t\\t\\t<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\\t\\t</$set>\\n\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]\\\" variable=\\\"listItem\\\"> \\n\\t\\t\\t<$transclude tiddler=<<listItem>>/> \\n\\t\\t</$list>\\n\\t\\t<hr>\\n\\t\\t<$macrocall $name=\\\"list-tagged-draggable\\\" tag=<<currentTiddler>>/>\\n\\t</$reveal>\\n</$set>\\n</span>\\n\"},\"$:/core/ui/TestCaseTemplate\":{\"title\":\"$:/core/ui/TestCaseTemplate\",\"text\":\"\\\\parameters (hideIfPass:\\\"no\\\")\\n\\\\whitespace trim\\n<$let\\n\\tlinkTarget=\\\"yes\\\"\\n\\tdisplayFormat={{!!display-format}}\\n\\ttestcaseTiddler=<<currentTiddler>>\\n>\\n\\t<$testcase\\n\\t\\ttestOutput=\\\"Output\\\"\\n\\t\\ttestExpectedResult=\\\"ExpectedResult\\\"\\n\\t\\ttestActions=\\\"Actions\\\"\\n\\t\\ttestHideIfPass=<<hideIfPass>>\\n\\t>\\n\\t\\t<$data $filter={{!!import}}/>\\n\\t\\t<$data $compound-filter={{!!import-compound}}/>\\n\\t\\t<$data $compound-tiddler=<<currentTiddler>>/>\\n\\t\\t<%if [{!!description}!is[blank]] %><$data title=\\\"Description\\\" text={{!!description}}/><%endif%>\\n\\t</$testcase>\\n</$let>\\n\"},\"$:/core/ui/testcases/DefaultTemplate\":{\"title\":\"$:/core/ui/testcases/DefaultTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\\n\\\\function tf.state() \\\"$:/state/testcase\\\"\\n\\n\\\\procedure linkcatcherActions()\\n<%if [<navigateTo>has[title]] %>\\n\\t<$action-setfield $tiddler=<<tf.state>> text=<<navigateTo>>/>\\n<%endif%>\\n\\\\end\\n\\n\\\\procedure testcase-header()\\n<div class=\\\"tc-test-case-header\\\">\\n\\t<h2>\\n\\t\\t<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[span]] }}} to=<<testcaseTiddler>>>\\n\\t\\t\\t<%if [<testResult>!match[]] %>\\n\\t\\t\\t\\t<span class={{{ tc-test-case-result-icon\\n\\t\\t\\t\\t\\t[<testResult>!match[fail]then[tc-test-case-result-icon-pass]]\\n\\t\\t\\t\\t\\t[<testResult>match[fail]then[tc-test-case-result-icon-fail]]\\n\\t\\t\\t\\t\\t+[join[ ]] }}}\\n\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t<%if [<testResult>!match[fail]] %>\\n\\t\\t\\t\\t\\t\\t{{$:/core/images/done-button}}\\n\\t\\t\\t\\t\\t<%else%>\\n\\t\\t\\t\\t\\t\\t{{$:/core/images/close-button}}\\n\\t\\t\\t\\t\\t<%endif%>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t<%endif%>\\n\\t\\t\\t<$view tiddler=\\\"Description\\\" mode=\\\"inline\\\"/>\\n\\t\\t</$genesis>\\n\\t\\t<span class=\\\"tc-test-case-toolbar\\\">\\n\\t\\t\\t<<testcase-toolbar>>\\n\\t\\t</span>\\n\\t</h2>\\n</div>\\n\\\\end\\n\\n\\\\procedure testcase-toolbar()\\n<$button popup=`$(tf.state)$-more`\\n\\ttooltip={{$:/language/Buttons/More/Hint}}\\n\\taria-label={{$:/language/Buttons/More/Caption}}\\n\\tclass=\\\"tc-btn-invisible\\\"\\n\\tselectedClass=\\\"tc-selected\\\"\\n>\\n\\t{{$:/core/images/down-arrow}}\\n</$button>\\n<$let\\n\\ttv-config-toolbar-icons=\\\"yes\\\"\\n\\ttv-config-toolbar-text=\\\"yes\\\"\\n\\ttv-config-toolbar-class=\\\"tc-btn-invisible\\\"\\n>\\n\\t<$reveal state=`$(tf.state)$-more` type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\\t\\t<div class=\\\"tc-drop-down\\\">\\n\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TestCase/Actions]!has[draft.of]]\\\"\\n\\t\\t\\t\\tvariable=\\\"listItem\\\"\\n\\t\\t\\t>\\n\\t\\t\\t\\t<$transclude $tiddler=<<listItem>> $mode=\\\"inline\\\"/>\\n\\t\\t\\t</$list>\\n\\t\\t</div>\\n\\t</$reveal>\\n</$let>\\n\\\\end\\n\\n\\\\procedure testcase-narrative()\\n<div class=\\\"tc-test-case-narrative\\\">\\n\\t<$transclude $tiddler=\\\"Narrative\\\" $mode=\\\"block\\\"/>\\n</div>\\n\\\\end\\n\\n\\\\procedure testcase-fail()\\n<div class=\\\"tc-test-case-result-fail\\\">\\n\\t<div class=\\\"tc-test-case-result-fail-header\\\">\\n\\t\\tTEST FAILED\\n\\t</div>\\n\\t<div class=\\\"tc-test-case-result-fail-body\\\">\\n\\t\\t<$diff-text source=<<expectedHTML>> dest=<<outputHTML>>/>\\n\\t</div>\\n</div>\\n\\\\end\\n\\n\\\\procedure testcase-output-wikified()\\n<$linkcatcher actions=<<linkcatcherActions>>>\\n\\t<$tiddler tiddler=\\\"Output\\\">\\n\\t\\t<$transclude $tiddler=\\\"Output\\\" $mode=\\\"block\\\"/>\\n\\t</$tiddler>\\n</$linkcatcher>\\n\\\\end\\n\\n\\\\procedure testcase-output()\\n<div class=\\\"tc-test-case-output\\\">\\n\\t<%if [<displayFormat>!match[]else[wikitext]match[plaintext]] %>\\n\\t\\t<pre><$view tiddler=\\\"Output\\\" format=\\\"plainwikified\\\" mode=\\\"block\\\"/></pre>\\n\\t<%else%>\\n\\t\\t<<testcase-output-wikified>>\\n\\t<%endif%>\\n</div>\\n\\\\end\\n\\n\\\\procedure testcase-tabsList()\\n[all[tiddlers]sort[]] Output +[putfirst[]]\\n-Description\\n-Narrative\\n-[[$:/temp/testcase/draft-title]]\\n-[has[plugin-type]]\\n-[prefix<tf.state>]\\n-[prefix[$:/state/popup/export]]\\n-[prefix[$:/HistoryList]]\\n-[prefix[$:/StoryList]]\\n\\\\end\\n\\n\\\\procedure testcase-source()\\n<div class=\\\"tc-test-case-source\\\">\\n\\t<$macrocall $name=\\\"tabs\\\"\\n\\t\\ttabsList=<<testcase-tabsList>>\\n\\t\\texplicitState=<<tf.state>>\\n\\t\\tdefault=\\\"Output\\\"\\n\\t\\ttemplate=\\\"$:/core/ui/testcases/DefaultTemplate/SourceTabs\\\"\\n\\t/>\\n</div>\\n\\\\end\\n\\n\\\\procedure testcase-panes()\\n<div class=\\\"tc-test-case-panes\\\">\\n\\t<<testcase-source>>\\n\\t<div class=\\\"tc-test-case-divider\\\"></div>\\n\\t<<testcase-output>>\\n</div>\\n\\\\end\\n\\n\\\\procedure testcase-body()\\n<div class=\\\"tc-test-case-wrapper\\\">\\n\\t<<testcase-header>>\\n\\t<$let testcase-source-state = <<tf.state>>>\\n\\t\\t<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n\\t\\t\\t<%if [[Narrative]is[tiddler]] %>\\n\\t\\t\\t\\t<<testcase-narrative>>\\n\\t\\t\\t<%endif%>\\n\\t\\t\\t<%if [<testResult>match[fail]] %>\\n\\t\\t\\t\\t<<testcase-fail>>\\n\\t\\t\\t<%endif%>\\n\\t\\t\\t<<testcase-panes>>\\n\\t\\t</$navigator>\\n\\t</$let>\\n</div>\\n\\\\end\\n\\n<<testcase-body>>\"},\"$:/core/ui/testcases/DefaultTemplate/SourceTabs\":{\"title\":\"$:/core/ui/testcases/DefaultTemplate/SourceTabs\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure testcaseNewTitle() $:/temp/testcase/draft-title\\n\\n\\\\procedure saveActions()\\n<$action-setfield $tiddler=<<currentTab>> $field=\\\"draft.title\\\" $value=<<newTitle>>/>\\n<$action-sendmessage $message=\\\"tm-save-tiddler\\\" $param=<<title>> />\\n<$action-setfield $tiddler=<<testcase-source-state>> text=<<newTitle>>/>\\n<$action-deletetiddler $tiddler=<<testcaseNewTitle>>/>\\n\\\\end\\n\\n\\\\procedure saveButton(title, newTitle)\\n<$button class=\\\"tc-btn-invisible tc-test-case-save-button tc-small-gap-left\\\" actions=<<saveActions>> disabled={{{ [<testcaseNewTitle>!has[text]then[yes]] }}}>\\n{{$:/core/images/done-button}}\\n</$button>\\n\\\\end\\n\\n\\\\procedure body()\\n<$list filter=\\\"[<currentTab>fields[]] -text +[limit[1]]\\\" variable=\\\"ignore\\\">\\n\\t<table class=\\\"tc-field-table\\\">\\n\\t\\t<tbody>\\n\\t\\t\\t<$list filter=\\\"[<currentTab>fields[]sort[]] -text -title title +[putfirst[]]\\\" variable=\\\"fieldName\\\">\\n\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t<td>\\n\\t\\t\\t\\t\\t\\t<$text text=<<fieldName>>/>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t<td>\\n\\t\\t\\t\\t\\t\\t<%if [<fieldName>match[draft.title]] %>\\n\\t\\t\\t\\t\\t\\t\\t<$edit-text class=\\\"tc-edit-texteditor tc-max-width-80\\\" tiddler=<<testcaseNewTitle>> focus=\\\"yes\\\" tag=\\\"input\\\"/>\\n\\t\\t\\t\\t\\t\\t\\t<$macrocall $name=\\\"saveButton\\\" newTitle={{{ [<testcaseNewTitle>get[text]] }}} title=<<currentTab>>/>\\n\\t\\t\\t\\t\\t\\t<%else%>\\n\\t\\t\\t\\t\\t\\t\\t<$view tiddler=<<currentTab>> field=<<fieldName>>/>\\n\\t\\t\\t\\t\\t\\t<%endif%>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t</tr>\\n\\t\\t\\t</$list>\\n\\t\\t</tbody>\\n\\t</table>\\n</$list>\\n<$edit class=\\\"tc-edit-texteditor\\\" tiddler=<<currentTab>>/>\\n<div class=\\\"tc-test-case-footer-toolbar\\\">\\n<$macrocall $name=\\\"copy-to-clipboard\\\" src={{{ [<currentTab>get[text]] }}}/>\\n</div>\\n\\\\end\\n\\n<$transclude $variable=\\\"body\\\" $mode=\\\"inline\\\"/>\\n\"},\"$:/core/ui/testcases/RawJSONTemplate\":{\"title\":\"$:/core/ui/testcases/RawJSONTemplate\",\"text\":\"\\\\whitespace trim\\n<$text text=<<payloadTiddlers>>/>\\n\"},\"$:/core/ui/testcases/actions/Export\":{\"title\":\"$:/core/ui/testcases/actions/Export\",\"tags\":\"$:/tags/TestCase/Actions\",\"text\":\"<$macrocall $name=\\\"exportButton\\\" exportFilter=\\\"[all[tiddlers]sort[]] -[prefix[$:/state/]] -Description -Narrative -ExpectedResult -[has[plugin-type]]\\\" lingoBase=\\\"$:/language/Buttons/ExportTiddlers/\\\"/>\"},\"$:/core/ui/testcases/actions/Import\":{\"title\":\"$:/core/ui/testcases/actions/Import\",\"tags\":\"$:/tags/TestCase/Actions\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/TestCaseImport/Hint}} aria-label={{$:/language/Buttons/TestCaseImport/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-import-tiddlers\\\" $param=<<payloadTiddlers>>/>\\n{{$:/core/images/input-button}}\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/TestCaseImport/Caption}}/>\\n</span>\\n</$button>\\n\"},\"$:/core/ui/TiddlerFieldTemplate\":{\"title\":\"$:/core/ui/TiddlerFieldTemplate\",\"text\":\"\\\\whitespace trim\\n<tr class=\\\"tc-view-field\\\">\\n<td class=\\\"tc-view-field-name\\\">\\n<$text text=<<listItem>>/>\\n</td>\\n<td class=\\\"tc-view-field-value\\\">\\n<$view field=<<listItem>>/>\\n</td>\\n</tr>\"},\"$:/core/ui/TiddlerFields\":{\"title\":\"$:/core/ui/TiddlerFields\",\"text\":\"\\\\whitespace trim\\n<table class=\\\"tc-view-field-table\\\">\\n<tbody>\\n<$list filter=\\\"[all[current]fields[]sort[title]] -text\\\" template=\\\"$:/core/ui/TiddlerFieldTemplate\\\" variable=\\\"listItem\\\"/>\\n</tbody>\\n</table>\\n\"},\"$:/core/ui/TiddlerIcon\":{\"title\":\"$:/core/ui/TiddlerIcon\",\"text\":\"\\\\whitespace trim\\n<$let tiddlerIcon={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}>\\n<$list filter=\\\"[<tiddlerIcon>!is[blank]]\\\" variable=\\\"ignore\\\">\\n<$transclude tiddler=<<tiddlerIcon>>/>\\n</$list>\\n</$let>\\n\"},\"$:/core/ui/TiddlerInfo/Advanced/PluginInfo\":{\"title\":\"$:/core/ui/TiddlerInfo/Advanced/PluginInfo\",\"tags\":\"$:/tags/TiddlerInfo/Advanced\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\\n\\\\whitespace trim\\n<$list filter=\\\"[all[current]has[plugin-type]]\\\">\\n\\n! <<lingo Heading>>\\n\\n<<lingo Hint>>\\n<ul>\\n<$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" emptyMessage=<<lingo Empty/Hint>>>\\n<li>\\n<$link to={{!!title}}>\\n<$view field=\\\"title\\\"/>\\n</$link>\\n</li>\\n</$list>\\n</ul>\\n\\n</$list>\\n\"},\"$:/core/ui/TiddlerInfo/Advanced/ShadowInfo\":{\"title\":\"$:/core/ui/TiddlerInfo/Advanced/ShadowInfo\",\"tags\":\"$:/tags/TiddlerInfo/Advanced\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/Advanced/ShadowInfo/\\n<$set name=\\\"infoTiddler\\\" value=<<currentTiddler>>>\\n\\n''<<lingo Heading>>''\\n\\n<$list filter=\\\"[all[current]!is[shadow]]\\\">\\n\\n<<lingo NotShadow/Hint>>\\n\\n</$list>\\n\\n<$list filter=\\\"[all[current]is[shadow]]\\\">\\n\\n<<lingo Shadow/Hint>>\\n\\n<$list filter=\\\"[all[current]shadowsource[]]\\\">\\n\\n<$set name=\\\"pluginTiddler\\\" value=<<currentTiddler>>>\\n\\n<<lingo Shadow/Source>>\\n</$set>\\n\\n</$list>\\n\\n<$list filter=\\\"[all[current]is[shadow]is[tiddler]]\\\">\\n\\n<<lingo OverriddenShadow/Hint>>\\n\\n</$list>\\n\\n\\n</$list>\\n</$set>\\n\"},\"$:/core/ui/TiddlerInfo/Advanced\":{\"title\":\"$:/core/ui/TiddlerInfo/Advanced\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Advanced/Caption}}\",\"text\":\"<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo/Advanced]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n<$transclude tiddler=<<listItem>> mode=\\\"block\\\"/>\\n\\n</$list>\\n\"},\"$:/core/ui/TiddlerInfo/Fields\":{\"title\":\"$:/core/ui/TiddlerInfo/Fields\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Fields/Caption}}\",\"text\":\"<$transclude tiddler=\\\"$:/core/ui/TiddlerFields\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/List\":{\"title\":\"$:/core/ui/TiddlerInfo/List\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/List/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[list{!!title}]\\\" emptyMessage=<<lingo List/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/Listed\":{\"title\":\"$:/core/ui/TiddlerInfo/Listed\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Listed/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[all[current]listed[]!is[system]]\\\" emptyMessage=<<lingo Listed/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/References\":{\"title\":\"$:/core/ui/TiddlerInfo/References\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/References/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[all[current]backlinks[]sort[title]]\\\" emptyMessage=<<lingo References/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\">\\n</$list>\"},\"$:/core/ui/TiddlerInfo/Tagging\":{\"title\":\"$:/core/ui/TiddlerInfo/Tagging\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Tagging/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[all[current]tagging[]]\\\" emptyMessage=<<lingo Tagging/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/Tools\":{\"title\":\"$:/core/ui/TiddlerInfo/Tools\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Tools/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\\\define config-title()\\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\\n\\\\end\\n<$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n<$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n<$set name=\\\"tv-config-toolbar-class\\\" value=\\\"\\\">\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n<$checkbox tiddler=<<config-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/> <$transclude tiddler=<<listItem>>/> <i class=\\\"tc-muted\\\"><$transclude tiddler=<<listItem>> field=\\\"description\\\"/></i>\\n\\n</$list>\\n\\n</$set>\\n\\n</$set>\\n\\n</$set>\\n\"},\"$:/core/ui/TiddlerInfo\":{\"title\":\"$:/core/ui/TiddlerInfo\",\"text\":\"\\\\whitespace trim\\n<div style=\\\"position:relative;\\\">\\n<div class=\\\"tc-tiddler-controls\\\" style=\\\"position:absolute;right:0;\\\">\\n<$reveal state=\\\"$:/config/TiddlerInfo/Mode\\\" type=\\\"match\\\" text=\\\"sticky\\\">\\n<$button set=<<tiddlerInfoState>> setTo=\\\"\\\" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n</div>\\n</div>\\n\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]\\\" default={{$:/config/TiddlerInfo/Default}}/>\\n\"},\"$:/core/ui/TopBar/menu\":{\"title\":\"$:/core/ui/TopBar/menu\",\"tags\":\"$:/tags/TopRightBar\",\"text\":\"\\\\whitespace trim\\n<$list filter=\\\"[[$:/state/sidebar]get[text]] +[else[yes]!match[no]]\\\" variable=\\\"ignore\\\">\\n<$button set=\\\"$:/state/sidebar\\\" setTo=\\\"no\\\" tooltip={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class=\\\"tc-btn-invisible tc-hide-sidebar-btn\\\">{{$:/core/images/chevron-right}}</$button>\\n</$list>\\n<$list filter=\\\"[[$:/state/sidebar]get[text]] +[else[yes]match[no]]\\\" variable=\\\"ignore\\\">\\n<$button set=\\\"$:/state/sidebar\\\" setTo=\\\"yes\\\" tooltip={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class=\\\"tc-btn-invisible tc-show-sidebar-btn\\\">{{$:/core/images/chevron-left}}</$button>\\n</$list>\\n\"},\"$:/core/ui/UntaggedTemplate\":{\"title\":\"$:/core/ui/UntaggedTemplate\",\"text\":\"\\\\define lingo-base() $:/language/SideBar/\\n\\\\whitespace trim\\n<$button popup=<<qualify \\\"$:/state/popup/tag\\\">> class=\\\"tc-btn-invisible tc-untagged-label tc-tag-label\\\">\\n\\t<<lingo Tags/Untagged/Caption>>\\n</$button>\\n<$reveal class=\\\"tc-drop-down\\\" tag=\\\"div\\\" state=<<qualify \\\"$:/state/popup/tag\\\">> type=\\\"popup\\\" position=\\\"below\\\">\\n\\t<$list filter=\\\"[untagged[]!is[system]] -[tags[]] +[sort[title]]\\\" template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n</$reveal>\\n\"},\"$:/core/ui/ViewTemplate/body/blank\":{\"title\":\"$:/core/ui/ViewTemplate/body/blank\",\"text\":\"<!-- Intentionally blank -->\\n\"},\"$:/core/ui/ViewTemplate/body/code\":{\"title\":\"$:/core/ui/ViewTemplate/body/code\",\"text\":\"<%if [<currentTiddler>is[missing]] :and[!is[shadow]] %>\\n<$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/>\\n<%else%>\\n<$transclude $variable=\\\"copy-to-clipboard-above-right\\\" src={{{ [<currentTiddler>get[text]] }}} />\\n<$codeblock code={{{ [<currentTiddler>get[text]] }}} language={{{ [<currentTiddler>get[type]else[text/vnd.tiddlywiki]] }}}/>\\n<%endif%>\"},\"$:/core/ui/ViewTemplate/body/default\":{\"title\":\"$:/core/ui/ViewTemplate/body/default\",\"code-body\":\"yes\",\"text\":\"<$transclude>\\n\\n<$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/>\\n\\n</$transclude>\\n\"},\"$:/core/ui/ViewTemplate/body/import\":{\"title\":\"$:/core/ui/ViewTemplate/body/import\",\"text\":\"\\\\define lingo-base() $:/language/Import/\\n\\n\\\\define confirmCancel()\\n\\\\whitespace trim\\n<$action-confirm $message={{$:/language/Import/Listing/Cancel/Warning}} >\\n<$action-deletetiddler $tiddler=<<currentTiddler>>/>\\n<$action-deletetiddler $tiddler=\\\"$:/state/import/select-all\\\"/>\\n<$action-sendmessage $message=\\\"tm-close-tiddler\\\" title=<<currentTiddler>>/>\\n</$action-confirm>\\n\\\\end\\n\\n\\\\define buttons()\\n\\\\whitespace trim\\n<$button actions=<<confirmCancel>> ><<lingo Listing/Cancel/Caption>></$button>\\n&#32;\\n<$button message=\\\"tm-perform-import\\\" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button>\\n&#32;\\n<<lingo Listing/Preview>>&#32;<$select tiddler=\\\"$:/state/importpreviewtype\\\" default=\\\"$:/core/ui/ImportPreviews/Text\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ImportPreview]!has[draft.of]]\\\">\\n<option value=<<currentTiddler>>>{{!!caption}}</option>\\n</$list>\\n</$select>\\n\\\\end\\n\\\\whitespace trim\\n\\n<$list filter=\\\"[all[current]field:plugin-type[import]]\\\">\\n\\n<div class=\\\"tc-import\\\">\\n\\n<<lingo Listing/Hint>>\\n\\n<<buttons>>\\n\\n{{||$:/core/ui/ImportListing}}\\n\\n<<buttons>>\\n\\n</div>\\n\\n</$list>\\n\"},\"$:/core/ui/ViewTemplate/body/plugin\":{\"title\":\"$:/core/ui/ViewTemplate/body/plugin\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-tiddler-plugin-info\\\">\\n<$let plugin-type={{!!plugin-type}}\\n\\tdefault-popup-state=\\\"yes\\\"\\n\\tqualified-state=<<qualify \\\"$:/state/plugin-info\\\">>\\n>\\n{{||$:/core/ui/Components/plugin-info}}\\n</$let>\\n</div>\"},\"$:/core/ui/ViewTemplate/body/rendered-plain-text\":{\"title\":\"$:/core/ui/ViewTemplate/body/rendered-plain-text\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\\\\parameters (language:\\\"css\\\")\\n<$wikify name=\\\"text\\\" text={{!!text}} type={{!!type}}>\\n<$codeblock code=<<text>> language=<<language>>/>\\n</$wikify>\\n\"},\"$:/core/ui/ViewTemplate/body/rendered-plain-text/html\":{\"title\":\"$:/core/ui/ViewTemplate/body/rendered-plain-text/html\",\"code-body\":\"yes\",\"text\":\"{{||$:/core/ui/ViewTemplate/body/rendered-plain-text|html}}\"},\"$:/core/ui/ViewTemplate/body\":{\"title\":\"$:/core/ui/ViewTemplate/body\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View/Body]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View/Body]!is[draft]]\\n\\n<$reveal tag=\\\"div\\\" class=\\\"tc-tiddler-body tc-clearfix\\\" type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\\n<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />\\n\\n</$reveal>\\n\"},\"$:/core/ui/ViewTemplate/classic\":{\"title\":\"$:/core/ui/ViewTemplate/classic\",\"tags\":\"$:/tags/ViewTemplate $:/tags/EditTemplate\",\"text\":\"\\\\define lingo-base() $:/language/ClassicWarning/\\n\\\\whitespace trim\\n<$list filter=\\\"[all[current]type[text/x-tiddlywiki]]\\\">\\n<div class=\\\"tc-message-box\\\">\\n\\n<<lingo Hint>>\\n\\n<$button set=\\\"!!type\\\" setTo=\\\"text/vnd.tiddlywiki\\\"><<lingo Upgrade/Caption>></$button>\\n\\n</div>\\n</$list>\\n\"},\"$:/core/ui/ViewTemplate/lazy-loading\":{\"title\":\"$:/core/ui/ViewTemplate/lazy-loading\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n<%if [<currentTiddler>has:field[_is_skinny]] %>\\n <!-- Render the text to trigger lazy-loading -->\\n {{||$:/core/ui/ViewTemplate/body/default}}\\n <!-- Indicator of loading state -->\\n <div class=\\\"tc-tiddler-lazy-loading\\\" />\\n<%endif%>\\n\"},\"$:/core/ui/ViewTemplate/subtitle/default\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle/default\",\"text\":\"\\\\whitespace trim\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" tag=\\\"div\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-subtitle tc-clearfix\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]\\\" variable=\\\"subtitleTiddler\\\">\\n<$transclude tiddler=<<subtitleTiddler>> mode=\\\"inline\\\"/>\\n</$list>\\n</div>\\n</$reveal>\\n\"},\"$:/core/ui/ViewTemplate/subtitle/modified\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle/modified\",\"tags\":\"$:/tags/ViewTemplate/Subtitle\",\"text\":\"<$view field=\\\"modified\\\" format=\\\"date\\\" template={{$:/language/Tiddler/DateFormat}}/>\"},\"$:/core/ui/ViewTemplate/subtitle/modifier\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle/modifier\",\"tags\":\"$:/tags/ViewTemplate/Subtitle\",\"text\":\"<%if [{!!modifier}!is[blank]] %><$link to={{!!modifier}}/><%endif%>\"},\"$:/core/ui/ViewTemplate/subtitle\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateSubtitleFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/subtitle/default]] }}} />\"},\"$:/core/ui/ViewTemplate/tags/default\":{\"title\":\"$:/core/ui/ViewTemplate/tags/default\",\"text\":\"\\\\whitespace trim\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" tag=\\\"div\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n <div class=\\\"tc-tags-wrapper\\\">\\n <$list filter=\\\"[all[current]tags[]sort[title]]\\\" template=\\\"$:/core/ui/TagTemplate\\\" storyview=\\\"pop\\\"/>\\n <$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Tags]!has[draft.of]]\\\">\\n <$transclude mode=\\\"inline\\\"/>\\n </$list>\\n </div>\\n</$reveal>\\n\"},\"$:/core/ui/ViewTemplate/tags\":{\"title\":\"$:/core/ui/ViewTemplate/tags\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateTagsFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/tags/default]] }}} />\"},\"$:/core/ui/ViewTemplate/title/default\":{\"title\":\"$:/core/ui/ViewTemplate/title/default\",\"text\":\"\\\\whitespace trim\\n<h2 class=\\\"tc-title\\\">\\n<$view field=\\\"title\\\"/>\\n</h2>\\n\"},\"$:/core/ui/ViewTemplate/title/system\":{\"title\":\"$:/core/ui/ViewTemplate/title/system\",\"text\":\"\\\\whitespace trim\\n<h2 class=\\\"tc-title\\\" title={{$:/language/SystemTiddler/Tooltip}}>\\n<span class=\\\"tc-system-title-prefix\\\">$:/</span><$text text={{{ [<currentTiddler>removeprefix[$:/]] }}}/>\\n</h2>\"},\"$:/core/ui/ViewTemplate/title\":{\"title\":\"$:/core/ui/ViewTemplate/title\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n\\\\define title-styles() fill:$(foregroundColor)$;\\n\\n<div class=\\\"tc-tiddler-title tc-clearfix\\\">\\n\\t<div class=\\\"tc-titlebar\\\">\\n\\t\\t<span class=\\\"tc-tiddler-controls\\\">\\n\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] :filter[lookup[$:/config/ViewToolbarButtons/Visibility/]!match[hide]]\\\"\\n\\t\\t\\t\\tstoryview=\\\"pop\\\"\\n\\t\\t\\t\\tvariable=\\\"listItem\\\"\\n\\t\\t\\t>\\n\\t\\t\\t\\t<$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\\n\\t\\t\\t\\t\\t<$transclude tiddler=<<listItem>>/>\\n\\t\\t\\t\\t</$set>\\n\\t\\t\\t</$list>\\n\\t\\t</span>\\n\\t\\t<$set name=\\\"tv-wikilinks\\\" value={{$:/config/Tiddlers/TitleLinks}}>\\n\\t\\t\\t<$link>\\n\\t\\t\\t\\t<$list filter=\\\"[<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] +[!is[blank]]\\\"\\n\\t\\t\\t\\t\\tvariable=\\\"ignore\\\"\\n\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t<$let foregroundColor={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}>\\n\\t\\t\\t\\t\\t\\t<span class=\\\"tc-tiddler-title-icon\\\" style=<<title-styles>>>\\n\\t\\t\\t\\t\\t\\t\\t{{||$:/core/ui/TiddlerIcon}}\\n\\t\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t</$let>\\n\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateTitleFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/title/default]] }}} />\\n\\t\\t\\t</$link>\\n\\t\\t</$set>\\n\\t</div>\\n\\t<$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" state=<<tiddlerInfoState>> class=\\\"tc-tiddler-info tc-popup-handle\\\" animate=\\\"yes\\\" retain=\\\"yes\\\">\\n\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t<$transclude tiddler=<<listItem>> mode=\\\"block\\\"/>\\n\\t\\t</$list>\\n\\t</$reveal>\\n</div>\\n\"},\"$:/core/ui/ViewTemplate/unfold\":{\"title\":\"$:/core/ui/ViewTemplate/unfold\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-reveal\\\">\\n<$list filter=\\\"[{$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar}match[show]]\\\" variable=\\\"ignore\\\">\\n<$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" default=\\\"show\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=\\\"tc-fold-banner\\\">\\n<$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=<<currentTiddler>> foldedState=<<folded-state>>/>\\n{{$:/core/images/chevron-up}}\\n</$button>\\n</$reveal>\\n</$list>\\n<$list filter=\\\"[{$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar}match[show]] :else[<folded-state>get[text]match[hide]]\\\" variable=\\\"ignore\\\">\\n<$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"show\\\" default=\\\"show\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=\\\"tc-unfold-banner\\\">\\n<$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=<<currentTiddler>> foldedState=<<folded-state>>/>\\n{{$:/core/images/chevron-down}}\\n</$button>\\n</$reveal>\\n</$list>\\n</div>\"},\"$:/core/ui/ViewTemplate\":{\"title\":\"$:/core/ui/ViewTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\\\\define folded-state()\\n$:/state/folded/$(currentTiddler)$\\n\\\\end\\n\\\\define cancel-delete-tiddler-actions(message) <$action-sendmessage $message=\\\"tm-$message$-tiddler\\\"/>\\n\\\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]]\\n<$vars storyTiddler=<<currentTiddler>> tiddlerInfoState=<<qualify \\\"$:/state/popup/tiddler-info\\\">>>\\n<div data-tiddler-title=<<currentTiddler>> data-tags={{!!tags}} class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/TiddlerTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-tiddler-frame tc-tiddler-view-frame [<currentTiddler>is[tiddler]then[tc-tiddler-exists]] [<currentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [<currentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [<currentTiddler>is[shadow]is[tiddler]then[tc-tiddler-overridden-shadow]] [<currentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [<currentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}} role=\\\"article\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!is[draft]]\\\" variable=\\\"listItem\\\">\\n<$transclude tiddler=<<listItem>>/>\\n</$list>\\n</div>\\n</$vars>\\n\"},\"$:/core/ui/Buttons/clone\":{\"title\":\"$:/core/ui/Buttons/clone\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}\",\"description\":\"{{$:/language/Buttons/Clone/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-new-tiddler\\\"\\n\\tparam=<<currentTiddler>>\\n\\ttooltip={{$:/language/Buttons/Clone/Hint}}\\n\\taria-label={{$:/language/Buttons/Clone/Hint}}\\n\\tclass=<<tv-config-toolbar-class>>\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/clone-button}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\">\\n\\t\\t\\t<$text text={{$:/language/Buttons/Clone/Caption}}/>\\n\\t\\t</span>\\n\\t<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/close-others\":{\"title\":\"$:/core/ui/Buttons/close-others\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}\",\"description\":\"{{$:/language/Buttons/CloseOthers/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-close-other-tiddlers\\\" param=<<currentTiddler>> tooltip={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/close-others-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/CloseOthers/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/close\":{\"title\":\"$:/core/ui/Buttons/close\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}\",\"description\":\"{{$:/language/Buttons/Close/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-close-tiddler\\\"\\n\\ttooltip={{$:/language/Buttons/Close/Hint}}\\n\\taria-label={{$:/language/Buttons/Close/Caption}}\\n\\tclass=<<tv-config-toolbar-class>>\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/close-button}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\">\\n\\t\\t\\t<$text text={{$:/language/Buttons/Close/Caption}}/>\\n\\t\\t</span>\\n\\t<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/edit\":{\"title\":\"$:/core/ui/Buttons/edit\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}\",\"description\":\"{{$:/language/Buttons/Edit/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-edit-tiddler\\\"\\n\\ttooltip={{$:/language/Buttons/Edit/Hint}}\\n\\taria-label={{$:/language/Buttons/Edit/Hint}}\\n\\tclass=<<tv-config-toolbar-class>>\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/edit-button}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\">\\n\\t\\t<$text text={{$:/language/Buttons/Edit/Caption}}/>\\n\\t</span>\\n\\t<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/export-tiddler\":{\"title\":\"$:/core/ui/Buttons/export-tiddler\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/export-button}} {{$:/language/Buttons/ExportTiddler/Caption}}\",\"description\":\"{{$:/language/Buttons/ExportTiddler/Hint}}\",\"text\":\"<$transclude $variable=\\\"exportButton\\\" exportFilter=`[[$(currentTiddler)$]]` lingoBase=\\\"$:/language/Buttons/ExportTiddler/\\\" baseFilename=<<currentTiddler>>/>\"},\"$:/core/ui/Buttons/fold-bar\":{\"title\":\"$:/core/ui/Buttons/fold-bar\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/chevron-up}} {{$:/language/Buttons/Fold/FoldBar/Caption}}\",\"description\":\"{{$:/language/Buttons/Fold/FoldBar/Hint}}\",\"text\":\"<!-- This dummy toolbar button is here to allow visibility of the fold-bar to be controlled as if it were a toolbar button -->\"},\"$:/core/ui/Buttons/fold-others\":{\"title\":\"$:/core/ui/Buttons/fold-others\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/fold-others-button}} {{$:/language/Buttons/FoldOthers/Caption}}\",\"description\":\"{{$:/language/Buttons/FoldOthers/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button tooltip={{$:/language/Buttons/FoldOthers/Hint}} aria-label={{$:/language/Buttons/FoldOthers/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-fold-other-tiddlers\\\" $param=<<currentTiddler>> foldedStatePrefix=\\\"$:/state/folded/\\\"/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/fold-others-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/FoldOthers/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/fold\":{\"title\":\"$:/core/ui/Buttons/fold\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}\",\"description\":\"{{$:/language/Buttons/Fold/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" default=\\\"show\\\">\\n<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=<<currentTiddler>> foldedState=<<folded-state>>/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/fold-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Fold/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" default=\\\"show\\\">\\n<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=<<tv-config-toolbar-class>>>\\n<$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=<<currentTiddler>> foldedState=<<folded-state>>/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/unfold-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Unfold/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n</$reveal>\\n\"},\"$:/core/ui/Buttons/info\":{\"title\":\"$:/core/ui/Buttons/info\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}\",\"description\":\"{{$:/language/Buttons/Info/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure button-content()\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/info-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Info/Caption}}/>\\n</span>\\n<%endif%>\\n\\\\end\\n<$reveal state=\\\"$:/config/TiddlerInfo/Mode\\\" type=\\\"match\\\" text=\\\"popup\\\">\\n<$button popup=<<tiddlerInfoState>> tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<$transclude $variable=\\\"button-content\\\" $mode=\\\"inline\\\"/>\\n</$button>\\n</$reveal>\\n<$reveal state=\\\"$:/config/TiddlerInfo/Mode\\\" type=\\\"match\\\" text=\\\"sticky\\\">\\n<$reveal state=<<tiddlerInfoState>> type=\\\"match\\\" text=\\\"\\\" default=\\\"\\\">\\n<$button set=<<tiddlerInfoState>> setTo=\\\"yes\\\" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<$transclude $variable=\\\"button-content\\\" $mode=\\\"inline\\\"/>\\n</$button>\\n</$reveal>\\n<$reveal state=<<tiddlerInfoState>> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n<$button set=<<tiddlerInfoState>> setTo=\\\"\\\" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<$transclude $variable=\\\"button-content\\\" $mode=\\\"inline\\\"/>\\n</$button>\\n</$reveal>\\n</$reveal>\"},\"$:/core/ui/Buttons/more-tiddler-actions\":{\"title\":\"$:/core/ui/Buttons/more-tiddler-actions\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}\",\"description\":\"{{$:/language/Buttons/More/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\n<$button popup=<<qualify \\\"$:/state/popup/more\\\">>\\n\\ttooltip={{$:/language/Buttons/More/Hint}}\\n\\taria-label={{$:/language/Buttons/More/Caption}}\\n\\tclass=<<tv-config-toolbar-class>>\\n\\tselectedClass=\\\"tc-selected\\\"\\n>\\n\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t{{$:/core/images/down-arrow}}\\n\\t<%endif%>\\n\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t<span class=\\\"tc-btn-text\\\">\\n\\t\\t\\t<$text text={{$:/language/Buttons/More/Caption}}/>\\n\\t\\t</span>\\n\\t<%endif%>\\n</$button>\\n<$reveal state=<<qualify \\\"$:/state/popup/more\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\\t<div class=\\\"tc-drop-down\\\">\\n\\t\\t<$let tv-config-toolbar-icons=\\\"yes\\\" tv-config-toolbar-text=\\\"yes\\\" tv-config-toolbar-class=\\\"tc-btn-invisible\\\">\\n\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]\\\"\\n\\t\\t\\t\\tvariable=\\\"listItem\\\"\\n\\t\\t\\t>\\n\\t\\t\\t\\t<$reveal type=\\\"match\\\" state=`$:/config/ViewToolbarButtons/Visibility/$(listItem)$` text=\\\"hide\\\">\\n\\t\\t\\t\\t\\t<$set name=\\\"tv-config-toolbar-class\\\"\\n\\t\\t\\t\\t\\t\\tfilter=\\\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\\\"\\n\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t</$reveal>\\n\\t\\t\\t</$list>\\n\\t\\t</$let>\\n\\t</div>\\n</$reveal>\"},\"$:/core/ui/Buttons/new-here\":{\"title\":\"$:/core/ui/Buttons/new-here\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}}\",\"description\":\"{{$:/language/Buttons/NewHere/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure newHereActions()\\n<$set name=\\\"tags\\\" filter=\\\"[<currentTiddler>] [enlist{$:/config/NewTiddler/Tags}]\\\">\\n<$action-sendmessage $message=\\\"tm-new-tiddler\\\" tags=<<tags>>/>\\n</$set>\\n\\\\end\\n\\\\procedure newHereButton()\\n<$button actions=<<newHereActions>> tooltip={{$:/language/Buttons/NewHere/Hint}} aria-label={{$:/language/Buttons/NewHere/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/new-here-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/NewHere/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\\n\\\\end\\n<<newHereButton>>\\n\"},\"$:/core/ui/Buttons/new-journal-here\":{\"title\":\"$:/core/ui/Buttons/new-journal-here\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournalHere/Caption}}\",\"description\":\"{{$:/language/Buttons/NewJournalHere/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\procedure journalButton()\\n<$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}} aria-label={{$:/language/Buttons/NewJournalHere/Caption}} class=<<tv-config-toolbar-class>>>\\n<$wikify name=\\\"journalTitle\\\" text=\\\"\\\"\\\"<$transclude $variable=\\\"now\\\" format=<<journalTitleTemplate>>/>\\\"\\\"\\\">\\n<$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=<<journalTitle>> tags=`[[$(currentTiddlerTag)$]] $(journalTags)$`/>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/new-journal-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>\\n</span>\\n<%endif%>\\n</$wikify>\\n</$button>\\n\\\\end\\n<$let journalTitleTemplate={{$:/config/NewJournal/Title}} journalTags={{$:/config/NewJournal/Tags}} currentTiddlerTag=<<currentTiddler>>>\\n<<journalButton>>\\n</$let>\\n\"},\"$:/core/ui/Buttons/open-window\":{\"title\":\"$:/core/ui/Buttons/open-window\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/open-window}} {{$:/language/Buttons/OpenWindow/Caption}}\",\"description\":\"{{$:/language/Buttons/OpenWindow/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-open-window\\\" tooltip={{$:/language/Buttons/OpenWindow/Hint}} aria-label={{$:/language/Buttons/OpenWindow/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/open-window}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/OpenWindow/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/permalink\":{\"title\":\"$:/core/ui/Buttons/permalink\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}\",\"description\":\"{{$:/language/Buttons/Permalink/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-permalink\\\" tooltip={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/permalink-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Permalink/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\"},\"$:/core/ui/Buttons/permaview\":{\"title\":\"$:/core/ui/Buttons/permaview\",\"tags\":\"$:/tags/ViewToolbar $:/tags/PageControls\",\"caption\":\"{{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}}\",\"description\":\"{{$:/language/Buttons/Permaview/Hint}}\",\"text\":\"\\\\whitespace trim\\n<$button message=\\\"tm-permaview\\\" tooltip={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=<<tv-config-toolbar-class>>>\\n<%if [<tv-config-toolbar-icons>match[yes]] %>\\n{{$:/core/images/permaview-button}}\\n<%endif%>\\n<%if [<tv-config-toolbar-text>match[yes]] %>\\n<span class=\\\"tc-btn-text\\\">\\n<$text text={{$:/language/Buttons/Permaview/Caption}}/>\\n</span>\\n<%endif%>\\n</$button>\"},\"$:/core/ui/ControlPanel/WikiInformation\":{\"title\":\"$:/core/ui/ControlPanel/WikiInformation\",\"tags\":\"$:/tags/ControlPanel/Info\",\"caption\":\"<%if [[$:/language/ControlPanel/WikiInformation/Caption]is[shadow]] %>{{$:/language/ControlPanel/WikiInformation/Caption}}<%else%>Wiki Information<%endif%>\",\"subtitle\":\"<%if [[$:/language/ControlPanel/WikiInformation/Caption]is[shadow]] %>{{$:/language/ControlPanel/WikiInformation/Caption}}<%else%>Wiki Information<%endif%>\",\"text\":\"\\\\procedure lingo-base() $:/language/ControlPanel/WikiInformation/\\n\\n<!--\\nA custom implementation of the lingo macro that works even if this tiddler has been copied to an earlier version of TiddlyWiki that doesn't include the necessary lingo tiddlers in the core.\\n-->\\n\\n\\\\procedure intrinsic-lingo-Hint()\\nThis page summarises high level information about the configuration of this ~TiddlyWiki. It is designed to enable users to quickly share relevant aspects of the configuration of their ~TiddlyWiki with others, for example when seeking help in one of the forums. No private or personal information is included, and nothing is shared without being explicitly copied and pasted elsewhere\\n\\\\end intrinsic-lingo-Hint\\n\\n\\\\procedure intrinsic-lingo-Drag/Caption()\\nDrag this link to copy this tool to another wiki\\n\\\\end intrinsic-lingo-Drag/Caption\\n\\n\\\\procedure lingo(title,mode:\\\"inline\\\")\\n<%if [<title>addprefix<lingo-base>is[shadow]] %>\\n\\t<$transclude $tiddler={{{ [<title>addprefix<lingo-base>] }}} $mode=<<mode>>/>\\n<%else%>\\n\\t<$transclude $variable={{{ [<title>addprefix[intrinsic-lingo-]] }}} $mode=<<mode>>/>\\n<%endif%>\\n\\\\end lingo\\n\\n\\\\whitespace trim\\n\\n\\\\procedure capture-item(label,value)\\n<$action-setfield $tiddler=<<tempWikiInfo>> text={{{ [<tempWikiInfo>get[text]addsuffix<label>addsuffix[: ]addsuffix<value>addsuffix<crlf>] }}}/>\\n\\\\end capture-item\\n\\n\\\\procedure capture-item-wikified(label,value)\\n<$wikify name=\\\"text\\\" text=<<value>> mode=\\\"inline\\\">\\n\\t<$transclude\\n\\t\\t$variable=\\\"capture-item\\\"\\n\\t\\tlabel=<<label>>\\n\\t\\tvalue=<<text>>\\n\\t/>\\n</$wikify>\\n\\\\end capture-item-wikified\\n\\n\\\\procedure capture-wiki-info(tempWikiInfo)\\n<$transclude $variable=\\\"capture-item-wikified\\\" label=\\\"TiddlyWiki Version\\\" value=\\\"<<version>>\\\"/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Current palette\\\" value={{$:/palette}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Current theme\\\" value={{$:/theme}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Current layout\\\" value={{$:/layout}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Browser language setting\\\" value={{$:/info/browser/language}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Default type for missing tiddlers\\\" value={{$:/config/DefaultMissingType}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Auto save setting\\\" value={{$:/config/AutoSave}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Code wrapping setting\\\" value={{$:/themes/tiddlywiki/vanilla/options/codewrapping}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Sticky titles setting\\\" value={{$:/themes/tiddlywiki/vanilla/options/stickytitles}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Sidebar layout setting\\\" value={{$:/themes/tiddlywiki/vanilla/options/sidebarlayout}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Auto focus field setting for new tiddlers\\\" value={{$:/config/AutoFocus}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Current storyview setting\\\" value={{$:/view}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Toolbar text setting\\\" value={{$:/config/Toolbar/Text}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Toolbar icon setting\\\" value={{$:/config/Toolbar/Icons}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Button class setting\\\" value={{$:/config/Toolbar/ButtonClass}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Navigation address bar setting\\\" value={{$:/config/Navigation/UpdateAddressBar}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Tiddler opening behaviour setting for navigations from outside the story river\\\" value={{$:/config/Navigation/openLinkFromOutsideRiver}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Tiddler opening behaviour setting for navigations from within the story river\\\" value={{$:/config/Navigation/openLinkFromInsideRiver}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"CamelCase linking setting\\\" value={{$:/config/WikiParserRules/Inline/wikilink}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Keyboard shortcuts that have been customised\\\" value={{{ [all[tiddlers]prefix[$:/config/shortcuts]] +[join[,]] }}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Disabled plugins\\\" value={{{ [all[tiddlers]prefix[$:/config/Plugins/Disabled/]] :filter[{!!text}match[yes]] :map[<currentTiddler>removeprefix[$:/config/Plugins/Disabled/]] +[join[,]] }}}/>\\n<$transclude $variable=\\\"capture-item\\\" label=\\\"Plugins\\\" value={{{ [has[plugin-type]sort[]] :filter[<currentTiddler>addprefix[$:/config/Plugins/Disabled/]get[text]else[no]!match[yes]] :map[{!!version}addprefix[ - ]addprefix<currentTiddler>] +[addprefix[ ]addprefix<crlf>join[]] }}}/>\\n\\\\end capture-wiki-info\\n\\n\\\\procedure template-header()\\n<details><summary>Wiki Information</summary><pre><code>\\n\\n\\\\end template-header\\n\\n\\\\procedure template-footer()\\n\\n</code></pre></details>\\n\\\\end template-footer\\n\\n\\\\procedure display-wiki-info-modal()\\n<$let\\n\\ttempWikiInfo=\\\"$:/temp/wiki-info\\\"\\n\\tcrlf={{{ [charcode[13],[10]] }}}\\n>\\n\\t<$action-sendmessage\\n\\t\\t$message=\\\"tm-modal\\\"\\n\\t\\t$param=\\\"$:/core/ui/ControlPanel/WikiInformation\\\"\\n\\t\\tisModal=\\\"yes\\\"\\n\\t\\ttempWikiInfo=<<tempWikiInfo>>\\n\\t/>\\n\\t<$action-deletetiddler $tiddler=<<tempWikiInfo>>/>\\n\\t<$action-setfield $tiddler=<<tempWikiInfo>> text=<<template-header>>/>\\n\\t<$transclude\\n\\t\\t$variable=\\\"capture-wiki-info\\\"\\n\\t\\ttempWikiInfo=<<tempWikiInfo>>\\n\\t/>\\n\\t<$action-setfield $tiddler=<<tempWikiInfo>> text={{{ [<tempWikiInfo>get[text]addsuffix<template-footer>] }}}/>\\n</$let>\\n\\\\end display-wiki-info-modal\\n\\n\\\\procedure story-content()\\n<<lingo title:\\\"Hint\\\" mode:\\\"block\\\">>\\n\\n<$button>\\n<<display-wiki-info-modal>>\\nClick to generate wiki information report\\n</$button>\\n\\n<$link to=\\\"$:/core/ui/ControlPanel/WikiInformation\\\">\\n<<lingo title:\\\"Drag/Caption\\\" mode:\\\"inline\\\">>\\n</$link>\\n\\\\end story-content\\n\\n\\\\procedure modal-content()\\n<p>\\n\\t<$transclude $variable=\\\"copy-to-clipboard\\\" src={{{ [<tempWikiInfo>get[text]] }}}/>\\n</p>\\n<p>\\n\\t<$edit-text tiddler=<<tempWikiInfo>> tag=\\\"textarea\\\" disabled=\\\"yes\\\" class=\\\"tc-max-width\\\"/>\\n</p>\\n\\\\end modal-content\\n\\n<$transclude $variable={{{ [<isModal>match[yes]then[modal-content]else[story-content]] }}} $mode=\\\"block\\\"/>\\n\"},\"$:/DefaultTiddlers\":{\"title\":\"$:/DefaultTiddlers\",\"text\":\"GettingStarted\\n\"},\"$:/temp/advancedsearch\":{\"title\":\"$:/temp/advancedsearch\",\"text\":\"\"},\"$:/snippets/allfields\":{\"title\":\"$:/snippets/allfields\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure lingo-base() $:/language/Docs/Fields/\\n\\n\\\\function tf.getLingoText() [<lingo-base>] [<title>] +[join[]get[text]]\\n\\n\\\\procedure renderfield(title)\\n<tr class=\\\"tc-view-field\\\">\\n\\t<td class=\\\"tc-view-field-name\\\">\\n\\t\\t''<$text text=<<title>>/>'':\\n\\t</td>\\n\\t<td class=\\\"tc-view-field-value\\\">\\n\\t\\t//<<tf.getLingoText>>//\\n\\t</td>\\n\\t<td class=\\\"tc-view-field-list\\\">\\n\\t\\t<$macrocall $name=\\\"show-filter-count\\\" filter=`[has[$(title)$]sort[]]`>>\\n\\t</td>\\n</tr>\\n\\\\end\\n\\n<table class=\\\"tc-view-field-table\\\">\\n\\t<tbody>\\n\\t\\t<!-- <<renderfieldHeader>> -->\\n\\t\\t<$list filter=\\\"[fields[]sort[title]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t<$macrocall $name=\\\"renderfield\\\" title=<<listItem>>/>\\n\\t\\t</$list>\\n\\t</tbody>\\n</table>\\n\"},\"$:/config/AnimationDuration\":{\"title\":\"$:/config/AnimationDuration\",\"text\":\"400\"},\"$:/config/AutoFocus\":{\"title\":\"$:/config/AutoFocus\",\"text\":\"title\"},\"$:/config/AutoSave\":{\"title\":\"$:/config/AutoSave\",\"text\":\"yes\"},\"$:/config/BitmapEditor/Colour\":{\"title\":\"$:/config/BitmapEditor/Colour\",\"text\":\"#444\"},\"$:/config/BitmapEditor/ImageSizes\":{\"title\":\"$:/config/BitmapEditor/ImageSizes\",\"text\":\"[[62px 100px]] [[100px 62px]] [[124px 200px]] [[200px 124px]] [[248px 400px]] [[371px 600px]] [[400px 248px]] [[556px 900px]] [[600px 371px]] [[742px 1200px]] [[900px 556px]] [[1200px 742px]]\"},\"$:/config/BitmapEditor/LineWidth\":{\"title\":\"$:/config/BitmapEditor/LineWidth\",\"text\":\"3px\"},\"$:/config/BitmapEditor/LineWidths\":{\"title\":\"$:/config/BitmapEditor/LineWidths\",\"text\":\"0.25px 0.5px 1px 2px 3px 4px 6px 8px 10px 16px 20px 28px 40px 56px 80px\"},\"$:/config/BitmapEditor/Opacities\":{\"title\":\"$:/config/BitmapEditor/Opacities\",\"text\":\"0.01 0.025 0.05 0.075 0.1 0.15 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0\"},\"$:/config/BitmapEditor/Opacity\":{\"title\":\"$:/config/BitmapEditor/Opacity\",\"text\":\"1.0\"},\"$:/config/DefaultMoreSidebarTab\":{\"title\":\"$:/config/DefaultMoreSidebarTab\",\"text\":\"$:/core/ui/MoreSideBar/Tags\"},\"$:/config/DefaultSidebarTab\":{\"title\":\"$:/config/DefaultSidebarTab\",\"text\":\"$:/core/ui/SideBar/Open\"},\"$:/config/ControlPanel/Basics/DefaultTiddlers/RetainStory\":{\"title\":\"$:/config/ControlPanel/Basics/DefaultTiddlers/RetainStory\",\"text\":\"[list[$:/StoryList]]\"},\"$:/config/DownloadSaver/AutoSave\":{\"title\":\"$:/config/DownloadSaver/AutoSave\",\"text\":\"no\"},\"$:/config/Drafts/TypingTimeout\":{\"title\":\"$:/config/Drafts/TypingTimeout\",\"text\":\"400\"},\"$:/config/EditMode/fieldname-filter\":{\"title\":\"$:/config/EditMode/fieldname-filter\",\"first-search-filter\":\"[!is[shadow]!is[system]fields[]search:title<userInput>sort[]] -created -creator -draft.of -draft.title -modified -modifier -tags -text -title -type\",\"second-search-filter\":\"[fields[]search:title<userInput>sort[]] -[!is[shadow]!is[system]fields[]]\"},\"$:/config/EditTabIndex\":{\"title\":\"$:/config/EditTabIndex\",\"text\":\"1\"},\"$:/config/EditTemplateBodyFilters/canonical-uri\":{\"title\":\"$:/config/EditTemplateBodyFilters/canonical-uri\",\"tags\":\"$:/tags/EditTemplateBodyFilter\",\"text\":\"[has[_canonical_uri]then[$:/core/ui/EditTemplate/body/canonical-uri]]\"},\"$:/config/EditTemplateBodyFilters/default\":{\"title\":\"$:/config/EditTemplateBodyFilters/default\",\"tags\":\"$:/tags/EditTemplateBodyFilter\",\"text\":\"[[$:/core/ui/EditTemplate/body/default]]\"},\"$:/config/EditTemplateFields/Visibility/title\":{\"title\":\"$:/config/EditTemplateFields/Visibility/title\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/tags\":{\"title\":\"$:/config/EditTemplateFields/Visibility/tags\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/text\":{\"title\":\"$:/config/EditTemplateFields/Visibility/text\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/creator\":{\"title\":\"$:/config/EditTemplateFields/Visibility/creator\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/created\":{\"title\":\"$:/config/EditTemplateFields/Visibility/created\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/modified\":{\"title\":\"$:/config/EditTemplateFields/Visibility/modified\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/modifier\":{\"title\":\"$:/config/EditTemplateFields/Visibility/modifier\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/type\":{\"title\":\"$:/config/EditTemplateFields/Visibility/type\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/draft.title\":{\"title\":\"$:/config/EditTemplateFields/Visibility/draft.title\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/draft.of\":{\"title\":\"$:/config/EditTemplateFields/Visibility/draft.of\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/revision\":{\"title\":\"$:/config/EditTemplateFields/Visibility/revision\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/bag\":{\"title\":\"$:/config/EditTemplateFields/Visibility/bag\",\"text\":\"hide\"},\"$:/config/Editor/EnableImportFilter\":{\"title\":\"$:/config/Editor/EnableImportFilter\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"[all[current]type[text/vnd.tiddlywiki]] [all[current]!has[type]] [all[current]type[text/markdown]] [all[current]type[text/x-markdown]]\"},\"$:/config/Editor/ImportContentTypesFilter\":{\"title\":\"$:/config/Editor/ImportContentTypesFilter\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"[prefix[image/]]\"},\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-4\":{\"title\":\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-4\",\"text\":\"hide\"},\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-5\":{\"title\":\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-5\",\"text\":\"hide\"},\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-6\":{\"title\":\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-6\",\"text\":\"hide\"},\"$:/config/EditorTypeMappings/image/gif\":{\"title\":\"$:/config/EditorTypeMappings/image/gif\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/webp\":{\"title\":\"$:/config/EditorTypeMappings/image/webp\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/heic\":{\"title\":\"$:/config/EditorTypeMappings/image/heic\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/heif\":{\"title\":\"$:/config/EditorTypeMappings/image/heif\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/jpeg\":{\"title\":\"$:/config/EditorTypeMappings/image/jpeg\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/jpg\":{\"title\":\"$:/config/EditorTypeMappings/image/jpg\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/png\":{\"title\":\"$:/config/EditorTypeMappings/image/png\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/x-icon\":{\"title\":\"$:/config/EditorTypeMappings/image/x-icon\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/text/vnd.tiddlywiki\":{\"title\":\"$:/config/EditorTypeMappings/text/vnd.tiddlywiki\",\"text\":\"text\"},\"$:/config/FieldEditorFilters/default\":{\"title\":\"$:/config/FieldEditorFilters/default\",\"tags\":\"$:/tags/FieldEditorFilter\",\"text\":\"[[$:/core/ui/EditTemplate/fieldEditor/default]]\"},\"$:/core/config/GlobalImportFilter\":{\"title\":\"$:/core/config/GlobalImportFilter\",\"text\":\"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global]!is[draft]]\"},\"$:/config/Manager/Show\":{\"title\":\"$:/config/Manager/Show\",\"text\":\"tiddlers\"},\"$:/config/Manager/Filter\":{\"title\":\"$:/config/Manager/Filter\",\"text\":\"\"},\"$:/config/Manager/Order\":{\"title\":\"$:/config/Manager/Order\",\"text\":\"forward\"},\"$:/config/Manager/Sort\":{\"title\":\"$:/config/Manager/Sort\",\"text\":\"title\"},\"$:/config/Manager/System\":{\"title\":\"$:/config/Manager/System\",\"text\":\"system\"},\"$:/config/Manager/Tag\":{\"title\":\"$:/config/Manager/Tag\",\"text\":\"\"},\"$:/state/popup/manager/item/$:/Manager/ItemMain/RawText\":{\"title\":\"$:/state/popup/manager/item/$:/Manager/ItemMain/RawText\",\"text\":\"hide\"},\"$:/config/MissingLinks\":{\"title\":\"$:/config/MissingLinks\",\"text\":\"yes\"},\"$:/config/Navigation/UpdateAddressBar\":{\"title\":\"$:/config/Navigation/UpdateAddressBar\",\"text\":\"no\"},\"$:/config/Navigation/UpdateHistory\":{\"title\":\"$:/config/Navigation/UpdateHistory\",\"text\":\"no\"},\"$:/config/NewImageType\":{\"title\":\"$:/config/NewImageType\",\"text\":\"jpeg\"},\"$:/config/OfficialPluginLibrary\":{\"title\":\"$:/config/OfficialPluginLibrary\",\"tags\":\"$:/tags/PluginLibrary\",\"url\":\"https://tiddlywiki.com/library/v5.3.8/index.html\",\"caption\":\"{{$:/language/OfficialPluginLibrary}}\",\"text\":\"{{$:/language/OfficialPluginLibrary/Hint}}\\n\"},\"$:/config/Navigation/openLinkFromInsideRiver\":{\"title\":\"$:/config/Navigation/openLinkFromInsideRiver\",\"text\":\"below\"},\"$:/config/Navigation/openLinkFromOutsideRiver\":{\"title\":\"$:/config/Navigation/openLinkFromOutsideRiver\",\"text\":\"top\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/refresh\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/refresh\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/manager\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/manager\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/network-activity\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/network-activity\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-image\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-image\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/layout\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/layout\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all\",\"text\":\"hide\"},\"$:/config/Performance/Instrumentation\":{\"title\":\"$:/config/Performance/Instrumentation\",\"text\":\"no\"},\"$:/config/RecentLimit\":{\"title\":\"$:/config/RecentLimit\",\"text\":\"100\"},\"$:/config/RegisterPluginType/plugin\":{\"title\":\"$:/config/RegisterPluginType/plugin\",\"text\":\"yes\"},\"$:/config/RegisterPluginType/theme\":{\"title\":\"$:/config/RegisterPluginType/theme\",\"text\":\"no\"},\"$:/config/RegisterPluginType/language\":{\"title\":\"$:/config/RegisterPluginType/language\",\"text\":\"no\"},\"$:/config/RegisterPluginType/info\":{\"title\":\"$:/config/RegisterPluginType/info\",\"text\":\"yes\"},\"$:/config/RegisterPluginType/import\":{\"title\":\"$:/config/RegisterPluginType/import\",\"text\":\"no\"},\"$:/config/SaveWikiButton/Template\":{\"title\":\"$:/config/SaveWikiButton/Template\",\"text\":\"$:/core/save/all\"},\"$:/config/SaverFilter\":{\"title\":\"$:/config/SaverFilter\",\"text\":\"[all[]] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state/]] -[prefix[$:/temp/]]\\n\"},\"$:/config/Search/AutoFocus\":{\"title\":\"$:/config/Search/AutoFocus\",\"text\":\"true\"},\"$:/config/Search/MinLength\":{\"title\":\"$:/config/Search/MinLength\",\"text\":\"3\"},\"$:/config/SearchResults/Default\":{\"title\":\"$:/config/SearchResults/Default\",\"text\":\"$:/core/ui/DefaultSearchResultList\"},\"$:/config/Server/ExternalFilters/[all[tiddlers]!is[system]sort[title]]\":{\"title\":\"$:/config/Server/ExternalFilters/[all[tiddlers]!is[system]sort[title]]\",\"text\":\"yes\"},\"$:/config/ShortcutInfo/add-field\":{\"title\":\"$:/config/ShortcutInfo/add-field\",\"text\":\"{{$:/language/EditTemplate/Fields/Add/Button/Hint}}\"},\"$:/config/ShortcutInfo/advanced-search\":{\"title\":\"$:/config/ShortcutInfo/advanced-search\",\"text\":\"{{$:/language/Buttons/AdvancedSearch/Hint}}\"},\"$:/config/ShortcutInfo/advanced-search-sidebar\":{\"title\":\"$:/config/ShortcutInfo/advanced-search-sidebar\",\"text\":\"{{$:/language/Shortcuts/Input/AdvancedSearch/Hint}}\"},\"$:/config/ShortcutInfo/bold\":{\"title\":\"$:/config/ShortcutInfo/bold\",\"text\":\"{{$:/language/Buttons/Bold/Hint}}\"},\"$:/config/ShortcutInfo/cancel-edit-tiddler\":{\"title\":\"$:/config/ShortcutInfo/cancel-edit-tiddler\",\"text\":\"{{$:/language/Buttons/Cancel/Hint}}\"},\"$:/config/ShortcutInfo/change-sidebar-layout\":{\"title\":\"$:/config/ShortcutInfo/change-sidebar-layout\",\"text\":\"{{$:/language/Shortcuts/SidebarLayout/Hint}}\"},\"$:/config/ShortcutInfo/delete-field\":{\"title\":\"$:/config/ShortcutInfo/delete-field\",\"text\":\"{{$:/language/EditTemplate/Field/Remove/Hint}}\"},\"$:/config/ShortcutInfo/excise\":{\"title\":\"$:/config/ShortcutInfo/excise\",\"text\":\"{{$:/language/Buttons/Excise/Hint}}\"},\"$:/config/ShortcutInfo/heading-1\":{\"title\":\"$:/config/ShortcutInfo/heading-1\",\"text\":\"{{$:/language/Buttons/Heading1/Hint}}\"},\"$:/config/ShortcutInfo/heading-2\":{\"title\":\"$:/config/ShortcutInfo/heading-2\",\"text\":\"{{$:/language/Buttons/Heading2/Hint}}\"},\"$:/config/ShortcutInfo/heading-3\":{\"title\":\"$:/config/ShortcutInfo/heading-3\",\"text\":\"{{$:/language/Buttons/Heading3/Hint}}\"},\"$:/config/ShortcutInfo/heading-4\":{\"title\":\"$:/config/ShortcutInfo/heading-4\",\"text\":\"{{$:/language/Buttons/Heading4/Hint}}\"},\"$:/config/ShortcutInfo/heading-5\":{\"title\":\"$:/config/ShortcutInfo/heading-5\",\"text\":\"{{$:/language/Buttons/Heading5/Hint}}\"},\"$:/config/ShortcutInfo/heading-6\":{\"title\":\"$:/config/ShortcutInfo/heading-6\",\"text\":\"{{$:/language/Buttons/Heading6/Hint}}\"},\"$:/config/ShortcutInfo/input-accept\":{\"title\":\"$:/config/ShortcutInfo/input-accept\",\"text\":\"{{$:/language/Shortcuts/Input/Accept/Hint}}\"},\"$:/config/ShortcutInfo/input-accept-variant\":{\"title\":\"$:/config/ShortcutInfo/input-accept-variant\",\"text\":\"{{$:/language/Shortcuts/Input/AcceptVariant/Hint}}\"},\"$:/config/ShortcutInfo/input-cancel\":{\"title\":\"$:/config/ShortcutInfo/input-cancel\",\"text\":\"{{$:/language/Shortcuts/Input/Cancel/Hint}}\"},\"$:/config/ShortcutInfo/input-down\":{\"title\":\"$:/config/ShortcutInfo/input-down\",\"text\":\"{{$:/language/Shortcuts/Input/Down/Hint}}\"},\"$:/config/ShortcutInfo/input-tab-left\":{\"title\":\"$:/config/ShortcutInfo/input-tab-left\",\"text\":\"{{$:/language/Shortcuts/Input/Tab-Left/Hint}}\"},\"$:/config/ShortcutInfo/input-tab-right\":{\"title\":\"$:/config/ShortcutInfo/input-tab-right\",\"text\":\"{{$:/language/Shortcuts/Input/Tab-Right/Hint}}\"},\"$:/config/ShortcutInfo/input-up\":{\"title\":\"$:/config/ShortcutInfo/input-up\",\"text\":\"{{$:/language/Shortcuts/Input/Up/Hint}}\"},\"$:/config/ShortcutInfo/italic\":{\"title\":\"$:/config/ShortcutInfo/italic\",\"text\":\"{{$:/language/Buttons/Italic/Hint}}\"},\"$:/config/ShortcutInfo/layout-switcher\":{\"title\":\"$:/config/ShortcutInfo/layout-switcher\",\"text\":\"{{$:/language/LayoutSwitcher/Description}}\"},\"$:/config/ShortcutInfo/link\":{\"title\":\"$:/config/ShortcutInfo/link\",\"text\":\"{{$:/language/Buttons/Link/Hint}}\"},\"$:/config/ShortcutInfo/linkify\":{\"title\":\"$:/config/ShortcutInfo/linkify\",\"text\":\"{{$:/language/Buttons/Linkify/Hint}}\"},\"$:/config/ShortcutInfo/list-bullet\":{\"title\":\"$:/config/ShortcutInfo/list-bullet\",\"text\":\"{{$:/language/Buttons/ListBullet/Hint}}\"},\"$:/config/ShortcutInfo/list-number\":{\"title\":\"$:/config/ShortcutInfo/list-number\",\"text\":\"{{$:/language/Buttons/ListNumber/Hint}}\"},\"$:/config/ShortcutInfo/mono-block\":{\"title\":\"$:/config/ShortcutInfo/mono-block\",\"text\":\"{{$:/language/Buttons/MonoBlock/Hint}}\"},\"$:/config/ShortcutInfo/mono-line\":{\"title\":\"$:/config/ShortcutInfo/mono-line\",\"text\":\"{{$:/language/Buttons/MonoLine/Hint}}\"},\"$:/config/ShortcutInfo/new-image\":{\"title\":\"$:/config/ShortcutInfo/new-image\",\"text\":\"{{$:/language/Buttons/NewImage/Hint}}\"},\"$:/config/ShortcutInfo/new-journal\":{\"title\":\"$:/config/ShortcutInfo/new-journal\",\"text\":\"{{$:/language/Buttons/NewJournal/Hint}}\"},\"$:/config/ShortcutInfo/new-tiddler\":{\"title\":\"$:/config/ShortcutInfo/new-tiddler\",\"text\":\"{{$:/language/Buttons/NewTiddler/Hint}}\"},\"$:/config/ShortcutInfo/open-control-panel\":{\"title\":\"$:/config/ShortcutInfo/open-control-panel\",\"text\":\"{{$:/language/Buttons/OpenControlPanel/Hint}}\"},\"$:/config/ShortcutInfo/picture\":{\"title\":\"$:/config/ShortcutInfo/picture\",\"text\":\"{{$:/language/Buttons/Picture/Hint}}\"},\"$:/config/ShortcutInfo/preview\":{\"title\":\"$:/config/ShortcutInfo/preview\",\"text\":\"{{$:/language/Buttons/Preview/Hint}}\"},\"$:/config/ShortcutInfo/quote\":{\"title\":\"$:/config/ShortcutInfo/quote\",\"text\":\"{{$:/language/Buttons/Quote/Hint}}\"},\"$:/config/ShortcutInfo/refresh\":{\"title\":\"$:/config/ShortcutInfo/refresh\",\"text\":\"{{$:/language/Buttons/Refresh/Hint}}\"},\"$:/config/ShortcutInfo/save-tiddler\":{\"title\":\"$:/config/ShortcutInfo/save-tiddler\",\"text\":\"{{$:/language/Buttons/Save/Hint}}\"},\"$:/config/ShortcutInfo/save-wiki\":{\"title\":\"$:/config/ShortcutInfo/save-wiki\",\"text\":\"{{$:/language/Buttons/SaveWiki/Hint}}\"},\"$:/config/ShortcutInfo/sidebar-search\":{\"title\":\"$:/config/ShortcutInfo/sidebar-search\",\"text\":\"{{$:/language/Buttons/SidebarSearch/Hint}}\"},\"$:/config/ShortcutInfo/stamp\":{\"title\":\"$:/config/ShortcutInfo/stamp\",\"text\":\"{{$:/language/Buttons/Stamp/Hint}}\"},\"$:/config/ShortcutInfo/strikethrough\":{\"title\":\"$:/config/ShortcutInfo/strikethrough\",\"text\":\"{{$:/language/Buttons/Strikethrough/Hint}}\"},\"$:/config/ShortcutInfo/subscript\":{\"title\":\"$:/config/ShortcutInfo/subscript\",\"text\":\"{{$:/language/Buttons/Subscript/Hint}}\"},\"$:/config/ShortcutInfo/superscript\":{\"title\":\"$:/config/ShortcutInfo/superscript\",\"text\":\"{{$:/language/Buttons/Superscript/Hint}}\"},\"$:/config/ShortcutInfo/toggle-sidebar\":{\"title\":\"$:/config/ShortcutInfo/toggle-sidebar\",\"text\":\"{{$:/language/Buttons/ToggleSidebar/Hint}}\"},\"$:/config/ShortcutInfo/transcludify\":{\"title\":\"$:/config/ShortcutInfo/transcludify\",\"text\":\"{{$:/language/Buttons/Transcludify/Hint}}\"},\"$:/config/ShortcutInfo/underline\":{\"title\":\"$:/config/ShortcutInfo/underline\",\"text\":\"{{$:/language/Buttons/Underline/Hint}}\"},\"$:/config/StoryTiddlerTemplateFilters/draft\":{\"title\":\"$:/config/StoryTiddlerTemplateFilters/draft\",\"tags\":\"$:/tags/StoryTiddlerTemplateFilter\",\"text\":\"[is[draft]then{$:/config/ui/EditTemplate}]\"},\"$:/config/StoryTiddlerTemplateFilters/default\":{\"title\":\"$:/config/StoryTiddlerTemplateFilters/default\",\"tags\":\"$:/tags/StoryTiddlerTemplateFilter\",\"text\":\"[{$:/config/ui/ViewTemplate}]\"},\"$:/config/SwitcherTargets/layout\":{\"title\":\"$:/config/SwitcherTargets/layout\",\"text\":\"$:/snippets/LayoutSwitcher\"},\"$:/config/SwitcherTargets/language\":{\"title\":\"$:/config/SwitcherTargets/language\",\"text\":\"$:/snippets/languageswitcher\"},\"$:/config/SwitcherTargets/palette\":{\"title\":\"$:/config/SwitcherTargets/palette\",\"text\":\"$:/core/ui/ControlPanel/Palette\"},\"$:/config/SwitcherTargets/theme\":{\"title\":\"$:/config/SwitcherTargets/theme\",\"text\":\"$:/core/ui/ControlPanel/Theme\"},\"$:/config/SyncFilter\":{\"title\":\"$:/config/SyncFilter\",\"text\":\"[is[tiddler]] -[[$:/core]] -[[$:/library/sjcl.js]] -[prefix[$:/boot/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[prefix[$:/status/]] -[prefix[$:/state/]] -[prefix[$:/temp/]]\\n\"},\"$:/config/SyncSystemTiddlersFromServer\":{\"title\":\"$:/config/SyncSystemTiddlersFromServer\",\"text\":\"no\"},\"$:/core/config/TagPillDragFilter\":{\"title\":\"$:/core/config/TagPillDragFilter\",\"text\":\"[all[current]tagging[]] +[!is[draft]]\"},\"$:/config/Tags/MinLength\":{\"title\":\"$:/config/Tags/MinLength\",\"text\":\"0\"},\"$:/config/TextEditor/EditorHeight/Height\":{\"title\":\"$:/config/TextEditor/EditorHeight/Height\",\"text\":\"400px\"},\"$:/config/TextEditor/EditorHeight/Mode\":{\"title\":\"$:/config/TextEditor/EditorHeight/Mode\",\"text\":\"auto\"},\"$:/config/TiddlerColourFilters/color-field\":{\"title\":\"$:/config/TiddlerColourFilters/color-field\",\"tags\":\"$:/tags/TiddlerColourFilter\",\"text\":\"[has[color]then{!!color}]\"},\"$:/config/TiddlerColourFilters/default\":{\"title\":\"$:/config/TiddlerColourFilters/default\",\"tags\":\"$:/tags/TiddlerColourFilter\",\"text\":\"[[$:/config/DefaultTiddlerColour]has[text]get[text]trim[]]\"},\"$:/config/TiddlerIconFilters/icon-field\":{\"title\":\"$:/config/TiddlerIconFilters/icon-field\",\"tags\":\"$:/tags/TiddlerIconFilter\",\"text\":\"[has[icon]then{!!icon}]\"},\"$:/config/TiddlerIconFilters/default\":{\"title\":\"$:/config/TiddlerIconFilters/default\",\"tags\":\"$:/tags/TiddlerIconFilter\",\"text\":\"[{$:/config/DefaultTiddlerIcon}has[text]]\"},\"$:/config/TiddlerInfo/Default\":{\"title\":\"$:/config/TiddlerInfo/Default\",\"text\":\"$:/core/ui/TiddlerInfo/Fields\"},\"$:/config/TiddlerInfo/Mode\":{\"title\":\"$:/config/TiddlerInfo/Mode\",\"text\":\"popup\"},\"$:/config/Tiddlers/TitleLinks\":{\"title\":\"$:/config/Tiddlers/TitleLinks\",\"text\":\"no\"},\"$:/config/Toolbar/ButtonClass\":{\"title\":\"$:/config/Toolbar/ButtonClass\",\"text\":\"tc-btn-invisible\"},\"$:/config/Toolbar/Icons\":{\"title\":\"$:/config/Toolbar/Icons\",\"text\":\"yes\"},\"$:/config/Toolbar/Text\":{\"title\":\"$:/config/Toolbar/Text\",\"text\":\"no\"},\"$:/config/ViewTemplateBodyFilters/testcase\":{\"title\":\"$:/config/ViewTemplateBodyFilters/testcase\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[tag[$:/tags/wiki-test-spec]type[text/vnd.tiddlywiki-multiple]] [tag[$:/tags/wiki-test-spec-failing]type[text/vnd.tiddlywiki-multiple]] :then[[$:/core/ui/TestCaseTemplate]]\"},\"$:/config/ViewTemplateBodyFilters/stylesheet\":{\"title\":\"$:/config/ViewTemplateBodyFilters/stylesheet\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[tag[$:/tags/Stylesheet]then[$:/core/ui/ViewTemplate/body/rendered-plain-text]]\"},\"$:/config/ViewTemplateBodyFilters/html\":{\"title\":\"$:/config/ViewTemplateBodyFilters/html\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[tag[$:/tags/RawMarkupWikified]] [tag[$:/tags/RawMarkupWikified/TopHead]] [tag[$:/tags/RawMarkupWikified/TopBody]] [tag[$:/tags/RawMarkupWikified/BottomBody]] :then[[$:/core/ui/ViewTemplate/body/rendered-plain-text/html]]\"},\"$:/config/ViewTemplateBodyFilters/core-ui-tags\":{\"title\":\"$:/config/ViewTemplateBodyFilters/core-ui-tags\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[tag[$:/tags/PageTemplate]] [tag[$:/tags/EditTemplate]] [tag[$:/tags/ViewTemplate]] [tag[$:/tags/KeyboardShortcut]] [tag[$:/tags/ImportPreview]] [tag[$:/tags/EditPreview]] [tag[$:/tags/EditorToolbar]] [tag[$:/EditorTools]] [tag[$:/tags/Actions]] [tag[$:/tags/ToolbarButtonStyle]] :then[[$:/core/ui/ViewTemplate/body/code]]\"},\"$:/config/ViewTemplateBodyFilters/system\":{\"title\":\"$:/config/ViewTemplateBodyFilters/system\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[prefix[$:/boot/]] [prefix[$:/core/macros]] [prefix[$:/core/save/]] [prefix[$:/core/templates/]] [prefix[$:/config/]] [prefix[$:/core/config/]] [prefix[$:/info/]] [prefix[$:/language/]] [prefix[$:/languages/]] [prefix[$:/snippets/]] [prefix[$:/info/]] [prefix[$:/state/]] [prefix[$:/status/]] [prefix[$:/temp/]] :and[!is[image]] :then[[$:/core/ui/ViewTemplate/body/code]]\"},\"$:/config/ViewTemplateBodyFilters/code-body\":{\"title\":\"$:/config/ViewTemplateBodyFilters/code-body\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[field:code-body[yes]then[$:/core/ui/ViewTemplate/body/code]]\"},\"$:/config/ViewTemplateBodyFilters/import\":{\"title\":\"$:/config/ViewTemplateBodyFilters/import\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[field:plugin-type[import]then[$:/core/ui/ViewTemplate/body/import]]\"},\"$:/config/ViewTemplateBodyFilters/plugin\":{\"title\":\"$:/config/ViewTemplateBodyFilters/plugin\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[has[plugin-type]then[$:/core/ui/ViewTemplate/body/plugin]]\"},\"$:/config/ViewTemplateBodyFilters/hide-body\":{\"title\":\"$:/config/ViewTemplateBodyFilters/hide-body\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[field:hide-body[yes]then[$:/core/ui/ViewTemplate/body/blank]]\"},\"$:/config/ViewTemplateBodyFilters/default\":{\"title\":\"$:/config/ViewTemplateBodyFilters/default\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[[$:/core/ui/ViewTemplate/body/default]]\"},\"$:/config/ViewTemplateSubtitleFilters/default\":{\"title\":\"$:/config/ViewTemplateSubtitleFilters/default\",\"tags\":\"$:/tags/ViewTemplateSubtitleFilter\",\"text\":\"[[$:/core/ui/ViewTemplate/subtitle/default]]\"},\"$:/config/ViewTemplateTagsFilters/default\":{\"title\":\"$:/config/ViewTemplateTagsFilters/default\",\"tags\":\"$:/tags/ViewTemplateTagsFilter\",\"text\":\"[[$:/core/ui/ViewTemplate/tags/default]]\"},\"$:/config/ViewTemplateTitleFilters/system\":{\"title\":\"$:/config/ViewTemplateTitleFilters/system\",\"tags\":\"$:/tags/ViewTemplateTitleFilter\",\"text\":\"[prefix[$:/]then[$:/core/ui/ViewTemplate/title/system]]\"},\"$:/config/ViewTemplateTitleFilters/default\":{\"title\":\"$:/config/ViewTemplateTitleFilters/default\",\"tags\":\"$:/tags/ViewTemplateTitleFilter\",\"text\":\"[[$:/core/ui/ViewTemplate/title/default]]\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions\",\"text\":\"show\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permaview\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permaview\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-others\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-others\",\"text\":\"hide\"},\"$:/config/shortcuts-mac/bold\":{\"title\":\"$:/config/shortcuts-mac/bold\",\"text\":\"meta-B\"},\"$:/config/shortcuts-mac/italic\":{\"title\":\"$:/config/shortcuts-mac/italic\",\"text\":\"meta-I\"},\"$:/config/shortcuts-mac/underline\":{\"title\":\"$:/config/shortcuts-mac/underline\",\"text\":\"meta-U\"},\"$:/config/shortcuts-mac/new-image\":{\"title\":\"$:/config/shortcuts-mac/new-image\",\"text\":\"ctrl-I\"},\"$:/config/shortcuts-mac/new-journal\":{\"title\":\"$:/config/shortcuts-mac/new-journal\",\"text\":\"ctrl-J\"},\"$:/config/shortcuts-mac/new-tiddler\":{\"title\":\"$:/config/shortcuts-mac/new-tiddler\",\"text\":\"ctrl-N\"},\"$:/config/shortcuts-mac/refresh\":{\"title\":\"$:/config/shortcuts-mac/refresh\",\"text\":\"meta-R\"},\"$:/config/shortcuts-mac/save-wiki\":{\"title\":\"$:/config/shortcuts-mac/save-wiki\",\"text\":\"meta-S\"},\"$:/config/shortcuts-not-mac/bold\":{\"title\":\"$:/config/shortcuts-not-mac/bold\",\"text\":\"ctrl-B\"},\"$:/config/shortcuts-not-mac/italic\":{\"title\":\"$:/config/shortcuts-not-mac/italic\",\"text\":\"ctrl-I\"},\"$:/config/shortcuts-not-mac/underline\":{\"title\":\"$:/config/shortcuts-not-mac/underline\",\"text\":\"ctrl-U\"},\"$:/config/shortcuts-not-mac/new-image\":{\"title\":\"$:/config/shortcuts-not-mac/new-image\",\"text\":\"alt-I\"},\"$:/config/shortcuts-not-mac/new-journal\":{\"title\":\"$:/config/shortcuts-not-mac/new-journal\",\"text\":\"alt-J\"},\"$:/config/shortcuts-not-mac/new-tiddler\":{\"title\":\"$:/config/shortcuts-not-mac/new-tiddler\",\"text\":\"alt-N\"},\"$:/config/shortcuts-not-mac/refresh\":{\"title\":\"$:/config/shortcuts-not-mac/refresh\",\"text\":\"ctrl-R\"},\"$:/config/shortcuts/add-field\":{\"title\":\"$:/config/shortcuts/add-field\",\"text\":\"enter\"},\"$:/config/shortcuts/advanced-search\":{\"title\":\"$:/config/shortcuts/advanced-search\",\"text\":\"ctrl-shift-A\"},\"$:/config/shortcuts/advanced-search-sidebar\":{\"title\":\"$:/config/shortcuts/advanced-search-sidebar\",\"text\":\"alt-Enter\"},\"$:/config/shortcuts/cancel-edit-tiddler\":{\"title\":\"$:/config/shortcuts/cancel-edit-tiddler\",\"text\":\"escape\"},\"$:/config/shortcuts/change-sidebar-layout\":{\"title\":\"$:/config/shortcuts/change-sidebar-layout\",\"text\":\"shift-alt-Down\"},\"$:/config/shortcuts/delete-field\":{\"title\":\"$:/config/shortcuts/delete-field\",\"text\":\"shift-alt-D\"},\"$:/config/shortcuts/excise\":{\"title\":\"$:/config/shortcuts/excise\",\"text\":\"ctrl-E\"},\"$:/config/shortcuts/sidebar-search\":{\"title\":\"$:/config/shortcuts/sidebar-search\",\"text\":\"ctrl-shift-F\"},\"$:/config/shortcuts/heading-1\":{\"title\":\"$:/config/shortcuts/heading-1\",\"text\":\"ctrl-1\"},\"$:/config/shortcuts/heading-2\":{\"title\":\"$:/config/shortcuts/heading-2\",\"text\":\"ctrl-2\"},\"$:/config/shortcuts/heading-3\":{\"title\":\"$:/config/shortcuts/heading-3\",\"text\":\"ctrl-3\"},\"$:/config/shortcuts/heading-4\":{\"title\":\"$:/config/shortcuts/heading-4\",\"text\":\"ctrl-4\"},\"$:/config/shortcuts/heading-5\":{\"title\":\"$:/config/shortcuts/heading-5\",\"text\":\"ctrl-5\"},\"$:/config/shortcuts/heading-6\":{\"title\":\"$:/config/shortcuts/heading-6\",\"text\":\"ctrl-6\"},\"$:/config/shortcuts/input-accept\":{\"title\":\"$:/config/shortcuts/input-accept\",\"text\":\"Enter\"},\"$:/config/shortcuts/input-accept-variant\":{\"title\":\"$:/config/shortcuts/input-accept-variant\",\"text\":\"ctrl-Enter\"},\"$:/config/shortcuts/input-cancel\":{\"title\":\"$:/config/shortcuts/input-cancel\",\"text\":\"Escape\"},\"$:/config/shortcuts/input-down\":{\"title\":\"$:/config/shortcuts/input-down\",\"text\":\"Down\"},\"$:/config/shortcuts/input-tab-left\":{\"title\":\"$:/config/shortcuts/input-tab-left\",\"text\":\"alt-ctrl-Left\"},\"$:/config/shortcuts/input-tab-right\":{\"title\":\"$:/config/shortcuts/input-tab-right\",\"text\":\"alt-ctrl-Right\"},\"$:/config/shortcuts/input-up\":{\"title\":\"$:/config/shortcuts/input-up\",\"text\":\"Up\"},\"$:/config/shortcuts/layout-switcher\":{\"title\":\"$:/config/shortcuts/layout-switcher\",\"text\":\"ctrl-shift-L\"},\"$:/config/shortcuts/link\":{\"title\":\"$:/config/shortcuts/link\",\"text\":\"ctrl-L\"},\"$:/config/shortcuts/linkify\":{\"title\":\"$:/config/shortcuts/linkify\",\"text\":\"alt-shift-L\"},\"$:/config/shortcuts/list-bullet\":{\"title\":\"$:/config/shortcuts/list-bullet\",\"text\":\"ctrl-shift-L\"},\"$:/config/shortcuts/list-number\":{\"title\":\"$:/config/shortcuts/list-number\",\"text\":\"ctrl-shift-N\"},\"$:/config/shortcuts/mono-block\":{\"title\":\"$:/config/shortcuts/mono-block\",\"text\":\"ctrl-shift-M\"},\"$:/config/shortcuts/mono-line\":{\"title\":\"$:/config/shortcuts/mono-line\",\"text\":\"ctrl-M\"},\"$:/config/shortcuts/open-control-panel\":{\"title\":\"$:/config/shortcuts/open-control-panel\",\"text\":\"ctrl-alt-C\"},\"$:/config/shortcuts/picture\":{\"title\":\"$:/config/shortcuts/picture\",\"text\":\"ctrl-shift-I\"},\"$:/config/shortcuts/preview\":{\"title\":\"$:/config/shortcuts/preview\",\"text\":\"alt-P\"},\"$:/config/shortcuts/quote\":{\"title\":\"$:/config/shortcuts/quote\",\"text\":\"ctrl-Q\"},\"$:/config/shortcuts/save-tiddler\":{\"title\":\"$:/config/shortcuts/save-tiddler\",\"text\":\"ctrl+enter\"},\"$:/config/shortcuts/save-wiki\":{\"title\":\"$:/config/shortcuts/save-wiki\",\"text\":\"ctrl-S\"},\"$:/config/shortcuts/stamp\":{\"title\":\"$:/config/shortcuts/stamp\",\"text\":\"ctrl-S\"},\"$:/config/shortcuts/strikethrough\":{\"title\":\"$:/config/shortcuts/strikethrough\",\"text\":\"ctrl-T\"},\"$:/config/shortcuts/subscript\":{\"title\":\"$:/config/shortcuts/subscript\",\"text\":\"ctrl-shift-B\"},\"$:/config/shortcuts/superscript\":{\"title\":\"$:/config/shortcuts/superscript\",\"text\":\"ctrl-shift-P\"},\"$:/config/shortcuts/toggle-sidebar\":{\"title\":\"$:/config/shortcuts/toggle-sidebar\",\"text\":\"alt-shift-S\"},\"$:/config/shortcuts/transcludify\":{\"title\":\"$:/config/shortcuts/transcludify\",\"text\":\"alt-shift-T\"},\"$:/config/ui/EditTemplate\":{\"title\":\"$:/config/ui/EditTemplate\",\"text\":\"$:/core/ui/EditTemplate\"},\"$:/config/ui/ViewTemplate\":{\"title\":\"$:/config/ui/ViewTemplate\",\"text\":\"$:/core/ui/ViewTemplate\"},\"$:/config/WikiParserRules/Inline/wikilink\":{\"title\":\"$:/config/WikiParserRules/Inline/wikilink\",\"text\":\"disable\"},\"$:/snippets/currpalettepreview\":{\"title\":\"$:/snippets/currpalettepreview\",\"text\":\"\\\\define resolve-colour(macrocall)\\n\\\\import $:/core/macros/utils\\n\\\\whitespace trim\\n<$wikify name=\\\"name\\\" text=\\\"\\\"\\\"$macrocall$\\\"\\\"\\\">\\n<<name>>\\n</$wikify>\\n\\\\end\\n\\\\define swatchStyle()\\nbackground-color: $(swatchColour)$;\\n\\\\end\\n\\\\define swatch-inner()\\n\\\\whitespace trim\\n<$set name=\\\"swatchColour\\\" value={{##$(colourResolved)$}}>\\n<$list filter=\\\"[<swatchColour>!prefix[<<colour ]!suffix[>>]]\\\" variable=\\\"ignore\\\">\\n<div class=\\\"tc-swatch\\\" style=<<swatchStyle>> title=<<swatchTitle>>/>\\n&#32;\\n</$list>\\n<$list filter=\\\"[<swatchColour>prefix[<<colour ]suffix[>>]]\\\" variable=\\\"ignore\\\">\\n<$wikify name=\\\"colourResolved\\\" text=\\\"<$macrocall $name='resolve-colour' macrocall=<<swatchColour>>/>\\\">\\n<<swatch-inner>>\\n</$wikify>\\n</$list>\\n</$set>\\n\\\\end\\n\\\\define swatch()\\n\\\\whitespace trim\\n<$set name=\\\"swatchColour\\\" value={{##$(colour)$}}>\\n<$set name=\\\"swatchTitle\\\" value=<<colour>>>\\n<$list filter=\\\"[<swatchColour>!prefix[<<colour ]!suffix[>>]]\\\" variable=\\\"ignore\\\">\\n<div class=\\\"tc-swatch\\\" style=<<swatchStyle>> title=<<swatchTitle>>/>\\n&#32;\\n</$list>\\n<$list filter=\\\"[<swatchColour>prefix[<<colour ]suffix[>>]]\\\" variable=\\\"ignore\\\">\\n<$wikify name=\\\"colourResolved\\\" text=\\\"<$macrocall $name='resolve-colour' macrocall=<<swatchColour>>/>\\\">\\n<<swatch-inner>>\\n</$wikify>\\n</$list>\\n</$set>\\n</$set>\\n\\\\end\\n\\\\whitespace trim\\n<div class=\\\"tc-swatches-horiz\\\"><$list filter=\\\"\\nforeground\\nbackground\\nmuted-foreground\\nprimary\\npage-background\\ntab-background\\ntiddler-info-background\\n\\\" variable=\\\"colour\\\"><<swatch>></$list></div>\\n\"},\"$:/snippets/DebugStylesheets\":{\"title\":\"$:/snippets/DebugStylesheets\",\"text\":\"\\\\whitespace trim\\n<style>[test]{list-style:'❌'}</style>\\n<ul>\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]has[modified]]\\\" counter=\\\"n\\\">\\n<style>{{!!text}}[test=\\\"<<n>>\\\"]{list-style:disc;}</style>\\n<li test=<<n>>><$link/></li>\\n</$list>\\n</ul>\\n\"},\"$:/snippets/download-wiki-button\":{\"title\":\"$:/snippets/download-wiki-button\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Tools/Download/\\n\\\\whitespace trim\\n<$button class=\\\"tc-btn-big-green\\\">\\n<$action-sendmessage $message=\\\"tm-download-file\\\" $param=\\\"$:/core/save/all\\\" filename=\\\"index.html\\\"/>\\n<<lingo Full/Caption>>&#32;{{$:/core/images/save-button-dynamic}}\\n</$button>\"},\"$:/language\":{\"title\":\"$:/language\",\"text\":\"$:/languages/en-GB\"},\"$:/snippets/languageswitcher\":{\"title\":\"$:/snippets/languageswitcher\",\"text\":\"\\\\whitespace trim\\n<$linkcatcher to=\\\"$:/language\\\">\\n<div class=\\\"tc-chooser tc-language-chooser\\\">\\n<$list filter=\\\"[[$:/languages/en-GB]] [plugin-type[language]sort[description]]\\\">\\n<$set name=\\\"cls\\\" filter=\\\"[all[current]field:title{$:/language}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n<div class=<<cls>> lang={{!!name}}>\\n<$link>\\n<$view field=\\\"description\\\">\\n<$view field=\\\"name\\\">\\n<$view field=\\\"title\\\"/>\\n</$view>\\n</$view>\\n</$link>\\n</div>\\n</$set>\\n</$list>\\n</div>\\n</$linkcatcher>\"},\"$:/core/macros/CSS\":{\"title\":\"$:/core/macros/CSS\",\"tags\":\"$:/tags/Macro\",\"text\":\"<!-- Needs to stay that way for backwards compatibility. See GH issue: #8326 -->\\n\\\\define colour(name)\\n\\\\whitespace trim\\n<$transclude tiddler={{$:/palette}} index=\\\"$name$\\\">\\n\\t<$transclude tiddler=\\\"$:/palettes/Vanilla\\\" index=\\\"$name$\\\">\\n\\t\\t<$transclude tiddler=\\\"$:/config/DefaultColourMappings/$name$\\\"/>\\n\\t</$transclude>\\n</$transclude>\\n\\\\end\\n\\n\\\\define color(name) <<colour $name$>>\\n\\n\\\\define box-shadow(shadow)\\n``\\n-webkit-box-shadow: $shadow$;\\n\\t-moz-box-shadow: $shadow$;\\n\\t\\tbox-shadow: $shadow$;\\n``\\n\\\\end\\n\\n\\\\define filter(filter)\\n``\\n-webkit-filter: $filter$;\\n\\t-moz-filter: $filter$;\\n\\t\\tfilter: $filter$;\\n``\\n\\\\end\\n\\n\\\\define transition(transition)\\n``\\n-webkit-transition: $transition$;\\n\\t-moz-transition: $transition$;\\n\\t\\ttransition: $transition$;\\n``\\n\\\\end\\n\\n\\\\define transform-origin(origin)\\n``\\n-webkit-transform-origin: $origin$;\\n\\t-moz-transform-origin: $origin$;\\n\\t\\ttransform-origin: $origin$;\\n``\\n\\\\end\\n\\n\\\\define background-linear-gradient(gradient)\\n``\\nbackground-image: linear-gradient($gradient$);\\nbackground-image: -o-linear-gradient($gradient$);\\nbackground-image: -moz-linear-gradient($gradient$);\\nbackground-image: -webkit-linear-gradient($gradient$);\\nbackground-image: -ms-linear-gradient($gradient$);\\n``\\n\\\\end\\n\\n\\\\define column-count(columns)\\n``\\n-moz-column-count: $columns$;\\n-webkit-column-count: $columns$;\\ncolumn-count: $columns$;\\n``\\n\\\\end\\n\\n\\\\procedure datauri(title)\\n<$macrocall $name=\\\"makedatauri\\\" type={{{ [<title>get[type]] }}} text={{{ [<title>get[text]] }}} _canonical_uri={{{ [<title>get[_canonical_uri]] }}}/>\\n\\\\end\\n\\n\\\\procedure if-sidebar(text)\\n<$reveal state=\\\"$:/state/sidebar\\\" type=\\\"match\\\" text=\\\"yes\\\" default=\\\"yes\\\"><<text>></$reveal>\\n\\\\end\\n\\n\\\\procedure if-no-sidebar(text)\\n<$reveal state=\\\"$:/state/sidebar\\\" type=\\\"nomatch\\\" text=\\\"yes\\\" default=\\\"yes\\\"><<text>></$reveal>\\n\\\\end\\n\\n\\\\procedure if-background-attachment(text)\\n<$reveal state=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\" type=\\\"nomatch\\\" text=\\\"\\\"><<text>></$reveal>\\n\\\\end\\n\"},\"$:/core/macros/colour-picker\":{\"title\":\"$:/core/macros/colour-picker\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define colour-picker-update-recent()\\n<$action-listops\\n\\t$tiddler=\\\"$:/config/ColourPicker/Recent\\\"\\n\\t$subfilter=\\\"$(colour-picker-value)$ [list[$:/config/ColourPicker/Recent]remove[$(colour-picker-value)$]] +[limit[8]]\\\"\\n/>\\n\\\\end\\n\\n\\\\define colour-picker-inner(actions)\\n<$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(colour-picker-value)$\\\"\\\"\\\">\\n$(colour-picker-update-recent)$\\n<$transclude $variable=\\\"__actions__\\\"/>\\n\\n<span style=\\\"display:inline-block; background-color: $(colour-picker-value)$; width: 100%; height: 100%; border-radius: 50%;\\\"/>\\n\\n</$button>\\n\\\\end\\n\\n\\\\define colour-picker-recent-inner(actions)\\n\\\\whitespace trim\\n<$set name=\\\"colour-picker-value\\\" value=\\\"$(recentColour)$\\\">\\n<$macrocall $name=\\\"colour-picker-inner\\\" actions=<<__actions__>>/>\\n</$set>\\n\\\\end\\n\\n\\\\define colour-picker-recent(actions)\\n\\\\whitespace trim\\n{{$:/language/ColourPicker/Recent}}<$list filter=\\\"[list[$:/config/ColourPicker/Recent]]\\\" variable=\\\"recentColour\\\">\\n&#32;\\n<$macrocall $name=\\\"colour-picker-recent-inner\\\" actions=<<__actions__>>/>\\n</$list>\\n\\\\end\\n\\n\\\\define colour-picker(actions)\\n\\\\whitespace trim\\n<div class=\\\"tc-colour-chooser\\\">\\n\\n<$macrocall $name=\\\"colour-picker-recent\\\" actions=<<__actions__>>/>\\n\\n---\\n\\n<$list filter=\\\"LightPink Pink Crimson LavenderBlush PaleVioletRed HotPink DeepPink MediumVioletRed Orchid Thistle Plum Violet Magenta Fuchsia DarkMagenta Purple MediumOrchid DarkViolet DarkOrchid Indigo BlueViolet MediumPurple MediumSlateBlue SlateBlue DarkSlateBlue Lavender GhostWhite Blue MediumBlue MidnightBlue DarkBlue Navy RoyalBlue CornflowerBlue LightSteelBlue LightSlateGrey SlateGrey DodgerBlue AliceBlue SteelBlue LightSkyBlue SkyBlue DeepSkyBlue LightBlue PowderBlue CadetBlue Azure LightCyan PaleTurquoise Cyan Aqua DarkTurquoise DarkSlateGrey DarkCyan Teal MediumTurquoise LightSeaGreen Turquoise Aquamarine MediumAquamarine MediumSpringGreen MintCream SpringGreen MediumSeaGreen SeaGreen Honeydew LightGreen PaleGreen DarkSeaGreen LimeGreen Lime ForestGreen Green DarkGreen Chartreuse LawnGreen GreenYellow DarkOliveGreen YellowGreen OliveDrab Beige LightGoldenrodYellow Ivory LightYellow Yellow Olive DarkKhaki LemonChiffon PaleGoldenrod Khaki Gold Cornsilk Goldenrod DarkGoldenrod FloralWhite OldLace Wheat Moccasin Orange PapayaWhip BlanchedAlmond NavajoWhite AntiqueWhite Tan BurlyWood Bisque DarkOrange Linen Peru PeachPuff SandyBrown Chocolate SaddleBrown Seashell Sienna LightSalmon Coral OrangeRed DarkSalmon Tomato MistyRose Salmon Snow LightCoral RosyBrown IndianRed Red Brown FireBrick DarkRed Maroon White WhiteSmoke Gainsboro LightGrey Silver DarkGrey Grey DimGrey Black\\\" variable=\\\"colour-picker-value\\\">\\n&#32;\\n<$macrocall $name=\\\"colour-picker-inner\\\" actions=<<__actions__>>/>\\n</$list>\\n\\n---\\n\\n<$edit-text tiddler=\\\"$:/config/ColourPicker/New\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder=\\\"\\\"/>\\n&#32;\\n<$edit-text tiddler=\\\"$:/config/ColourPicker/New\\\" type=\\\"color\\\" tag=\\\"input\\\"/>\\n<$set name=\\\"colour-picker-value\\\" value={{$:/config/ColourPicker/New}}>\\n<$macrocall $name=\\\"colour-picker-inner\\\" actions=<<__actions__>>/>\\n</$set>\\n\\n</div>\\n\\n\\\\end\\n\"},\"$:/core/macros/copy-to-clipboard\":{\"title\":\"$:/core/macros/copy-to-clipboard\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure copy-to-clipboard(src,class:\\\"tc-btn-invisible\\\",style)\\n<$button message=\\\"tm-copy-to-clipboard\\\"\\n\\tparam=<<src>>\\n\\tclass=<<class>>\\n\\tstyle=<<style>>\\n\\ttooltip={{$:/language/Buttons/CopyToClipboard/Hint}}\\n>\\n\\t{{$:/core/images/copy-clipboard}}\\n\\t<span class=\\\"tc-tiny-gap-left\\\">\\n\\t\\t<$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/>\\n\\t</span>\\n</$button>\\n\\\\end\\n\\n\\\\procedure copy-to-clipboard-above-right(src,class:\\\"tc-btn-invisible\\\",style)\\n<div style=\\\"position: relative;\\\">\\n\\t<div style=\\\"position: absolute; bottom: 0; right: 0;\\\">\\n\\t\\t<$macrocall $name=\\\"copy-to-clipboard\\\" src=<<src>> class=<<class>> style=<<style>>/>\\n\\t</div>\\n</div>\\n\\\\end\\n\"},\"$:/core/macros/diff\":{\"title\":\"$:/core/macros/diff\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure compareTiddlerText(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle)\\n<$set name=\\\"source\\\" tiddler=<<sourceTiddlerTitle>> subtiddler=<<sourceSubTiddlerTitle>>>\\n\\t<$set name=\\\"dest\\\" tiddler=<<destTiddlerTitle>> subtiddler=<<destSubTiddlerTitle>>>\\n\\t\\t<$diff-text source=<<source>> dest=<<dest>>/>\\n\\t</$set>\\n</$set>\\n\\\\end\\n\\n\\\\procedure compareTiddlers(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle,exclude)\\n<table class=\\\"tc-diff-tiddlers\\\">\\n\\t<tbody>\\n\\t\\t<$set name=\\\"sourceFields\\\" filter=\\\"[<sourceTiddlerTitle>fields[]sort[]]\\\">\\n\\t\\t\\t<$set name=\\\"destFields\\\" filter=\\\"[<destSubTiddlerTitle>subtiddlerfields<destTiddlerTitle>sort[]]\\\">\\n\\t\\t\\t<$list filter=\\\"[enlist<sourceFields>] [enlist<destFields>] -[enlist<exclude>] +[sort[]]\\\" variable=\\\"fieldName\\\">\\n\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t<th>\\n\\t\\t\\t\\t\\t\\t<$text text=<<fieldName>>/>\\n\\t\\t\\t\\t\\t</th>\\n\\t\\t\\t\\t\\t<td>\\n\\t\\t\\t\\t\\t\\t<$set name=\\\"source\\\" tiddler=<<sourceTiddlerTitle>> subtiddler=<<sourceSubTiddlerTitle>> field=<<fieldName>>>\\n\\t\\t\\t\\t\\t\\t\\t<$set name=\\\"dest\\\" tiddler=<<destTiddlerTitle>> subtiddler=<<destSubTiddlerTitle>> field=<<fieldName>>>\\n\\t\\t\\t\\t\\t\\t\\t\\t<$diff-text source=<<source>> dest=<<dest>>>&#32;</$diff-text>\\n\\t\\t\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t</tr>\\n\\t\\t\\t</$list>\\n\\t\\t\\t</$set>\\n\\t\\t</$set>\\n\\t</tbody>\\n</table>\\n\\\\end\\n\"},\"$:/core/macros/dumpvariables\":{\"title\":\"$:/core/macros/dumpvariables\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define dumpvariables()\\n\\\\whitespace trim\\n<ul>\\n<$list filter=\\\"[variables[]]\\\" variable=\\\"varname\\\">\\n<li>\\n<strong><code><$text text=<<varname>>/></code></strong>:<br/>\\n<$codeblock code={{{ [<varname>getvariable[]] }}}/>\\n</li>\\n</$list>\\n</ul>\\n\\\\end\\n\"},\"$:/core/macros/export\":{\"title\":\"$:/core/macros/export\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\function exportButtonFilename(baseFilename)\\n[<baseFilename>] [<extension>] +[join[]]\\n\\\\end\\n\\n\\\\procedure exportButton(exportFilter:\\\"[!is[system]sort[title]]\\\",lingoBase,baseFilename:\\\"tiddlers\\\")\\n\\\\whitespace trim\\n<$let hint={{{ [<lingoBase>addsuffix[Hint]get[text]] }}}\\n\\tcaption={{{ [<lingoBase>addsuffix[Caption]get[text]] }}}\\n>\\n\\t<span class=\\\"tc-popup-keep\\\">\\n\\t\\t<$button popup=<<qualify \\\"$:/state/popup/export\\\">>\\n\\t\\t\\ttooltip=<<hint>>\\n\\t\\t\\taria-label=<<caption>>\\n\\t\\t\\tclass=<<tv-config-toolbar-class>>\\n\\t\\t\\tselectedClass=\\\"tc-selected\\\"\\n\\t\\t\\tdragFilter=<<exportFilter>>\\n\\t\\t>\\n\\t\\t\\t<%if [<tv-config-toolbar-icons>match[yes]] %>\\n\\t\\t\\t\\t{{$:/core/images/export-button}}\\n\\t\\t\\t<%endif%>\\n\\t\\t\\t<%if [<tv-config-toolbar-text>match[yes]] %>\\n\\t\\t\\t\\t<span class=\\\"tc-btn-text\\\"><$text text=<<caption>>/></span>\\n\\t\\t\\t<%endif%>\\n\\t\\t</$button>\\n\\t</span>\\n</$let>\\n<$reveal state=<<qualify \\\"$:/state/popup/export\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\\t<div class=\\\"tc-drop-down\\\">\\n\\t\\t<$set name=\\\"count\\\" value={{{ [subfilter<exportFilter>count[]] }}}>\\n\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Exporter]]\\\">\\n\\t\\t\\t\\t<$list filter=\\\"[<currentTiddler>has[condition]subfilter{!!condition}limit[1]] ~[<currentTiddler>!has[condition]then[true]]\\\"\\n\\t\\t\\t\\t\\tvariable=\\\"ignore\\\"\\n\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t<$button class=\\\"tc-btn-invisible\\\">\\n\\t\\t\\t\\t\\t\\t<$action-sendmessage $message=\\\"tm-download-file\\\"\\n\\t\\t\\t\\t\\t\\t\\t$param=<<currentTiddler>>\\n\\t\\t\\t\\t\\t\\t\\texportFilter=<<exportFilter>>\\n\\t\\t\\t\\t\\t\\t\\tfilename={{{ [<baseFilename>addsuffix{!!extension}] }}}\\n\\t\\t\\t\\t\\t\\t\\ttype={{!!file-type}}\\n\\t\\t\\t\\t\\t\\t/>\\n\\t\\t\\t\\t\\t\\t<$action-deletetiddler $tiddler=<<qualify \\\"$:/state/popup/export\\\">>/>\\n\\t\\t\\t\\t\\t\\t<$transclude field=\\\"description\\\"/>\\n\\t\\t\\t\\t\\t</$button>\\n\\t\\t\\t\\t</$list>\\n\\t\\t\\t</$list>\\n\\t\\t</$set>\\n\\t</div>\\n</$reveal>\\n\\\\end\\n\"},\"$:/core/macros/image-picker\":{\"title\":\"$:/core/macros/image-picker\",\"created\":\"20170715180840889\",\"modified\":\"20170715180914005\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-picker-thumbnail(actions)\\n<$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(imageTitle)$\\\"\\\"\\\"><$transclude $variable=\\\"__actions__\\\"/><$transclude tiddler=<<imageTitle>>/></$button>\\n\\\\end\\n\\n\\\\define image-picker-list(filter,actions)\\n\\\\whitespace trim\\n<$list filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\" variable=\\\"imageTitle\\\">\\n<$macrocall $name=\\\"image-picker-thumbnail\\\" actions=<<__actions__>>/>\\n&#32;\\n</$list>\\n\\\\end\\n\\n\\\\define image-picker(actions,filter:\\\"[all[shadows+tiddlers]is[image]] -[type[application/pdf]] +[!has[draft.of]$subfilter$sort[title]]\\\",subfilter:\\\"\\\")\\n\\\\whitespace trim\\n<div class=\\\"tc-image-chooser\\\">\\n<$vars state-system=<<qualify \\\"$:/state/image-picker/system\\\">>>\\n<$checkbox tiddler=<<state-system>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"hide\\\">\\n&#32;\\n{{$:/language/SystemTiddlers/Include/Prompt}}\\n</$checkbox>\\n<$reveal state=<<state-system>> type=\\\"match\\\" text=\\\"hide\\\" default=\\\"hide\\\" tag=\\\"div\\\">\\n<$macrocall $name=\\\"image-picker-list\\\" filter=\\\"\\\"\\\"$filter$ +[!is[system]]\\\"\\\"\\\" actions=<<__actions__>>/>\\n</$reveal>\\n<$reveal state=<<state-system>> type=\\\"nomatch\\\" text=\\\"hide\\\" default=\\\"hide\\\" tag=\\\"div\\\">\\n<$macrocall $name=\\\"image-picker-list\\\" filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\" actions=<<__actions__>>/>\\n</$reveal>\\n</$vars>\\n</div>\\n\\\\end\\n\\n\\\\define image-picker-include-tagged-images(actions)\\n<$macrocall $name=\\\"image-picker\\\" filter=\\\"[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[!has[draft.of]sort[title]]\\\" actions=<<__actions__>>/>\\n\\\\end\\n\"},\"$:/core/macros/keyboard-driven-input\":{\"title\":\"$:/core/macros/keyboard-driven-input\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\procedure prefix.bracket() [\\n\\\\procedure suffix.bracket() ]\\n\\n\\\\function tf.change-input-tab.next-tab() [[all]addprefix<prefix.bracket>addsuffix<prefix.bracket>addsuffix[shadows+tiddlers]addsuffix<suffix.bracket>addsuffix[tag<tag>!has]addsuffix<prefix.bracket>addsuffix[draft.of]addsuffix<suffix.bracket>addsuffix<beforeafter>addsuffix[<currentState>]addsuffix<suffix.bracket>addsuffix[ :else]addsuffix<prefix.bracket>addsuffix<prefix.bracket>addsuffix<beforeafter>addsuffix<suffix.bracket>addsuffix[match]addsuffix<prefix.bracket>addsuffix[after]addsuffix<suffix.bracket>addsuffix[then<firstTab>]addsuffix<suffix.bracket>addsuffix[ :else]addsuffix<prefix.bracket>addsuffix<prefix.bracket>addsuffix<beforeafter>addsuffix<suffix.bracket>addsuffix[match]addsuffix<prefix.bracket>addsuffix[before]addsuffix<suffix.bracket>addsuffix[then<lastTab>]addsuffix<suffix.bracket>]\\n\\n\\\\procedure change-input-tab(stateTitle,tag,beforeafter,defaultState,actions)\\n\\\\whitespace trim\\n<$set name=\\\"tabsList\\\" filter=\\\"[<explicitTabList>!is[blank]enlist-input[]] :else[all[shadows+tiddlers]tag<tag>!has[draft.of]]\\\">\\n\\t<$let\\n\\t\\tcurrentState={{{ [<stateTitle>!is[missing]get[text]] :else[<defaultState>] }}}\\n\\t\\tfirstTab={{{ [enlist<tabsList>nth[1]] }}}\\n\\t\\tlastTab={{{ [enlist<tabsList>last[]] }}}\\n\\t\\tnextTabSubFilter=<<tf.change-input-tab.next-tab>>\\n\\t\\tnextTab={{{ [subfilter<nextTabSubFilter>] }}}\\n\\t>\\n\\t\\t<$action-setfield $tiddler=<<stateTitle>> text=<<nextTab>>/>\\n\\t\\t<<actions>>\\n\\t</$let>\\n</$set>\\n\\\\end\\n\\n\\\\procedure keyboard-input-actions()\\n\\\\whitespace trim\\n<%if [<index>match[]] %>\\n\\t<$action-setfield $tiddler=<<storeTitle>> text={{{ [<tiddler>get<field>] }}}/>\\n<% endif %>\\n<%if [<index>!match[]] %>\\n\\t<$action-setfield $tiddler=<<storeTitle>> text={{{ [<tiddler>getindex<index>] }}}/>\\n<% endif %>\\n\\\\end\\n\\n\\\\procedure input-next-actions-inner()\\n\\\\whitespace trim\\n<%if [<nextItem>minlength[1]] %>\\n\\t<$action-setfield $tiddler=<<selectionStateTitle>> text=<<nextItem>>/>\\n\\t<%if [<index>match[]] %>\\n\\t\\t<$action-setfield $tiddler=<<tiddler>> $field=<<field>> $value={{{ [<nextItem>] :and[splitregexp[(?:.(?!-))+$]] }}}/>\\n\\t<% endif %>\\n\\t<%if [<index>!match[]] %>\\n\\t\\t<$action-setfield $tiddler=<<tiddler>> $index=<<index>> $value={{{ [<nextItem>] :and[splitregexp[(?:.(?!-))+$]] }}}/>\\n\\t<% endif %>\\n\\t<$action-setfield $tiddler=<<refreshTitle>> text=\\\"yes\\\"/>\\n<% endif %>\\n\\\\end\\n\\n\\\\procedure input-next-actions-after()\\n\\\\whitespace trim\\n<%if [<storeTitle>get[text]minlength<filterMinLength>] [<filterMinLength>match[0]] %>\\n\\t<$let\\n\\t\\tuserInput={{{ [<storeTitle>get[text]] }}}\\n\\t\\tselectedItem={{{ [<selectionStateTitle>get[text]] }}}\\n\\t\\tconfigTiddler={{{ [subfilter<configTiddlerFilter>] }}}\\n\\t\\tprimaryListFilter={{{ [<configTiddler>get<firstSearchFilterField>] }}}\\n\\t\\tsecondaryListFilter={{{ [<configTiddler>get<secondSearchFilterField>] }}}\\n\\t>\\n\\t\\t<$set\\n\\t\\t\\tname=\\\"filteredList\\\"\\n\\t\\t\\tfilter=\\\"[subfilter<primaryListFilter>addsuffix[-primaryList]] :all[subfilter<secondaryListFilter>addsuffix[-secondaryList]]\\\"\\n\\t\\t>\\n\\t\\t\\t<$let\\n\\t\\t\\t\\tnextItem={{{ [enlist<filteredList>after<selectedItem>] :else[enlist<filteredList>nth[1]] }}}\\n\\t\\t\\t\\tfirstItem={{{ [enlist<filteredList>nth[1]] }}}\\n\\t\\t\\t\\tlastItem={{{ [enlist<filteredList>last[]] }}}\\n\\t\\t\\t>\\n\\t\\t\\t\\t<%if [<selectedItem>match<firstItem>!match<lastItem>] [<selectedItem>!match<firstItem>!match<lastItem>] %>\\n\\t\\t\\t\\t\\t<<input-next-actions-inner>>\\n\\t\\t\\t\\t<%elseif [<selectedItem>match<lastItem>!match<firstItem>] %>\\n\\t\\t\\t\\t\\t<$set name=\\\"nextItem\\\" value={{{ [<userInput>addsuffix[-userInput]] }}}>\\n\\t\\t\\t\\t\\t\\t<<input-next-actions-inner>>\\n\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t<%elseif [<selectedItem>match<firstItem>match<lastItem>] %>\\n\\t\\t\\t\\t\\t<$set name=\\\"nextItem\\\" value={{{ [<userInput>addsuffix[-userInput]] }}}>\\n\\t\\t\\t\\t\\t\\t<<input-next-actions-inner>>\\n\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t<% endif %>\\n\\t\\t\\t</$let>\\n\\t\\t</$set>\\n\\t</$let>\\n<% endif %>\\n\\\\end\\n\\n\\\\procedure input-next-actions-before()\\n\\\\whitespace trim\\n<%if [<storeTitle>get[text]minlength<filterMinLength>] [<filterMinLength>match[0]] %>\\n\\t<$let\\n\\t\\tuserInput={{{ [<storeTitle>get[text]] }}}\\n\\t\\tselectedItem={{{ [<selectionStateTitle>get[text]] }}}\\n\\t\\tconfigTiddler={{{ [subfilter<configTiddlerFilter>] }}}\\n\\t\\tprimaryListFilter={{{ [<configTiddler>get<firstSearchFilterField>] }}}\\n\\t\\tsecondaryListFilter={{{ [<configTiddler>get<secondSearchFilterField>] }}}\\n\\t>\\n\\t\\t<$set\\n\\t\\t\\tname=\\\"filteredList\\\"\\n\\t\\t\\tfilter=\\\"[subfilter<primaryListFilter>addsuffix[-primaryList]] :all[subfilter<secondaryListFilter>addsuffix[-secondaryList]]\\\"\\n\\t\\t>\\n\\t\\t\\t<$let\\n\\t\\t\\t\\tnextItem={{{ [enlist<filteredList>before<selectedItem>] :else[enlist<filteredList>reverse[]nth[1]] }}}\\n\\t\\t\\t\\tfirstItem={{{ [enlist<filteredList>nth[1]] }}}\\n\\t\\t\\t\\tlastItem={{{ [enlist<filteredList>last[]] }}}\\n\\t\\t\\t>\\n\\t\\t\\t\\t<%if [<selectedItem>match<firstItem>!match<lastItem>] %>\\n\\t\\t\\t\\t\\t<$set name=\\\"nextItem\\\" value={{{ [<userInput>addsuffix[-userInput]] }}}>\\n\\t\\t\\t\\t\\t\\t<<input-next-actions-inner>>\\n\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t<%elseif [<selectedItem>match<lastItem>!match<firstItem>] [<selectedItem>!match<firstItem>!match<lastItem>] %>\\n\\t\\t\\t\\t\\t<<input-next-actions-inner>>\\n\\t\\t\\t\\t<%elseif [<selectedItem>match<firstItem>match<lastItem>] %>\\n\\t\\t\\t\\t\\t<$set name=\\\"nextItem\\\" value={{{ [<userInput>addsuffix[-userInput]] }}}>\\n\\t\\t\\t\\t\\t\\t<<input-next-actions-inner>>\\n\\t\\t\\t\\t\\t</$set>\\n\\t\\t\\t\\t<% endif %>\\n\\t\\t\\t</$let>\\n\\t\\t</$set>\\n\\t</$let>\\n<% endif %>\\n\\\\end\\n\\n\\\\procedure keyboard-driven-input(tiddler,storeTitle,field:\\\"text\\\",index:\\\"\\\",tag:\\\"input\\\",type,focus:\\\"\\\",inputAcceptActions,inputAcceptVariantActions,inputCancelActions,placeholder:\\\"\\\",default:\\\"\\\",class,focusPopup,rows,minHeight,tabindex,size,autoHeight,filterMinLength:\\\"0\\\",refreshTitle,selectionStateTitle,cancelPopups:\\\"\\\",configTiddlerFilter,firstSearchFilterField:\\\"first-search-filter\\\",secondSearchFilterField:\\\"second-search-filter\\\")\\n\\\\whitespace trim\\n<$keyboard key=\\\"((input-accept))\\\" actions=<<inputAcceptActions>>>\\n<$keyboard key=\\\"((input-accept-variant))\\\" actions=<<inputAcceptVariantActions>>>\\n<$keyboard key=\\\"((input-up))\\\" actions=<<input-next-actions-before>>>\\n<$keyboard key=\\\"((input-down))\\\" actions=<<input-next-actions-after>>>\\n<$keyboard key=\\\"((input-cancel))\\\" actions=<<inputCancelActions>>>\\n\\t<$edit-text\\n\\t\\ttiddler=<<tiddler>> field=<<field>> index=<<index>>\\n\\t\\tinputActions=<<keyboard-input-actions>> tag=<<tag>> class=<<class>>\\n\\t\\tplaceholder=<<placeholder>> default=<<default>> focusPopup=<<focusPopup>>\\n\\t\\tfocus=<<focus>> type=<<type>> rows=<<rows>> minHeight=<<minHeight>>\\n\\t\\ttabindex=<<tabindex>> size=<<size>> autoHeight=<<autoHeight>>\\n\\t\\trefreshTitle=<<refreshTitle>> cancelPopups=<<cancelPopups>>\\n\\t/>\\n</$keyboard>\\n</$keyboard>\\n</$keyboard>\\n</$keyboard>\\n</$keyboard>\\n\\\\end\\n\"},\"$:/core/macros/lingo\":{\"title\":\"$:/core/macros/lingo\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define lingo-base()\\n$:/language/\\n\\\\end\\n\\n\\\\define lingo(title)\\n{{$(lingo-base)$$title$}}\\n\\\\end\\n\"},\"$:/core/macros/list\":{\"title\":\"$:/core/macros/list\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define list-links(filter,type:\\\"ul\\\",subtype:\\\"li\\\",class:\\\"\\\",emptyMessage,field:\\\"caption\\\")\\n\\\\whitespace trim\\n<$genesis $type=<<__type__>> class=<<__class__>>>\\n\\t<$list filter=<<__filter__>> emptyMessage=<<__emptyMessage__>>>\\n\\t\\t<$genesis $type=<<__subtype__>>>\\n\\t\\t\\t<$link to={{!!title}}>\\n\\t\\t\\t\\t<$let tv-wikilinks=\\\"no\\\">\\n\\t\\t\\t\\t\\t<$transclude field=<<__field__>>>\\n\\t\\t\\t\\t\\t\\t<$view field=\\\"title\\\"/>\\n\\t\\t\\t\\t\\t</$transclude>\\n\\t\\t\\t\\t</$let>\\n\\t\\t\\t</$link>\\n\\t\\t</$genesis>\\n\\t</$list>\\n</$genesis>\\n\\\\end\\n\\n\\\\define list-links-draggable-drop-actions()\\n<$action-listops $tiddler=<<targetTiddler>> $field=<<targetField>> $subfilter=\\\"+[insertbefore<actionTiddler>,<currentTiddler>]\\\"/>\\n\\\\end\\n\\n\\\\define list-links-draggable(tiddler,field:\\\"list\\\",emptyMessage,type:\\\"ul\\\",subtype:\\\"li\\\",class:\\\"\\\",itemTemplate)\\n\\\\whitespace trim\\n<span class=\\\"tc-links-draggable-list\\\">\\n\\t<$vars targetTiddler=\\\"\\\"\\\"$tiddler$\\\"\\\"\\\" targetField=\\\"\\\"\\\"$field$\\\"\\\"\\\">\\n\\t\\t<$genesis $type=<<__type__>> class=\\\"$class$\\\">\\n\\t\\t\\t<$list filter=\\\"[list[$tiddler$!!$field$]]\\\" emptyMessage=<<__emptyMessage__>>>\\n\\t\\t\\t\\t<$droppable\\n\\t\\t\\t\\t\\tactions=<<list-links-draggable-drop-actions>>\\n\\t\\t\\t\\t\\ttag=\\\"\\\"\\\"$subtype$\\\"\\\"\\\"\\n\\t\\t\\t\\t\\tenable=<<tv-enable-drag-and-drop>>\\n\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t<div class=\\\"tc-droppable-placeholder\\\"/>\\n\\t\\t\\t\\t\\t<div>\\n\\t\\t\\t\\t\\t\\t<$transclude tiddler=\\\"\\\"\\\"$itemTemplate$\\\"\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$link to={{!!title}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t<$let tv-wikilinks=\\\"no\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<$transclude field=\\\"caption\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<$view field=\\\"title\\\"/>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</$transclude>\\n\\t\\t\\t\\t\\t\\t\\t\\t</$let>\\n\\t\\t\\t\\t\\t\\t\\t</$link>\\n\\t\\t\\t\\t\\t\\t</$transclude>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</$droppable>\\n\\t\\t\\t</$list>\\n\\t\\t\\t<$tiddler tiddler=\\\"\\\">\\n\\t\\t\\t\\t<$droppable\\n\\t\\t\\t\\t\\tactions=<<list-links-draggable-drop-actions>> \\n\\t\\t\\t\\t\\ttag=\\\"div\\\"\\n\\t\\t\\t\\t\\tenable=<<tv-enable-drag-and-drop>>\\n\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t<div class=\\\"tc-droppable-placeholder\\\">\\n\\t\\t\\t\\t\\t\\t{{$:/core/images/blank}}\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t<div style=\\\"height:0.5em;\\\"/>\\n\\t\\t\\t\\t</$droppable>\\n\\t\\t\\t</$tiddler>\\n\\t\\t</$genesis>\\n\\t</$vars>\\n</span>\\n\\\\end\\n\\n\\\\define list-tagged-draggable-drop-actions(tag)\\n\\\\whitespace trim\\n<!-- Save the current ordering of the tiddlers with this tag -->\\n<$set name=\\\"order\\\" filter=\\\"[<__tag__>tagging[]]\\\">\\n\\t<!-- Remove any list-after or list-before fields from the tiddlers with this tag -->\\n\\t<$list filter=\\\"[<__tag__>tagging[]]\\\">\\n\\t\\t<$action-deletefield $field=\\\"list-before\\\"/>\\n\\t\\t<$action-deletefield $field=\\\"list-after\\\"/>\\n\\t</$list>\\n\\t<!-- Save the new order to the Tag Tiddler -->\\n\\t<$action-listops $tiddler=<<__tag__>> $field=\\\"list\\\" $filter=\\\"+[enlist<order>] +[insertbefore<actionTiddler>,<currentTiddler>]\\\"/>\\n\\t<!-- Make sure the newly added item has the right tag -->\\n\\t<!-- Removing this line makes dragging tags within the dropdown work as intended -->\\n\\t<!--<$action-listops $tiddler=<<actionTiddler>> $tags=<<__tag__>>/>-->\\n\\t<!-- Using the following 5 lines as replacement makes dragging titles from outside into the dropdown apply the tag -->\\n\\t<$list filter=\\\"[<actionTiddler>!contains:tags<__tag__>]\\\">\\n\\t\\t<$fieldmangler tiddler=<<actionTiddler>>>\\n\\t\\t\\t<$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<__tag__>>/>\\n\\t\\t</$fieldmangler>\\n\\t</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define list-tagged-draggable(tag,subFilter,emptyMessage,itemTemplate,elementTag:\\\"div\\\",storyview:\\\"\\\")\\n\\\\whitespace trim\\n<span class=\\\"tc-tagged-draggable-list\\\">\\n\\t<$set name=\\\"tag\\\" value=<<__tag__>>>\\n\\t\\t<$list\\n\\t\\t\\tfilter=\\\"[<__tag__>tagging[]$subFilter$]\\\"\\n\\t\\t\\temptyMessage=<<__emptyMessage__>>\\n\\t\\t\\tstoryview=<<__storyview__>>\\n\\t\\t>\\n\\t\\t\\t<$genesis $type=<<__elementTag__>> class=\\\"tc-menu-list-item\\\">\\n\\t\\t\\t\\t<$droppable\\n\\t\\t\\t\\t\\tactions=\\\"\\\"\\\"<$macrocall $name=\\\"list-tagged-draggable-drop-actions\\\" tag=<<__tag__>>/>\\\"\\\"\\\"\\n\\t\\t\\t\\t\\tenable=<<tv-enable-drag-and-drop>>\\n\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t<$genesis $type=<<__elementTag__>> class=\\\"tc-droppable-placeholder\\\"/>\\n\\t\\t\\t\\t\\t<$genesis $type=<<__elementTag__>>>\\n\\t\\t\\t\\t\\t\\t<$transclude tiddler=\\\"\\\"\\\"$itemTemplate$\\\"\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$link to={{!!title}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t<$view field=\\\"title\\\"/>\\n\\t\\t\\t\\t\\t\\t\\t</$link>\\n\\t\\t\\t\\t\\t\\t</$transclude>\\n\\t\\t\\t\\t\\t</$genesis>\\n\\t\\t\\t\\t</$droppable>\\n\\t\\t\\t</$genesis>\\n\\t\\t</$list>\\n\\t\\t<$tiddler tiddler=\\\"\\\">\\n\\t\\t\\t<$droppable\\n\\t\\t\\t\\tactions=\\\"\\\"\\\"<$macrocall $name=\\\"list-tagged-draggable-drop-actions\\\" tag=<<__tag__>>/>\\\"\\\"\\\"\\n\\t\\t\\t\\tenable=<<tv-enable-drag-and-drop>>\\n\\t\\t\\t>\\n\\t\\t\\t\\t<$genesis $type=<<__elementTag__>> class=\\\"tc-droppable-placeholder\\\"/>\\n\\t\\t\\t\\t<$genesis $type=<<__elementTag__>> style=\\\"height:0.5em;\\\"/>\\n\\t\\t\\t</$droppable>\\n\\t\\t</$tiddler>\\n\\t</$set>\\n</span>\\n\\\\end\\n\"},\"$:/core/macros/show-filter-count\":{\"title\":\"$:/core/macros/show-filter-count\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure show-filter-count(filter)\\n<$button class=\\\"tc-btn-invisible\\\">\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch\\\" $value=<<filter>>/>\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" $value=<<filter>>/>\\n\\t<$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n\\t<$action-setfield $tiddler=\\\"$:/state/tab--1498284803\\\" $value=\\\"$:/core/ui/AdvancedSearch/Filter\\\"/>\\n\\t<$action-navigate $to=\\\"$:/AdvancedSearch\\\"/>\\n\\t<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\t<span class=\\\"tc-small-gap-right\\\">''<$count filter=<<filter>>/>''</span>\\n\\t{{$:/core/images/advanced-search-button}}\\n</$button>\\n\\\\end\"},\"$:/core/macros/tabs\":{\"title\":\"$:/core/macros/tabs\",\"tags\":\"$:/tags/Macro\",\"code-body\":\"yes\",\"text\":\"\\\\define tabs-button()\\n\\\\whitespace trim\\n<$button\\n\\tset=<<tabsState>>\\n\\tsetTo=<<currentTab>>\\n\\tdefault=<<__default__>>\\n\\tselectedClass=\\\"tc-tab-selected\\\"\\n\\ttooltip={{!!tooltip}}\\n\\trole=\\\"switch\\\"\\n\\tdata-tab-title=<<currentTab>>\\n>\\n\\t<$tiddler tiddler=<<save-currentTiddler>>>\\n\\t\\t<$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n\\t\\t\\t<$transclude tiddler=<<__buttonTemplate__>> mode=\\\"inline\\\">\\n\\t\\t\\t\\t<$transclude tiddler=<<currentTab>> field=\\\"caption\\\">\\n\\t\\t\\t\\t\\t<$macrocall $name=\\\"currentTab\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/>\\n\\t\\t\\t\\t</$transclude>\\n\\t\\t\\t</$transclude>\\n\\t\\t</$set>\\n\\t</$tiddler>\\n\\t<<__actions__>>\\n</$button>\\n\\\\end\\n\\n\\\\define tabs-tab()\\n\\\\whitespace trim\\n<$set name=\\\"save-currentTiddler\\\" value=<<currentTiddler>>>\\n\\t<$tiddler tiddler=<<currentTab>>>\\n\\t\\t<<tabs-button>>\\n\\t</$tiddler>\\n</$set>\\n\\\\end\\n\\n\\\\define tabs-tab-list()\\n\\\\whitespace trim\\n<$list filter=<<__tabsList__>> variable=\\\"currentTab\\\" storyview=\\\"pop\\\">\\n\\t<<tabs-tab>>\\n</$list>\\n\\\\end\\n\\n\\\\define tabs-tab-body()\\n\\\\whitespace trim\\n<$list filter=<<__tabsList__>> variable=\\\"currentTab\\\">\\n\\t<$reveal type=\\\"match\\\" state=<<tabsState>> text=<<currentTab>> default=<<__default__>> retain=<<__retain__>> tag=\\\"div\\\">\\n\\t\\t<$transclude tiddler=<<__template__>> mode=\\\"block\\\">\\n\\t\\t\\t<$transclude tiddler=<<currentTab>> mode=\\\"block\\\"/>\\n\\t\\t</$transclude>\\n\\t</$reveal>\\n</$list>\\n\\\\end\\n\\n\\\\define tabs(tabsList,default,state:\\\"$:/state/tab\\\",class,template,buttonTemplate,retain,actions,explicitState)\\n\\\\whitespace trim\\n<$qualify title=<<__state__>> name=\\\"qualifiedState\\\">\\n\\t<$let tabsState={{{ [<__explicitState__>minlength[1]] ~[<qualifiedState>] }}}>\\n\\t\\t<div class={{{ [[tc-tab-set]addsuffix[ ]addsuffix<__class__>] }}}>\\n\\t\\t\\t<div class={{{ [[tc-tab-buttons]addsuffix[ ]addsuffix<__class__>] }}}>\\n\\t\\t\\t\\t<<tabs-tab-list>>\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class={{{ [[tc-tab-divider]addsuffix[ ]addsuffix<__class__>] }}}/>\\n\\t\\t\\t<div class={{{ [[tc-tab-content]addsuffix[ ]addsuffix<__class__>] }}}>\\n\\t\\t\\t\\t<<tabs-tab-body>>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</$let>\\n</$qualify>\\n\\\\end\"},\"$:/core/macros/tag-picker\":{\"title\":\"$:/core/macros/tag-picker\",\"tags\":\"$:/tags/Macro\",\"first-search-filter\":\"[subfilter<tagListFilter>!is[system]search:title<userInput>]\",\"second-search-filter\":\"[subfilter<tagListFilter>is[system]search:title<userInput>]\",\"text\":\"<!--\\n\\tFields: \\\"first-search-filter\\\", \\\"second-search-filter\\\" are assigned to the keyboard-driven input macro with parameter: \\\"configTiddlerFilter\\\"\\n\\tThey __need to be the same__ as used for variables: \\\"nonSystemTagsFilter\\\" and \\\"systemTagsFilter\\\". See code below!\\n-->\\n\\n\\\\whitespace trim\\n\\n<!-- tf.tagpicker-dropdown-id is needed if several tap-pickers are shown in one tiddler -->\\n\\\\function tf.tagpicker-dropdown-id()\\n\\t[<qualify $:/state/popup/tags-auto-complete>]\\n\\t[[$(saveTiddler)$-[$(tagField)$-$(tagListFilter)$]substitute[]sha256[]] :and[join[/]]\\n\\\\end\\n\\n\\\\function tf.tagpicker-dropdown-class() [<tf.tagpicker-dropdown-id>sha256[]addprefix[tc-]]\\n\\\\function tf.get-tagpicker-focus-selector() [<tf.tagpicker-dropdown-class>addprefix[.]] .tc-popup-handle :and[join[ ]]\\n\\n<!-- clean up temporary tiddlers, so the next \\\"pick\\\" starts with a clean input -->\\n<!-- This could probably be optimized / removed if we would use different temp-tiddlers\\n\\t(future improvement because keeping track is comlex for humans)\\n-->\\n\\\\procedure delete-tag-state-tiddlers()\\n<$action-deletetiddler $filter=\\\"[<newTagNameTiddler>] [<storeTitle>] [<tagSelectionState>]\\\"/>\\n\\\\end\\n\\n<!-- trigger __toggle tag__ by keyboard -->\\n\\\\procedure add-tag-actions()\\n<$let tag=<<_tf.getTag>> >\\n\\t<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter=':and[toggle<tag>trim[]]'/>\\n\\t<%if [<tag>] :intersection[<saveTiddler>get<tagField>enlist-input[]] %>\\n\\t\\t<!-- tag has been removed - do nothing -->\\n\\t<%else%>\\n\\t\\t<<actions>>\\n\\t<%endif%>\\n\\t<<delete-tag-state-tiddlers>>\\n\\t<$action-setfield $tiddler=<<refreshTitle>> text=\\\"yes\\\"/>\\n</$let>\\n\\\\end\\n<!-- <$action-log /> -->\\n\\n<!-- ESC key removes the text from the input\\nThe second ESC tries to close the \\\"draft tiddler\\\"\\n-->\\n\\\\procedure clear-tags-actions-inner()\\n<%if [<storeTitle>has[text]] :else[<newTagNameTiddler>has[text]] %>\\n\\t<<delete-tag-state-tiddlers>>\\n<%else%>\\n\\t\\t<<cancel-delete-tiddler-actions \\\"cancel\\\">>\\n<%endif%>\\n\\\\end\\n\\n<!-- triggered by keyboard only -->\\n\\\\procedure clear-tags-actions()\\n<$let userInput=<<_tf.getUserInput>> >\\n\\t<!-- this list __cannot__ be transformed to conditional IF. The list variable is used! -->\\n\\t<$list filter=\\\"[<newTagNameTiddler>get[text]!match<userInput>]\\\" >\\n\\t\\t<$list-empty>\\n\\t\\t\\t<<clear-tags-actions-inner>>\\n\\t\\t</$list-empty>\\n\\t\\t<$action-setfield $tiddler=<<newTagNameTiddler>> text=<<userInput>>/>\\n\\t\\t<$action-setfield $tiddler=<<refreshTitle>> text=\\\"yes\\\"/>\\n\\t</$list>\\n</$let>\\n\\\\end\\n\\n<!-- similar to add-tag-actions __but__ add-only -->\\n\\\\procedure add-button-actions()\\n<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter=\\\"[<tag>trim[]]\\\"/>\\n<<actions>>\\n<<delete-tag-state-tiddlers>>\\n<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=<<tf.get-tagpicker-focus-selector>>/>\\n\\\\end\\n<!-- <$action-log /> -->\\n\\n<!-- create dropdown list -->\\n\\\\procedure tag-picker-listTags(filter, suffix, empty)\\n<$let userInput=<<_tf.getUserInput>> >\\n\\t<$list filter=\\\"[<userInput>minlength{$:/config/Tags/MinLength}limit[1]]\\\"\\n\\t\\temptyMessage=\\\"<div class='tc-search-results'>{{$:/language/Search/Search/TooShort}}</div>\\\" variable=\\\"listItem\\\"\\n\\t>\\n\\t\\t<$list filter=<<filter>> variable=\\\"tag\\\">\\n\\t\\t\\t<$list-empty>\\n\\t\\t\\t\\t<span class=\\\"tc-small-gap-left\\\"><<empty>></span>\\n\\t\\t\\t</$list-empty>\\n\\t\\t\\t<!-- The buttonClasses filter is used to define tc-tag-button-selected state -->\\n\\t\\t\\t<!-- tf.get-tagpicker-focus-selector has to be resolved for $:/core/ui/TagPickerTagTemplate,\\n\\t\\t\\t\\tothwerwise qualify in tf.tagpicker-dropdown-id causes problems -->\\n\\t\\t\\t<$let currentTiddler=<<tag>>\\n\\t\\t\\t\\tbutton-classes=`tc-btn-invisible ${[<tag>addsuffix<suffix>] :except[<tagSelectionState>get[text]] :then[[]] ~tc-tag-button-selected }$`\\n\\t\\t\\t\\tget-tagpicker-focus-selector=`${[<tf.get-tagpicker-focus-selector>]}$`\\n\\t\\t\\t>\\n\\t\\t\\t\\t{{||$:/core/ui/TagPickerTagTemplate}}\\n\\t\\t\\t</$let>\\n\\t\\t</$list>\\n\\t</$list>\\n</$let>\\n\\\\end\\n\\n<!-- tag-picker-inner is the main function -->\\n\\\\procedure tag-picker-inner()\\n<div class={{{ [[tc-edit-add-tag]] [<tf.tagpicker-dropdown-class>] :and[join[ ]] }}}>\\n\\t<div class=\\\"tc-edit-add-tag-ui\\\">\\n\\t\\t<span class=\\\"tc-add-tag-name tc-small-gap-right\\\">\\n\\t\\t\\t<$transclude $variable=\\\"keyboard-driven-input\\\"\\n\\t\\t\\t\\ttiddler=<<newTagNameTiddler>>\\n\\t\\t\\t\\tstoreTitle=<<storeTitle>>\\n\\t\\t\\t\\trefreshTitle=<<refreshTitle>>\\n\\t\\t\\t\\tselectionStateTitle=<<tagSelectionState>>\\n\\t\\t\\t\\tinputAcceptActions=<<add-tag-actions>>\\n\\t\\t\\t\\tinputCancelActions=<<clear-tags-actions>>\\n\\t\\t\\t\\ttag=\\\"input\\\"\\n\\t\\t\\t\\tplaceholder={{$:/language/EditTemplate/Tags/Add/Placeholder}}\\n\\t\\t\\t\\tfocusPopup=<<tf.tagpicker-dropdown-id>>\\n\\t\\t\\t\\tclass=\\\"tc-edit-texteditor tc-popup-handle\\\"\\n\\t\\t\\t\\ttabindex=<<tabIndex>>\\n\\t\\t\\t\\tfocus={{{ [{$:/config/AutoFocus}match[tags]then[true]] :else[[false]] }}}\\n\\t\\t\\t\\tfilterMinLength={{$:/config/Tags/MinLength}}\\n\\t\\t\\t\\tcancelPopups=<<cancelPopups>>\\n\\t\\t\\t\\tconfigTiddlerFilter=\\\"[[$:/core/macros/tag-picker]]\\\"\\n\\t\\t\\t/>\\n\\t\\t</span>\\n\\t\\t<$button popup=<<tf.tagpicker-dropdown-id>> class=\\\"tc-btn-invisible tc-btn-dropdown\\\"\\n\\t\\t\\ttooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}\\n\\t\\t>\\n\\t\\t\\t{{$:/core/images/down-arrow}}\\n\\t\\t</$button>\\n\\t\\t<%if [<storeTitle>has[text]] %>\\n\\t\\t\\t<$button actions=<<delete-tag-state-tiddlers>> class=\\\"tc-btn-invisible tc-small-gap tc-btn-dropdown\\\"\\n\\t\\t\\t\\ttooltip={{$:/language/EditTemplate/Tags/ClearInput/Hint}} aria-label={{$:/language/EditTemplate/Tags/ClearInput/Caption}}\\n\\t\\t\\t>\\n\\t\\t\\t\\t{{$:/core/images/close-button}}\\n\\t\\t\\t</$button>\\n\\t\\t<%endif%>\\n\\t\\t<span class=\\\"tc-add-tag-button tc-small-gap-left\\\">\\n\\t\\t\\t<$let tag=<<_tf.getTag>>>\\n\\t\\t\\t\\t<$button set=<<newTagNameTiddler>> actions=<<add-button-actions>> >\\n\\t\\t\\t\\t\\t{{$:/language/EditTemplate/Tags/Add/Button}}\\n\\t\\t\\t\\t</$button>\\n\\t\\t\\t</$let>\\n\\t\\t</span>\\n\\t</div>\\n\\t<div class=\\\"tc-block-dropdown-wrapper\\\">\\n\\t\\t<%if [<tf.tagpicker-dropdown-id>has[text]] %>\\n\\t\\t\\t<div class=\\\"tc-block-dropdown tc-block-tags-dropdown\\\">\\n\\t\\t\\t\\t<$transclude $variable=\\\"tag-picker-listTags\\\" filter=<<nonSystemTagsFilter>> suffix=\\\"-primaryList\\\" empty={{$:/language/EditTemplate/Tags/EmptyMessage}}/>\\n\\t\\t\\t\\t<hr>\\n\\t\\t\\t\\t<$transclude $variable=\\\"tag-picker-listTags\\\" filter=<<systemTagsFilter>> suffix=\\\"-secondaryList\\\" empty={{$:/language/EditTemplate/Tags/EmptyMessage/System}}/>\\n\\t\\t\\t</div>\\n\\t\\t<%endif%>\\n\\t</div>\\n</div>\\n\\\\end\\n\\n<!-- prepare all variables for tag-picker keyboard handling -->\\n\\\\procedure tag-picker(actions, tagField:\\\"tags\\\", tiddler, tagListFilter:\\\"[tags[]sort[]]\\\")\\n\\n\\\\function _tf.getUserInput() [<storeTitle>get[text]]\\n\\\\function _tf.getTag() [<newTagNameTiddler>get[text]]\\n<!-- Use this function if tag-picker is a stand alone macro. Otherwise use \\\"newTagNameTiddler\\\" defined for fieldmangler in EditTemplate -->\\n\\\\function _tf.makeTagNameTiddler() [[$:/temp/NewTagName]] [<tagField>!match[tags]] :and[join[/]] [<qualify>] :and[join[]]\\n\\n<!-- keep those variables because they may \\\"bleed\\\" into macros using old syntax -->\\n<!-- \\\"nonSystemTagsFilter\\\", \\\"systemTagsFilter\\\" __need to be the same__ as fields: \\\"first-search-filter\\\", \\\"second-search-filter\\\" -->\\n<$let\\n\\tpalette={{$:/palette}}\\n\\tcolourA={{{ [<palette>getindex[foreground]] }}}\\n\\tcolourB={{{ [<palette>getindex[background]] }}}\\n\\tfallbackTarget={{{ [<palette>getindex[tag-background]] }}}\\n\\n\\tsaveTiddler={{{ [<tiddler>is[blank]then<currentTiddler>else<tiddler>] }}}\\n\\n\\tnewTagNameTiddler={{{ [[newTagNameTiddler]is[variable]then<newTagNameTiddler>] :else[<_tf.makeTagNameTiddler>] }}}\\n\\tstoreTitle={{{ [[$:/temp/NewTagName/input]] [<tagField>!match[tags]] :and[join[/]] [<qualify>] :and[join[]] }}}\\n\\n\\tnewTagNameSelectionTiddlerQualified=<<qualify \\\"$:/temp/NewTagName/selected-item\\\">>\\n\\ttagSelectionState={{{ [<newTagNameSelectionTiddler>!match[]] :else[<newTagNameSelectionTiddlerQualified>] }}}\\n\\n\\trefreshTitle=<<qualify \\\"$:/temp/NewTagName/refresh\\\">>\\n\\n\\tnonSystemTagsFilter=\\\"[subfilter<tagListFilter>!is[system]search:title<userInput>]\\\"\\n\\tsystemTagsFilter=\\\"[subfilter<tagListFilter>is[system]search:title<userInput>]\\\"\\n\\n\\tcancelPopups=\\\"yes\\\"\\n>\\n\\t<$transclude $variable=\\\"tag-picker-inner\\\"/>\\n</$let>\\n\\\\end\\n\"},\"$:/core/macros/tag\":{\"title\":\"$:/core/macros/tag\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define tag-pill-styles()\\nbackground-color:$(backgroundColor)$;\\nfill:$(foregroundColor)$;\\ncolor:$(foregroundColor)$;\\n\\\\end\\n\\n<!-- This has no whitespace trim to avoid modifying $actions$ -->\\n\\\\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)\\n\\\\whitespace trim\\n<$let\\n\\tforegroundColor=<<contrastcolour target:\\\"\\\"\\\"$colour$\\\"\\\"\\\" fallbackTarget:\\\"\\\"\\\"$fallbackTarget$\\\"\\\"\\\" colourA:\\\"\\\"\\\"$colourA$\\\"\\\"\\\" colourB:\\\"\\\"\\\"$colourB$\\\"\\\"\\\">>\\n\\tbackgroundColor=<<__colour__>>\\n>\\n<$element-tag$\\n\\t$element-attributes$\\n\\tclass=\\\"tc-tag-label tc-btn-invisible\\\"\\n\\tstyle=<<tag-pill-styles>>\\n>\\n\\t<<__actions__>>\\n\\t<$transclude tiddler=<<__icon__>>/>\\n\\t<span class={{{ [<__tag__>is[missing]then[tc-tag-missing]else[tc-tag-exists]] }}}>\\n\\t\\t<$view tiddler=<<__tag__>> field=\\\"title\\\" format=\\\"text\\\" />\\n\\t</span>\\n</$element-tag$>\\n</$let>\\n\\\\end\\n\\n\\\\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)\\n\\\\whitespace trim\\n<$macrocall $name=\\\"tag-pill-inner\\\"\\n\\ttag=<<__tag__>>\\n\\ticon=<<__icon__>>\\n\\tcolour=<<__colour__>>\\n\\tfallbackTarget={{$palette$##tag-background}}\\n\\tcolourA={{$palette$##foreground}}\\n\\tcolourB={{$palette$##background}}\\n\\telement-tag=<<__element-tag__>>\\n\\telement-attributes=<<__element-attributes__>>\\n\\tactions=<<__actions__>>\\n/>\\n\\\\end\\n\\n\\\\define tag-pill(tag,element-tag:\\\"span\\\",element-attributes:\\\"\\\",actions:\\\"\\\")\\n\\\\whitespace trim\\n<span class=\\\"tc-tag-list-item\\\" data-tag-title=<<__tag__>>>\\n\\t<$let currentTiddler=<<__tag__>>>\\n\\t\\t<$macrocall $name=\\\"tag-pill-body\\\"\\n\\t\\t\\ttag=<<__tag__>>\\n\\t\\t\\ticon={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}\\n\\t\\t\\tcolour={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t\\t\\tpalette={{$:/palette}}\\n\\t\\t\\telement-tag=<<__element-tag__>>\\n\\t\\t\\telement-attributes=<<__element-attributes__>>\\n\\t\\t\\tactions=<<__actions__>>/>\\n\\t</$let>\\n</span>\\n\\\\end\\n\\n\\\\define tag(tag)\\n{{$tag$||$:/core/ui/TagTemplate}}\\n\\\\end\\n\"},\"$:/core/macros/testcase\":{\"title\":\"$:/core/macros/testcase\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\whitespace trim\\n\\n\\\\procedure testcase(tiddler)\\n<$tiddler tiddler=<<tiddler>>>\\n<$transclude $tiddler=\\\"$:/core/ui/TestCaseTemplate\\\">\\n</$tiddler>\\n\\\\end\\n\"},\"$:/core/macros/thumbnails\":{\"title\":\"$:/core/macros/thumbnails\",\"tags\":\"$:/tags/Macro\",\"text\":\"<!-- This macro does not use \\\\whitespace trim because it could affect the caption -->\\n\\\\define thumbnail(link,icon,color,background-color,image,caption,width:\\\"280\\\",height:\\\"157\\\")\\n<$link to=\\\"\\\"\\\"$link$\\\"\\\"\\\"><div class=\\\"tc-thumbnail-wrapper\\\"\\n><div\\n\\tclass=\\\"tc-thumbnail-image\\\"\\n\\tstyle=\\\"width:$width$px;height:$height$px;\\\"><$reveal\\n\\ttype=\\\"nomatch\\\"\\n\\ttext=\\\"\\\"\\n\\tdefault=\\\"\\\"\\\"$image$\\\"\\\"\\\"\\n\\ttag=\\\"div\\\"\\n\\tstyle=\\\"width:$width$px;height:$height$px;\\\"\\n>[img[$image$]]</$reveal><$reveal\\n\\ttype=\\\"match\\\"\\n\\ttext=\\\"\\\"\\n\\tdefault=\\\"\\\"\\\"$image$\\\"\\\"\\\"\\n\\ttag=\\\"div\\\"\\n\\tclass=\\\"tc-thumbnail-background\\\"\\n\\tstyle=\\\"width:$width$px;height:$height$px;background-color:$background-color$;\\\"\\n></$reveal></div><div\\n\\tclass=\\\"tc-thumbnail-icon\\\"\\n\\tstyle=\\\"fill:$color$;color:$color$;\\\"\\n>$icon$</div><div class=\\\"tc-thumbnail-caption\\\">$caption$</div></div></$link>\\n\\\\end\\n\\n\\\\define thumbnail-right(link,icon,color,background-color,image,caption,width:\\\"280\\\",height:\\\"157\\\")\\n<div class=\\\"tc-thumbnail-right-wrapper\\\"><<thumbnail \\\"\\\"\\\"$link$\\\"\\\"\\\" \\\"\\\"\\\"$icon$\\\"\\\"\\\" \\\"\\\"\\\"$color$\\\"\\\"\\\" \\\"\\\"\\\"$background-color$\\\"\\\"\\\" \\\"\\\"\\\"$image$\\\"\\\"\\\" \\\"\\\"\\\"$caption$\\\"\\\"\\\" \\\"\\\"\\\"$width$\\\"\\\"\\\" \\\"\\\"\\\"$height$\\\"\\\"\\\">></div>\\n\\\\end\\n\\n\\\\define list-thumbnails(filter,width:\\\"280\\\",height:\\\"157\\\")\\n<$list filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\"><$macrocall $name=\\\"thumbnail\\\" link={{!!link}} icon={{!!icon}} color={{!!color}} background-color={{!!background-color}} image={{!!image}} caption={{!!caption}} width=\\\"\\\"\\\"$width$\\\"\\\"\\\" height=\\\"\\\"\\\"$height$\\\"\\\"\\\"/></$list>\\n\\\\end\\n\"},\"$:/core/macros/timeline\":{\"title\":\"$:/core/macros/timeline\",\"tags\":\"$:/tags/Macro\",\"text\":\"<!-- Override one or both of the following two macros with a global or local macro of the same name \\nif you need to change how titles are displayed on a timeline -->\\n\\n\\\\procedure timeline-title() <$view field=\\\"title\\\"/>\\n\\\\procedure timeline-link() <$link to={{!!title}}><<timeline-title>></$link>\\n\\\\procedure timeline(limit:\\\"100\\\",format:\\\"DDth MMM YYYY\\\",subfilter:\\\"\\\",dateField:\\\"modified\\\")\\n\\\\whitespace trim\\n<div class=\\\"tc-timeline\\\">\\n<$set name=\\\"tv-tids\\\" filter=`[!is[system]$(subfilter)$has<dateField>!sort<dateField>limit<limit>]`>\\n<$list filter=\\\"[enlist<tv-tids>eachday<dateField>]\\\">\\n<div class=\\\"tc-menu-list-item\\\">\\n<$view field=<<dateField>> format=\\\"date\\\" template=<<format>>/>\\n<$list filter=`[enlist<tv-tids>sameday:$(dateField)${!!$(dateField)$}]`>\\n<div class=\\\"tc-menu-list-subitem\\\">\\n<<timeline-link>>\\n</div>\\n</$list>\\n</div>\\n</$list>\\n</$set>\\n</div>\\n\\\\end\\n\"},\"$:/core/macros/toc\":{\"title\":\"$:/core/macros/toc\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define toc-open-icon() $:/core/images/down-arrow\\n\\\\define toc-closed-icon() $:/core/images/right-arrow\\n\\n\\\\define toc-caption()\\n\\\\whitespace trim\\n<span class=\\\"tc-toc-caption tc-tiny-gap-left\\\">\\n<$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n <$transclude field=\\\"caption\\\">\\n <$view field=\\\"title\\\"/>\\n </$transclude>\\n</$set>\\n</span>\\n\\\\end\\n\\n\\\\define toc-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n<ol class=\\\"tc-toc\\\">\\n <$list filter=\\\"\\\"\\\"[all[shadows+tiddlers]tag<__tag__>!has[draft.of]$sort$] -[<__tag__>] -[subfilter<__exclude__>]\\\"\\\"\\\">\\n <$let item=<<currentTiddler>> path={{{ [<__path__>addsuffix[/]addsuffix<__tag__>] }}}>\\n <$set name=\\\"excluded\\\" filter=\\\"[subfilter<__exclude__>] [<__tag__>]\\\">\\n <$set name=\\\"toc-item-class\\\" filter=<<__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n <li class=<<toc-item-class>>>\\n <$list filter=\\\"[all[current]toc-link[no]]\\\" emptyMessage=\\\"<$link to={{{ [<currentTiddler>get[target]else<currentTiddler>] }}}><<toc-caption>></$link>\\\">\\n <<toc-caption>>\\n </$list>\\n <$macrocall $name=\\\"toc-body\\\" tag=<<item>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<excluded>> path=<<path>>/>\\n </li>\\n </$set>\\n </$set>\\n </$let>\\n </$list>\\n</ol>\\n\\\\end\\n\\n\\\\define toc(tag,sort:\\\"\\\",itemClassFilter:\\\"\\\", exclude)\\n\\\\whitespace trim\\n<$let __tag__={{{ [<__tag__>is[blank]then<currentTiddler>else<__tag__>] }}} >\\n <$macrocall $name=\\\"toc-body\\\" tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<__exclude__>>/>\\n</$let>\\n\\\\end\\n\\n\\\\define toc-linked-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n<!-- helper function -->\\n<$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix<currentTiddler>] }}}>\\n <$set name=\\\"toc-item-class\\\" filter=<<__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n <li class=<<toc-item-class>>>\\n <$link to={{{ [<currentTiddler>get[target]else<currentTiddler>] }}}>\\n <$reveal type=\\\"nomatch\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-closed-icon>> />\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-open-icon>> />\\n </$button>\\n </$reveal>\\n <<toc-caption>>\\n </$link>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$macrocall $name=\\\"toc-expandable\\\" tag=<<currentTiddler>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<__exclude__>> path=<<__path__>>/>\\n </$reveal>\\n </li>\\n </$set>\\n</$qualify>\\n\\\\end\\n\\n\\\\define toc-unlinked-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n<!-- helper function -->\\n<$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix<currentTiddler>] }}}>\\n <$set name=\\\"toc-item-class\\\" filter=<<__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n <li class=<<toc-item-class>>>\\n <$reveal type=\\\"nomatch\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-closed-icon>> />\\n <<toc-caption>>\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-open-icon>> />\\n <<toc-caption>>\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$macrocall $name=\\\"toc-expandable\\\" tag=<<currentTiddler>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<__exclude__>> path=<<__path__>>/>\\n </$reveal>\\n </li>\\n </$set>\\n</$qualify>\\n\\\\end\\n\\n\\\\define toc-expandable-empty-message()\\n<$macrocall $name=\\\"toc-linked-expandable-body\\\" tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<excluded>> path=<<path>>/>\\n\\\\end\\n\\n\\\\define toc-expandable(tag,sort:\\\"\\\",itemClassFilter:\\\"\\\",exclude,path)\\n\\\\whitespace trim\\n<$let __tag__={{{ [<__tag__>is[blank]then<currentTiddler>else<__tag__>] }}} tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> path={{{ [<__path__>addsuffix[/]addsuffix<__tag__>] }}}>\\n <$set name=\\\"excluded\\\" filter=\\\"[subfilter<__exclude__>] [<__tag__>]\\\">\\n <ol class=\\\"tc-toc toc-expandable\\\">\\n <$list filter=\\\"\\\"\\\"[all[shadows+tiddlers]tag<__tag__>!has[draft.of]$sort$] -[<__tag__>] -[subfilter<__exclude__>]\\\"\\\"\\\">\\n <$list filter=\\\"[all[current]toc-link[no]]\\\" emptyMessage=<<toc-expandable-empty-message>> >\\n <$macrocall $name=\\\"toc-unlinked-expandable-body\\\" tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=\\\"\\\"\\\"itemClassFilter\\\"\\\"\\\" exclude=<<excluded>> path=<<path>> />\\n </$list>\\n </$list>\\n </ol>\\n </$set>\\n</$let>\\n\\\\end\\n\\n\\\\define toc-linked-selective-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n<$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix<currentTiddler>] }}}>\\n <$set name=\\\"toc-item-class\\\" filter=<<__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\" >\\n <li class=<<toc-item-class>>>\\n <$link to={{{ [<currentTiddler>get[target]else<currentTiddler>] }}}>\\n <$list filter=\\\"[all[current]tagging[]$sort$] -[subfilter<__exclude__>] +[limit[1]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"<$button class='tc-btn-invisible'>{{$:/core/images/blank}}</$button>\\\">\\n <$reveal type=\\\"nomatch\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-closed-icon>> />\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-open-icon>> />\\n </$button>\\n </$reveal>\\n </$list>\\n <<toc-caption>>\\n </$link>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$macrocall $name=\\\"toc-selective-expandable\\\" tag=<<currentTiddler>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<__exclude__>> path=<<__path__>>/>\\n </$reveal>\\n </li>\\n </$set>\\n</$qualify>\\n\\\\end\\n\\n\\\\define toc-unlinked-selective-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n<$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix<currentTiddler>] }}}>\\n <$set name=\\\"toc-item-class\\\" filter=<<__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n <li class=<<toc-item-class>>>\\n <$list filter=\\\"[all[current]tagging[]$sort$] -[subfilter<__exclude__>] +[limit[1]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\\"\\\"<$button class=\\\"tc-btn-invisible\\\">{{$:/core/images/blank}}</$button><span class=\\\"toc-item-muted\\\"><<toc-caption>></span>\\\"\\\"\\\">\\n <$reveal type=\\\"nomatch\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-closed-icon>> />\\n <<toc-caption>>\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$button setTitle=<<toc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n <$transclude tiddler=<<toc-open-icon>> />\\n <<toc-caption>>\\n </$button>\\n </$reveal>\\n </$list>\\n <$reveal type=\\\"match\\\" stateTitle=<<toc-state>> text=\\\"open\\\">\\n <$macrocall $name=\\\"toc-selective-expandable\\\" tag=<<currentTiddler>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<__exclude__>> path=<<__path__>>/>\\n </$reveal>\\n </li>\\n </$set>\\n</$qualify>\\n\\\\end\\n\\n\\\\define toc-selective-expandable-empty-message()\\n<$macrocall $name=\\\"toc-linked-selective-expandable-body\\\" tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<excluded>> path=<<path>>/>\\n\\\\end\\n\\n\\\\define toc-selective-expandable(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n<$let __tag__={{{ [<__tag__>is[blank]then<currentTiddler>else<__tag__>] }}} tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> path={{{ [<__path__>addsuffix[/]addsuffix<__tag__>] }}}>\\n <$set name=\\\"excluded\\\" filter=\\\"[subfilter<__exclude__>] [<__tag__>]\\\">\\n <ol class=\\\"tc-toc toc-selective-expandable\\\">\\n <$list filter=\\\"\\\"\\\"[all[shadows+tiddlers]tag<__tag__>!has[draft.of]$sort$] -[<__tag__>] -[subfilter<__exclude__>]\\\"\\\"\\\">\\n <$list filter=\\\"[all[current]toc-link[no]]\\\" variable=\\\"ignore\\\" emptyMessage=<<toc-selective-expandable-empty-message>> >\\n <$macrocall $name=\\\"toc-unlinked-selective-expandable-body\\\" tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> exclude=<<excluded>> path=<<path>>/>\\n </$list>\\n </$list>\\n </ol>\\n </$set>\\n</$let>\\n\\\\end\\n\\n\\\\define toc-tabbed-external-nav(tag,sort:\\\"\\\",selectedTiddler:\\\"$:/temp/toc/selectedTiddler\\\",unselectedText,missingText,template:\\\"\\\",exclude)\\n\\\\whitespace trim\\n<$let __tag__={{{ [<__tag__>is[blank]then<currentTiddler>else<__tag__>] }}}>\\n <$tiddler tiddler={{{ [<__selectedTiddler__>get[text]] }}}>\\n <div class=\\\"tc-tabbed-table-of-contents\\\">\\n <$linkcatcher to=<<__selectedTiddler__>>>\\n <div class=\\\"tc-table-of-contents\\\">\\n <$macrocall $name=\\\"toc-selective-expandable\\\" tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=\\\"[all[current]] -[<__selectedTiddler__>get[text]]\\\" exclude=<<__exclude__>>/>\\n </div>\\n </$linkcatcher>\\n <div class=\\\"tc-tabbed-table-of-contents-content\\\">\\n <$reveal stateTitle=<<__selectedTiddler__>> type=\\\"nomatch\\\" text=\\\"\\\">\\n <$transclude mode=\\\"block\\\" tiddler=<<__template__>>>\\n <h1><<toc-caption>></h1>\\n <$transclude mode=\\\"block\\\">$missingText$</$transclude>\\n </$transclude>\\n </$reveal>\\n <$reveal stateTitle=<<__selectedTiddler__>> type=\\\"match\\\" text=\\\"\\\">\\n $unselectedText$\\n </$reveal>\\n </div>\\n </div>\\n </$tiddler>\\n</$let>\\n\\\\end\\n\\n\\\\define toc-tabbed-internal-nav(tag,sort:\\\"\\\",selectedTiddler:\\\"$:/temp/toc/selectedTiddler\\\",unselectedText,missingText,template:\\\"\\\",exclude)\\n\\\\whitespace trim\\n<$let __tag__={{{ [<__tag__>is[blank]then<currentTiddler>else<__tag__>] }}}>\\n <$linkcatcher to=<<__selectedTiddler__>>>\\n <$macrocall $name=\\\"toc-tabbed-external-nav\\\" tag=<<__tag__>> sort=<<__sort__>> selectedTiddler=<<__selectedTiddler__>> unselectedText=<<__unselectedText__>> missingText=<<__missingText__>> template=<<__template__>> exclude=<<__exclude__>> />\\n </$linkcatcher>\\n</$let>\\n\\\\end\\n\"},\"$:/core/macros/translink\":{\"title\":\"$:/core/macros/translink\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define translink(title,mode:\\\"block\\\")\\n\\\\whitespace trim\\n<$list filter=\\\"[<__mode__>match[block]]\\\">\\n<div class=\\\"tc-translink\\\">\\n<div>\\n<$link to=\\\"\\\"\\\"$title$\\\"\\\"\\\">\\n<h1><$text text=\\\"\\\"\\\"$title$\\\"\\\"\\\"/></h1>\\n</$link>\\n<$transclude tiddler=\\\"\\\"\\\"$title$\\\"\\\"\\\" mode=\\\"block\\\">\\n<$set name=\\\"currentTiddler\\\" value=\\\"\\\"\\\"$title$\\\"\\\"\\\"><$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/></$set>\\n</$transclude>\\n</div>\\n</div>\\n</$list>\\n<$list filter=\\\"[<__mode__>match[inline]]\\\">\\n<span class=\\\"tc-translink\\\">\\n<$link to=\\\"\\\"\\\"$title$\\\"\\\"\\\">\\n<$text text=\\\"\\\"\\\"$title$\\\"\\\"\\\"/>\\n</$link>\\n&#32;(<$transclude tiddler=\\\"\\\"\\\"$title$\\\"\\\"\\\" mode=\\\"inline\\\">\\n<$set name=\\\"currentTiddler\\\" value=\\\"\\\"\\\"$title$\\\"\\\"\\\"><$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/></$set>\\n</$transclude>)\\n</span>\\n</$list>\\n\\\\end\\n\"},\"$:/core/macros/tree\":{\"title\":\"$:/core/macros/tree\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define leaf-link(full-title,chunk,separator: \\\"/\\\")\\n<$link to=<<__full-title__>>><$text text=<<__chunk__>>/></$link>\\n\\\\end\\n\\n\\\\define leaf-node(prefix,chunk)\\n\\\\whitespace trim\\n<li>\\n<$list filter=\\\"[<__prefix__>addsuffix<__chunk__>is[shadow]] [<__prefix__>addsuffix<__chunk__>is[tiddler]]\\\" variable=\\\"full-title\\\">\\n<$list filter=\\\"[<full-title>removeprefix<__prefix__>]\\\" variable=\\\"chunk\\\">\\n<span>{{$:/core/images/file}}</span>&#32;<$macrocall $name=\\\"leaf-link\\\" full-title=<<full-title>> chunk=<<chunk>>/>\\n</$list>\\n</$list>\\n</li>\\n\\\\end\\n\\n\\\\define branch-node(prefix,chunk,separator: \\\"/\\\")\\n\\\\whitespace trim\\n<li>\\n<$set name=\\\"reveal-state\\\" value={{{ [[$:/state/tree/]addsuffix<__prefix__>addsuffix<__chunk__>] }}}>\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<reveal-state>> text=\\\"show\\\">\\n<$button setTitle=<<reveal-state>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/folder}}&#32;<$text text=<<__chunk__>>/>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<reveal-state>> text=\\\"show\\\">\\n<$button setTitle=<<reveal-state>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/folder}}&#32;<$text text=<<__chunk__>>/>\\n</$button>\\n</$reveal>\\n&#32;\\n<span>(<$count filter=\\\"[all[shadows+tiddlers]removeprefix<__prefix__>removeprefix<__chunk__>] -[<__prefix__>addsuffix<__chunk__>]\\\"/>)</span>\\n<$reveal type=\\\"match\\\" stateTitle=<<reveal-state>> text=\\\"show\\\">\\n<$macrocall $name=\\\"tree-node\\\" prefix={{{ [<__prefix__>addsuffix<__chunk__>] }}} separator=<<__separator__>>/>\\n</$reveal>\\n</$set>\\n</li>\\n\\\\end\\n\\n\\\\define tree-node(prefix,separator: \\\"/\\\")\\n\\\\whitespace trim\\n<ol>\\n<$list filter=\\\"[all[shadows+tiddlers]removeprefix<__prefix__>splitbefore<__separator__>sort[]!suffix<__separator__>]\\\" variable=\\\"chunk\\\">\\n<$macrocall $name=\\\"leaf-node\\\" prefix=<<__prefix__>> chunk=<<chunk>> separator=<<__separator__>>/>\\n</$list>\\n<$list filter=\\\"[all[shadows+tiddlers]removeprefix<__prefix__>splitbefore<__separator__>sort[]suffix<__separator__>]\\\" variable=\\\"chunk\\\">\\n<$macrocall $name=\\\"branch-node\\\" prefix=<<__prefix__>> chunk=<<chunk>> separator=<<__separator__>>/>\\n</$list>\\n</ol>\\n\\\\end\\n\\n\\\\define tree(prefix: \\\"$:/\\\",separator: \\\"/\\\")\\n\\\\whitespace trim\\n<div class=\\\"tc-tree\\\">\\n<span><$text text=<<__prefix__>>/></span>\\n<div>\\n<$macrocall $name=\\\"tree-node\\\" prefix=<<__prefix__>> separator=<<__separator__>>/>\\n</div>\\n</div>\\n\\\\end\\n\"},\"$:/core/macros/utils\":{\"title\":\"$:/core/macros/utils\",\"text\":\"\\\\define colour(colour)\\n$colour$\\n\\\\end\\n\"},\"$:/snippets/minifocusswitcher\":{\"title\":\"$:/snippets/minifocusswitcher\",\"text\":\"\\\\whitespace trim\\n<$select tiddler=\\\"$:/config/AutoFocus\\\">\\n<$list filter=\\\"title tags text type fields\\\">\\n<option value=<<currentTiddler>>><<currentTiddler>></option>\\n</$list>\\n</$select>\\n\"},\"$:/snippets/minilanguageswitcher\":{\"title\":\"$:/snippets/minilanguageswitcher\",\"text\":\"\\\\whitespace trim\\n<$select tiddler=\\\"$:/language\\\">\\n<$list filter=\\\"[[$:/languages/en-GB]] [plugin-type[language]sort[title]]\\\">\\n<option value=<<currentTiddler>>><$view field=\\\"description\\\"><$view field=\\\"name\\\"><$view field=\\\"title\\\"/></$view></$view></option>\\n</$list>\\n</$select>\"},\"$:/snippets/minithemeswitcher\":{\"title\":\"$:/snippets/minithemeswitcher\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Theme/\\n\\\\whitespace trim\\n<<lingo Prompt>>&#32;<$select tiddler=\\\"$:/theme\\\">\\n<$list filter=\\\"[plugin-type[theme]sort[title]]\\\">\\n<option value=<<currentTiddler>>><$view field=\\\"name\\\"><$view field=\\\"title\\\"/></$view></option>\\n</$list>\\n</$select>\"},\"$:/snippets/modules\":{\"title\":\"$:/snippets/modules\",\"text\":\"\\\\define describeModuleType(type)\\n{{$:/language/Docs/ModuleTypes/$type$}}\\n\\\\end\\n\\\\whitespace trim\\n<$list filter=\\\"[moduletypes[]]\\\">\\n\\n!! <$macrocall $name=\\\"currentTiddler\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/>\\n\\n<$macrocall $name=\\\"describeModuleType\\\" type=<<currentTiddler>>/>\\n\\n<ul><$list filter=\\\"[all[current]modules[]]\\\"><li><$link><<currentTiddler>></$link>\\n</li>\\n</$list>\\n</ul>\\n</$list>\\n\"},\"$:/palette\":{\"title\":\"$:/palette\",\"text\":\"$:/palettes/Vanilla\"},\"$:/snippets/paletteeditor\":{\"title\":\"$:/snippets/paletteeditor\",\"text\":\"<$transclude tiddler=\\\"$:/PaletteManager\\\"/>\\n\"},\"$:/snippets/palettepreview\":{\"title\":\"$:/snippets/palettepreview\",\"text\":\"\\\\whitespace trim\\n<$set name=\\\"currentTiddler\\\" value={{$:/palette}}>\\n{{||$:/snippets/currpalettepreview}}\\n</$set>\\n\"},\"$:/snippets/paletteswitcher\":{\"title\":\"$:/snippets/paletteswitcher\",\"text\":\"\\\\whitespace trim\\n<$linkcatcher to=\\\"$:/palette\\\">\\n<div class=\\\"tc-chooser\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Palette]!is[draft]sort[name]]\\\">\\n<$set name=\\\"cls\\\" filter=\\\"[all[current]prefix{$:/palette}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n<div class=<<cls>>>\\n<$link to={{!!title}}>\\n''<$view field=\\\"name\\\" format=\\\"text\\\"/>''\\n&#32;-&#32;\\n<$view field=\\\"description\\\" format=\\\"text\\\"/>\\n{{||$:/snippets/currpalettepreview}}\\n</$link>\\n</div>\\n</$set>\\n</$list>\\n</div>\\n</$linkcatcher>\\n\"},\"$:/snippets/peek-stylesheets\":{\"title\":\"$:/snippets/peek-stylesheets\",\"text\":\"\\\\define expandable-stylesheets-list()\\n\\\\whitespace trim\\n<ol>\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\\\">\\n<$vars state=<<qualify \\\"$:/state/peek-stylesheets/open/\\\">>>\\n<$set name=\\\"state\\\" value={{{ [<state>addsuffix<currentTiddler>] }}}>\\n<li>\\n<$reveal type=\\\"match\\\" state=<<state>> text=\\\"yes\\\" tag=\\\"span\\\">\\n<$button set=<<state>> setTo=\\\"no\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"nomatch\\\" state=<<state>> text=\\\"yes\\\" tag=\\\"span\\\">\\n<$button set=<<state>> setTo=\\\"yes\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/right-arrow}}\\n</$button>\\n</$reveal>\\n<$link>\\n<$view field=\\\"title\\\"/>\\n</$link>\\n<$reveal type=\\\"match\\\" state=<<state>> text=\\\"yes\\\" tag=\\\"div\\\">\\n<$set name=\\\"source\\\" tiddler=<<currentTiddler>>>\\n<$wikify name=\\\"styles\\\" text=<<source>>>\\n<$codeblock code=<<styles>> language=\\\"css\\\"/>\\n</$wikify>\\n</$set>\\n</$reveal>\\n</li>\\n</$set>\\n</$vars>\\n</$list>\\n</ol>\\n\\\\end\\n\\n\\\\define stylesheets-list()\\n\\\\whitespace trim\\n<ol>\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\\\">\\n<li>\\n<$link>\\n<$view field=\\\"title\\\"/>\\n</$link>\\n<$set name=\\\"source\\\" tiddler=<<currentTiddler>>>\\n<$wikify name=\\\"styles\\\" text=<<source>>>\\n<pre>\\n<code>\\n<$text text=<<styles>>/>\\n</code>\\n</pre>\\n</$wikify>\\n</$set>\\n</li>\\n</$list>\\n</ol>\\n\\\\end\\n\\\\whitespace trim\\n\\n<$vars modeState=<<qualify \\\"$:/state/peek-stylesheets/mode/\\\">>>\\n\\n<$reveal type=\\\"nomatch\\\" state=<<modeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n<$button set=<<modeState>> setTo=\\\"expanded\\\" class=\\\"tc-btn-invisible\\\">{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Stylesheets/Expand/Caption}}</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<modeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n<$button set=<<modeState>> setTo=\\\"restored\\\" class=\\\"tc-btn-invisible\\\">{{$:/core/images/chevron-down}} {{$:/language/ControlPanel/Stylesheets/Restore/Caption}}</$button>\\n</$reveal>\\n\\n<$reveal type=\\\"nomatch\\\" state=<<modeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n<<expandable-stylesheets-list>>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<modeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n<<stylesheets-list>>\\n</$reveal>\\n\\n</$vars>\\n\"},\"$:/temp/search\":{\"title\":\"$:/temp/search\",\"text\":\"\"},\"$:/tags/AdvancedSearch\":{\"title\":\"$:/tags/AdvancedSearch\",\"list\":\"[[$:/core/ui/AdvancedSearch/Standard]] [[$:/core/ui/AdvancedSearch/System]] [[$:/core/ui/AdvancedSearch/Shadows]] [[$:/core/ui/AdvancedSearch/Filter]]\"},\"$:/tags/AdvancedSearch/FilterButton\":{\"title\":\"$:/tags/AdvancedSearch/FilterButton\",\"list\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown $:/core/ui/AdvancedSearch/Filter/FilterButtons/clear $:/core/ui/AdvancedSearch/Filter/FilterButtons/export $:/core/ui/AdvancedSearch/Filter/FilterButtons/delete\"},\"$:/tags/ControlPanel\":{\"title\":\"$:/tags/ControlPanel\",\"list\":\"$:/core/ui/ControlPanel/Info $:/core/ui/ControlPanel/Appearance $:/core/ui/ControlPanel/Settings $:/core/ui/ControlPanel/Saving $:/core/ui/ControlPanel/Plugins $:/core/ui/ControlPanel/Tools $:/core/ui/ControlPanel/Internals\"},\"$:/tags/ControlPanel/Info\":{\"title\":\"$:/tags/ControlPanel/Info\",\"list\":\"$:/core/ui/ControlPanel/Basics $:/core/ui/ControlPanel/Advanced\"},\"$:/tags/ControlPanel/Plugins\":{\"title\":\"$:/tags/ControlPanel/Plugins\",\"list\":\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins $:/core/ui/ControlPanel/Plugins/Installed/Themes $:/core/ui/ControlPanel/Plugins/Installed/Languages\"},\"$:/tags/EditTemplate\":{\"title\":\"$:/tags/EditTemplate\",\"list\":\"[[$:/core/ui/EditTemplate/controls]] [[$:/core/ui/EditTemplate/title]] [[$:/core/ui/EditTemplate/tags]] [[$:/core/ui/EditTemplate/shadow]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/EditTemplate/body]] [[$:/core/ui/EditTemplate/type]] [[$:/core/ui/EditTemplate/fields]]\"},\"$:/tags/EditTemplateBodyFilter\":{\"title\":\"$:/tags/EditTemplateBodyFilter\",\"list\":\"$:/config/EditTemplateBodyFilters/canonical-uri $:/config/EditTemplateBodyFilters/default\"},\"$:/tags/EditToolbar\":{\"title\":\"$:/tags/EditToolbar\",\"list\":\"[[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/cancel]] [[$:/core/ui/Buttons/save]]\"},\"$:/tags/EditorToolbar\":{\"title\":\"$:/tags/EditorToolbar\",\"list\":\"$:/core/ui/EditorToolbar/paint $:/core/ui/EditorToolbar/opacity $:/core/ui/EditorToolbar/line-width $:/core/ui/EditorToolbar/rotate-left $:/core/ui/EditorToolbar/clear $:/core/ui/EditorToolbar/bold $:/core/ui/EditorToolbar/italic $:/core/ui/EditorToolbar/strikethrough $:/core/ui/EditorToolbar/underline $:/core/ui/EditorToolbar/superscript $:/core/ui/EditorToolbar/subscript $:/core/ui/EditorToolbar/mono-line $:/core/ui/EditorToolbar/mono-block $:/core/ui/EditorToolbar/quote $:/core/ui/EditorToolbar/list-bullet $:/core/ui/EditorToolbar/list-number $:/core/ui/EditorToolbar/heading-1 $:/core/ui/EditorToolbar/heading-2 $:/core/ui/EditorToolbar/heading-3 $:/core/ui/EditorToolbar/heading-4 $:/core/ui/EditorToolbar/heading-5 $:/core/ui/EditorToolbar/heading-6 $:/core/ui/EditorToolbar/link $:/core/ui/EditorToolbar/excise $:/core/ui/EditorToolbar/picture $:/core/ui/EditorToolbar/stamp $:/core/ui/EditorToolbar/size $:/core/ui/EditorToolbar/editor-height $:/core/ui/EditorToolbar/more $:/core/ui/EditorToolbar/preview $:/core/ui/EditorToolbar/preview-type\"},\"$:/tags/Manager/ItemMain\":{\"title\":\"$:/tags/Manager/ItemMain\",\"list\":\"$:/Manager/ItemMain/WikifiedText $:/Manager/ItemMain/RawText $:/Manager/ItemMain/Fields\"},\"$:/tags/Manager/ItemSidebar\":{\"title\":\"$:/tags/Manager/ItemSidebar\",\"list\":\"$:/Manager/ItemSidebar/Tags $:/Manager/ItemSidebar/Colour $:/Manager/ItemSidebar/Icon $:/Manager/ItemSidebar/Tools\"},\"$:/tags/MoreSideBar\":{\"title\":\"$:/tags/MoreSideBar\",\"list\":\"[[$:/core/ui/MoreSideBar/All]] [[$:/core/ui/MoreSideBar/Recent]] [[$:/core/ui/MoreSideBar/Tags]] [[$:/core/ui/MoreSideBar/Missing]] [[$:/core/ui/MoreSideBar/Drafts]] [[$:/core/ui/MoreSideBar/Orphans]] [[$:/core/ui/MoreSideBar/Types]] [[$:/core/ui/MoreSideBar/System]] [[$:/core/ui/MoreSideBar/Shadows]] [[$:/core/ui/MoreSideBar/Explorer]] [[$:/core/ui/MoreSideBar/Plugins]]\",\"text\":\"\"},\"$:/tags/PageControls\":{\"title\":\"$:/tags/PageControls\",\"list\":\"[[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/fold-all]] [[$:/core/ui/Buttons/unfold-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/new-image]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/manager]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/layout]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/timestamp]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/print]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/network-activity]] [[$:/core/ui/Buttons/more-page-actions]]\"},\"$:/tags/PageTemplate\":{\"title\":\"$:/tags/PageTemplate\",\"list\":\"[[$:/core/ui/PageTemplate/topleftbar]] [[$:/core/ui/PageTemplate/toprightbar]] [[$:/core/ui/PageTemplate/sidebar]] [[$:/core/ui/PageTemplate/story]] [[$:/core/ui/PageTemplate/alerts]]\",\"text\":\"\"},\"$:/tags/PluginLibrary\":{\"title\":\"$:/tags/PluginLibrary\",\"list\":\"$:/config/OfficialPluginLibrary\"},\"$:/tags/SideBar\":{\"title\":\"$:/tags/SideBar\",\"list\":\"[[$:/core/ui/SideBar/Open]] [[$:/core/ui/SideBar/Recent]] [[$:/core/ui/SideBar/Tools]] [[$:/core/ui/SideBar/More]]\",\"text\":\"\"},\"$:/tags/SideBarSegment\":{\"title\":\"$:/tags/SideBarSegment\",\"list\":\"[[$:/core/ui/SideBarSegments/site-title]] [[$:/core/ui/SideBarSegments/site-subtitle]] [[$:/core/ui/SideBarSegments/page-controls]] [[$:/core/ui/SideBarSegments/search]] [[$:/core/ui/SideBarSegments/tabs]]\"},\"$:/tags/StoryTiddlerTemplateFilter\":{\"title\":\"$:/tags/StoryTiddlerTemplateFilter\",\"list\":\"$:/config/StoryTiddlerTemplateFilters/draft $:/config/StoryTiddlerTemplateFilters/default\"},\"$:/tags/TestCase/Actions\":{\"title\":\"$:/tags/TestCase/Actions\",\"list\":\"\"},\"$:/tags/TextEditor/Snippet\":{\"title\":\"$:/tags/TextEditor/Snippet\",\"list\":\"$:/language/Snippets/ProcedureDefinition $:/language/Snippets/FunctionDefinition $:/language/Snippets/ListByTag $:/language/Snippets/Table4x3 $:/language/Snippets/TableOfContents $:/language/Snippets/MacroDefinition\"},\"$:/tags/TiddlerColourFilter\":{\"title\":\"$:/tags/TiddlerColourFilter\",\"list\":\"$:/config/TiddlerColourFilters/color-field $:/config/TiddlerColourFilters/default\",\"text\":\"\"},\"$:/tags/TiddlerIconFilter\":{\"title\":\"$:/tags/TiddlerIconFilter\",\"list\":\"$:/config/TiddlerIconFilters/icon-field $:/config/TiddlerIconFilters/default\",\"text\":\"\"},\"$:/tags/TiddlerInfo\":{\"title\":\"$:/tags/TiddlerInfo\",\"list\":\"[[$:/core/ui/TiddlerInfo/Tools]] [[$:/core/ui/TiddlerInfo/References]] [[$:/core/ui/TiddlerInfo/Tagging]] [[$:/core/ui/TiddlerInfo/List]] [[$:/core/ui/TiddlerInfo/Listed]] [[$:/core/ui/TiddlerInfo/Fields]]\",\"text\":\"\"},\"$:/tags/TiddlerInfo/Advanced\":{\"title\":\"$:/tags/TiddlerInfo/Advanced\",\"list\":\"[[$:/core/ui/TiddlerInfo/Advanced/ShadowInfo]] [[$:/core/ui/TiddlerInfo/Advanced/PluginInfo]]\"},\"$:/tags/ViewTemplate\":{\"title\":\"$:/tags/ViewTemplate\",\"list\":\"[[$:/core/ui/ViewTemplate/title]] [[$:/core/ui/ViewTemplate/unfold]] [[$:/core/ui/ViewTemplate/subtitle]] [[$:/core/ui/ViewTemplate/tags]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/ViewTemplate/body]] [[$:/core/ui/ViewTemplate/lazy-loading]]\"},\"$:/tags/ViewTemplateBodyFilter\":{\"title\":\"$:/tags/ViewTemplateBodyFilter\",\"list\":\"$:/config/ViewTemplateBodyFilters/testcase $:/config/ViewTemplateBodyFilters/hide-body $:/config/ViewTemplateBodyFilters/code-body $:/config/ViewTemplateBodyFilters/stylesheet $:/config/ViewTemplateBodyFilters/core-ui-advanced-search $:/config/ViewTemplateBodyFilters/core-ui-tags $:/config/ViewTemplateBodyFilters/import $:/config/ViewTemplateBodyFilters/plugin $:/config/ViewTemplateBodyFilters/html $:/config/ViewTemplateBodyFilters/system $:/config/ViewTemplateBodyFilters/default\"},\"$:/tags/ViewTemplate/Subtitle\":{\"title\":\"$:/tags/ViewTemplate/Subtitle\",\"list\":\"$:/core/ui/ViewTemplate/subtitle/modifier $:/core/ui/ViewTemplate/subtitle/modified\"},\"$:/tags/ViewTemplateTitleFilter\":{\"title\":\"$:/tags/ViewTemplateTitleFilter\",\"list\":\"$:/config/ViewTemplateTitleFilters/system $:/config/ViewTemplateTitleFilters/default\",\"text\":\"\"},\"$:/tags/ViewToolbar\":{\"title\":\"$:/tags/ViewToolbar\",\"list\":\"[[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/new-here]] [[$:/core/ui/Buttons/new-journal-here]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/export-tiddler]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/open-window]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]] [[$:/core/ui/Buttons/fold-others]] [[$:/core/ui/Buttons/fold]]\"},\"$:/snippets/themeswitcher\":{\"title\":\"$:/snippets/themeswitcher\",\"text\":\"\\\\whitespace trim\\n<$linkcatcher to=\\\"$:/theme\\\">\\n<div class=\\\"tc-chooser\\\">\\n<$list filter=\\\"[plugin-type[theme]sort[title]]\\\">\\n<$set name=\\\"cls\\\" filter=\\\"[all[current]field:title{$:/theme}] [[$:/theme]!has[text]addsuffix[s/tiddlywiki/vanilla]field:title<currentTiddler>] +[limit[1]]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n<div class=<<cls>>><$link to={{!!title}}>\\n''<$view field=\\\"name\\\" format=\\\"text\\\"/>''\\n&#32;\\n<$view field=\\\"description\\\" format=\\\"text\\\"/>\\n</$link>\\n</div>\\n</$set>\\n</$list>\\n</div>\\n</$linkcatcher>\"},\"$:/core/wiki/title\":{\"title\":\"$:/core/wiki/title\",\"text\":\"\\\\whitespace trim\\n{{$:/SiteTitle}}\\n<$list filter=\\\"[{$:/SiteSubtitle}trim[]minlength[1]]\\\" variable=\\\"ignore\\\">\\n&#32;---&#32;{{$:/SiteSubtitle}}\\n</$list>\"},\"$:/view\":{\"title\":\"$:/view\",\"text\":\"classic\"},\"$:/snippets/viewswitcher\":{\"title\":\"$:/snippets/viewswitcher\",\"text\":\"\\\\define icon()\\n$:/core/images/storyview-$(storyview)$\\n\\\\end\\n\\\\whitespace trim\\n<$linkcatcher to=\\\"$:/view\\\">\\n<div class=\\\"tc-chooser tc-viewswitcher\\\">\\n<$list filter=\\\"[storyviews[]]\\\" variable=\\\"storyview\\\">\\n<$set name=\\\"cls\\\" filter=\\\"[<storyview>prefix{$:/view}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\"><div class=<<cls>>>\\n<$button tag=\\\"a\\\" class=\\\"tc-tiddlylink tc-btn-invisible\\\" to=<<storyview>>><$transclude tiddler=<<icon>>/><$text text=<<storyview>>/></$button>\\n</div>\\n</$set>\\n</$list>\\n</div>\\n</$linkcatcher>\\n\"}}}"},{"title":"$:/core/images/left-arrow","created":"20150315234410875","modified":"20150315235324760","tags":"$:/tags/Image","text":"\\parameters (size:\"22pt\")\n<svg width=<<size>> height=<<size>> class=\"tc-image-left-arrow tc-image-button\" viewBox=\"0 0 128 128\"><path d=\"M0 64.177c0-2.026.771-4.054 2.317-5.6l55.98-55.98a7.92 7.92 0 0111.195.001c3.086 3.085 3.092 8.104.001 11.195L19.111 64.175l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.086-8.105 3.092-11.196.001l-55.98-55.98A7.892 7.892 0 010 64.177z\"/></svg>"},{"created":"20250916175812241","creator":"M0","text":"\\whitespace trim\n<$button message=\"tm-home\" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>\n<%if [<tv-config-toolbar-icons>match[yes]] %>\n{{$:/core/images/home-button}}\n<%endif%>\n<%if [<tv-config-toolbar-text>match[yes]] %>\n<span class=\"tc-btn-text\">\n<$text text={{$:/language/Buttons/Home/Caption}}/>\n</span>\n<%endif%>\n</$button>\n","title":"$:/core/ui/Buttons/home","tags":"$:/tags/PageControls","caption":"{{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}","description":"{{$:/language/Buttons/Home/Hint}}","modified":"20250920001132291","modifier":"M0"},{"created":"20250920001121020","creator":"M0","text":"\\whitespace trim\n<$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>\n<%if [<tv-config-toolbar-icons>match[yes]] %>\n{{$:/core/images/new-button}}\n<%endif%>\n<%if [<tv-config-toolbar-text>match[yes]] %>\n<span class=\"tc-btn-text\">\n<$text text={{$:/language/Buttons/NewTiddler/Caption}}/>\n</span>\n<%endif%>\n</$button>\n","title":"$:/core/ui/Buttons/new-tiddler","tags":"$:/tags/PageControls","caption":"{{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}","description":"{{$:/language/Buttons/NewTiddler/Hint}}","modified":"20250920001121020","modifier":"M0"},{"title":"$:/core/ui/PageTemplate","name":"{{$:/language/PageTemplate/Name}}","description":"{{$:/language/PageTemplate/Description}}","icon":"$:/core/images/standard-layout","code-body":"yes","text":"\\whitespace trim\n\\import [subfilter{$:/core/config/GlobalImportFilter}]\n\n<$vars\n\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\n\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\n\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\n\ttv-enable-drag-and-drop={{$:/config/DragAndDrop/Enable}}\n\ttv-show-missing-links={{$:/config/MissingLinks}}\n\tstoryviewTitle={{$:/view}}\n\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\n\n<div class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/PageTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-page-container [[tc-page-view-]addsuffix<storyviewTitle>] [[tc-language-]addsuffix<languageTitle>] :and[unique[]join[ ]] }}} >\n\n<$navigator story=\"$:/StoryList\" history=\"$:/HistoryList\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\n\n<$dropzone enable=<<tv-enable-drag-and-drop>> class=\"tc-dropzone tc-page-container-inner\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]\" variable=\"listItem\">\n\n<$transclude tiddler=<<listItem>>/>\n\n</$list>\n\n</$dropzone>\n\n</$navigator>\n\n</div>\n\n</$vars>\n"},{"created":"20250916144835725","creator":"M0","text":"\\whitespace trim\n\\function config-title() [[$:/config/PageControlButtons/Visibility/$(listItem)$]substitute[]]\n\n<div class=\"tc-page-controls\">\n\n<% if [{$:/layout}match[$:/Seed/Layouts/ReaderView/PageTemplate]] %>\n\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]tag[reader]!has[draft.of]]\" variable=\"listItem\">\n\t\t<$list filter=\"[<config-title>!text[hide]]\" storyview=\"pop\" variable=\"ignore\">\n\t\t\t<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}>\n\t\t\t\t<$transclude $tiddler=<<listItem>> $mode=\"inline\"/>\n\t\t\t</$let>\n\t\t</$list>\n\t</$list>\n\n<% else %>\n\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\" variable=\"listItem\">\n\t\t<$list filter=\"[<config-title>!text[hide]]\" storyview=\"pop\" variable=\"ignore\">\n\t\t\t<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}>\n\t\t\t\t<$transclude $tiddler=<<listItem>> $mode=\"inline\"/>\n\t\t\t</$let>\n\t\t</$list>\n\t</$list>\n\n<% endif %>\n\n</div>","title":"$:/core/ui/PageTemplate/pagecontrols","modified":"20250916180015714","modifier":"M0"},{"title":"$:/core/ui/PageTemplate/topleftbar","tags":"$:/tags/PageTemplate","text":"<span class=\"tc-topbar tc-topbar-left\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]\" variable=\"listItem\" storyview=\"pop\">\n\n<$transclude tiddler=<<listItem>> mode=\"inline\"/>\n\n</$list>\n\n</span>\n"},{"title":"$:/core/ui/PageTemplate/toprightbar","tags":"$:/tags/PageTemplate","text":"<span class=\"tc-topbar tc-topbar-right\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]\" variable=\"listItem\" storyview=\"pop\">\n\n<$transclude tiddler=<<listItem>> mode=\"inline\"/>\n\n</$list>\n\n</span>\n"},{"created":"20250618210822071","creator":"M0","text":"\\whitespace trim\n\\define lingo-base() $:/language/CloseAll/\n\n\\define drop-actions()\n<$action-listops $tiddler=<<tv-story-list>> $subfilter=\"+[insertbefore<actionTiddler>,<currentTiddler>]\"/>\n\\end\n\n\\define placeholder()\n<div class=\"tc-droppable-placeholder\"/>\n\\end\n\n\\define droppable-item(button)\n\\whitespace trim\n<$droppable actions=<<drop-actions>> enable=<<tv-allow-drag-and-drop>> tag=\"div\">\n<<placeholder>>\n<div>\n$button$\n</div>\n</$droppable>\n\\end\n\n<div class=\"tc-sidebar-tab-open\">\n<$list filter=\"[list<tv-story-list>]\" history=<<tv-history-list>> storyview=\"pop\">\n<div class=\"tc-sidebar-tab-open-item\">\n<$macrocall $name=\"droppable-item\" button=\"<$button message='tm-close-tiddler' tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class='tc-btn-invisible tc-btn-mini tc-small-gap-right'>{{$:/core/images/close-button}}</$button><$link/>\"/>\n</div>\n</$list>\n<$tiddler tiddler=\"\">\n<div>\n<$macrocall $name=\"droppable-item\" button=\"<$button message='tm-close-all-tiddlers' class='tc-btn-invisible tc-btn-mini'><<lingo Button>></$button>\"/>\n</div>\n</$tiddler>\n</div>\n","title":"$:/core/ui/SideBar/Open","tags":"","caption":"{{$:/language/SideBar/Open/Caption}}","modified":"20250618210823839","modifier":"M0"},{"created":"20250618210915531","creator":"M0","text":"<$transclude $variable=\"timeline\" format={{$:/language/RecentChanges/DateFormat}} limit={{$:/config/RecentLimit}}/>\n","title":"$:/core/ui/SideBar/Recent","tags":"","caption":"{{$:/language/SideBar/Recent/Caption}}","modified":"20250618210917846","modifier":"M0"},{"created":"20250618210901457","creator":"M0","text":"\\define lingo-base() $:/language/ControlPanel/\n\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n\n<<lingo Basics/Version/Prompt>> <<version>>\n\n<$set name=\"tv-config-toolbar-icons\" value=\"yes\">\n\n<$set name=\"tv-config-toolbar-text\" value=\"yes\">\n\n<$set name=\"tv-config-toolbar-class\" value=\"\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\" variable=\"listItem\">\n\n<div style=\"position:relative;\" class={{{ [<listItem>encodeuricomponent[]addprefix[tc-btn-]] }}}>\n\n<$checkbox tiddler=<<config-title>> field=\"text\" checked=\"show\" unchecked=\"hide\" default=\"show\"/> <$transclude tiddler=<<listItem>>/> <i class=\"tc-muted\"><$transclude tiddler=<<listItem>> field=\"description\"/></i>\n\n</div>\n\n</$list>\n\n</$set>\n\n</$set>\n\n</$set>\n","title":"$:/core/ui/SideBar/Tools","tags":"","caption":"{{$:/language/SideBar/Tools/Caption}}","modified":"20250618210903131","modifier":"M0"},{"created":"20250618212505884","creator":"M0","text":"{{||$:/core/ui/PageTemplate/pagecontrols}}\n","title":"$:/core/ui/SideBarSegments/page-controls","tags":"","modified":"20250916120817082","modifier":"M0"},{"created":"20250507171323642","text":"\\whitespace trim\n\n\\procedure count-popup-button()\n\\whitespace trim\n<$button popup=<<qualify \"$:/state/popup/search-dropdown\">> class=\"tc-btn-invisible\">\n{{$:/core/images/down-arrow}}\n<$list filter=\"[<searchTiddler>get[text]minlength{$:/config/Search/MinLength}limit[1]]\" variable=\"listItem\">\n<$vars userInput={{{ [<searchTiddler>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}} replaceRegexp=\"limit\\[\\d+\\]\">\n<$vars primaryListFilter={{{ [<configTiddler>get[first-search-filter]search-replace:g:regexp<replaceRegexp>,[]] }}} secondaryListFilter={{{ [<configTiddler>get[second-search-filter]search-replace:g:regexp<replaceRegexp>,[]] }}}>\n<$set name=\"resultCount\" value=\"\"\"<$count filter=\"[subfilter<primaryListFilter>] [subfilter<secondaryListFilter>]\"/>\"\"\">\n{{$:/language/Search/Matches}}\n</$set>\n</$vars>\n</$vars>\n</$list>\n</$button>\n\\end\n\n\\procedure search-results-list()\n\\whitespace trim\n<$vars userInput={{{ [<searchTiddler>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}}>\n<$list filter=\"[<userInput>minlength{$:/config/Search/MinLength}limit[1]]\" emptyMessage=\"\"\"<div class=\"tc-search-results\">{{$:/language/Search/Search/TooShort}}</div>\"\"\" variable=\"listItem\">\n\n<$tiddler tiddler=<<configTiddler>>>\n\n{{$:/core/ui/SearchResults}}\n\n</$tiddler>\n\n</$list>\n</$vars>\n\\end\n\n\\procedure cancel-search-actions() <$list filter=\"[<searchTiddler>get[text]!match{$:/temp/search}]\" emptyMessage=\"\"\"<$action-deletetiddler $filter=\"[[$:/temp/search]] [<searchTiddler>] [<searchListState>]\"/>\"\"\"><$action-setfield $tiddler=\"$:/temp/search\" text={{{ [<searchTiddler>get[text]] }}}/><$action-setfield $tiddler=\"$:/temp/search/refresh\" text=\"yes\"/></$list>\n\n\\procedure input-accept-actions() <$list filter=\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\" emptyMessage=\"\"\"<$list filter=\"[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]\"><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\"\"\"><$action-navigate $to={{{ [<tiddler>get[text]] }}}/></$list>\n\n\\procedure input-accept-variant-actions() <$list filter=\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\" emptyMessage=\"\"\"<$list filter=\"[<tiddler>get[text]!is[missing]] :else[<tiddler>get[text]is[shadow]]\"><$list filter=\"[<tiddler>get[text]minlength[1]]\"><$action-sendmessage $message=\"tm-edit-tiddler\" $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\"\"\"><$list filter=\"[<tiddler>get[text]minlength[1]]\"><$action-sendmessage $message=\"tm-edit-tiddler\" $param={{{ [<tiddler>get[text]] }}}/></$list></$list>\n\n\\procedure set-next-input-tab() <$transclude $variable=\"change-input-tab\" stateTitle=\"$:/state/tab/search-results/sidebar\" tag=\"$:/tags/SearchResults\" beforeafter=\"after\" defaultState={{$:/config/SearchResults/Default}} actions=\"\"\"<$action-setfield $tiddler=\"$:/state/search/currentTab\" text=<<nextTab>>/>\"\"\"/>\n\n\\procedure set-previous-input-tab() <$transclude $variable=\"change-input-tab\" stateTitle=\"$:/state/tab/search-results/sidebar\" tag=\"$:/tags/SearchResults\" beforeafter=\"before\" defaultState={{$:/config/SearchResults/Default}} actions=\"\"\"<$action-setfield $tiddler=\"$:/state/search/currentTab\" text=<<nextTab>>/>\"\"\"/>\n\n\\procedure advanced-search-actions() <$action-setfield $tiddler=\"$:/temp/advancedsearch\" text={{$:/temp/search/input}}/><$action-setfield $tiddler=\"$:/temp/advancedsearch/input\" text={{$:/temp/search/input}}/><<delete-state-tiddlers>><$action-navigate $to=\"$:/AdvancedSearch\"/><$action-setfield $tiddler=\"$:/temp/advancedsearch/refresh\" text=\"yes\"/><$action-sendmessage $message=\"tm-focus-selector\" $param=\"\"\"[data-tiddler-title=\"$:/AdvancedSearch\"] .tc-search input\"\"\" preventScroll=\"true\"/><$action-deletetiddler $filter=\"$:/temp/search $:/temp/search/input $:/temp/search/refresh [<searchListState>]\"/>\n\n<div class=\"tc-sidebar-lists tc-sidebar-search\">\n\n<$vars editTiddler=\"$:/temp/search\" searchTiddler=\"$:/temp/search/input\" searchListState=<<qualify \"$:/state/search-list/selected-item\">>>\n<div class=\"tc-search\">\n<$keyboard key=\"((input-tab-right))\" actions=<<set-next-input-tab>>>\n<$keyboard key=\"((input-tab-left))\" actions=<<set-previous-input-tab>>>\n<$keyboard key=\"((advanced-search-sidebar))\" actions=<<advanced-search-actions>>>\n<form class=\"tc-form-inline\">\n<$transclude $variable=\"keyboard-driven-input\" tiddler=<<editTiddler>> storeTitle=<<searchTiddler>> \n\t\tselectionStateTitle=<<searchListState>> refreshTitle=\"$:/temp/search/refresh\" type=\"search\" \n\t\ttag=\"input\" focus={{$:/config/Search/AutoFocus}} focusPopup=<<qualify \"$:/state/popup/search-dropdown\">> \n\t\tclass=\"tc-tiny-gap-right tc-popup-handle\" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=<<cancel-search-actions>> \n\t\tinputAcceptActions=<<input-accept-actions>> inputAcceptVariantActions=<<input-accept-variant-actions>> cancelPopups=\"yes\" \n\t\tconfigTiddlerFilter=\"[[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}]\"/>\n</form>\n</$keyboard>\n</$keyboard>\n</$keyboard>\n<$reveal state=<<searchTiddler>> type=\"nomatch\" text=\"\">\n<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\"tc-btn-invisible\">\n<<advanced-search-actions>>\n{{$:/core/images/advanced-search-button}}\n</$button>\n<$button class=\"tc-btn-invisible\">\n<<cancel-search-actions>><$action-sendmessage $message=\"tm-focus-selector\" $param=\".tc-search input\"/>\n{{$:/core/images/close-button}}\n</$button>\n<<count-popup-button>>\n</$reveal>\n<$reveal state=<<searchTiddler>> type=\"match\" text=\"\">\n<$button to=\"$:/AdvancedSearch\" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\"tc-btn-invisible\">\n{{$:/core/images/advanced-search-button}}\n</$button>\n</$reveal>\n</div>\n\n<$reveal tag=\"div\" class=\"tc-block-dropdown-wrapper\" state=<<searchTiddler>> type=\"nomatch\" text=\"\">\n\n<$reveal tag=\"div\" class=\"tc-block-dropdown tc-search-drop-down tc-popup-handle\" state=<<qualify \"$:/state/popup/search-dropdown\">> type=\"nomatch\" text=\"\" default=\"\">\n\n<<search-results-list>>\n\n</$reveal>\n\n</$reveal>\n\n</$vars>\n\n</div>\n","title":"$:/core/ui/SideBarSegments/search","tags":"","modified":"20250507171324891"},{"created":"20250521142944566","creator":"M00","text":"<div class=\"tc-site-subtitle\">\n\n<$transclude tiddler=\"$:/SiteSubtitle\" mode=\"inline\"/>\n\n</div>\n","title":"$:/core/ui/SideBarSegments/site-subtitle","tags":"","modified":"20250711145305215","modifier":"M0"},{"created":"20250520161544935","creator":"M00","text":"","title":"$:/core/ui/SideBarSegments/site-title","tags":"","modified":"20250521154308865","modifier":"M00"},{"created":"20250915020040501","creator":"M0","text":"<div class=\"tc-sidebar-lists tc-sidebar-tabs\" role=\"region\" aria-label={{$:/language/SideBar/Caption}}>\n\n<$macrocall $name=\"tabs\" tabsList=\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\" default={{$:/config/DefaultSidebarTab}} state=\"$:/state/tab/sidebar\" class=\"tc-sidebar-tabs-main\" explicitState=\"$:/state/tab/sidebar--595412856\"/>\n\n</div>\n","title":"$:/core/ui/SideBarSegments/tabs","tags":"$:/tags/SideBarSegment","modified":"20250915220421326","modifier":"M0"},{"title":"$:/core/ui/TopBar/menu","tags":"$:/tags/TopRightBar","text":"\\whitespace trim\n<$list filter=\"[[$:/state/sidebar]get[text]] +[else[yes]!match[no]]\" variable=\"ignore\">\n<$button set=\"$:/state/sidebar\" setTo=\"no\" tooltip={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class=\"tc-btn-invisible tc-hide-sidebar-btn\">{{$:/core/images/chevron-right}}</$button>\n</$list>\n<$list filter=\"[[$:/state/sidebar]get[text]] +[else[yes]match[no]]\" variable=\"ignore\">\n<$button set=\"$:/state/sidebar\" setTo=\"yes\" tooltip={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class=\"tc-btn-invisible tc-show-sidebar-btn\">{{$:/core/images/chevron-left}}</$button>\n</$list>\n"},{"created":"20250215033242487","creator":"M0","text":"\\whitespace trim\n<h2 class=\"tc-title\">\n<$list filter=\"[all[current]caption[]]\">\n <$view field=\"title\"/>\n</$list>\n<$list filter=\"[all[current]!caption[]]\">\n <$view field=\"caption\"/>\n</$list>\n</h2>\n","title":"$:/core/ui/ViewTemplate/title/default","modified":"20250215033724178","modifier":"M0"},{"title":"$:/core/ui/ViewTemplate/title/system","text":"\\whitespace trim\n<h2 class=\"tc-title\" title={{$:/language/SystemTiddler/Tooltip}}>\n<span class=\"tc-system-title-prefix\">$:/</span><$text text={{{ [<currentTiddler>removeprefix[$:/]] }}}/>\n</h2>"},{"created":"20250424151632781","creator":"M0","title":"$:/DefaultTiddlers","text":"[[$:/SiteHeader]][[$:/Home]]","modified":"20250911022655437","modifier":"M0"},{"created":"20250718154039702","creator":"M0","text":"","tags":"ghost","title":"$:/Desarrollo","modified":"20250818031030482","modifier":"M0","stream-type":"default","stream-list":""},{"created":"20150117152607000","creator":"M0","text":"\\whitespace trim\n\n\\function .concat(1,2,3,4,5) [[$(1)$$(2)$$(3)$$(4)$$(5)$]substitute[]]\n\\function .word(_) [[\"]] [<_>] =[[\"]] +[join[]]\n\n\\procedure .def(_) <dfn class=\"doc-def\"><<_>></dfn>\n\\procedure .em(_) <em class=\"doc-em\"><<_>></em>\n\\procedure .strong(_) <strong class=\"doc-strong\"><<_>></strong>\n\\procedure .place(_) <code class=\"doc-place\"><<_>></code>\n\\procedure .preamble(_) <dl><dd class=\"doc-preamble\"><<_>></dd></dl>\n\n\\procedure .tid(_) <code class=\"doc-tiddler\"><<_>></code>\n\\procedure .tag(_) <code class=\"doc-tag\"><<_>></code>\n\\procedure .field(_) <code class=\"doc-field\"><<_>></code>\n\\procedure .value(_) <code class=\"doc-value\"><<_>></code>\n\\procedure .op(_) <code class=\"doc-operator\"><<_>></code>\n\\procedure .var(_) <code class=\"doc-var\"><<_>></code>\n\\procedure .wid(_) <code class=\"doc-widget\"><$macrocall $name=\".concat\" 1=\"$\" 2=<<_>>/></code>\n\\procedure .attr(_) <code class=\"doc-attr\"><<_>></code>\n\\procedure .param(_) <code class=\"doc-param\"><<_>></code>\n\n\\procedure .tiddler-fields(tiddler)\n<$tiddler tiddler=<<tiddler>>>\n\t<div class=\"doc-tiddler-fields\">\n\t\t<h2>\n\t\t<$link>\n\t\t\t<span class=\"tc-tiddler-title-icon\">{{||$:/core/ui/TiddlerIcon}}</span><$text text=<<currentTiddler>>/>\n\t\t</$link>\n\t\t</h2>\n\t\t<table class=\"tc-view-field-table\">\n\t\t\t<tbody>\n\t\t\t\t<$list filter=\"[all[current]fields[]sort[title]] -title\" template=\"$:/core/ui/TiddlerFieldTemplate\" variable=\"listItem\"/>\n\t\t\t</tbody>\n\t\t</table>\n\t</div>\n</$tiddler>\n\\end\n\n\\function .mtitle(_) [<_>] Macro +[join[ ]]\n\\function .otitle(_) [<_>] Operator +[join[ ]]\n\\function .vtitle(_) [<_>] Variable +[join[ ]]\n\n\\procedure .link(_,to) <$link to=<<to>> ><<_>></$link>\n\\procedure .clink(_,to) <span class=\"doc-clink\"><$link to=<<to>>><<_>></$link></span>\n\n\\procedure .dlink(_,to) <$link to=<<to>>><$macrocall $name=\".def\" _=<<_>>/></$link>\n\n\\procedure .dlink-ex(_,to) <a href=<<to>> class=\"tc-tiddlylink-external\" target=\"_blank\" rel=\"noopener noreferrer\"><$macrocall $name=\".def\" _=<<_>>/></a>\n\\procedure .flink(to) <$macrocall $name=\".link\" _=`<<.field {{$(to)$!!caption}}>>` to=<<to>>/>\n\n\\procedure .mlink(_) <$link to={{{ [.mtitle<_>] }}}><$macrocall $name=\".var\" _=<<_>>/> </$link>\n\\procedure .mlink2(_,to) <$link to=<<to>>><$macrocall $name=\".var\" _=<<_>>/> </$link>\n\n\\procedure .olink(_) <$link to={{{ [.otitle<_>] }}}><$macrocall $name=\".op\" _=<<_>>/> </$link>\n\\procedure .olink2(_,to) <$link to={{{ [.otitle<to>] }}}><$macrocall $name=\".op\" _=<<_>>/> </$link>\n\n\\procedure .vlink(_) <$link to={{{ [.vtitle<_>] }}}><$macrocall $name=\".var\" _=<<_>>/> </$link>\n\\procedure .vlink2(_,to) <$link to=<<to>>><$macrocall $name=\".var\" _=<<_>>/></$link>\n\n\\procedure .wlink(to) <$link to=<<to>> > <$macrocall $name=\".wid\" _={{{ [<to>get[caption]] }}}> </$link>\n\\procedure .wlink2(_,to) <$link to=<<to>> ><<_>></$link>\n\n\\procedure .key(_) <span class=\"doc-key\"><<_>></span>\n\\procedure .keys(_) <span class=\"doc-key\"><<_>></span>\n\n\\procedure .tab(_) <span class=\"doc-tab\"><$transclude $tiddler=<<_>> $field=caption ><<_>></$transclude></span>\n\\procedure .sidebar-tab(_) <$macrocall $name=\".tab\" _=`$:/core/ui/SideBar/$(_)$`/>\n\\procedure .more-tab(_) <$macrocall $name=\".tab\" _=`$:/core/ui/MoreSideBar/$(_)$`/>\n\\procedure .info-tab(_) <$macrocall $name=\".tab\" _=`$:/core/ui/TiddlerInfo/$(_)$`/>\n\\procedure .controlpanel-tab(_) <$macrocall $name=\".tab\" _=`$:/core/ui/ControlPanel/$(_)$`/>\n\\procedure .advancedsearch-tab(_) <$macrocall $name=\".tab\" _=`$:/core/ui/AdvancedSearch/$(_)$`/>\n\\procedure .toc-tab() <$macrocall $name=\".tab\" _=\"TableOfContents\"/>\n\\procedure .example-tab(_) <span class=\"doc-tab\"><<_>></span>\n\n\\procedure .doc-tabs()\n<$macrocall $name=\"tabs\"\n tabsList=\"[tag<currentTiddler>description[tab]]\"\n default={{{ [tag<currentTiddler>first[]] }}}\n explicitState={{{ [<currentTiddler>addprefix[$:/state/tab/]] }}}\n class={{{ [[doc-tabs]] [<currentTiddler>encodeuricomponent[]escapecss[]addprefix[doc-tabs-]] +[join[ ]] }}} />\n\\end\n\n\\procedure .doc-tab-link(text, target, tooltip:\"\", class:\"\")\n<!-- figure out where the addressed doc-tabs are -->\n<$tiddler tiddler={{{ [<currentTiddler>search:text[.doc-tabs]] :else[<currentTiddler>tags[]search:text[.doc-tabs]first[]] :else[<currentTiddler>] }}} >\n<$button class={{{ [[tc-btn-invisible tc-tiddlylink]] [<class>] +[join[ ]] }}}\n set={{{ [<currentTiddler>addprefix[$:/state/tab/]] }}}\n setTo=<<target>>\n tooltip=<<tooltip>>>\n <<text>>\n <!-- if tiddler with tabs is open, scroll to tabs, otherwise open that tiddler (relevant from within tab subtiddlers) -->\n <$list filter=\"[[$:/StoryList]contains<currentTiddler>]\" variable=\"ignore\" emptyMessage=\"<$action-navigate />\">\n <$action-sendmessage $message=\"tm-scroll\" selector={{{ [<currentTiddler>encodeuricomponent[]addprefix[.doc-tabs-]] }}} />\n </$list>\n <$action-sendmessage $message=\"tm-scroll\" selector={{{ [<currentTiddler>encodeuricomponent[]escapecss[]addprefix[.doc-tabs-]] }}} />\n</$button>\n</$tiddler>\n\\end\n\n\\procedure .widget-attr-link(text, target)\n<$macrocall $name=\".doc-tab-link\" \n text={{{ [[<code class=\"doc-attr\">]] [<text>] [[</code>]] +[join[]] }}}\n class=\"doc-tab-link\"\n target=<<target>>\n tooltip={{{ [[Show more information about the ']] [<text>] [[' attribute]] +[join[]] }}} />\n\\end\n\n\\procedure .button(_) <span class=\"doc-button\"><$transclude $tiddler=`$:/core/ui/Buttons/$(_)$` $field=\"caption\" ><<_>></$transclude></span>\n\n\\procedure .icon(_) <span class=\"doc-icon\"><$transclude $tiddler=<<_>>/></span>\n\n\\procedure .infoBox(text:\"\", title, icon:\"$:/core/images/info-button\", class, iconSize:\"1.4rem\")\n\\function _f.tipClass() [[doc-icon-block]] [<class>!is[blank]then<class>] +[join[ ]]\n<div class=<<_f.tipClass>>>\n\t<%if [<title>!is[blank]] %><div>''<<title>>''</div><%endif%>\n\t<div class=\"doc-block-icon\"><$transclude $tiddler=<<icon>> size=<<iconSize>>/></div>\n\t<<text>>\n</div>\n\\end\n\n\\procedure .note(_:\"\", title:\"Note\", icon:\"$:/core/images/info-button\", class:\"doc-note\", iconSize:\"22pt\")\n<$macrocall $name=\".infoBox\" text=<<_>> title=<<title>> icon=<<icon>> class=<<class>> iconSize=<<iconSize>>/>\n\\end\n\n\\procedure .tip(_:\"\", title:\"Tip\" , icon:\"$:/core/images/tip\", class:\"doc-tip\", iconSize:\"22pt\")\n<$macrocall $name=\".infoBox\" text=<<_>> title=<<title>> icon=<<icon>> class=<<class>> iconSize=<<iconSize>>/>\n\\end\n\n\\procedure .warning(_:\"\", title:\"Warning\", icon:\"$:/core/images/warning\", class:\"doc-warning\", iconSize:\"22pt\")\n<$macrocall $name=\".infoBox\" text=<<_>> title=<<title>> icon=<<icon>> class=<<class>> iconSize=<<iconSize>>/>\n\\end\n\n\\procedure .state-prefix() $:/state/editions/tw5.com/\n\n\\procedure .lorem()\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\\end\n\n\\procedure .toc-lorem()\nThis is an example tiddler. See [[Table-of-Contents Macros (Examples)]].\n\n<<.lorem>>\n\\end\n\n\\procedure .example(n,eg,egvar)\n<$let eg={{{ [<egvar>!is[blank]getvariable[]] :else[<eg>] }}}>\n<div class=\"doc-example\">\n\n\t<$codeblock code=<<eg>>/>\n\t<$list filter=`[title<.state-prefix>addsuffix{!!title}addsuffix[/]addsuffix[$(n)$]]` variable=\".state\">\n\t\t<$reveal state=<<.state>> type=\"nomatch\" text=\"show\">\n\t\t\t<dl>\n\t\t\t\t<dd><$button set=<<.state>> setTo=\"show\">Try it</$button></dd>\n\t\t\t</dl>\n\t\t</$reveal>\n\t\t<$reveal state=<<.state>> type=\"match\" text=\"show\">\n\t\t\t<dl>\n\t\t\t\t<dd><$button set=<<.state>> setTo=\"\">Hide</$button></dd>\n\t\t\t</dl>\n\t\t\t<blockquote class=\"doc-example-result\">\n\t\t\t\t<$transclude $variable=\"eg\" $mode=\"block\"/>\n\t\t\t</blockquote>\n\t\t</$reveal>\n\t</$list>\n</div>\n</$let>\n\\end\n\n\\procedure .bad-example(eg)\n<table class=\"doc-bad-example\">\n\t<tbody>\n\t\t<tr class=\"evenRow\">\n\t\t\t<td>\n\t\t\t\t<span class=\"tc-small-gap-right\" style=\"font-size:1.5em;\">&#9888;</span>\n\t\t\t\tWarning:<br> Don't do it this way!\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<$transclude $variable=\"eg\" $mode=\"block\"/>\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\\end\n\n\\procedure .link-badge(text,link,colour)\n<a href=<<link>> class=\"doc-link-badge\" style.background-color=<<colour>> target=\"_blank\" rel=\"noopener noreferrer\">\n\t<$text text=<<text>>/>\n</a>\n\\end\n\n<!-- TODO use $:/palette colour settings -->\n\\procedure .link-badge-added(link,colour:#ffe246) <$macrocall $name=\".link-badge\" text=\"added\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-addendum(link,colour:#fcc84a) <$macrocall $name=\".link-badge\" text=\"addendum\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-extended(link,colour:#f9a344) <$macrocall $name=\".link-badge\" text=\"extended\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-fixed(link,colour:#ffa86d) <$macrocall $name=\".link-badge\" text=\"fixed\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-here(link,colour:#d88e63) <$macrocall $name=\".link-badge\" text=\"here\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-hide(link,colour:#9d959f) <$macrocall $name=\".link-badge\" text=\"hide\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-improved(link,colour:#7593c7) <$macrocall $name=\".link-badge\" text=\"improved\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-modified(link,colour:#7f99c9) <$macrocall $name=\".link-badge\" text=\"modified\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-removed(link,colour:#a9aabc) <$macrocall $name=\".link-badge\" text=\"removed\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-renamed(link,colour:#b4b995) <$macrocall $name=\".link-badge\" text=\"renamed\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-updated(link,colour:#91ba66) <$macrocall $name=\".link-badge\" text=\"updated\" link=<<link>> colour=<<colour>>/>\n\\procedure .link-badge-reverted(link,colour:#ba8e66) <$macrocall $name=\".link-badge\" text=\"reverted\" link=<<link>> colour=<<colour>>/>\n\n\\procedure .banner-credits(credit,url)\n<img src=<<url>> width=\"140\" style=\"float:left;margin-right:0.5em;\"/>\n<<credit>>\n<div style=\"clear:both;\"/>\n\\end\n\n\\procedure .contributors(usernames)\n<ol class=\"doc-github-contributors\">\n\t<$list filter=\"[enlist<usernames>sort[]]\" variable=\"username\">\n\t\t<li>\n\t\t\t<a href={{{ [[https://github.com/]addsuffix<username>] }}} class=\"tc-tiddlylink-external\" target=\"_blank\" rel=\"noopener noreferrer\">\n\t\t\t\t<img src={{{ [[https://github.com/]addsuffix<username>addsuffix[.png?size=64]] }}} width=\"64\" height=\"64\"/>\n\t\t\t\t<span class=\"doc-github-contributor-username\">\n\t\t\t\t\t@<$text text=<<username>>/>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t</$list>\n</ol>\n\\end\n\n\\procedure .copy-code-to-clipboard(text)\n<div>\n<$transclude $variable=\"copy-to-clipboard-above-right\" src=<<text>>/>\n<$codeblock code=<<text>>/>\n</div>\n\\end .copy-code-to-clipboard\n\n","title":"$:/editions/tw5.com/doc-macros","code-body":"yes","modified":"20250818162302811","tags":"$:/tags/Macro","type":"text/vnd.tiddlywiki","modifier":"M0"},{"created":"20250426150524114","creator":"M00","text":"","title":"$:/Home","stream-list":"20260217152211518 20260217152606355 20260301195959025 20250729064938098","modified":"20260318004757365","stream-type":"default","tags":"ghost","modifier":"M0"},{"created":"20250916000258828","creator":"M0","parent":"20250911010345002","stream-type":"default","modified":"20250916000258828","modifier":"M0","title":"$:/Home/20250916000258821"},{"created":"20250916000302202","creator":"M0","parent":"20250911010345002","stream-type":"default","modified":"20250916000302202","modifier":"M0","title":"$:/Home/20250916000302200"},{"created":"20250520171154597","creator":"M00","text":"<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 24 24\" class=\"tc-image-eva-arrow-ios-forward tc-image-button\"><g data-name=\"Layer 2\"><g data-name=\"arrow-ios-forward\"><rect width=\"24\" height=\"24\" transform=\"rotate(-90 12 12)\" opacity=\"0\"/><path d=\"M10 19a1 1 0 0 1-.64-.23 1 1 0 0 1-.13-1.41L13.71 12 9.39 6.63a1 1 0 0 1 .15-1.41 1 1 0 0 1 1.46.15l4.83 6a1 1 0 0 1 0 1.27l-5 6A1 1 0 0 1 10 19z\"/></g></g></svg>","title":"$:/Icons/ArrowForward","tags":"$:/tags/Image Icons Images SVG","library_version":"1.1.3","library":"Eva Icons","collection":"Fill","category":"","caption":"arrow-ios-forward","modified":"20250711145634936","modifier":"M0"},{"text":"<svg width=\"22pt\" height=\"22pt\" class=\"tc-image-emb-code-square tc-image-button\" viewBox=\"0 0 24 24\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.68 11.6L10.44 14.36L9.6 15.2L6 11.6L9.6 8L10.44 8.84L7.68 11.6ZM16.32 11.6L13.56 14.36L14.4 15.2L18 11.6L14.4 8L13.56 8.84L16.32 11.6Z\" fill=\"black\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M22 2H2V22H22V2ZM20 4H4V20H20V4Z\" fill=\"black\"/></svg>","title":"$:/images/emblemicons/code-square","tags":"$:/tags/Image Icons Images SVG","library_version":"1.1.0","library":"Emblemicons","collection":"","caption":"code-square"},{"created":"20250920005846859","creator":"M0","text":"<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 24 24\" class=\"tc-image-layout-mode tc-image-button\"><g data-name=\"Layer 2\"><g data-name=\"edit\"><rect width=\"24\" height=\"24\" opacity=\"0\"/><path d=\"M19.4 7.34L16.66 4.6A2 2 0 0 0 14 4.53l-9 9a2 2 0 0 0-.57 1.21L4 18.91a1 1 0 0 0 .29.8A1 1 0 0 0 5 20h.09l4.17-.38a2 2 0 0 0 1.21-.57l9-9a1.92 1.92 0 0 0-.07-2.71zM16 10.68L13.32 8l1.95-2L18 8.73z\"/></g></g></svg>","title":"$:/images/eva-icons/fill/edit","tags":"$:/tags/Image Icons Images SVG","library_version":"1.1.3","library":"Eva Icons","collection":"Fill","category":"","caption":"edit","modified":"20250920010033432","modifier":"M0"},{"created":"20250920005942718","creator":"M0","text":"<svg width=\"22pt\" height=\"22pt\" class=\"tc-image-layout-mode tc-image-button\" viewBox=\"0 0 576 512\"><path d=\"M528.3 46.5H388.5c-48.1 0-89.9 33.3-100.4 80.3-10.6-47-52.3-80.3-100.4-80.3H48c-26.5 0-48 21.5-48 48v245.8c0 26.5 21.5 48 48 48h89.7c102.2 0 132.7 24.4 147.3 75 .7 2.8 5.2 2.8 6 0 14.7-50.6 45.2-75 147.3-75H528c26.5 0 48-21.5 48-48V94.6c0-26.4-21.3-47.9-47.7-48.1zM242 311.9c0 1.9-1.5 3.5-3.5 3.5H78.2c-1.9 0-3.5-1.5-3.5-3.5V289c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H78.2c-1.9 0-3.5-1.5-3.5-3.5v-22.9c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5V251zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H78.2c-1.9 0-3.5-1.5-3.5-3.5v-22.9c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm259.3 121.7c0 1.9-1.5 3.5-3.5 3.5H337.5c-1.9 0-3.5-1.5-3.5-3.5v-22.9c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H337.5c-1.9 0-3.5-1.5-3.5-3.5V228c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H337.5c-1.9 0-3.5-1.5-3.5-3.5v-22.8c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5V190z\"/></svg>","title":"$:/images/font-awesome/brands/readme","tags":"$:/tags/Image Icons Images SVG","library_version":"5.15.2","library":"Font Awesome","collection":"Solid","caption":"readme","modified":"20250920010007452","modifier":"M0"},{"title":"$:/Import","text":"The following tiddlers were imported:\n\n# [[LektonNFM.woff2]]\n# [[LektonNFM.woff]]","status":"complete"},{"title":"$:/isEncrypted","text":"no"},{"created":"20250711164207841","creator":"M0","title":"$:/language/DefaultNewTiddlerTitle","text":"<<now \"[UTC]YYYY0MM0DD0hh0mm0ssXXX\">>","modified":"20250911113018574","modifier":"M0"},{"created":"20250720141529122","creator":"M0","title":"$:/layout","text":"$:/Seed/Layouts/ReaderView/PageTemplate","modified":"20260508161455699","modifier":"M0"},{"created":"20250915234922592","creator":"M0","title":"$:/palette","text":"$:/palettes/SpartanNight","modified":"20250915234922592","modifier":"M0"},{"title":"$:/plugins/benwebber/tag-count","name":"tag-count","description":"Add a count to all tag pills","author":"Ben Webber","version":"0.2.2","core-version":">=5.1.20","source":"https://github.com/benwebber/tiddlywiki-plugins","plugin-type":"plugin","list":"README","license":"MIT","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/benwebber/tag-count/README\":{\"title\":\"$:/plugins/benwebber/tag-count/README\",\"text\":\"''tag-count'' adds a count to tag pills.\\n\\n!! Example\\n\\n<<tag \\\"$:/tags/Stylesheet\\\">>\\n\"},\"$:/plugins/benwebber/tag-count/modules/indexers/tag-count.min.js\":{\"text\":\"\\\"use strict\\\";Object.defineProperty(exports,\\\"__esModule\\\",{value:true});exports.TagCountIndexer=void 0;class TagCountIndexer{constructor(wiki){this.index={};this.cacheTiddler=\\\"$:/temp/plugins/benwebber/tag-count/cache\\\";this.ignoreUpdatesForTitles=[\\\"$:/StoryList\\\",\\\"$:/HistoryList\\\"];this.wiki=wiki}init(){}rebuild(){this.index=this.getTagCounts()}update(updateDescriptor){const shouldUpdate=this.shouldUpdate(updateDescriptor);if(!shouldUpdate){return}const tagCounts=this.getTagCounts();const hasChanged=this.hasChanged(tagCounts);if(!hasChanged){return}this.index=tagCounts;this.wiki.addTiddler({title:this.cacheTiddler,text:JSON.stringify(this.index),type:\\\"application/json\\\"})}getTagCounts(){const indexer=this.wiki.getIndexer(\\\"TagIndexer\\\").subIndexers[3];indexer.lookup();return Object.fromEntries(Object.entries(indexer.index).map((([tag,tagged])=>[tag,tagged.titles.length])))}hasChanged(tagCounts){for(const tag in tagCounts){if(tagCounts[tag]!==this.index[tag]){return true}}return false}shouldUpdate(updateDescriptor){const oldTiddler=updateDescriptor.old.tiddler;const newTiddler=updateDescriptor.new.tiddler;if(oldTiddler&&oldTiddler.fields.title===this.cacheTiddler||newTiddler&&newTiddler.fields.title===this.cacheTiddler||newTiddler&&this.ignoreUpdatesForTitles.includes(newTiddler.fields.title)||newTiddler&&newTiddler.fields[\\\"draft.of\\\"]){return false}return true}}exports.TagCountIndexer=TagCountIndexer;\",\"title\":\"$:/plugins/benwebber/tag-count/modules/indexers/tag-count.min.js\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/plugins/benwebber/tag-count/styles\":{\"title\":\"$:/plugins/benwebber/tag-count/styles\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\"\\\\whitespace trim\\n\\n.tc-tag-label:after {\\n font-size: 0.8em;\\n opacity: calc(2/3);\\n vertical-align: middle;\\n margin-left: 0.25em;\\n}\\n\\n{{$:/temp/plugins/benwebber/tag-count/cache||$:/plugins/benwebber/tag-count/templates/rules}}\\n\\n.tc-untagged-label:after {\\n content: \\\"<$count filter=\\\"[untagged[]!is[system]] -[tags[]]\\\"/>\\\";\\n}\\n\"},\"$:/plugins/benwebber/tag-count/templates/rules\":{\"title\":\"$:/plugins/benwebber/tag-count/templates/rules\",\"text\":\"<$list filter=\\\"[all[current]indexes[]]\\\" variable=tag>\\n[data-tag-title={{{ [<tag>escapecss[]] }}}] .tc-tag-label:after{content:\\\"{{{ [all[current]getindex<tag>] }}}\\\";}\\n</$list>\\n\"}}}"},{"title":"$:/plugins/bimlas/kin-filter","description":"Kin filter: Recursively looking for kinship between tiddler titles","author":"bimlas","version":"1.0.1","core-version":">=5.1.18","source":"https://github.com/bimlas/tw5-kin-filter","plugin-type":"plugin","list":"README/README README/examples README/CHANGELOG README/LICENSE","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/bimlas/kin-filter/README/CHANGELOG\":{\"title\":\"$:/plugins/bimlas/kin-filter/README/CHANGELOG\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! 1.0.1\\n\\n[[See GitHub for detailed change history of this release|https://github.com/bimlas/tw5-kin-filter/compare/v1.0.0...v1.0.1]]\\n\\n* ''Fix performance issue''\\n* Make testing easier\\n* Add more examples\\n* Add MIT license\\n* Remove GitLab repo\\n\\n\\n!! 1.0.0\\n\\n* First public release\\n\"},\"$:/plugins/bimlas/kin-filter/README/LICENSE\":{\"title\":\"$:/plugins/bimlas/kin-filter/README/LICENSE\",\"text\":\"MIT License\\n\\nCopyright (c) since 2019 bimlas <bimbalaszlo@gmail.com> (https://github.com/bimlas)\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\\"Software\\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n\\n\"},\"$:/plugins/bimlas/kin-filter/README/README\":{\"title\":\"$:/plugins/bimlas/kin-filter/README/README\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"! Kin filter operator\\n\\n* https://github.com/bimlas/tw5-kin-filter (please star if you like it)\\n\\nThe purpose of the ''kin'' operator with examples:\\n\\n* Finds related tags, related tiddlers in any depth\\n* Finds out where base tiddler originates and what other elements originate from it\\n* Finds the ancestors and successors of a family member\\n* Finds the \\\"leaves\\\" of the branch of the base tiddler in a tree-like structure (where the base tiddler is a leaf)\\n* Finds the super- and subsets / groups of a mathematical set (where the base tiddler is a set)\\n\\n[img[$:/plugins/bimlas/kin-filter/README/concept.svg]]\\n\\n|''input''|a [[selection of titles|https://tiddlywiki.com/#Title%20Selection]]|\\n|''suffix''|the ''kin'' operator uses a rich suffix, see below for details|\\n|''parameter''|''B'' base tiddler title or nothing|\\n|''output''|''with parameter B''<br>&raquo; those input titles which are ''kin with B'' <br>''without B''<br>&raquo; ''all'' tiddler titles which are ''kin with input titles'' (treat input titles as base tiddlers)|\\n|''`!` output''|''with parameter B''<br>&raquo; those input titles which are ''//NOT// kin with B''<br>''without parameter B''<br>&raquo; ignored|\\n\\nThe ''kin'' operator uses an extended syntax that permits multiple fields and flags to be passed:\\n\\n```\\n[kin:<field>:<direction>:<depth>[<operand>]]\\n```\\n\\n* ''field'': name of the [[field|https://tiddlywiki.com/#TiddlerFields]] which connecting tiddlers (assumed to be a [[title list|https://tiddlywiki.com/#Title%20List]], defaulting to `tags`)\\n* ''direction'': collect the tiddler titles in this direction relative to the base tiddler\\n** ''from'': collect kins of base tiddler pointing from it (including the base tiddler title itself)\\n** ''to'': collect kins of base tiddler pointing to it (including the base tiddler title itself)\\n** ''with'': (the default) union of the aboves\\n* ''depth'': maximum depth of the collected labels in the tree structure relative to the base tiddler (a positive number, not limited by default)\\n* ''operand'': filter operand, the base tiddler\\n\\n''kin'' is a [[modifier|https://tiddlywiki.com/#Selection%20Constructors]], but without ''B'' parameter is a [[constructor|https://tiddlywiki.com/#Selection%20Constructors]].\\n\\n!! Installation instructions\\n\\nTo add the plugin to your own ~TiddlyWiki5, just drag this link to the browser window:\\n\\n$:/plugins/bimlas/kin-filter\\n\\nFor other installation options see the repositories above.\\n\\n//Select the next tab to continue.//\\n\"},\"$:/plugins/bimlas/kin-filter/README/concept.svg\":{\"title\":\"$:/plugins/bimlas/kin-filter/README/concept.svg\",\"text\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" color-interpolation=\\\"auto\\\" height=\\\"492\\\" width=\\\"576\\\" stroke-linecap=\\\"square\\\" stroke=\\\"#000000\\\" font-family=\\\"Dialog\\\" font-size=\\\"12\\\" stroke-miterlimit=\\\"10\\\"><style><![CDATA[.C{stroke:none}.E{stroke-miterlimit:1.45000005}.F{fill:none}.I{stroke-linecap:butt}.G{fill:#f1c122}.L{font-size:26.667px}.M{fill:#4f4f4f}.D{fill:#d84100}.H{fill:#006eff}]]></style><defs><clipPath id=\\\"A\\\"><path d=\\\"M-15-15h630v745H-15z\\\"/></clipPath></defs><g clip-path=\\\"url(#A)\\\" shape-rendering=\\\"geometricPrecision\\\" text-rendering=\\\"geometricPrecision\\\"><rect class=\\\"C D\\\" x=\\\"15.917\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"161.955\\\"/><rect class=\\\"E F\\\" x=\\\"15.917\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"161.955\\\"/><rect class=\\\"C D\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"80\\\" y=\\\"191.955\\\" x=\\\"95.917\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"80\\\" y=\\\"191.955\\\" x=\\\"95.917\\\"/><rect class=\\\"C D\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"191.526\\\" x=\\\"204.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"191.526\\\" x=\\\"204.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"371.526\\\" x=\\\"284.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"371.526\\\" x=\\\"284.242\\\"/><rect class=\\\"C\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"251.526\\\" x=\\\"284.242\\\" fill=\\\"#008b00\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"251.526\\\" x=\\\"284.242\\\"/><rect class=\\\"C H\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"80\\\" y=\\\"281.526\\\" x=\\\"384.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"80\\\" y=\\\"281.526\\\" x=\\\"384.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"131.955\\\" x=\\\"95.917\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"131.955\\\" x=\\\"95.917\\\"/><rect class=\\\"C H\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"221.526\\\" x=\\\"384.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"221.526\\\" x=\\\"384.242\\\"/><rect class=\\\"C H\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"221.526\\\" x=\\\"504.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"221.526\\\" x=\\\"504.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"101.526\\\" x=\\\"284.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"101.526\\\" x=\\\"284.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"131.526\\\" x=\\\"384.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"131.526\\\" x=\\\"384.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"60\\\" y=\\\"71.526\\\" x=\\\"384.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"60\\\" y=\\\"71.526\\\" x=\\\"384.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"11.526\\\" x=\\\"284.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"11.526\\\" x=\\\"284.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"401.526\\\" x=\\\"384.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"401.526\\\" x=\\\"384.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"161.526\\\" x=\\\"504.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"161.526\\\" x=\\\"504.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"101.526\\\" x=\\\"504.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"40\\\" y=\\\"101.526\\\" x=\\\"504.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"80\\\" y=\\\"341.526\\\" x=\\\"384.242\\\"/><rect class=\\\"E F\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"80\\\" y=\\\"341.526\\\" x=\\\"384.242\\\"/><rect class=\\\"C G\\\" height=\\\"40\\\" rx=\\\"4\\\" width=\\\"60\\\" y=\\\"11.526\\\" x=\\\"384.242\\\"/><g class=\\\"E F\\\"><rect height=\\\"40\\\" rx=\\\"4\\\" width=\\\"60\\\" y=\\\"11.526\\\" x=\\\"384.242\\\"/><g class=\\\"I\\\"><path d=\\\"M64.54 181.955h12.03v30h19.35\\\"/></g></g><path class=\\\"C\\\" d=\\\"M55.887 181.955l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M183.636 211.526h20.33\\\" stroke-width=\\\".731\\\"/><path class=\\\"C\\\" d=\\\"M175.897 211.525l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M252.69 211.526h12.03v180h19.984\\\"/><path class=\\\"C\\\" d=\\\"M244.212 211.526l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M252.69 211.526h12.03v60h19.984\\\"/><path class=\\\"C\\\" d=\\\"M324.25 271.526l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M332.703 271.526h32.018v30h20\\\"/><path d=\\\"M324.25 391.66l12-5-3 5 3 5z\\\" class=\\\"C\\\"/><path class=\\\"E F I\\\" d=\\\"M64.887 181.955H76.57v-30h19.4m236.723 119.57h32.018v-30h19.984m48.025.001h72.02\\\"/><path class=\\\"C\\\" d=\\\"M423.72 241.526l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M252.69 211.526h12.03v-90h19.984\\\"/><path class=\\\"C\\\" d=\\\"M323.728 121.526l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M332.703 121.526h32.018v30h19.984\\\"/><path class=\\\"E F I\\\" d=\\\"M332.703 121.526h32.018v-30h20m-132.03 120h12.03v-180h19.984\\\"/><path class=\\\"C\\\" d=\\\"M323.728 31.526l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M332.703 391.526h32.018v30h19.984m48.02-270h51.996v30h19.984\\\"/><path class=\\\"E F I\\\" d=\\\"M432.725 151.526h51.996v-30h19.984\\\"/><path class=\\\"C\\\" d=\\\"M423.725 151.526l12-5-3 5 3 5z\\\"/><path class=\\\"E F I\\\" d=\\\"M332.703 391.526h32.018v-30h20m-51.993-330h51.98\\\"/></g><g class=\\\"C\\\" letter-spacing=\\\"0\\\" word-spacing=\\\"0\\\" font-family=\\\"sans-serif\\\"><text class=\\\"L\\\" y=\\\"481.371\\\" x=\\\"259.32\\\" xml:space=\\\"preserve\\\"><tspan class=\\\"M\\\" y=\\\"481.371\\\" x=\\\"259.32\\\">DEPTH</tspan></text><g font-size=\\\"40\\\"><text y=\\\"481.371\\\" x=\\\"395.524\\\" xml:space=\\\"preserve\\\"><tspan class=\\\"L M\\\" y=\\\"481.371\\\" x=\\\"395.524\\\">1</tspan></text><text y=\\\"481.547\\\" x=\\\"516.117\\\" xml:space=\\\"preserve\\\"><tspan class=\\\"L M\\\" y=\\\"481.547\\\" x=\\\"516.117\\\">2</tspan></text><text xml:space=\\\"preserve\\\" x=\\\"215.524\\\" y=\\\"481.371\\\"><tspan class=\\\"L M\\\" x=\\\"215.524\\\" y=\\\"481.371\\\">1</tspan></text><text xml:space=\\\"preserve\\\" x=\\\"107.792\\\" y=\\\"481.547\\\"><tspan class=\\\"L M\\\" x=\\\"107.792\\\" y=\\\"481.547\\\">2</tspan></text><text y=\\\"481.358\\\" x=\\\"27.486\\\" xml:space=\\\"preserve\\\"><tspan class=\\\"L M\\\" y=\\\"481.358\\\" x=\\\"27.486\\\">3</tspan></text><text y=\\\"325.27\\\" x=\\\"268.643\\\" xml:space=\\\"preserve\\\"><tspan class=\\\"L\\\" y=\\\"325.27\\\" x=\\\"268.643\\\" fill=\\\"#008b00\\\">BASE</tspan></text><text xml:space=\\\"preserve\\\" x=\\\"506.384\\\" y=\\\"325.27\\\"><tspan class=\\\"L H\\\" x=\\\"506.384\\\" y=\\\"325.27\\\">TO</tspan></text><text y=\\\"325.27\\\" x=\\\"96.958\\\" xml:space=\\\"preserve\\\"><tspan class=\\\"L D\\\" y=\\\"325.27\\\" x=\\\"96.958\\\">FROM</tspan></text></g></g></svg>\",\"type\":\"image/svg+xml\",\"tags\":\"picture\"},\"$:/plugins/bimlas/kin-filter/README/examples\":{\"title\":\"$:/plugins/bimlas/kin-filter/README/examples\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define create-example-tiddlers()\\n <$button>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/A\\\" caption=\\\"A\\\" tags=\\\"$:/temp/kin-filter-example\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/B\\\" caption=\\\"B\\\" tags=\\\"$:/temp/kin-filter-example/A\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/C\\\" caption=\\\"C\\\" tags=\\\"$:/temp/kin-filter-example/B\\\" list=\\\"$:/temp/kin-filter-example/D\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/D\\\" caption=\\\"D\\\" tags=\\\"$:/temp/kin-filter-example/C\\\" list=\\\"$:/temp/kin-filter-example/E\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/E\\\" caption=\\\"E\\\" tags=\\\"$:/temp/kin-filter-example/C\\\" list=\\\"$:/temp/kin-filter-example/G\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/F\\\" caption=\\\"F\\\" tags=\\\"$:/temp/kin-filter-example/B\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/G\\\" caption=\\\"G\\\" tags=\\\"$:/temp/kin-filter-example/F\\\"/>\\n <$action-createtiddler $basetitle=\\\"$:/temp/kin-filter-example/H\\\" caption=\\\"H\\\" tags=\\\"$:/temp/kin-filter-example/F\\\"/>\\n Create example tiddlers!\\n </$button>\\n\\\\end\\n\\\\define delete-example-tiddlers()\\n <$button>\\n <$action-deletetiddler $filter=\\\"[prefix[$:/temp/kin-filter-example/]]\\\"/>\\n Delete example tiddlers!\\n </$button>\\n\\\\end\\n\\n\\\\define item-class(highlightfilter) <$list filter=\\\"[[$:/temp/kin-filter-example]kin::to[]subfilter<__highlightfilter__>is[current]first[]]\\\">highlighted-toc-item</$list>\\n\\n\\\\define kin-example-with-toc(n,eg,ie)\\n <div class=\\\"doc-example\\\">\\n `$eg$`\\n <dd>&rarr; $ie$</dd>\\n <$list filter=\\\"[title<.state-prefix>addsuffix{!!title}addsuffix[/]addsuffix[$n$]]\\\" variable=\\\".state\\\">\\n <$reveal state=<<.state>> type=\\\"nomatch\\\" text=\\\"show\\\">\\n <dl>\\n <dd><$button set=<<.state>> setTo=\\\"show\\\">Try it</$button></dd>\\n </dl>\\n </$reveal>\\n <$reveal state=<<.state>> type=\\\"match\\\" text=\\\"show\\\">\\n <dl>\\n <dd><$button set=<<.state>> setTo=\\\"\\\">Hide</$button></dd>\\n </dl>\\n <blockquote class=\\\"doc-example-result\\\">\\n <ul><$list filter=\\\"[[$:/temp/kin-filter-example]kin::to[]subfilter<__eg__>sort[]]\\\" emptyMessage=\\\"(empty)\\\">\\n <li><$link><$view field=\\\"title\\\"/></$link></li>\\n </$list></ul>\\n Results highlighted in the tree:\\n\\n <<kin-toc \\\"$eg$\\\">>\\n </blockquote>\\n </$reveal>\\n </$list>\\n </div>\\n\\\\end\\n\\n\\\\define each-level(highlightfilter)\\n <li>\\n <$wikify name=\\\"transcluded-item-class\\\" text=\\\"\\\"\\\"<$macrocall $name=\\\"item-class\\\" highlightfilter=<<__highlightfilter__>>/>\\\"\\\"\\\">\\n <$link class=<<transcluded-item-class>> ><$view field=\\\"caption\\\"><$view field=\\\"title\\\"/></$view></$link>\\n </$wikify>\\n <ul>\\n <$list filter=\\\"[[$:/temp/kin-filter-example]kin::to[]tag<currentTiddler>]\\\">\\n <$macrocall $name=\\\"each-level\\\" highlightfilter=<<__highlightfilter__>>/>\\n </$list>\\n </ul>\\n </li>\\n\\\\end\\n\\n\\\\define kin-toc(highlightfilter)\\n <$tiddler tiddler=\\\"$:/temp/kin-filter-example\\\">\\n <ul>\\n <$macrocall $name=\\\"each-level\\\" highlightfilter=<<__highlightfilter__>>/>\\n </ul>\\n </$tiddler>\\n\\\\end\\n\\n<style>\\n .highlighted-toc-item {\\n color: red !important;\\n }\\n</style>\\n\\nYou can use the following buttons to create example tiddlers in `$:/temp/kin-filter-example` namespace!\\n\\n<<create-example-tiddlers>> -- <<delete-example-tiddlers>>\\n\\n<$list filter=\\\"[prefix[$:/temp/kin-filter-example]first[]is[tiddler]]\\\">\\n\\n Example tree (to really understand, look at the tiddlers):\\n\\n <<kin-toc \\\"!is[current]\\\">>\\n\\n ''The tree'' below the examples only helps in understanding the filter, it ''is not part of the output''.\\n\\n ''Feel free to edit [[this tiddler|$:/plugins/bimlas/kin-filter/README/examples]] to test your own filter expressions as well!'' If you want to undo the changes you made, just delete the tiddler, it will restore itself to its initial state.\\n\\n <<kin-example-with-toc 1 \\\"[kin[$:/temp/kin-filter-example/C]]\\\" \\\"input titles which are family members of the parameter title\\\">>\\n <<kin-example-with-toc 2 \\\"[kin[$:/temp/kin-filter-example/C]kin[$:/temp/kin-filter-example/F]]\\\" \\\"common family members of each of the specified titles (intersection)\\\">>\\n <<kin-example-with-toc 3 \\\"[kin[$:/temp/kin-filter-example/C]!kin[$:/temp/kin-filter-example/F]]\\\" \\\"difference of families of the specified titles (complement)\\\">>\\n <<kin-example-with-toc 4 \\\"[[$:/temp/kin-filter-example/C]] [[$:/temp/kin-filter-example/F]] +[kin[]]\\\" \\\"collected titles which are family members of any of the input tiddlers (union)\\\">>\\n <<kin-example-with-toc 5 \\\"[kin::to[$:/temp/kin-filter-example/B]]\\\" \\\"successors of the given tiddler\\\">>\\n <<kin-example-with-toc 6 \\\"[kin::from[$:/temp/kin-filter-example/E]kin::to[$:/temp/kin-filter-example/B]]\\\" \\\"subset of the family tree\\\">>\\n <<kin-example-with-toc 7 \\\"[kin::from:2[$:/temp/kin-filter-example/E]]\\\" \\\"ancestors of the given tiddler until the given depth\\\">>\\n <<kin-example-with-toc 8 \\\"[kin:tags:from[$:/temp/kin-filter-example/G]]\\\" \\\"ancestors of tiddler based on `tags` field (`tags` points to parents)\\\">>\\n <<kin-example-with-toc 9 \\\"[kin:list:to[$:/temp/kin-filter-example/G]]\\\" \\\"ancestors of tiddler based on `list` field (`list` point to children)\\\">>\\n\\n</$list>\\n\"},\"$:/plugins/bimlas/kin-filter/kin.js\":{\"title\":\"$:/plugins/bimlas/kin-filter/kin.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/bimlas/kin-filter/kin.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFinds out where a tiddler originates from and what other tiddlers originate from it\\n\\n\\\\*/\\n(function() {\\n\\n\\t/*jslint node: true, browser: true */\\n\\t/*global $tw: true */\\n\\t\\\"use strict\\\";\\n\\n\\tfunction collectTitlesRecursively(baseTitle,options) {\\n\\t\\tvar cacheName = \\\"kin-filter-\\\" + baseTitle + \\\"-\\\" + options.fieldName + \\\"-\\\",\\n\\t\\t\\tresults = [];\\n\\n\\t\\t/* Copy of findListingsOfTiddler, but it's searching in shadows as well. */\\n\\t\\tfunction findListingsOfTiddler(targetTitle,fieldName) {\\n\\t\\t\\tfieldName = fieldName || \\\"list\\\";\\n\\t\\t\\tvar listings = options.wiki.getGlobalCache(\\\"kin-filter-listings-\\\" + fieldName,function() {\\n\\t\\t\\t\\tvar listings = Object.create(null);\\n\\t\\t\\t\\toptions.wiki.eachTiddlerPlusShadows(function(tiddler,title) {\\n\\t\\t\\t\\t\\tvar list = $tw.utils.parseStringArray(tiddler.fields[fieldName]);\\n\\t\\t\\t\\t\\tif(list) {\\n\\t\\t\\t\\t\\t\\tfor(var i = 0; i < list.length; i++) {\\n\\t\\t\\t\\t\\t\\t\\tvar listItem = list[i],\\n\\t\\t\\t\\t\\t\\t\\t\\tlisting = listings[listItem] || [];\\n\\t\\t\\t\\t\\t\\t\\tif (listing.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\t\\t\\t\\tlisting.push(title);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\tlistings[listItem] = listing;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn listings;\\n\\t\\t\\t});\\n\\t\\t\\treturn listings[targetTitle] || [];\\n\\t\\t}\\n\\n\\t\\tfunction addToResultsIfNotFoundAlready(alreadyFound,title,depth) {\\n\\t\\t\\tif($tw.utils.hop(alreadyFound,title)) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\talreadyFound[title] = depth;\\n\\t\\t\\treturn true\\n\\t\\t}\\n\\n\\t\\tfunction collectTitlesPointingFrom(results,title,currentDepth) {\\n\\t\\t\\tif(addToResultsIfNotFoundAlready(results,title,currentDepth)) {\\n\\t\\t\\t\\tcurrentDepth += 1;\\n\\t\\t\\t\\tvar tiddler = options.wiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\t$tw.utils.each(tiddler.getFieldList(options.fieldName),function(targetTitle) {\\n\\t\\t\\t\\t\\t\\tcollectTitlesPointingFrom(results,targetTitle,currentDepth);\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tfunction collectTitlesPointingTo(results,title,currentDepth) {\\n\\t\\t\\tif(addToResultsIfNotFoundAlready(results,title,currentDepth)) {\\n\\t\\t\\t\\tcurrentDepth += 1;\\n\\t\\t\\t\\t$tw.utils.each(findListingsOfTiddler(title,options.fieldName),function(targetTitle) {\\n\\t\\t\\t\\t\\tcollectTitlesPointingTo(results,targetTitle,currentDepth);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tfunction getResultsInGivenDepth(cachedData) {\\n\\t\\t\\tif(options.depth) {\\n\\t\\t\\t\\tvar results = [];\\n\\t\\t\\t\\t$tw.utils.each(cachedData,function(value,key){\\n\\t\\t\\t\\t\\tif(value <= options.depth) {\\n\\t\\t\\t\\t\\t\\tresults.push(key);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn results;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn Object.keys(cachedData);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tif((options.direction === \\\"from\\\") || (options.direction === \\\"with\\\")) {\\n\\t\\t\\tvar resultsFrom = $tw.wiki.getGlobalCache(cacheName + \\\"from\\\",function() {\\n\\t\\t\\t\\tvar titlesPointingFromBase = {}\\n\\t\\t\\t\\tcollectTitlesPointingFrom(titlesPointingFromBase,baseTitle,0);\\n\\t\\t\\t\\treturn titlesPointingFromBase;\\n\\t\\t\\t});\\n\\t\\t\\t$tw.utils.pushTop(results,getResultsInGivenDepth(resultsFrom));\\n\\t\\t}\\n\\t\\tif((options.direction === \\\"to\\\") || (options.direction === \\\"with\\\")) {\\n\\t\\t\\tvar resultsTo = $tw.wiki.getGlobalCache(cacheName + \\\"to\\\",function() {\\n\\t\\t\\t\\tvar titlesPointingToBase = {}\\n\\t\\t\\t\\tcollectTitlesPointingTo(titlesPointingToBase,baseTitle,0);\\n\\t\\t\\t\\treturn titlesPointingToBase;\\n\\t\\t\\t});\\n\\t\\t\\t$tw.utils.pushTop(results,getResultsInGivenDepth(resultsTo));\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\\n\\n\\t/*\\n\\tExport our filter function\\n\\t*/\\n\\texports.kin = function(source,operator,options) {\\n\\t\\tvar results = [],\\n\\t\\t\\tneedsExclusion = operator.prefix === \\\"!\\\",\\n suffixes = operator.suffixes || [],\\n\\t\\t\\tfilterOptions = {\\n\\t\\t\\t\\twiki: options.wiki,\\n\\t\\t\\t\\tfieldName: (suffixes[0] && suffixes[0][0]) || \\\"tags\\\",\\n\\t\\t\\t\\tdirection: (suffixes[1] && suffixes[1][0]) || \\\"with\\\",\\n\\t\\t\\t\\tdepth: Number((suffixes[2] && suffixes[2][0]) || 0),\\n\\t\\t\\t};\\n\\n\\t\\tif((operator.operand === \\\"\\\") && (needsExclusion)) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\n\\t\\tif(operator.operand !== \\\"\\\") {\\n\\t\\t\\tvar baseTitle = operator.operand,\\n\\t\\t\\t\\tfoundTitles = collectTitlesRecursively(baseTitle,filterOptions);\\n\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(needsExclusion === (foundTitles.indexOf(title) === -1)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tresults = $tw.utils.pushTop(results,collectTitlesRecursively(title,filterOptions));\\n\\t\\t\\t});\\n\\t\\t}\\n\\n\\t\\treturn results;\\n\\t}\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"}}}","revision":"0","bag":"default"},{"text":"{\n \"tiddlers\": {\n \"$:/plugins/danielo515/2click2edit/ClickListener.js\": {\n \"text\": \"/*\\\\\\ntitle: $:/plugins/danielo515/2click2edit/ClickListener.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThis widgets adds an double click event listener to its parent\\n\\n\\\\*/\\n\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ClickListener = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nClickListener.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nClickListener.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.execute();\\n\\tvar self = this;\\n /*Since the event listener have been added to the parent, the \\\"this\\\" property is pointing to the\\n wrong object, we should call our edit function with our widget object set as the this property.*/\\n parent.addEventListener(\\\"dblclick\\\",function(event){self.editTiddler.call(self,event)});\\n};\\n\\nClickListener.prototype.editTiddler = function(event) {\\n this.dispatchEvent({type: \\\"tm-edit-tiddler\\\", param: this.getVariable(\\\"currentTiddler\\\")}); \\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nClickListener.prototype.execute = function() {\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nClickListener.prototype.refresh = function(changedTiddlers) {\\n\\treturn false;\\n};\\n\\nexports.click = ClickListener;\\n\\n})();\",\n \"title\": \"$:/plugins/danielo515/2click2edit/ClickListener.js\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"$:/plugins/danielo515/2click2edit/readme\": {\n \"title\": \"$:/plugins/danielo515/2click2edit/readme\",\n \"text\": \"This plugin adds the ability to edit tiddlers by double clicking on its body.\\nJust try to edit any tiddler shown here by double clicking on it.\\n\\nThis can be considered a fast solution. It is only to fill the gap until TiddlyWiki adds support \\nfor it officially.\\n\"\n },\n \"$:/plugins/danielo515/2click2edit/ui/ViewTemplate\": {\n \"tags\": \"$:/tags/ViewTemplate\",\n \"title\": \"$:/plugins/danielo515/2click2edit/ui/ViewTemplate\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"<$click>\"\n }\n }\n}","bag":"default","revision":"0","version":"0.1","type":"application/json","title":"$:/plugins/danielo515/2click2edit","source":"https://github.com/danielo515/TW5-2click2edit","plugin-type":"plugin","list":"readme","description":"double click to edit tiddlers","dependents":"","core-version":">=5.1.0","author":"Danielo Rodriguez"},{"created":"20250920054651841","creator":"M0","text":"/*\\\ntitle: $:/plugins/danielo515/2click2edit/ClickListener.js\ntype: application/javascript\nmodule-type: widget\n\nThis widgets adds an double click event listener to its parent\n\n\\*/\n\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar Widget = require(\"$:/core/modules/widgets/widget.js\").widget;\n\nvar ClickListener = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nClickListener.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nClickListener.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.execute();\n\tvar self = this;\n\n\t// Leer valor del tiddler $:/layout\n\tvar layout = $tw.wiki.getTiddlerText(\"$:/layout\", \"\");\n\n\t// Si el layout es exactamente el del ReaderView, NO agregar el evento\n\tif(layout !== \"$:/Seed/Layouts/ReaderView/PageTemplate\") {\n\t\tparent.addEventListener(\"dblclick\", function(event) {\n\t\t\tself.editTiddler.call(self, event);\n\t\t});\n\t}\n};\n\nClickListener.prototype.editTiddler = function(event) {\n this.dispatchEvent({type: \"tm-edit-tiddler\", param: this.getVariable(\"currentTiddler\")}); \n};\n\n/*\nCompute the internal state of the widget\n*/\nClickListener.prototype.execute = function() {\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nClickListener.prototype.refresh = function(changedTiddlers) {\n\treturn false;\n};\n\nexports.click = ClickListener;\n\n})();\n","title":"$:/plugins/danielo515/2click2edit/ClickListener.js","type":"application/javascript","module-type":"widget","modified":"20250920055406961","modifier":"M0"},{"title":"$:/plugins/flibbles/3rd-party","description":"Example plugin which integrates with Relink.","list":"readme","name":"Relink Example","plugin-type":"plugin","stability":"STABILITY_2_STABLE","type":"application/json","text":"{\n\t\"tiddlers\": {\n\t\t\"$:/config/flibbles/relink/attributes/$3rd/editTemplate\": {\n\t\t\t\"text\": \"title\"\n\t\t},\n\t\t\"$:/config/flibbles/relink/attributes/$3rd/filter\": {\n\t\t\t\"text\": \"filter\"\n\t\t},\n\t\t\"$:/config/flibbles/relink/attributes/$3rd/history\": {\n\t\t\t\"text\": \"title\"\n\t\t},\n\t\t\"$:/config/flibbles/relink/attributes/$3rd/template\": {\n\t\t\t\"text\": \"title\"\n\t\t},\n\t\t\"$:/config/flibbles/relink/fields/3rd\": {\n\t\t\t\"text\": \"list\"\n\t\t},\n\t\t\"$:/config/flibbles/relink/macros/3rd/tiddler\": {\n\t\t\t\"text\": \"title\"\n\t\t},\n\t\t\"$:/config/flibbles/relink/operators/3rd\": {\n\t\t\t\"text\": \"title\"\n\t\t},\n\t\t\"$:/plugins/flibbles/3rd-party/readme\": {\n\t\t\t\"text\": \"This plugin doesn't do anything. It only shows how other plugins can integrate with //Relink//. Thereby allowing any macros, widgets, fields, or filter operators they introduce to automatically be configured for //Relink// to handle.\\n\\nLook at the <<link-to-config-tab caption:'//Relink// configuration page'>> to see how this plugin's configurations are grouped.\"\n\t\t},\n\t\t\"$:/plugins/flibbles/3rd-party/macro\": {\n\t\t\t\"module-type\": \"macro\",\n\t\t\t\"text\": \"/*\\\\\\n\\nExample macro which this plugin has automatically integrated with Relink\\n\\n\\\\*/\\n\\nexports.name = \\\"3rd\\\";\\n\\nexports.params = [\\n\\t{name: \\\"tiddler\\\"}\\n];\\n\\nexports.run = function(tiddler) {\\n\\treturn \\\"3rd macro called with: \\\" + tiddler;\\n};\",\n\t\t\t\"type\": \"application/javascript\"\n\t\t},\n\t\t\"$:/plugins/flibbles/3rd-party/operator\": {\n\t\t\t\"module-type\": \"filteroperator\",\n\t\t\t\"text\": \"/*\\\\\\n\\nExample filter operator which this plugin has automatically integrated with Relink.\\nThis is just a generator that return the third word in the operand tiddler's text.\\n\\n\\\\*/\\n\\nexports[\\\"3rd\\\"] = function(source,operator,options) {\\n\\tvar tiddler = options.wiki.getTiddler(operator.operand);\\n\\tif (tiddler) {\\n\\t\\tvar match = /\\\\S+\\\\s+\\\\S+\\\\s+(\\\\S+)/.exec(tiddler.fields.text);\\n\\t\\tif (match) {\\n\\t\\t\\treturn [match[1]];\\n\\t\\t}\\n\\t}\\n\\treturn [];\\n};\",\n\t\t\t\"type\": \"application/javascript\"\n\t\t},\n\t\t\"$:/plugins/flibbles/3rd-party/widget\": {\n\t\t\t\"module-type\": \"widget\",\n\t\t\t\"text\": \"/*\\\\\\n\\nExample widget. It's just an alternate name for the core $list widget.\\n\\n\\\\*/\\n\\nvar List = require(\\\"$:/core/modules/widgets/list.js\\\").list;\\n\\nexports[\\\"3rd\\\"] = List;\",\n\t\t\t\"type\": \"application/javascript\"\n\t\t}\n\t}\n}\n"},{"name":"Relink","title":"$:/plugins/flibbles/relink","description":"Flexibility when relinking renamed tiddlers","author":"Flibbles","version":"2.5.2","core-version":">=5.1.22","stability":"STABILITY_2_STABLE","source":"https://github.com/flibbles/tw5-relink","demo":"http://flibbles.github.io/tw5-relink/","list":"readme configuration license","dependents":"","plugin-type":"plugin","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/flibbles/relink/js/bulkops.js\":{\"text\":\"/*\\\\\\nmodule-type: startup\\n\\nReplaces the relinkTiddler defined in $:/core/modules/wiki-bulkops.js\\n\\nThis is a startup instead of a wikimethods module-type because it's the only\\nway to ensure this runs after the old relinkTiddler method is applied.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\n\\nexports.name = \\\"redefine-relinkTiddler\\\";\\nexports.synchronous = true;\\n// load-modules is when wikimethods are applied in\\n// ``$:/core/modules/startup/load-modules.js``\\nexports.after = ['load-modules'];\\n// We come before commands because they may do renaming, or jasmine testing\\nexports.before = ['commands'];\\n\\nexports.startup = function() {\\n\\t$tw.Wiki.prototype.relinkTiddler = relinkTiddler;\\n};\\n\\n/** Walks through all relinkable tiddlers and relinks them.\\n * This replaces the existing function in core Tiddlywiki.\\n */\\nfunction relinkTiddler(fromTitle, toTitle, options) {\\n\\toptions = options || {};\\n\\tvar failures = [];\\n\\tvar indexer = utils.getIndexer(this);\\n\\tvar records = indexer.relinkLookup(fromTitle, toTitle, options);\\n\\tvar changedTitles = Object.create(null);\\n\\tfor (var title in records) {\\n\\t\\tvar entries = records[title],\\n\\t\\t\\tchanges = Object.create(null),\\n\\t\\t\\tupdate = false,\\n\\t\\t\\tfails = false;\\n\\t\\tfor (var field in entries) {\\n\\t\\t\\tvar entry = entries[field];\\n\\t\\t\\tfails = fails || entry.impossible;\\n\\t\\t\\tif (entry.output !== undefined) {\\n\\t\\t\\t\\tchanges[field] = entry.output;\\n\\t\\t\\t\\tupdate = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (fails) {\\n\\t\\t\\tfailures.push(title);\\n\\t\\t}\\n\\t\\t// If any fields changed, update tiddler\\n\\t\\tif (update) {\\n\\t\\t\\tconsole.log(\\\"Renaming '\\\"+fromTitle+\\\"' to '\\\"+toTitle+\\\"' in '\\\" + title + \\\"'\\\");\\n\\n\\t\\t\\tvar tiddler = this.getTiddler(title);\\n\\t\\t\\tvar modifyField = utils.touchModifyField(this) ? this.getModificationFields() : undefined;\\n\\t\\t\\tvar newTiddler = new $tw.Tiddler(tiddler,changes,modifyField)\\n\\t\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-relinking-tiddler\\\",newTiddler,tiddler);\\n\\t\\t\\tthis.addTiddler(newTiddler);\\n\\t\\t\\t// If the title changed, we need to perform a nested rename\\n\\t\\t\\tif (newTiddler.fields.title !== title) {\\n\\t\\t\\t\\tchangedTitles[title] = newTiddler.fields.title;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\t// Now that the rename is complete, we must now rename any tiddlers that\\n\\t// changed their titles, and thus repeat the process.\\n\\tfor (var title in changedTitles) {\\n\\t\\tthis.deleteTiddler(title);\\n\\t\\tthis.relinkTiddler(title, changedTitles[title], options);\\n\\t}\\n\\tif (failures.length > 0) {\\n\\t\\tvar options = $tw.utils.extend(\\n\\t\\t\\t{ variables: {to: toTitle, from: fromTitle},\\n\\t\\t\\t wiki: this},\\n\\t\\t\\toptions );\\n\\t\\tlanguage.reportFailures(failures, options);\\n\\t}\\n};\\n\\n})();\\n\",\"module-type\":\"startup\",\"title\":\"$:/plugins/flibbles/relink/js/bulkops.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/indexer.js\":{\"text\":\"/*\\\\\\nmodule-type: indexer\\n\\nIndexes results from tiddler reference reports so we don't have to call them\\nso much.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar utils = require(\\\"./utils.js\\\");\\nvar TiddlerContext = utils.getContext('tiddler');\\n\\nfunction Indexer(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nIndexer.prototype.init = function() {\\n\\tthis.rebuild();\\n};\\n\\nIndexer.prototype.rebuild = function() {\\n\\tthis.index = null;\\n\\tthis.backIndex = null;\\n\\tthis.contexts = Object.create(null);\\n\\tthis.changedTiddlers = undefined;\\n\\tthis.lastRelinks = Object.create(null);\\n};\\n\\nIndexer.prototype.update = function(updateDescriptor) {\\n\\tif (!this.index) {\\n\\t\\treturn;\\n\\t}\\n\\tvar title;\\n\\tif (!this.changedTiddlers) {\\n\\t\\tthis.changedTiddlers = Object.create(null);\\n\\t}\\n\\tif (updateDescriptor.old.exists) {\\n\\t\\ttitle = updateDescriptor.old.tiddler.fields.title;\\n\\t\\tthis.changedTiddlers[title] = {deleted: true};\\n\\t\\tthis._purge(title);\\n\\t}\\n\\tif (updateDescriptor['new'].exists) {\\n\\t\\t// If its the same tiddler as old, this overrides the 'deleted' entry\\n\\t\\ttitle = updateDescriptor['new'].tiddler.fields.title;\\n\\t\\tthis.changedTiddlers[title] = {modified: true};\\n\\t}\\n};\\n\\nIndexer.prototype.lookup = function(title) {\\n\\tthis._upkeep();\\n\\treturn this.index[title];\\n};\\n\\nIndexer.prototype.reverseLookup = function(title) {\\n\\tthis._upkeep();\\n\\treturn this.backIndex[title] || Object.create(null);\\n};\\n\\nIndexer.prototype.relinkLookup = function(fromTitle, toTitle, options) {\\n\\tthis._upkeep();\\n\\tvar shortlist = undefined;\\n\\tvar lastRelink = this.lastRelinks[fromTitle];\\n\\tif (lastRelink) {\\n\\t\\tif (lastRelink.to === toTitle) {\\n\\t\\t\\t// We need to reintroduce the relink cache, where temporary info\\n\\t\\t\\t// was stored.\\n\\t\\t\\toptions.cache = lastRelink.cache;\\n\\t\\t\\treturn lastRelink.results;\\n\\t\\t}\\n\\t\\tshortlist = buildShortlist(lastRelink);\\n\\t}\\n\\tvar results = utils.getRelinkResults(this.wiki, fromTitle, toTitle, this.context, shortlist, options);\\n\\tif (Object.keys(this.lastRelinks).length > 3) {\\n\\t\\t// The cache got a little large. wipe it clean.\\n\\t\\tthis.lastRelinks = Object.create(null);\\n\\t}\\n\\tthis.lastRelinks[fromTitle] = {\\n\\t\\tfrom: fromTitle,\\n\\t\\tresults: results,\\n\\t\\tto: toTitle,\\n\\t\\tcache: options.cache,\\n\\t\\tmaybeRelevant: Object.create(null)};\\n\\treturn results;\\n};\\n\\n// Returns all tiddlers that don't have anything referencing it.\\nIndexer.prototype.orphans = function(options) {\\n\\tthis._upkeep();\\n\\tvar results = [];\\n\\tvar ignoreList = (options && options.ignore) || [];\\n\\tvar ignoreMap = Object.create(null);\\n\\tfor (var i = 0; i < ignoreList.length; i++) {\\n\\t\\tignoreMap[ignoreList[i]] = true;\\n\\t}\\n\\tfor (var title in this.index) {\\n\\t\\tvar index = this.backIndex[title];\\n\\t\\tvar owned = false;\\n\\t\\tif (index) {\\n\\t\\t\\tfor (var key in index) {\\n\\t\\t\\t\\tif (!ignoreMap[key]) {\\n\\t\\t\\t\\t\\towned = true;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (!owned) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\nIndexer.prototype._upkeep = function() {\\n\\tvar title;\\n\\tif (this.changedTiddlers && (this.context.changed(this.changedTiddlers) || this.context.parent.changed(this.changedTiddlers))) {\\n\\t\\t// If global macro context or whitelist context changed, wipe all\\n\\t\\tthis.rebuild();\\n\\t}\\n\\tif (!this.index) {\\n\\t\\tthis.index = Object.create(null);\\n\\t\\tthis.backIndex = Object.create(null);\\n\\t\\tthis.context = utils.getWikiContext(this.wiki);\\n\\t\\tvar titles = this.wiki.getRelinkableTitles();\\n\\t\\tfor (var i = 0; i < titles.length; i++) {\\n\\t\\t\\tthis._populate(titles[i]);\\n\\t\\t};\\n\\t} else if (this.changedTiddlers) {\\n\\t\\t// If there are cached changes, we apply them now.\\n\\t\\tfor (title in this.contexts) {\\n\\t\\t\\tvar tiddlerContext = this.contexts[title];\\n\\t\\t\\tif (tiddlerContext.changed(this.changedTiddlers)) {\\n\\t\\t\\t\\tthis._purge(title);\\n\\t\\t\\t\\tthis._populate(title);\\n\\t\\t\\t\\tthis._decacheRelink(title);\\n\\t\\t\\t\\t// Wipe this change, so we don't risk updating it twice.\\n\\t\\t\\t\\tthis.changedTiddlers[title] = undefined;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tfor (title in this.changedTiddlers) {\\n\\t\\t\\tvar change = this.changedTiddlers[title];\\n\\t\\t\\tif (change && change.modified) {\\n\\t\\t\\t\\tthis._purge(title);\\n\\t\\t\\t\\tthis._populate(title);\\n\\t\\t\\t\\tthis._decacheRelink(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.changedTiddlers = undefined;\\n\\t}\\n};\\n\\nIndexer.prototype._purge = function(title) {\\n\\tfor (var entry in this.index[title]) {\\n\\t\\tdelete this.backIndex[entry][title];\\n\\t}\\n\\tdelete this.contexts[title];\\n\\tdelete this.index[title];\\n};\\n\\n// This drops the cached relink results if unsanctioned tiddlers were changed\\nIndexer.prototype._decacheRelink = function(title) {\\n\\tvar tiddler = this.wiki.getTiddler(title);\\n\\tfor (var from in this.lastRelinks) {\\n\\t\\tvar lastRelink = this.lastRelinks[from];\\n\\t\\tif (title !== from\\n\\t\\t&& title !== lastRelink.to\\n\\t\\t&& (!tiddler\\n\\t\\t|| !$tw.utils.hop(tiddler.fields, 'draft.of') // is a draft\\n\\t\\t|| tiddler.fields['draft.of'] !== from// draft of target\\n\\t\\t|| references(this.index[title], from))) { // draft references target\\n\\t\\t\\t// This is not the draft of the last relinked title,\\n\\t\\t\\t// so our cached results should be wiped.\\n\\t\\t\\tlastRelink.maybeRelevant[title] = true;\\n\\t\\t\\t// Force this cached relink to partially refresh when it comes time\\n\\t\\t\\tlastRelink.to = undefined;\\n\\t\\t}\\n\\t}\\n};\\n\\nfunction references(list, item) {\\n\\treturn list !== undefined && list[item];\\n};\\n\\n// Compiles a short list of tiddlers we need to check for a rename.\\n// This list will be much faster to relink again.\\nfunction buildShortlist(lastRelink) {\\n\\tvar shortlist = Object.keys(lastRelink.results);\\n\\tfor (var title in lastRelink.maybeRelevant) {\\n\\t\\tif (lastRelink.results[title] === undefined) {\\n\\t\\t\\tshortlist.push(title);\\n\\t\\t}\\n\\t}\\n\\treturn shortlist;\\n};\\n\\nIndexer.prototype._populate = function(title) {\\n\\t// Fetch the report for a title, and populate the indexes with result\\n\\tvar tiddlerContext = new TiddlerContext(this.wiki, this.context, title);\\n\\tvar references = utils.getTiddlerRelinkReferences(this.wiki, title, tiddlerContext);\\n\\tthis.index[title] = references;\\n\\tif (tiddlerContext.hasImports()) {\\n\\t\\tthis.contexts[title] = tiddlerContext;\\n\\t}\\n\\tfor (var ref in references) {\\n\\t\\tthis.backIndex[ref] = this.backIndex[ref] || Object.create(null);\\n\\t\\tthis.backIndex[ref][title] = references[ref];\\n\\t}\\n};\\n\\nexports.RelinkIndexer = Indexer;\\n\",\"module-type\":\"indexer\",\"title\":\"$:/plugins/flibbles/relink/js/indexer.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/language.js\":{\"text\":\"/*\\\\\\nmodule-type: library\\n\\nThis handles all logging and alerts Relink emits.\\n\\n\\\\*/\\n\\nexports.getString = function(outputType, title, options) {\\n\\ttitle = \\\"$:/plugins/flibbles/relink/language/\\\" + title;\\n\\treturn options.wiki.renderTiddler(outputType, title, options);\\n};\\n\\nvar logger;\\n\\nexports.warn = function(string, options) {\\n\\tif (!logger) {\\n\\t\\tlogger = new $tw.utils.Logger(\\\"Relinker\\\");\\n\\t}\\n\\tlogger.alert(string);\\n};\\n\\nexports.reportFailures = function(failureList, options) {\\n\\tvar alertString = this.getString(\\\"text/html\\\", \\\"Error/ReportFailedRelinks\\\", options)\\n\\tvar alreadyReported = Object.create(null);\\n\\tvar reportList = [];\\n\\t$tw.utils.each(failureList, function(f) {\\n\\t\\tif (!alreadyReported[f]) {\\n\\t\\t\\tif ($tw.browser) {\\n\\t\\t\\t\\t// This might not make the link if the title is complicated.\\n\\t\\t\\t\\t// Whatever.\\n\\t\\t\\t\\treportList.push(\\\"\\\\n* [[\\\" + f + \\\"]]\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treportList.push(\\\"\\\\n* \\\" + f);\\n\\t\\t\\t}\\n\\t\\t\\talreadyReported[f] = true;\\n\\t\\t}\\n\\t});\\n\\tthis.warn(alertString + \\\"\\\\n\\\" + reportList.join(\\\"\\\"));\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/language.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/mangler.js\":{\"text\":\"/*\\\\\\nmodule-type: widget\\n\\nCreates a mangler widget for field validation. This isn't meant to be used\\nby the user. It's only used in Relink configuration.\\n\\n\\\\*/\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nvar RelinkManglerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"relink-add-field\\\", handler: \\\"handleAddFieldEvent\\\"},\\n\\t\\t{type: \\\"relink-add-operator\\\", handler: \\\"handleAddOperatorEvent\\\"},\\n\\t\\t{type: \\\"relink-add-parameter\\\", handler: \\\"handleAddParameterEvent\\\"},\\n\\t\\t{type: \\\"relink-add-attribute\\\", handler: \\\"handleAddAttributeEvent\\\"}\\n\\t]);\\n};\\n\\nexports.relinkmangler = RelinkManglerWidget;\\n\\nRelinkManglerWidget.prototype = new Widget();\\n\\n// This wraps alert so it can be monkeypatched during testing.\\nRelinkManglerWidget.prototype.alert = function(message) {\\n\\talert(message);\\n};\\n\\nRelinkManglerWidget.prototype.handleAddFieldEvent = function(event) {\\n\\tvar param = event.paramObject;\\n\\tif (typeof param !== \\\"object\\\" || !param.field) {\\n\\t\\t// Can't handle it.\\n\\t\\treturn true;\\n\\t}\\n\\tvar trimmedName = param.field.trim();\\n\\tif (!trimmedName) {\\n\\t\\t// Still can't handle it, but don't warn.\\n\\t\\treturn true;\\n\\t}\\n\\tif(!$tw.utils.isValidFieldName(trimmedName)) {\\n\\t\\tthis.alert($tw.language.getString(\\n\\t\\t\\t\\\"InvalidFieldName\\\",\\n\\t\\t\\t{variables:\\n\\t\\t\\t\\t{fieldName: trimmedName}\\n\\t\\t\\t}\\n\\t\\t));\\n\\t} else {\\n\\t\\tadd(this.wiki, \\\"fields\\\", trimmedName);\\n\\t}\\n\\treturn true;\\n};\\n\\n/**Not much validation, even though there are definitely illegal\\n * operator names. If you input on, Relink won't relink it, but it\\n * won't choke on it either. Tiddlywiki will...\\n */\\nRelinkManglerWidget.prototype.handleAddOperatorEvent = function(event) {\\n\\tvar param = event.paramObject;\\n\\tif (param) {\\n\\t\\tadd(this.wiki, \\\"operators\\\", param.operator);\\n\\t}\\n\\treturn true;\\n};\\n\\nRelinkManglerWidget.prototype.handleAddParameterEvent = function(event) {\\n\\tvar param = event.paramObject;\\n\\tif (param && param.macro && param.parameter) {\\n\\t\\tif (/\\\\s/.test(param.macro.trim())) {\\n\\t\\t\\tthis.alert(language.getString(\\n\\t\\t\\t\\t\\\"text/plain\\\",\\n\\t\\t\\t\\t\\\"Error/InvalidMacroName\\\",\\n\\t\\t\\t\\t{ variables: {macroName: param.macro},\\n\\t\\t\\t\\t wiki: this.wiki\\n\\t\\t\\t\\t}\\n\\t\\t\\t));\\n\\t\\t} else if (/[ \\\\/]/.test(param.parameter.trim())) {\\n\\t\\t\\tthis.alert(language.getString(\\n\\t\\t\\t\\t\\\"text/plain\\\",\\n\\t\\t\\t\\t\\\"Error/InvalidParameterName\\\",\\n\\t\\t\\t\\t{ variables: {parameterName: param.parameter},\\n\\t\\t\\t\\t wiki: this.wiki\\n\\t\\t\\t\\t}\\n\\t\\t\\t));\\n\\t\\t} else {\\n\\t\\t\\tadd(this.wiki, \\\"macros\\\", param.macro, param.parameter);\\n\\t\\t}\\n\\t}\\n\\treturn true;\\n};\\n\\nRelinkManglerWidget.prototype.handleAddAttributeEvent = function(event) {\\n\\tvar param = event.paramObject;\\n\\tif (param && param.element && param.attribute) {\\n\\t\\tif (/[ \\\\/]/.test(param.element.trim())) {\\n\\t\\t\\tthis.alert(language.getString(\\n\\t\\t\\t\\t\\\"text/plain\\\",\\n\\t\\t\\t\\t\\\"Error/InvalidElementName\\\",\\n\\t\\t\\t\\t{ variables: {elementName: param.element},\\n\\t\\t\\t\\t wiki: this.wiki\\n\\t\\t\\t\\t}\\n\\t\\t\\t));\\n\\t\\t} else if (/[ \\\\/]/.test(param.attribute.trim())) {\\n\\t\\t\\tthis.alert(language.getString(\\n\\t\\t\\t\\t\\\"text/plain\\\",\\n\\t\\t\\t\\t\\\"Error/InvalidAttributeName\\\",\\n\\t\\t\\t\\t{ variables: {attributeName: param.attribute},\\n\\t\\t\\t\\t wiki: this.wiki\\n\\t\\t\\t\\t}\\n\\t\\t\\t));\\n\\t\\t} else {\\n\\t\\t\\tadd(this.wiki, \\\"attributes\\\", param.element, param.attribute);\\n\\t\\t}\\n\\t}\\n\\treturn true;\\n};\\n\\nfunction add(wiki, category/*, path parts*/) {\\n\\tvar path = \\\"$:/config/flibbles/relink/\\\" + category;\\n\\tfor (var x = 2; x < arguments.length; x++) {\\n\\t\\tvar part = arguments[x];\\n\\t\\t// Abort if it's falsy, or only whitespace. Also, trim spaces\\n\\t\\tif (!part || !(part = part.trim())) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tpath = path + \\\"/\\\" + part;\\n\\t}\\n\\tvar def = utils.getDefaultType(wiki);\\n\\twiki.addTiddler({title: path, text: def});\\n};\\n\",\"module-type\":\"widget\",\"title\":\"$:/plugins/flibbles/relink/js/mangler.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings.js\":{\"text\":\"/*\\\\\\nmodule-type: library\\n\\nThis handles the fetching and distribution of relink settings.\\n\\n\\\\*/\\n\\nvar utils = require('./utils');\\n\\n///// Legacy. You used to be able to access the type from utils.\\nexports.getType = utils.getType;\\n/////\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/settings.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils.js\":{\"text\":\"/*\\\\\\nmodule-type: library\\n\\nUtility methods for relink.\\n\\n\\\\*/\\n\\nvar macroFilter = \\\"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]] [all[shadows+tiddlers]tag[$:/tags/Global]!has[draft.of]]\\\";\\n\\n/**This works nearly identically to $tw.modules.getModulesByTypeAsHashmap\\n * except that this also takes care of migrating V1 relink modules.\\n */\\nexports.getModulesByTypeAsHashmap = function(moduleType, nameField) {\\n\\tvar results = Object.create(null);\\n\\t$tw.modules.forEachModuleOfType(moduleType, function(title, module) {\\n\\t\\tvar key = module[nameField];\\n\\t\\tif (key !== undefined) {\\n\\t\\t\\tresults[key] = module;\\n\\t\\t} else {\\n\\t\\t\\tfor (var entry in module) {\\n\\t\\t\\t\\tresults[entry] = {\\n\\t\\t\\t\\t\\trelink: module[entry],\\n\\t\\t\\t\\t\\treport: function() {}};\\n\\t\\t\\t\\tresults[entry][nameField] = entry;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// We've got to sort these so that behavior is consistent across different\\n\\t// versions of TiddlyMap, whose module return order depends on version...\\n\\treturn sortModules(results);\\n};\\n\\nfunction sortModules(moduleMap) {\\n\\tvar keys = Object.keys(moduleMap);\\n\\tvar sortedResults = Object.create(null);\\n\\tkeys.sort();\\n\\tfor (var i = 0; i < keys.length; i++) {\\n\\t\\tvar key = keys[i];\\n\\t\\tif (moduleMap[key].after\\n\\t\\t&& moduleMap[key].after.some(function(requirement) { return !sortedResults[requirement]})) {\\n\\t\\t\\t// Not all requirements have been met yet.\\n\\t\\t\\t$tw.utils.pushTop(keys, key);\\n\\t\\t\\ti--;\\n\\t\\t} else {\\n\\t\\t\\tsortedResults[key] = moduleMap[key];\\n\\t\\t}\\n\\t}\\n\\treturn sortedResults;\\n};\\n\\nexports.getTiddlerRelinkReferences = function(wiki, title, context) {\\n\\tvar tiddler = wiki.getTiddler(title),\\n\\t\\treferences = Object.create(null),\\n\\t\\toptions = {settings: context, wiki: wiki};\\n\\tif (tiddler) {\\n\\t\\ttry {\\n\\t\\t\\tfor (var relinker in getRelinkOperators()) {\\n\\t\\t\\t\\tgetRelinkOperators()[relinker].report(tiddler, function(title, blurb, style) {\\n\\t\\t\\t\\t\\treferences[title] = references[title] || [];\\n\\t\\t\\t\\t\\treferences[title].push($tw.utils.extend({blurb: blurb || ''}, style));\\n\\t\\t\\t\\t}, options);\\n\\t\\t\\t}\\n\\t\\t} catch (e) {\\n\\t\\t\\tif (e.message) {\\n\\t\\t\\t\\te.message = e.message + \\\"\\\\nWhen reporting '\\\" + title + \\\"' Relink references\\\";\\n\\t\\t\\t}\\n\\t\\t\\tthrow e;\\n\\t\\t}\\n\\t}\\n\\treturn references;\\n};\\n\\n/** Returns a pair like this,\\n * { title: {field: entry, ... }, ... }\\n */\\nexports.getRelinkResults = function(wiki, fromTitle, toTitle, context, tiddlerList, options) {\\n\\toptions = options || {};\\n\\toptions.wiki = options.wiki || wiki;\\n\\tfromTitle = (fromTitle || \\\"\\\").trim();\\n\\ttoTitle = (toTitle || \\\"\\\").trim();\\n\\tvar changeList = Object.create(null);\\n\\tif(fromTitle && toTitle !== undefined) {\\n\\t\\tif (tiddlerList === undefined) {\\n\\t\\t\\ttiddlerList = wiki.getRelinkableTitles();\\n\\t\\t}\\n\\t\\tfor (var i = 0; i < tiddlerList.length; i++) {\\n\\t\\t\\tvar title = tiddlerList[i];\\n\\t\\t\\tvar tiddler = wiki.getTiddler(title);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tvar entries = Object.create(null),\\n\\t\\t\\t\\t\\t\\toperators = getRelinkOperators();\\n\\t\\t\\t\\t\\toptions.settings = new Contexts.tiddler(wiki, context, title);\\n\\t\\t\\t\\t\\tfor (var operation in operators) {\\n\\t\\t\\t\\t\\t\\toperators[operation].relink(tiddler, fromTitle, toTitle, entries, options);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tfor (var field in entries) {\\n\\t\\t\\t\\t\\t\\t// So long as there is one key,\\n\\t\\t\\t\\t\\t\\t// add it to the change list.\\n\\t\\t\\t\\t\\t\\tif (tiddler.fields[\\\"plugin-type\\\"]) {\\n\\t\\t\\t\\t\\t\\t\\t// We never change plugins, even if they have links\\n\\t\\t\\t\\t\\t\\t\\tchangeList[title] = {};\\n\\t\\t\\t\\t\\t\\t\\tchangeList[title][field] = {impossible: true};\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tchangeList[title] = entries;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} catch (e) {\\n\\t\\t\\t\\t\\t// Should we test for instanceof Error instead?: yes\\n\\t\\t\\t\\t\\t// Does that work in the testing environment?: no\\n\\t\\t\\t\\t\\tif (e.message) {\\n\\t\\t\\t\\t\\t\\te.message = e.message + \\\"\\\\nWhen relinking '\\\" + title + \\\"'\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tthrow e;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn changeList;\\n};\\n\\nvar Contexts = $tw.modules.applyMethods('relinkcontext');\\n\\nexports.getContext = function(name) {\\n\\treturn Contexts[name];\\n};\\n\\nexports.getWikiContext = function(wiki) {\\n\\t// This gives a fresh context every time. It is up to the indexer or\\n\\t// the cache to preserve those contexts for as long as needed.\\n\\tvar whitelist = new Contexts.whitelist(wiki);\\n\\treturn new Contexts.import(wiki, whitelist, macroFilter);\\n};\\n\\n/** Returns the Relink indexer, or a dummy object which pretends to be one.\\n */\\nexports.getIndexer = function(wiki) {\\n\\tif (!wiki._relink_indexer) {\\n\\t\\twiki._relink_indexer = (wiki.getIndexer && wiki.getIndexer(\\\"RelinkIndexer\\\")) || new (require('$:/plugins/flibbles/relink/js/utils/backupIndexer.js'))(wiki);\\n\\t}\\n\\treturn wiki._relink_indexer;\\n};\\n\\n/**Relinking supports a cache that persists throughout a whole relink op.\\n * This is because the Tiddlywiki caches may get wiped multiple times\\n * throughout the course of a relink.\\n */\\nexports.getCacheForRun = function(options, cacheName, initializer) {\\n\\toptions.cache = options.cache || Object.create(null);\\n\\tif (!$tw.utils.hop(options.cache, cacheName)) {\\n\\t\\toptions.cache[cacheName] = initializer();\\n\\t}\\n\\treturn options.cache[cacheName];\\n};\\n\\n/**Returns a specific relinker.\\n * This is useful for wikitext rules which need to parse a filter or a list\\n */\\nexports.getType = function(name) {\\n\\tvar Handler = getFieldTypes()[name];\\n\\treturn Handler ? new Handler() : undefined;\\n};\\n\\nexports.getTypes = function() {\\n\\t// We don't return fieldTypes, because we don't want it modified,\\n\\t// and we need to filter out legacy names.\\n\\tvar rtn = Object.create(null);\\n\\tfor (var type in getFieldTypes()) {\\n\\t\\tvar typeObject = getFieldTypes()[type];\\n\\t\\trtn[typeObject.typeName] = typeObject;\\n\\t}\\n\\treturn rtn;\\n};\\n\\nexports.getDefaultType = function(wiki) {\\n\\tvar tiddler = wiki.getTiddler(\\\"$:/config/flibbles/relink/settings/default-type\\\");\\n\\tvar defaultType = tiddler && tiddler.fields.text;\\n\\t// make sure the default actually exists, otherwise default\\n\\treturn fieldTypes[defaultType] ? defaultType : \\\"title\\\";\\n};\\n\\nexports.abridgeString = function(string, maxLength, truncLength) {\\n\\tif (typeof string === \\\"string\\\") {\\n\\t\\tmaxLength = maxLength || 3;\\n\\t\\tif (truncLength === undefined) {\\n\\t\\t\\ttruncLength = maxLength-3;\\n\\t\\t}\\n\\t\\tstring = string.replace(/\\\\s+/g, \\\" \\\").trim();\\n\\t\\treturn (string.length > maxLength)? string.substr(0, truncLength) + \\\"...\\\" : string;\\n\\t}\\n\\treturn string;\\n};\\n\\nexports.touchModifyField = function(wiki) {\\n\\tvar tiddler = wiki.getTiddler(\\\"$:/config/flibbles/relink/touch-modify\\\");\\n\\treturn tiddler && tiddler.fields.text.trim() === \\\"yes\\\";\\n};\\n\\n/**Given some text, and a param or attribute within that text, this returns\\n * what type of quotation that attribute is using.\\n *\\n * param: An object in the form {end:, ...}\\n */\\nexports.determineQuote = function(text, param) {\\n\\tvar pos = param.end-1;\\n\\tif (text[pos] === \\\"'\\\") {\\n\\t\\treturn \\\"'\\\";\\n\\t}\\n\\tif (text[pos] === '\\\"') {\\n\\t\\tif (text.substr(pos-2, 3) === '\\\"\\\"\\\"') {\\n\\t\\t\\treturn '\\\"\\\"\\\"';\\n\\t\\t} else {\\n\\t\\t\\treturn '\\\"';\\n\\t\\t}\\n\\t}\\n\\tif (text.substr(pos-1,2) === ']]' && text.substr((pos-param.value.length)-3, 2) === '[[') {\\n\\t\\treturn \\\"[[\\\";\\n\\t}\\n\\treturn '';\\n};\\n\\n/**We use this startsWith instead of the core utils one, because this one\\n * uses native code if it can.\\n */\\nexports.startsWith = (String.prototype.startsWith)?\\n\\tfunction(str, search) {\\n\\t\\treturn str.startsWith(search);\\n\\t}:\\n\\tfunction(str, search) {\\n\\t\\treturn str.substring(0, search.length) === search;\\n\\t};\\n\\nvar fieldTypes;\\n\\nfunction getFieldTypes() {\\n\\tif (!fieldTypes) {\\n\\t\\tfieldTypes = Object.create(null);\\n\\t\\t$tw.modules.forEachModuleOfType(\\\"relinkfieldtype\\\", function(title, exports) {\\n\\t\\t\\tfunction NewType() {};\\n\\t\\t\\tNewType.prototype = exports;\\n\\t\\t\\tNewType.typeName = exports.name;\\n\\t\\t\\tfieldTypes[exports.name] = NewType;\\n\\t\\t\\t// For legacy, if the NewType doesn't have a report method, we add one\\n\\t\\t\\tif (!exports.report) {\\n\\t\\t\\t\\texports.report = function() {};\\n\\t\\t\\t}\\n\\t\\t\\t// Also for legacy, some of the field types can go by other names\\n\\t\\t\\tif (exports.aliases) {\\n\\t\\t\\t\\t$tw.utils.each(exports.aliases, function(alias) {\\n\\t\\t\\t\\t\\tfieldTypes[alias] = NewType;\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn fieldTypes;\\n}\\n\\nvar relinkOperators;\\n\\nfunction getRelinkOperators() {\\n\\tif (!relinkOperators) {\\n\\t\\trelinkOperators = exports.getModulesByTypeAsHashmap('relinkoperator', 'name');\\n\\t}\\n\\treturn relinkOperators;\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/utils.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/wikimethods.js\":{\"text\":\"/*\\\\\\nmodule-type: wikimethod\\n\\nIntroduces some utility methods used by Relink.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.getTiddlerRelinkReferences = function(title, options) {\\n\\tvar refs = utils.getIndexer(this).lookup(title);\\n\\treturn refs && blurbs(refs, options && options.hard);\\n};\\n\\nexports.getTiddlerRelinkBackreferences = function(title) {\\n\\tvar refs = utils.getIndexer(this).reverseLookup(title);\\n\\t// For now, I don't have the equivalent \\\"hard\\\" option because I'm not\\n\\t// sure it has any value. May change this later.\\n\\treturn blurbs(refs);\\n};\\n\\nexports.getRelinkableTitles = function() {\\n\\tvar toUpdate = \\\"$:/config/flibbles/relink/to-update\\\";\\n\\tvar wiki = this;\\n\\treturn this.getCacheForTiddler(toUpdate, \\\"relink-toUpdate\\\", function() {\\n\\t\\tvar tiddler = wiki.getTiddler(toUpdate);\\n\\t\\tif (tiddler) {\\n\\t\\t\\treturn wiki.compileFilter(tiddler.fields.text);\\n\\t\\t} else {\\n\\t\\t\\treturn wiki.allTitles;\\n\\t\\t}\\n\\t})();\\n};\\n\\nexports.getRelinkOrphans = function(options) {\\n\\treturn utils.getIndexer(this).orphans(options);\\n};\\n\\nfunction blurbs(refs, hardOnly) {\\n\\tvar blurbsOnly = Object.create(null);\\n\\tfor (var title in refs) {\\n\\t\\tfor (var i = 0; i < refs[title].length; i++) {\\n\\t\\t\\tvar record = refs[title][i];\\n\\t\\t\\tif (!hardOnly || !record.soft) {\\n\\t\\t\\t\\tblurbsOnly[title] = blurbsOnly[title] || [];\\n\\t\\t\\t\\tblurbsOnly[title].push(record.blurb);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn blurbsOnly;\\n};\\n\",\"module-type\":\"wikimethod\",\"title\":\"$:/plugins/flibbles/relink/js/wikimethods.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/all_relinkable.js\":{\"text\":\"/*\\\\\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[relinkable]].\\nReturns all tiddlers subject to relinking.\\n\\n\\\\*/\\n\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.relinkable = function(source,prefix,options) {\\n\\treturn options.wiki.getRelinkableTitles();\\n};\\n\\n})();\\n\",\"module-type\":\"allfilteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/all_relinkable.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/orphans.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkfilteroperator\\n\\nFilter function for [relink:orphans[]].\\nReturns all tiddlers which are not referenced in any way\\n\\n\\\\*/\\n\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.orphans = function(source,prefix,options) {\\n\\treturn options.wiki.getRelinkOrphans({ignore: ['$:/StoryList']});\\n};\\n\\n})();\\n\",\"module-type\":\"relinkfilteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/orphans.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/references.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkfilteroperator\\n\\nGiven a title as an operand, returns all non-shadow tiddlers that have any\\nsort of updatable reference to it.\\n\\n`relink:backreferences[]]`\\n`relink:references[]]`\\n\\nReturns all tiddlers that reference `fromTiddler` somewhere inside them.\\n\\nInput is ignored. Maybe it shouldn't do this.\\n\\\\*/\\n\\nvar LinkedList = $tw.utils.LinkedList;\\n\\nif (!LinkedList) {\\n\\t/* If the linked list isn't available, make a quick crappy version. */\\n\\tLinkedList = function() {this.array=[];};\\n\\n\\tLinkedList.prototype.pushTop = function(array) {\\n\\t\\t$tw.utils.pushTop(this.array, array);\\n\\t};\\n\\n\\tLinkedList.prototype.toArray = function() {\\n\\t\\treturn this.array;\\n\\t};\\n};\\n\\nexports.backreferences = function(source,operator,options) {\\n\\tvar results = new LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(Object.keys(options.wiki.getTiddlerRelinkBackreferences(title,options)));\\n\\t});\\n\\treturn results.toArray();\\n};\\n\\nexports.references = function(source,operator,options) {\\n\\tvar results = new LinkedList();\\n\\tif (operator.suffix === 'hard') {\\n\\t\\toptions = Object.create(options);\\n\\t\\toptions.hard = true;\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar refs = options.wiki.getTiddlerRelinkReferences(title,options);\\n\\t\\tif (refs) {\\n\\t\\t\\tresults.pushTop(Object.keys(refs));\\n\\t\\t}\\n\\t});\\n\\treturn results.toArray();\\n};\\n\",\"module-type\":\"relinkfilteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/references.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/relink.js\":{\"text\":\"/*\\\\\\nmodule-type: filteroperator\\n\\nThis filter acts as a namespace for several small, simple filters, such as\\n\\n`[relink:impossible[]]`\\n\\n\\\\*/\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\\n\\nvar relinkFilterOperators;\\n\\nfunction getRelinkFilterOperators() {\\n\\tif(!relinkFilterOperators) {\\n\\t\\trelinkFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"relinkfilteroperator\\\",\\n\\t\\t relinkFilterOperators);\\n\\t}\\n\\treturn relinkFilterOperators;\\n}\\n\\nexports.relink = function(source,operator,options) {\\n\\tvar suffixPair = parseSuffix(operator.suffix);\\n\\tvar relinkFilterOperator = getRelinkFilterOperators()[suffixPair[0]];\\n\\tif (relinkFilterOperator) {\\n\\t\\tvar newOperator = $tw.utils.extend({}, operator);\\n\\t\\tnewOperator.suffix = suffixPair[1];\\n\\t\\treturn relinkFilterOperator(source, newOperator, options);\\n\\t} else {\\n\\t\\treturn [language.getString(\\\"text/plain\\\", \\\"Error/RelinkFilterOperator\\\", options)];\\n\\t}\\n};\\n\\nfunction parseSuffix(suffix) {\\n\\tvar index = suffix? suffix.indexOf(\\\":\\\"): -1;\\n\\tif (index >= 0) {\\n\\t\\treturn [suffix.substr(0, index), suffix.substr(index+1)];\\n\\t} else {\\n\\t\\treturn [suffix];\\n\\t}\\n}\\n\",\"module-type\":\"filteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/relink.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/report.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkfilteroperator\\n\\nGiven a title as an operand, returns a string for each occurrence of that title\\nwithin each input title.\\n\\n[[title]] +[relink:report[fromTiddler]]`\\n\\nReturns string representation of fromTiddler occurrences in title.\\n\\\\*/\\n\\nexports.report = function(source,operator,options) {\\n\\tvar fromTitle = operator.operand,\\n\\t\\tresults = [];\\n\\tif (fromTitle) {\\n\\t\\tvar blurbs = options.wiki.getTiddlerRelinkBackreferences(fromTitle);\\n\\t\\tsource(function(tiddler, title) {\\n\\t\\t\\tif (blurbs[title]) {\\n\\t\\t\\t\\tresults = results.concat(blurbs[title]);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"module-type\":\"relinkfilteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/report.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/signatures.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkfilteroperator\\n\\nThis filter returns all input tiddlers which are a source of\\nrelink configuration.\\n\\n`[all[tiddlers+system]relink:source[macros]]`\\n\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nexports.signatures = function(source,operator,options) {\\n\\tvar plugin = operator.operand || null;\\n\\tvar set = getSet(options);\\n\\tif (plugin === \\\"$:/core\\\") {\\n\\t\\t// Core doesn't actually have any settings. We mean Relink\\n\\t\\tplugin = \\\"$:/plugins/flibbles/relink\\\";\\n\\t}\\n\\tvar signatures = [];\\n\\tfor (var signature in set) {\\n\\t\\tvar source = set[signature].source;\\n\\t\\tif (options.wiki.getShadowSource(source) === plugin) {\\n\\t\\t\\tsignatures.push(signature);\\n\\t\\t}\\n\\t}\\n\\treturn signatures;\\n};\\n\\nexports.type = function(source,operator,options) {\\n\\tvar results = [];\\n\\tvar set = getSet(options);\\n\\tsource(function(tiddler, signature) {\\n\\t\\tif (set[signature]) {\\n\\t\\t\\tresults.push(set[signature].name);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.types = function(source,operator,options) {\\n\\tvar def = utils.getDefaultType(options.wiki);\\n\\tvar types = Object.keys(utils.getTypes());\\n\\ttypes.sort();\\n\\t// move default to front\\n\\ttypes.sort(function(x,y) { return x === def ? -1 : y === def ? 1 : 0; });\\n\\treturn types;\\n};\\n\\nexports.source = function(source,operator,options) {\\n\\tvar results = [];\\n\\tvar category = operator.suffix;\\n\\tvar set = getSet(options);\\n\\tsource(function(tiddler, signature) {\\n\\t\\tif (set[signature]) {\\n\\t\\t\\tresults.push(set[signature].source);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nfunction getSet(options) {\\n\\treturn options.wiki.getGlobalCache(\\\"relink-signatures\\\", function() {\\n\\t\\tvar config = utils.getWikiContext(options.wiki);\\n\\t\\tvar set = Object.create(null);\\n\\t\\tvar categories = {\\n\\t\\t\\tattributes: config.getAttributes(),\\n\\t\\t\\tfields: config.getFields(),\\n\\t\\t\\tmacros: config.getMacros(),\\n\\t\\t\\toperators: config.getOperators()};\\n\\t\\t$tw.utils.each(categories, function(list, category) {\\n\\t\\t\\t$tw.utils.each(list, function(item, key) {\\n\\t\\t\\t\\tset[category + \\\"/\\\" + key] = item;\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\treturn set;\\n\\t});\\n};\\n\",\"module-type\":\"relinkfilteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/signatures.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/filteroperators/splitafter.js\":{\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/splitbefore.js\\ntype: application/javascript\\nmodule-type: relinkfilteroperator\\n\\nFilter operator that splits each result on the last occurance of the specified separator and returns the last bit.\\n\\nWhat does this have to do with relink? Nothing. I need this so I can render\\nthe configuration menu. I //could// use [splitregexp[]], but then I'd be\\nlimited to Tiddlywiki v5.1.20 or later.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.splitafter = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar index = title.lastIndexOf(operator.operand);\\n\\t\\tif(index < 0) {\\n\\t\\t\\t$tw.utils.pushTop(results,title);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.pushTop(results,title.substr(index+1));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\\n\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/splitafter.js\",\"type\":\"application/javascript\",\"module-type\":\"relinkfilteroperator\"},\"$:/plugins/flibbles/relink/js/filteroperators/wouldchange.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkfilteroperator\\n\\nwouldchange: Generator.\\n\\nGiven each input title, it returns all the tiddlers that would be changed if the currentTiddler were to be renamed to the operand.\\n\\nimpossible: filters all source titles for ones that encounter errors on failure.\\n\\nTHESE ARE INTERNAL FILTER OPERATOR AND ARE NOT INTENDED TO BE USED BY USERS.\\n\\n\\\\*/\\n\\nvar language = require(\\\"$:/plugins/flibbles/relink/js/language.js\\\");\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\n\\nexports.wouldchange = function(source,operator,options) {\\n\\tvar from = options.widget && options.widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\tto = operator.operand,\\n\\t\\tindexer = utils.getIndexer(options.wiki);\\n\\tif (to && from !== to) {\\n\\t\\tvar records = indexer.relinkLookup(from, to, options);\\n\\t\\treturn Object.keys(records);\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\nexports.impossible = function(source,operator,options) {\\n\\tvar from = options.widget && options.widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\tto = operator.operand,\\n\\t\\tresults = [];\\n\\tif (to && from !== to) {\\n\\t\\tvar indexer = utils.getIndexer(options.wiki),\\n\\t\\t\\trecords = indexer.relinkLookup(from, to, options);\\n\\t\\tsource(function(tiddler, title) {\\n\\t\\t\\tvar fields = records[title];\\n\\t\\t\\tif (fields) {\\n\\t\\t\\t\\tfor (var field in fields) {\\n\\t\\t\\t\\t\\tif (fields[field].impossible) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\",\"module-type\":\"relinkfilteroperator\",\"title\":\"$:/plugins/flibbles/relink/js/filteroperators/wouldchange.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/attributes.js\":{\"text\":\"/*\\\\\\n\\nFactory method for creating the attributes whitelist cache.\\n\\n\\\\*/\\n\\nvar utils = require('../utils');\\n\\nexports.name = \\\"attributes\\\";\\n\\nexports.generate = function(attributes, tiddler, key) {\\n\\tvar data = utils.getType(tiddler.fields.text.trim());\\n\\tif (data) {\\n\\t\\tdata.source = tiddler.fields.title;\\n\\t\\tvar elem = root(key);\\n\\t\\tvar attr = key.substr(elem.length+1);\\n\\t\\tattributes[elem] = attributes[elem] || Object.create(null);\\n\\t\\tattributes[elem][attr] = data;\\n\\t}\\n};\\n\\n/* Returns first bit of a path. path/to/tiddler -> path\\n */\\nfunction root(string) {\\n\\tvar index = string.indexOf('/');\\n\\tif (index >= 0) {\\n\\t\\treturn string.substr(0, index);\\n\\t}\\n};\\n\\n\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/attributes.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/exceptions.js\":{\"text\":\"/*\\\\\\n\\nFactory method for specifying system tiddlers which should not be treated\\nas text/vnd.tiddlywiki types, but for whatever reason, they don't specify\\nthe type they really are. Sort of like how $:/DefaultTiddlers is actually\\na filter.\\n\\n\\\\*/\\n\\nexports.name = \\\"exceptions\\\";\\n\\nexports.generate = function(exceptions, tiddler, title) {\\n\\tvar tiddlerType = tiddler.fields.text.trim();\\n\\tif (tiddlerType) {\\n\\t\\texceptions[title] = tiddlerType;\\n\\t}\\n};\\n\",\"the type they really are. Sort of like how $\":\"/DefaultTiddlers is actually\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/exceptions.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/fields.js\":{\"text\":\"/*\\\\\\n\\nFactory method for creating the fields whitelist cache.\\n\\n\\\\*/\\n\\nvar utils = require('../utils');\\n\\nexports.name = \\\"fields\\\";\\n\\nexports.generate = function(fields, tiddler, name) {\\n\\tvar data = utils.getType(tiddler.fields.text.trim());\\n\\tif (data) {\\n\\t\\tdata.source = tiddler.fields.title;\\n\\t\\tfields[name] = data;\\n\\t}\\n};\\n\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/fields.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/fieldwidgets.js\":{\"text\":\"/*\\\\\\n\\nFactory method for creating the fieldattributes regexp cache.\\n\\n\\\\*/\\n\\nexports.name = \\\"fieldattributes\\\";\\n\\nexports.generate = function(fieldattributes, tiddler, key) {\\n\\tfieldattributes[key] = new RegExp(tiddler.fields.text.trim());\\n};\\n\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/fieldwidgets.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/macros.js\":{\"text\":\"/*\\\\\\n\\nFactory method for creating the macros whitelist cache.\\n\\n\\\\*/\\n\\nvar utils = require('../utils');\\n\\nexports.name = \\\"macros\\\";\\n\\nexports.generate = function(macros, tiddler, key) {\\n\\tvar data = utils.getType(tiddler.fields.text.trim());\\n\\tif (data) {\\n\\t\\tdata.source = tiddler.fields.title;\\n\\t\\t// We take the last index, not the first, because macro\\n\\t\\t// parameters can't have slashes, but macroNames can.\\n\\t\\tvar name = dir(key);\\n\\t\\tvar arg = key.substr(name.length+1);\\n\\t\\tmacros[name] = macros[name] || Object.create(null);\\n\\t\\tmacros[name][arg] = data;\\n\\t}\\n};\\n\\n/* Returns all but the last bit of a path. path/to/tiddler -> path/to\\n */\\nfunction dir(string) {\\n\\tvar index = string.lastIndexOf('/');\\n\\tif (index >= 0) {\\n\\t\\treturn string.substr(0, index);\\n\\t}\\n}\\n\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/macros.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/messages.js\":{\"text\":\"/*\\\\\\n\\nFactory method for creating the message regexp cache.\\n\\n\\\\*/\\n\\nexports.name = \\\"messages\\\";\\n\\nexports.generate = function(messages, tiddler, key) {\\n\\tmessages[key] = new RegExp(tiddler.fields.text.trim());\\n};\\n\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/messages.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/settings/operators.js\":{\"text\":\"/*\\\\\\n\\nFactory method for creating the operators whitelist cache.\\n\\n\\\\*/\\n\\nvar utils = require('../utils');\\n\\nexports.name = \\\"operators\\\";\\n\\nexports.generate = function(operators, tiddler, key) {\\n\\tvar data = utils.getType(tiddler.fields.text.trim());\\n\\tif (data) {\\n\\t\\tdata.source = tiddler.fields.title;\\n\\t\\tvar pair = key.split('/');\\n\\t\\tvar name = pair[0];\\n\\t\\tdata.key = key;\\n\\t\\toperators[name] = operators[name] || Object.create(null);\\n\\t\\toperators[name][pair[1] || 1] = data;\\n\\t}\\n};\\n\",\"module-type\":\"relinksetting\",\"title\":\"$:/plugins/flibbles/relink/js/settings/operators.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/filter.js\":{\"text\":\"/*\\\\\\n\\nThis specifies logic for updating filters to reflect title changes.\\n\\n\\\\*/\\n\\nvar refHandler = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/reference\\\");\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar filterRelinkers = utils.getModulesByTypeAsHashmap('relinkfilter', 'name');\\n\\nexports.name = \\\"filter\\\";\\n\\nexports.report = function(filter, callback, options) {\\n\\tif (filter) {\\n\\t\\ttry {\\n\\t\\t\\tvar parseTree = options.wiki.parseFilter(filter);\\n\\t\\t} catch (e) {\\n\\t\\t\\t// It must have been malformed. Return without doing anything.\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tfor (var module in filterRelinkers) {\\n\\t\\t\\tfilterRelinkers[module].report(parseTree, callback, options);\\n\\t\\t}\\n\\t}\\n};\\n\\n/**Returns undefined if no change was made.\\n */\\nexports.relink = function(filter, fromTitle, toTitle, options) {\\n\\tvar changed = false;\\n\\tvar results = {};\\n\\tvar parseTree;\\n\\tif (filter) {\\n\\t\\ttry {\\n\\t\\t\\tparseTree = options.wiki.parseFilter(filter);\\n\\t\\t} catch (e) {\\n\\t\\t\\t// It must have been malformed. Return without doing anything.\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tfor (var module in filterRelinkers) {\\n\\t\\t\\tvar entry = filterRelinkers[module].relink(parseTree, fromTitle, toTitle, options);\\n\\t\\t\\tif (entry) {\\n\\t\\t\\t\\tif (entry.changed) {\\n\\t\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\t\\tresults.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif (changed) {\\n\\t\\tvar builder = assembleFilterString(parseTree, filter, options);\\n\\t\\tresults.output = builder.results();\\n\\t\\tresults.impossible = results.impossible || builder.impossible;\\n\\t\\treturn results;\\n\\t}\\n\\tif (results.impossible) {\\n\\t\\treturn results;\\n\\t}\\n\\treturn undefined\\n};\\n\\nfunction assembleFilterString(parseTree, oldFilter, options) {\\n\\tvar relinker = new Rebuilder(oldFilter),\\n\\t\\twordBarrierRequired = false,\\n\\t\\tp = 0;\\n\\tfor (var i = 0; i < parseTree.length; i++) {\\n\\t\\tvar start = $tw.utils.skipWhiteSpace(oldFilter, p);\\n\\t\\tif (start !== p) {\\n\\t\\t\\t// There's some breathing room between this run and the last.\\n\\t\\t\\t// We'll never need to insert space.\\n\\t\\t\\twordBarrierRequired = false;\\n\\t\\t\\tp = start;\\n\\t\\t}\\n\\t\\tvar run = parseTree[i];\\n\\t\\tif (run.prefix) {\\n\\t\\t\\tif (wordBarrierRequired) {\\n\\t\\t\\t\\trelinker.add(' ', p, p);\\n\\t\\t\\t\\twordBarrierRequired = false;\\n\\t\\t\\t}\\n\\t\\t\\tp += run.prefix.length;\\n\\t\\t}\\n\\t\\tif (oldFilter[p] !== '['\\n\\t\\t|| (oldFilter[p+1] === '[' && run.operators.length === 1)) {\\n\\t\\t\\t// It's a string title\\n\\t\\t\\tvar text = run.operators[0].operands[0].text,\\n\\t\\t\\t\\tend,\\n\\t\\t\\t\\told;\\n\\t\\t\\tswitch (oldFilter[p]) {\\n\\t\\t\\tcase \\\"'\\\":\\n\\t\\t\\tcase '\\\"':\\n\\t\\t\\t\\t// p + 1 to skip the first quote\\n\\t\\t\\t\\t// indexOf() + 1 to skip the last\\n\\t\\t\\t\\tend = oldFilter.indexOf(oldFilter[p], p+1) + 1;\\n\\t\\t\\t\\told = oldFilter.substring(p+1, end-1);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase '[':\\n\\t\\t\\t\\tend = oldFilter.indexOf(']', p);\\n\\t\\t\\t\\told = oldFilter.substring(p+2, end);\\n\\t\\t\\t\\t// +2 to get past the ']]'\\n\\t\\t\\t\\tend += 2;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tend = skipWord(oldFilter, p);\\n\\t\\t\\t\\told = oldFilter.substring(p, end);\\n\\t\\t\\t}\\n\\t\\t\\tif (old !== text) {\\n\\t\\t\\t\\tvar wrapped = wrapTitle(text, oldFilter[p] !== \\\"[\\\" ? oldFilter[p] : '', options);\\n\\t\\t\\t\\tif (wrapped !== undefined) {\\n\\t\\t\\t\\t\\t// This is a no-quote title. If breathing room is required,\\n\\t\\t\\t\\t\\t// add it. Also, we may need breathing room after it.\\n\\t\\t\\t\\t\\tif (wordBarrierRequired && wrapped[0] !== \\\"[\\\") {\\n\\t\\t\\t\\t\\t\\trelinker.add(' ', p, p);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\trelinker.add(wrapped, p, end);\\n\\t\\t\\t\\t\\twordBarrierRequired = wrapped === text;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\trelinker.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif (wordBarrierRequired && oldFilter[p] !== \\\"[\\\") {\\n\\t\\t\\t\\t\\trelinker.add(' ', p, p);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\twordBarrierRequired = oldFilter.indexOf(text) === p;\\n\\t\\t\\t}\\n\\t\\t\\tp = end;\\n\\t\\t} else {\\n\\t\\t\\twordBarrierRequired = false;\\n\\t\\t\\tp++;\\n\\t\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\t\\tvar start = p;\\n\\t\\t\\t\\tfor (var index = 0; index < operator.operands.length; index++) {\\n\\t\\t\\t\\t\\tvar operand = operator.operands[index],\\n\\t\\t\\t\\t\\t\\tskip = false;\\n\\t\\t\\t\\t\\t\\tend,\\n\\t\\t\\t\\t\\t\\twrapped;\\n\\t\\t\\t\\t\\tif (operand.indirect) {\\n\\t\\t\\t\\t\\t\\tp = oldFilter.indexOf('{', p);\\n\\t\\t\\t\\t\\t\\tend = oldFilter.indexOf('}', p+1);\\n\\t\\t\\t\\t\\t\\twrapped = '{' + operand.text + '}';\\n\\t\\t\\t\\t\\t} else if (operand.variable) {\\n\\t\\t\\t\\t\\t\\tp = oldFilter.indexOf('<', p);\\n\\t\\t\\t\\t\\t\\tend = oldFilter.indexOf('>', p+1);\\n\\t\\t\\t\\t\\t\\twrapped = '<' + operand.text + '>';\\n\\t\\t\\t\\t\\t} else if (operator.regexp) {\\n\\t\\t\\t\\t\\t\\tp = oldFilter.indexOf('/', p);\\n\\t\\t\\t\\t\\t\\tend = oldFilter.indexOf('/', p+1);\\n\\t\\t\\t\\t\\t\\tskip = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tp = oldFilter.indexOf('[', p);\\n\\t\\t\\t\\t\\t\\tend = oldFilter.indexOf(']', p+1);\\n\\t\\t\\t\\t\\t\\tif (!canBePrettyOperand(operand.text) || (options.inBraces && operand.text.indexOf('}}}') >= 0)) {\\n\\t\\t\\t\\t\\t\\t\\tskip = true;\\n\\t\\t\\t\\t\\t\\t\\trelinker.impossible = true;\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\twrapped = '[' + operand.text + ']';\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tend++; // skip the closing brace\\n\\t\\t\\t\\t\\tif (index === 0) {\\n\\t\\t\\t\\t\\t\\t// If this is the first operand, let's first recreate the operator signature in case it was changed at all.\\n\\t\\t\\t\\t\\t\\trelinker.add(operatorSignature(operator, oldFilter, start), start, p);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif (!skip) {\\n\\t\\t\\t\\t\\t\\trelinker.add(wrapped, p, end);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tp = end;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tp++; // Skip the closing brace;\\n\\t\\t}\\n\\t}\\n\\treturn relinker;\\n};\\n\\nfunction operatorSignature(operator, oldText, start) {\\n\\t// If it's a title operand, try to determine if it was a shorthand.\\n\\tvar prefix = operator.prefix || '';\\n\\tvar signature = prefix + ((operator.operator === 'title' && oldText[start + prefix.length] !== 't')? '': operator.operator);\\n\\tif (operator.suffix) {\\n\\t\\tsignature += ':' + operator.suffix;\\n\\t}\\n\\treturn signature;\\n}\\n\\nfunction skipWord(source,pos) {\\n\\tvar c;\\n\\twhile(true) {\\n\\t\\tc = source.charAt(pos);\\n\\t\\tif((c !== \\\"\\\") && (c !== \\\" \\\") && (c !== \\\"\\\\f\\\") && (c !== \\\"\\\\n\\\")\\n\\t\\t&& (c !== \\\"\\\\r\\\") && (c !== \\\"\\\\t\\\")\\n\\t\\t&& (c !== \\\"\\\\v\\\")&& (c !== \\\"\\\\u00a0\\\") // Ignores obscure unicode spaces\\n\\t\\t&& (c !== \\\"[\\\") && (c !== \\\"]\\\")) { // Ignore brackets\\n\\t\\t\\tpos++;\\n\\t\\t} else {\\n\\t\\t\\treturn pos;\\n\\t\\t}\\n\\t}\\n};\\n\\n/* Same as this.relink, except this has the added constraint that the return\\n * value must be able to be wrapped in curly braces. (i.e. '{{{...}}}')\\n */\\nexports.relinkInBraces = function(filter, fromTitle, toTitle, options) {\\n\\tvar braceOptions = $tw.utils.extend({inBraces: true}, options);\\n\\tvar entry = this.relink(filter, fromTitle, toTitle, braceOptions);\\n\\tif (entry && entry.output && !canBeInBraces(entry.output)) {\\n\\t\\t// It was possible, but it won't fit in braces, so we must give up\\n\\t\\tdelete entry.output;\\n\\t\\tentry.impossible = true;\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction wrapTitle(value, preference, options) {\\n\\tvar choices = {\\n\\t\\t\\\"\\\": function(v) {return /^[^\\\\s\\\\[\\\\]\\\\}\\\\+\\\\-\\\\~\\\\=\\\\:][^\\\\s\\\\[\\\\]]*[^\\\\s\\\\[\\\\]\\\\}]$/.test(v); },\\n\\t\\t\\\"[\\\": canBePrettyOperand,\\n\\t\\t\\\"'\\\": function(v) {return v.indexOf(\\\"'\\\") < 0; },\\n\\t\\t'\\\"': function(v) {return v.indexOf('\\\"') < 0; }\\n\\t};\\n\\tvar wrappers = {\\n\\t\\t\\\"\\\": function(v) {return v; },\\n\\t\\t\\\"[\\\": function(v) {return \\\"[[\\\"+v+\\\"]]\\\"; },\\n\\t\\t\\\"'\\\": function(v) {return \\\"'\\\"+v+\\\"'\\\"; },\\n\\t\\t'\\\"': function(v) {return '\\\"'+v+'\\\"'; }\\n\\t};\\n\\tif (options.inBraces && value.indexOf('}}}') >= 0) {\\n\\t\\t// In this particular case, it can't be wrapped in this filter,\\n\\t\\t// even if it would have worked within the context of the filter itself\\n\\t\\treturn undefined;\\n\\t}\\n\\tif (!choices[preference]) {\\n\\t\\tpreference = '';\\n\\t}\\n\\tif (choices[preference](value)) {\\n\\t\\treturn wrappers[preference](value);\\n\\t}\\n\\tfor (var quote in choices) {\\n\\t\\tif (choices[quote](value)) {\\n\\t\\t\\treturn wrappers[quote](value);\\n\\t\\t}\\n\\t}\\n\\t// No quotes will work on this\\n\\treturn undefined;\\n}\\n\\nfunction canBePrettyOperand(value) {\\n\\treturn value.indexOf(']') < 0;\\n};\\n\\nfunction canBeInBraces(value) {\\n\\treturn value.indexOf(\\\"}}}\\\") < 0 && value.substr(value.length-2) !== '}}';\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/filter.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/list.js\":{\"text\":\"/*\\\\\\nThis manages replacing titles that occur within stringLists, like,\\n\\nTiddlerA [[Tiddler with spaces]] [[Another Title]]\\n\\\\*/\\n\\nvar titleRelinker = require('./title.js');\\n\\nexports.name = \\\"list\\\";\\n\\nexports.report = function(value, callback, options) {\\n\\tvar list = $tw.utils.parseStringArray(value);\\n\\tfor (var i = 0; i < list.length; i++) {\\n\\t\\ttitleRelinker.report(list[i], callback, options);\\n\\t}\\n};\\n\\n/**Returns undefined if no change was made.\\n * Parameter: value can literally be a list. This can happen for builtin\\n * types 'list' and 'tag'. In those cases, we also return list.\\n */\\nexports.relink = function(value, fromTitle, toTitle, options) {\\n\\tvar isModified = false,\\n\\t\\timpossible = false,\\n\\t\\tactualList = false,\\n\\t\\tentry,\\n\\t\\tlist;\\n\\tif (typeof value !== \\\"string\\\") {\\n\\t\\t// Not a string. Must be a list.\\n\\t\\t// clone it, since we may make changes to this possibly\\n\\t\\t// frozen list.\\n\\t\\tlist = (value || []).slice(0);\\n\\t\\tactualList = true;\\n\\t} else {\\n\\t\\tlist = $tw.utils.parseStringArray(value || \\\"\\\");\\n\\t}\\n\\t$tw.utils.each(list,function (title,index) {\\n\\t\\tvar titleEntry = titleRelinker.relink(title, fromTitle, toTitle, options);\\n\\t\\tif (titleEntry) {\\n\\t\\t\\tif (titleEntry.output) {\\n\\t\\t\\t\\tlist[index] = titleEntry.output;\\n\\t\\t\\t\\tisModified = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (titleEntry.impossible) {\\n\\t\\t\\t\\timpossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tif (isModified || impossible) {\\n\\t\\tentry = {name: \\\"list\\\", impossible: impossible};\\n\\t\\t// It doesn't parse correctly alone, it won't\\n\\t\\t// parse correctly in any list.\\n\\t\\tif (!canBeListItem(toTitle)) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t} else if (actualList) {\\n\\t\\t\\tentry.output = list;\\n\\t\\t} else if (isModified) {\\n\\t\\t\\tentry.output = $tw.utils.stringifyList(list);\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction canBeListItem(value) {\\n\\tvar regexp = /\\\\]\\\\][^\\\\S\\\\xA0]/m;\\n\\treturn !regexp.test(value);\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/list.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/reference.js\":{\"text\":\"/*\\\\\\nThis manages replacing titles that occur inside text references,\\n\\ntiddlerTitle\\ntiddlerTitle!!field\\n!!field\\ntiddlerTitle##propertyIndex\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar referenceOperators = utils.getModulesByTypeAsHashmap('relinkreference', 'name');\\n\\nexports.name = \\\"reference\\\";\\n\\nexports.report = function(value, callback, options) {\\n\\tif (value) {\\n\\t\\tvar reference = $tw.utils.parseTextReference(value);\\n\\t\\tfor (var operator in referenceOperators) {\\n\\t\\t\\treferenceOperators[operator].report(reference, callback, options);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(value, fromTitle, toTitle, options) {\\n\\tvar entry;\\n\\tif (value) {\\n\\t\\tvar impossible = false;\\n\\t\\tvar modified = false;\\n\\t\\tvar reference = $tw.utils.parseTextReference(value);\\n\\t\\tfor (var operator in referenceOperators) {\\n\\t\\t\\tvar result = referenceOperators[operator].relink(reference, fromTitle, toTitle, options);\\n\\t\\t\\tif (result) {\\n\\t\\t\\t\\tif (result.impossible) {\\n\\t\\t\\t\\t\\timpossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (result.output) {\\n\\t\\t\\t\\t\\tmodified = true;\\n\\t\\t\\t\\t\\treference = result.output;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (modified) {\\n\\t\\t\\tif (exports.canBePretty(reference.title)) {\\n\\t\\t\\t\\tentry = {output: exports.toString(reference)};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\timpossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (impossible) {\\n\\t\\t\\tentry = entry || {};\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\n/* Same as this.relink, except this has the added constraint that the return\\n * value must be able to be wrapped in curly braces.\\n */\\nexports.relinkInBraces = function(value, fromTitle, toTitle, options) {\\n\\tvar log = this.relink(value, fromTitle, toTitle, options);\\n\\tif (log && log.output && log.output.indexOf(\\\"}\\\") >= 0) {\\n\\t\\tdelete log.output;\\n\\t\\tlog.impossible = true;\\n\\t}\\n\\treturn log;\\n};\\n\\nexports.toString = function(textReference) {\\n\\tvar title = textReference.title || '';\\n\\tif (textReference.field) {\\n\\t\\treturn title + \\\"!!\\\" + textReference.field;\\n\\t} else if (textReference.index) {\\n\\t\\treturn title + \\\"##\\\" + textReference.index;\\n\\t}\\n\\treturn title;\\n};\\n\\nexports.canBePretty = function(title) {\\n\\treturn !title || (title.indexOf(\\\"!!\\\") < 0 && title.indexOf(\\\"##\\\") < 0);\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/reference.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/title.js\":{\"text\":\"/*\\\\\\nThis specifies logic for replacing a single-tiddler field. This is the\\nsimplest kind of field type. One title swaps out for the other.\\n\\\\*/\\n\\n// NOTE TO MODDERS: If you're making your own field types, the name must be\\n// alpha characters only.\\nexports.name = 'title';\\n\\nexports.report = function(value, callback, options) {\\n\\tif (value && !containsPlaceholder(value, options)) {\\n\\t\\tcallback(value);\\n\\t}\\n};\\n\\n/**Returns undefined if no change was made.\\n */\\nexports.relink = function(value, fromTitle, toTitle, options) {\\n\\tif (value !== fromTitle || containsPlaceholder(value, options)) {\\n\\t\\treturn undefined;\\n\\t} else if (containsPlaceholder(toTitle, options)) {\\n\\t\\treturn {impossible: true};\\n\\t} else {\\n\\t\\treturn {output: toTitle};\\n\\t}\\n};\\n\\nfunction containsPlaceholder(value, options) {\\n\\tvar dollar = value.indexOf('$');\\n\\t// Quick test. If no dollar signs. No placeholders.\\n\\tif (dollar >= 0 && value.indexOf('$', dollar+1)) {\\n\\t\\t// We potentially have a placeholder\\n\\t\\tvar placeholders = options.settings.getPlaceholderList();\\n\\t\\tif (placeholders) {\\n\\t\\t\\tif (value.search(/\\\\$\\\\([^$\\\\)]+\\\\)\\\\$/) >= 0) {\\n\\t\\t\\t\\t// A global placeholder exists\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tfor (var name in placeholders) {\\n\\t\\t\\t\\tif (value.indexOf('$' + name + '$') >= 0) {\\n\\t\\t\\t\\t\\t// Oops. This contains a placeholder.\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// This is legacy support for when 'title' was known as 'field'\\nexports.aliases = ['field', 'yes'];\\n\",\"module-type\":\"relinkfieldtype\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/title.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/wikitext.js\":{\"text\":\"/*\\\\\\nThis specifies logic for updating filters to reflect title changes.\\n\\\\*/\\n\\nexports.name = \\\"wikitext\\\";\\n\\nvar type = 'text/vnd.tiddlywiki';\\n\\nvar WikiParser = require(\\\"$:/core/modules/parsers/wikiparser/wikiparser.js\\\")[type];\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder.js\\\");\\nvar utils = require('$:/plugins/flibbles/relink/js/utils');\\nvar WikitextContext = utils.getContext('wikitext');\\n\\nfunction collectRules() {\\n\\tvar rules = Object.create(null);\\n\\t$tw.modules.forEachModuleOfType(\\\"relinkwikitextrule\\\", function(title, exports) {\\n\\t\\tvar names = exports.name;\\n\\t\\tif (typeof names === \\\"string\\\") {\\n\\t\\t\\tnames = [names];\\n\\t\\t}\\n\\t\\tif (names !== undefined) {\\n\\t\\t\\tfor (var i = 0; i < names.length; i++) {\\n\\t\\t\\t\\trules[names[i]] = exports;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn rules;\\n}\\n\\nfunction WikiWalker(type, text, options) {\\n\\tthis.options = options;\\n\\tif (!this.relinkMethodsInjected) {\\n\\t\\tvar rules = collectRules();\\n\\t\\t$tw.utils.each([this.pragmaRuleClasses, this.blockRuleClasses, this.inlineRuleClasses], function(classList) {\\n\\t\\t\\tfor (var name in classList) {\\n\\t\\t\\t\\tif (rules[name]) {\\n\\t\\t\\t\\t\\tdelete rules[name].name;\\n\\t\\t\\t\\t\\t$tw.utils.extend(classList[name].prototype, rules[name]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tWikiWalker.prototype.relinkMethodsInjected = true;\\n\\t}\\n\\tthis.context = new WikitextContext(options.settings);\\n\\tWikiParser.call(this, type, text, options);\\n};\\n\\nWikiWalker.prototype = Object.create(WikiParser.prototype);\\n\\nWikiWalker.prototype.parsePragmas = function() {\\n\\tvar entries = this.tree;\\n\\twhile (true) {\\n\\t\\tthis.skipWhitespace();\\n\\t\\tif (this.pos >= this.sourceLength) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tvar nextMatch = this.findNextMatch(this.pragmaRules, this.pos);\\n\\t\\tif (!nextMatch || nextMatch.matchIndex !== this.pos) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tentries.push.apply(entries, this.handleRule(nextMatch));\\n\\t}\\n\\treturn entries;\\n};\\n\\nWikiWalker.prototype.parseInlineRunUnterminated = function(options) {\\n\\tvar entries = [];\\n\\tvar nextMatch = this.findNextMatch(this.inlineRules, this.pos);\\n\\twhile (this.pos < this.sourceLength && nextMatch) {\\n\\t\\tif (nextMatch.matchIndex > this.pos) {\\n\\t\\t\\tthis.pos = nextMatch.matchIndex;\\n\\t\\t}\\n\\t\\tentries.push.apply(entries, this.handleRule(nextMatch));\\n\\t\\tnextMatch = this.findNextMatch(this.inlineRules, this.pos);\\n\\t}\\n\\tthis.pos = this.sourceLength;\\n\\treturn entries;\\n};\\n\\nWikiWalker.prototype.parseInlineRunTerminated = function(terminatorRegExp,options) {\\n return this.parseInlineRunTerminatedExtended(terminatorRegExp,options).tree;\\n};\\n\\nWikiWalker.prototype.parseInlineRunTerminatedExtended = function(terminatorRegExp,options) {\\n\\tvar entries = [];\\n\\toptions = options || {};\\n\\tterminatorRegExp.lastIndex = this.pos;\\n\\tvar terminatorMatch = terminatorRegExp.exec(this.source);\\n\\tvar inlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\twhile(this.pos < this.sourceLength && (terminatorMatch || inlineRuleMatch)) {\\n\\t\\tif (terminatorMatch) {\\n\\t\\t\\tif (!inlineRuleMatch || inlineRuleMatch.matchIndex >= terminatorMatch.index) {\\n\\t\\t\\t\\tthis.pos = terminatorMatch.index;\\n\\t\\t\\t\\tif (options.eatTerminator) {\\n\\t\\t\\t\\t\\tthis.pos += terminatorMatch[0].length;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn {\\n\\t\\t\\t\\t\\tmatch: terminatorMatch,\\n\\t\\t\\t\\t\\ttree: entries\\n\\t\\t\\t\\t};\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (inlineRuleMatch) {\\n\\t\\t\\tif (inlineRuleMatch.matchIndex > this.pos) {\\n\\t\\t\\t\\tthis.pos = inlineRuleMatch.matchIndex;\\n\\t\\t\\t}\\n\\t\\t\\tentries.push.apply(entries, this.handleRule(inlineRuleMatch));\\n\\t\\t\\tinlineRuleMatch = this.findNextMatch(this.inlineRules, this.pos);\\n\\t\\t\\tterminatorRegExp.lastIndex = this.pos;\\n\\t\\t\\tterminatorMatch = terminatorRegExp.exec(this.source);\\n\\t\\t}\\n\\t}\\n\\tthis.pos = this.sourceLength;\\n\\treturn {tree: entries};\\n\\n};\\n\\nWikiWalker.prototype.parseBlock = function(terminatorRegExpString) {\\n\\tvar terminatorRegExp = terminatorRegExpString ? new RegExp(\\\"(\\\" + terminatorRegExpString + \\\"|\\\\\\\\r?\\\\\\\\n\\\\\\\\r?\\\\\\\\n)\\\",\\\"mg\\\") : /(\\\\r?\\\\n\\\\r?\\\\n)/mg;\\n\\tthis.skipWhitespace();\\n\\tif (this.pos >= this.sourceLength) {\\n\\t\\treturn [];\\n\\t}\\n\\tvar nextMatch = this.findNextMatch(this.blockRules, this.pos);\\n\\tif(nextMatch && nextMatch.matchIndex === this.pos) {\\n\\t\\treturn this.handleRule(nextMatch);\\n\\t}\\n\\treturn this.parseInlineRun(terminatorRegExp);\\n};\\n\\nWikiWalker.prototype.amendRules = function(type, names) {\\n\\tvar only;\\n\\tWikiParser.prototype.amendRules.call(this, type, names);\\n\\tif (type === \\\"only\\\") {\\n\\t\\tonly = true;\\n\\t} else if (type === \\\"except\\\") {\\n\\t\\tonly = false;\\n\\t} else {\\n\\t\\treturn;\\n\\t}\\n\\tif (only !== (names.indexOf(\\\"html\\\") >= 0)) {\\n\\t\\tthis.context.allowWidgets = disabled;\\n\\t}\\n\\tif (only !== (names.indexOf(\\\"prettylink\\\") >= 0)) {\\n\\t\\tthis.context.allowPrettylinks = disabled;\\n\\t}\\n};\\n\\nfunction disabled() { return false; };\\n\\n/// Reporter\\n\\nfunction WikiReporter(type, text, callback, options) {\\n\\tthis.callback = callback;\\n\\tWikiWalker.call(this, type, text, options);\\n};\\n\\nWikiReporter.prototype = Object.create(WikiWalker.prototype);\\n\\nWikiReporter.prototype.handleRule = function(ruleInfo) {\\n\\tif (ruleInfo.rule.report) {\\n\\t\\truleInfo.rule.report(this.source, this.callback, this.options);\\n\\t} else {\\n\\t\\tif (ruleInfo.rule.matchRegExp !== undefined) {\\n\\t\\t\\tthis.pos = ruleInfo.rule.matchRegExp.lastIndex;\\n\\t\\t} else {\\n\\t\\t\\t// We can't easily determine the end of this\\n\\t\\t\\t// rule match. We'll \\\"parse\\\" it so that\\n\\t\\t\\t// parser.pos gets updated, but we throw away\\n\\t\\t\\t// the results.\\n\\t\\t\\truleInfo.rule.parse();\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.report = function(wikitext, callback, options) {\\n\\t// Unfortunately it's the side-effect of creating this that reports.\\n\\tnew WikiReporter(options.type, wikitext, callback, options);\\n};\\n\\n/// Relinker\\n\\nfunction WikiRelinker(type, text, fromTitle, toTitle, options) {\\n\\tthis.fromTitle = fromTitle;\\n\\tthis.toTitle = toTitle;\\n\\tWikiWalker.call(this, type, text, options);\\n};\\n\\nWikiRelinker.prototype = Object.create(WikiWalker.prototype);\\n\\nWikiRelinker.prototype.handleRule = function(ruleInfo) {\\n\\tif (ruleInfo.rule.relink) {\\n\\t\\tvar start = ruleInfo.matchIndex;\\n\\t\\tvar newEntry = ruleInfo.rule.relink(this.source, this.fromTitle, this.toTitle, this.options);\\n\\t\\tif (newEntry !== undefined) {\\n\\t\\t\\tif (newEntry.output) {\\n\\t\\t\\t\\tnewEntry.start = start;\\n\\t\\t\\t\\tnewEntry.end = this.pos;\\n\\t\\t\\t}\\n\\t\\t\\treturn [newEntry];\\n\\t\\t}\\n\\t} else {\\n\\t\\tif (ruleInfo.rule.matchRegExp !== undefined) {\\n\\t\\t\\tthis.pos = ruleInfo.rule.matchRegExp.lastIndex;\\n\\t\\t} else {\\n\\t\\t\\t// We can't easily determine the end of this\\n\\t\\t\\t// rule match. We'll \\\"parse\\\" it so that\\n\\t\\t\\t// parser.pos gets updated, but we throw away\\n\\t\\t\\t// the results.\\n\\t\\t\\truleInfo.rule.parse();\\n\\t\\t}\\n\\t}\\n\\treturn [];\\n};\\n\\nexports.relink = function(wikitext, fromTitle, toTitle, options) {\\n\\tvar parser = new WikiRelinker(options.type, wikitext, fromTitle, toTitle, options),\\n\\t\\twikiEntry = undefined;\\n\\t// Now that we have an array of entries, let's produce the wikiText entry\\n\\t// containing them all.\\n\\tif (parser.tree.length > 0) {\\n\\t\\tvar builder = new Rebuilder(wikitext);\\n\\t\\twikiEntry = {};\\n\\t\\tfor (var i = 0; i < parser.tree.length; i++) {\\n\\t\\t\\tvar entry = parser.tree[i];\\n\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\twikiEntry.impossible = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\tbuilder.add(entry.output, entry.start, entry.end);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\twikiEntry.output = builder.results();\\n\\t}\\n\\treturn wikiEntry;\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/wikitext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/filter/function.js\":{\"text\":\"/*\\\\\\n\\nHandles reporting of [function[]] operators.\\n\\n\\\\*/\\n\\nexports.name = \\\"function\\\";\\n\\nexports.report = function(filterParseTree, callback, options) {\\n\\tforEachOperand(filterParseTree, options, function(name, operand, handler, index) {\\n\\t\\thandler.report(operand.text, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '[function[' + name + ']' + ','.repeat(index) + '[' + (blurb || '') + ']]', style);\\n\\t\\t}, options);\\n\\t});\\n};\\n\\nexports.relink = function(filterParseTree, fromTitle, toTitle, options) {\\n\\tvar output = {};\\n\\tforEachOperand(filterParseTree, options, function(name, operand, handler, index) {\\n\\t\\tvar entry = handler.relink(operand.text, fromTitle, toTitle, options);\\n\\t\\tif (entry) {\\n\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\toutput.changed = true;\\n\\t\\t\\t\\toperand.text = entry.output;\\n\\t\\t\\t}\\n\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn output;\\n};\\n\\n// Calls the callback for every applicable operand of a function operator\\nfunction forEachOperand(filterParseTree, options, callback) {\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tvar titleOp = operator.operands[0];\\n\\t\\t\\tif (operator.operator === \\\"function\\\"\\n\\t\\t\\t&& !titleOp.variable && !titleOp.indirect\\n\\t\\t\\t&& titleOp.text) {\\n\\t\\t\\t\\tvar funcName = titleOp.text;\\n\\t\\t\\t\\tvar managedMacro = options.settings.getMacro(funcName);\\n\\t\\t\\t\\tif (managedMacro) {\\n\\t\\t\\t\\t\\tvar def = options.settings.getMacroDefinition(funcName);\\n\\t\\t\\t\\t\\tif (def && def.isFunctionDefinition) {\\n\\t\\t\\t\\t\\t\\tfor (var index = 1; index < operator.operands.length; index++) {\\n\\t\\t\\t\\t\\t\\t\\tvar operand = operator.operands[index];\\n\\t\\t\\t\\t\\t\\t\\tif (!operand.variable && !operand.indirect\\n\\t\\t\\t\\t\\t\\t\\t&& def.params.length >= index) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar paramName = def.params[index-1].name;\\n\\t\\t\\t\\t\\t\\t\\t\\tvar handler = managedMacro[paramName];\\n\\t\\t\\t\\t\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tcallback(funcName, operand, handler, index);\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkfilter\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/filter/function.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/filter/operators.js\":{\"text\":\"/*\\\\\\n\\nHandles reporting of filter operators.\\n\\n\\\\*/\\n\\nvar refHandler = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/reference\\\");\\nvar titleHandler = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/title\\\");\\nvar macrocall = require(\\\"$:/plugins/flibbles/relink/js/utils/macrocall.js\\\");\\n\\nexports.name = \\\"operators\\\";\\n\\nexports.report = function(filterParseTree, callback, options) {\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tfor (var index = 1; index <= operator.operands.length; index++) {\\n\\t\\t\\t\\tvar operand = operator.operands[index-1];\\n\\t\\t\\t\\tvar display = makeDisplay(operator);\\n\\t\\t\\t\\t// Now add any commas if this is a later operand\\n\\t\\t\\t\\tfor (var x = 1; x < index; x++) {\\n\\t\\t\\t\\t\\tdisplay += ',';\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (operand.indirect) {\\n\\t\\t\\t\\t\\trefHandler.report(operand.text, function(title, blurb, style) {\\n\\t\\t\\t\\t\\t\\tcallback(title, (run.prefix || '') + '[' + display + '{' + (blurb || '') + '}]', style);\\n\\t\\t\\t\\t\\t}, options);\\n\\t\\t\\t\\t} else if (operand.variable) {\\n\\t\\t\\t\\t\\tvar macro = $tw.utils.parseMacroInvocation(\\\"<<\\\"+operand.text+\\\">>\\\", 0);\\n\\t\\t\\t\\t\\tif (macro) {\\n\\t\\t\\t\\t\\t\\tmacrocall.report(options.settings, macro, function(title, blurb, style) {\\n\\t\\t\\t\\t\\t\\t\\tcallback(title, (run.prefix || '') + '[' + display + '<' + blurb + '>]', style);\\n\\t\\t\\t\\t\\t\\t}, options);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t} else if (operand.text) {\\n\\t\\t\\t\\t\\tvar handler = fieldType(options.settings, operator, index, options)\\n\\t\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\t\\thandler.report(operand.text, function(title, blurb, style) {\\n\\t\\t\\t\\t\\t\\t\\tif (!isTitleRun(operator) || blurb) {\\n\\t\\t\\t\\t\\t\\t\\t\\tcallback(title, (run.prefix || '') + '[' + display + '[' + (blurb || '') + ']]', style);\\n\\t\\t\\t\\t\\t\\t\\t} else if (j === run.operators.length-1) {\\n\\t\\t\\t\\t\\t\\t\\t\\t// index will always be 1, meaning single operator run,\\n\\t\\t\\t\\t\\t\\t\\t\\t// unless the user is weird. [title[]] ignores\\n\\t\\t\\t\\t\\t\\t\\t\\t// input, so why would it ever not be 1?\\n\\t\\t\\t\\t\\t\\t\\t\\tcallback(title, run.prefix, style);\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\t// Special case: It's a title operator that's\\n\\t\\t\\t\\t\\t\\t\\t\\t// leading a run\\n\\t\\t\\t\\t\\t\\t\\t\\tcallback(title, (run.prefix || '') + '[[]' + makeDisplay(run.operators[j+1]) + '...]', style);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}, options);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(filterParseTree, fromTitle, toTitle, options) {\\n\\tvar output = {};\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tfor (var index = 1; index <= operator.operands.length; index++) {\\n\\t\\t\\t\\tvar operand = operator.operands[index-1],\\n\\t\\t\\t\\t\\tentry = undefined;\\n\\t\\t\\t\\tif (operand.indirect) {\\n\\t\\t\\t\\t\\tentry = refHandler.relinkInBraces(operand.text, fromTitle, toTitle, options);\\n\\t\\t\\t\\t} else if (operand.variable) {\\n\\t\\t\\t\\t\\tentry = relinkMacro(options.settings, operand.text, fromTitle, toTitle, options);\\n\\t\\t\\t\\t} else if (operand.text) {\\n\\t\\t\\t\\t\\tvar handler = fieldType(options.settings, operator, index, options)\\n\\t\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\t\\tentry = handler.relink(operand.text, fromTitle, toTitle, options);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (entry) {\\n\\t\\t\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\t\\t\\toutput.changed = true;\\n\\t\\t\\t\\t\\t\\toperand.text = entry.output;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn output;\\n};\\n\\n// Returns the relinker needed for a given operator, or returns undefined.\\n// This method should really be broken into three modules called relinkfilteroperator\\nfunction fieldType(context, operator, index, options) {\\n\\tvar op = operator.operator,\\n\\t\\tsuffix = operator.suffix,\\n\\t\\trtn = (suffix && context.getOperator(op + ':' + suffix, index))\\n\\t\\t || context.getOperator(op, index);\\n\\tif (!rtn && op === 'contains' && index == 1) {\\n\\t\\t// The 'contains' operator gets special handling\\n\\t\\tsuffix = suffix || 'list';\\n\\t\\tvar handler = context.getFields()[suffix];\\n\\t\\tif (handler && (handler.name === 'list' || handler.name === 'filter')) {\\n\\t\\t\\t// Contains uses the title handler, but only if it's\\n\\t\\t\\t// searching a 'list' or 'filter' field.\\n\\t\\t\\treturn titleHandler;\\n\\t\\t}\\n\\n\\t}\\n\\tif (!rtn && index == 1) {\\n\\t\\t// maybe it's a field operator?\\n\\t\\trtn = (op === 'field' && context.getFields()[suffix])\\n\\t\\t || (!suffix && !options.wiki.getFilterOperators()[op] && context.getFields()[op]);\\n\\t}\\n\\treturn rtn;\\n};\\n\\nfunction makeDisplay(operator) {\\n\\treturn (operator.prefix || '') + (operator.operator === 'title'? '': operator.operator) + (operator.suffix? ':' + operator.suffix: '');\\n};\\n\\nfunction isTitleRun(operator) {\\n\\treturn operator.operator === 'title'\\n\\t\\t&& !operator.prefix\\n\\t\\t&& !operator.suffix;\\n};\\n\\n// Takes care of relinking a macro, as well as putting it back together.\\nfunction relinkMacro(context, text, fromTitle, toTitle, options) {\\n\\ttext = \\\"<<\\\" + text + \\\">>\\\";\\n\\tvar macro = $tw.utils.parseMacroInvocation(text, 0);\\n\\tvar entry;\\n\\tif (macro) {\\n\\t\\tentry = macrocall.relink(context, macro, text, fromTitle, toTitle, false, options);\\n\\t}\\n\\tif (entry && entry.output) {\\n\\t\\tvar string = macrocall.reassemble(entry, text, options);\\n\\t\\tif (string !== undefined) {\\n\\t\\t\\t// We remove the surrounding brackets.\\n\\t\\t\\tstring = string.substring(2, string.length-2);\\n\\t\\t\\t// And we make sure that no brackets remain\\n\\t\\t\\tif (string.indexOf(\\\">\\\") < 0) {\\n\\t\\t\\t\\tentry.output = string;\\n\\t\\t\\t\\treturn entry;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tdelete entry.output;\\n\\t\\tentry.impossible = true;\\n\\t}\\n\\treturn entry;\\n};\\n\",\"module-type\":\"relinkfilter\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/filter/operators.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/fieldtypes/reference/title.js\":{\"text\":\"/*\\\\\\n\\nThis handles the title inside of references.\\n\\n\\\\*/\\n\\nvar titleRelinker = require('../title.js');\\n\\nexports.name = 'title';\\n\\nexports.report = function(reference, callback, options) {\\n\\tvar title = reference.title;\\n\\ttitleRelinker.report(reference.title, function(title, blurb, style) {\\n\\t\\tif (reference.field) {\\n\\t\\t\\tcallback(title, '!!' + reference.field);\\n\\t\\t} else if (reference.index) {\\n\\t\\t\\tcallback(title, '##' + reference.index);\\n\\t\\t} else {\\n\\t\\t\\tcallback(title);\\n\\t\\t}\\n\\t}, options);\\n};\\n\\nexports.relink = function(reference, fromTitle, toTitle, options) {\\n\\tvar entry = titleRelinker.relink($tw.utils.trim(reference.title), fromTitle, toTitle, options);\\n\\tif (entry && entry.output) {\\n\\t\\t// preserve user's whitespace\\n\\t\\treference.title = reference.title.replace(fromTitle, entry.output);\\n\\t\\tentry.output = reference;\\n\\t}\\n\\treturn entry;\\n};\\n\",\"module-type\":\"relinkreference\",\"title\":\"$:/plugins/flibbles/relink/js/fieldtypes/reference/title.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/fields.js\":{\"text\":\"/*\\\\\\n\\nHandles all fields specified in the plugin configuration. Currently, this\\nonly supports single-value fields.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = 'fields';\\n\\nexports.report = function(tiddler, callback, options) {\\n\\tvar fields = options.settings.getFields();\\n\\t$tw.utils.each(fields, function(handler, field) {\\n\\t\\tvar input = tiddler.fields[field];\\n\\t\\tif (input) {\\n\\t\\t\\tif (field === 'list' && tiddler.fields['plugin-type']) {\\n\\t\\t\\t\\t// We have a built-in exception here. plugins use their list\\n\\t\\t\\t\\t// field differently. There's a whole mechanism for what\\n\\t\\t\\t\\t// they actually point to, but let's not bother with that now\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\thandler.report(input, function(title, blurb, style) {\\n\\t\\t\\t\\tif (blurb) {\\n\\t\\t\\t\\t\\tcallback(title, field + ': ' + blurb, style);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tcallback(title, field, style);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, options);\\n\\t\\t}\\n\\t});\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\tvar fields = options.settings.getFields();\\n\\t$tw.utils.each(fields, function(handler, field) {\\n\\t\\tvar input = tiddler.fields[field];\\n\\t\\tif (input) {\\n\\t\\t\\tif (field === 'list' && tiddler.fields['plugin-type']) {\\n\\t\\t\\t\\t// Same deal as above. Skip.\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tvar entry = handler.relink(input, fromTitle, toTitle, options);\\n\\t\\t\\tif (entry !== undefined) {\\n\\t\\t\\t\\tchanges[field] = entry;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\",\"module-type\":\"relinkoperator\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/fields.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/prefix.js\":{\"text\":\"/*\\\\\\n\\nProvides a means for modules to relink tiddlers based on their prefix\\nin a way that's clean and efficient. All modules must have a prefix\\nvalue, and all tiddlers which start with that prefix will be passed to that\\nmodule.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar prefixOperators = utils.getModulesByTypeAsHashmap('relinkprefix', 'prefix');\\nvar startsWith = utils.startsWith;\\n\\n// We only need to register this if there exist any modules.\\n// The core relink doesn't have any of its own.\\nif ($tw.utils.count(prefixOperators) > 0) {\\n\\nexports.name = 'prefix';\\n\\nexports.report = function(tiddler, callback, options) {\\n\\tvar title = tiddler.fields.title;\\n\\tfor (var prefix in prefixOperators) {\\n\\t\\tif (startsWith(title, prefix)) {\\n\\t\\t\\tprefixOperators[prefix].report(tiddler, callback, options);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\tvar title = tiddler.fields.title;\\n\\tfor (var prefix in prefixOperators) {\\n\\t\\tif (startsWith(title, prefix)) {\\n\\t\\t\\tprefixOperators[prefix].relink(tiddler, fromTitle, toTitle, changes, options);\\n\\t\\t}\\n\\t}\\n};\\n\\n}\\n\",\"module-type\":\"relinkoperator\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/prefix.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text.js\":{\"text\":\"/*\\\\\\n\\nDepending on the tiddler type, this will apply textOperators which may\\nrelink titles within the body.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nexports.name = 'text';\\n\\nvar textOperators = utils.getModulesByTypeAsHashmap('relinktext', 'type');\\n\\n// Set up any aliases, mostly for backward-compatibility\\n$tw.utils.each(Object.keys(textOperators), function(type) {\\n\\tvar operator = textOperators[type];\\n\\tif(operator.aliases) {\\n\\t\\tfor(var index = 0; index < operator.aliases.length; index++) {\\n\\t\\t\\ttextOperators[operator.aliases[index]] = operator;\\n\\t\\t}\\n\\t}\\n});\\n\\n// These are deprecated. Don't use them.\\nvar oldTextOperators = utils.getModulesByTypeAsHashmap('relinktextoperator', 'type');\\n\\nexports.report = function(tiddler, callback, options) {\\n\\tif (tiddler.fields.text) {\\n\\t\\tvar type = getType(tiddler, options);\\n\\t\\tif (textOperators[type]) {\\n\\t\\t\\ttextOperators[type].report(tiddler.fields.text, callback, options);\\n\\t\\t} else if (oldTextOperators[type]) {\\n\\t\\t\\t// For the deprecated text operators\\n\\t\\t\\toldTextOperators[type].report(tiddler, callback, options);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\tif (tiddler.fields.text) {\\n\\t\\tvar type = getType(tiddler, options),\\n\\t\\t\\tentry;\\n\\t\\tif (textOperators[type]) {\\n\\t\\t\\tentry = textOperators[type].relink(tiddler.fields.text, fromTitle, toTitle, options);\\n\\t\\t} else if (oldTextOperators[type]) {\\n\\t\\t\\t// For the deprecated text operators\\n\\t\\t\\tentry = oldTextOperators[type].relink(tiddler, fromTitle, toTitle, options);\\n\\t\\t}\\n\\t\\tif (entry) {\\n\\t\\t\\tchanges.text = entry;\\n\\t\\t}\\n\\t}\\n};\\n\\n/* The type of the tiddler is determined based on:\\n * 1. Whether there's an exception specified on it.\\n * 2. The type the tiddler says it is.\\n * 3. Or the default vnd.tiddlywiki type if not specified.\\n */\\nfunction getType(tiddler, options) {\\n\\treturn options.settings.getException(tiddler.fields.title)\\n\\t\\t|| tiddler.fields.type\\n\\t\\t|| \\\"text/vnd.tiddlywiki\\\";\\n};\\n\",\"module-type\":\"relinkoperator\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/filtertext.js\":{\"text\":\"/*\\\\\\n\\nThis relinks tiddlers which contain filters in their body, as oppose to\\nwikitext.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar filterHandler = require(\\\"$:/plugins/flibbles/relink/js/utils\\\").getType('filter');\\n\\nexports.type = 'application/x-tiddler-filter';\\n\\nexports.aliases = ['text/x-tiddler-filter'];\\n\\nexports.report = filterHandler.report;\\nexports.relink = filterHandler.relink;\\n\",\"module-type\":\"relinktext\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/filtertext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/listtext.js\":{\"text\":\"/*\\\\\\n\\nThis relinks tiddlers which contain a tiddler list as their body.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar listHandler = require(\\\"$:/plugins/flibbles/relink/js/utils\\\").getType('list');\\n\\nexports.type = 'application/x-tiddler-list';\\n\\nexports.aliases = ['text/x-tiddler-list'];\\n\\nexports.report = listHandler.report;\\nexports.relink = listHandler.relink;\\n\",\"module-type\":\"relinktext\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/listtext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/referencetext.js\":{\"text\":\"/*\\\\\\n\\nThis relinks tiddlers which contain a tiddler reference as their body.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar refHandler = require(\\\"$:/plugins/flibbles/relink/js/utils\\\").getType('reference');\\n\\nexports.type = 'application/x-tiddler-reference';\\n\\nexports.aliases = ['text/x-tiddler-reference'];\\n\\nexports.report = refHandler.report;\\nexports.relink = refHandler.relink;\\n\",\"module-type\":\"relinktext\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/referencetext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/titletext.js\":{\"text\":\"/*\\\\\\n\\nThis relinks tiddlers which contain a single title as their body.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar titleHandler = require(\\\"$:/plugins/flibbles/relink/js/utils\\\").getType('title');\\n\\nexports.type = 'application/x-tiddler-title';\\n\\nexports.aliases = ['text/x-tiddler-title'];\\n\\nexports.report = titleHandler.report;\\nexports.relink = titleHandler.relink;\\n\",\"module-type\":\"relinktext\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/titletext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext.js\":{\"text\":\"/*\\\\\\n\\nChecks for fromTitle in text. If found, sees if it's relevant,\\nand tries to swap it out if it is.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar wikitextHandler = require('$:/plugins/flibbles/relink/js/utils.js').getType('wikitext');\\n\\nexports.type = 'text/vnd.tiddlywiki';\\n\\nexports.report = wikitextHandler.report;\\nexports.relink = wikitextHandler.relink;\\n\",\"module-type\":\"relinktext\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/code.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles code blocks. Or rather //doesn't// handle them, since we should\\nignore their contents.\\n\\n\\\"`` [[Renamed Title]] ``\\\" will remain unchanged.\\n\\n\\\\*/\\n\\nexports.name = [\\\"codeinline\\\", \\\"codeblock\\\"];\\n\\nexports.relink = function(text) {\\n\\tvar reEnd;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// I'm lazy. This relink method works for both codeblock and codeinline\\n\\tif (this.match[0].length > 2) {\\n\\t\\t// Must be a codeblock\\n\\t\\treEnd = /\\\\r?\\\\n```$/mg;\\n\\t} else {\\n\\t\\t// Must be a codeinline\\n\\t\\treEnd = new RegExp(this.match[1], \\\"mg\\\");\\n\\t}\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(text);\\n\\tif (match) {\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n// Same thing. Just skip the pos ahead.\\nexports.report = exports.relink;\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/code.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/comment.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles comment blocks. Or rather //doesn't// handle them, since we should\\nignore their contents.\\n\\n\\\"<!-- [[Renamed Title]] -->\\\" will remain unchanged.\\n\\n\\\\*/\\n\\nexports.name = [\\\"commentinline\\\", \\\"commentblock\\\"];\\n\\nexports.relink = function(text) {\\n\\tthis.parser.pos = this.endMatchRegExp.lastIndex;\\n\\treturn undefined;\\n};\\n\\nexports.report = exports.relink;\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/comment.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/conditional.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles replacement of conditionals\\n\\n<%if Tiddler %>\\n\\n<%elseif TiddlerB %>\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar filterRelinker = utils.getType('filter');\\n\\nexports.name = \\\"conditional\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\tvar match = this.match;\\n\\tvar keyword = '<%if ';\\n\\tvar reEndString = \\\"\\\\\\\\<\\\\\\\\%\\\\\\\\s*(endif)\\\\\\\\s*\\\\\\\\%\\\\\\\\>|\\\\\\\\<\\\\\\\\%\\\\\\\\s*(else)\\\\\\\\s*\\\\\\\\%\\\\\\\\>|\\\\\\\\<\\\\\\\\%\\\\\\\\s*(elseif)\\\\\\\\s+([\\\\\\\\s\\\\\\\\S]+?)\\\\\\\\%\\\\\\\\>\\\";\\n\\tthis.parser.pos = this.terminateIfMatch.index + this.terminateIfMatch[0].length;\\n\\tvar ex;\\n\\tvar filter = this.parser.source.substring(match.index + match[0].length, this.terminateIfMatch.index);\\n\\twhile (true) {\\n\\t\\tif (filter) {\\n\\t\\t\\tfilterRelinker.report(filter, function(title, blurb, style) {\\n\\t\\t\\t\\tif (blurb) {\\n\\t\\t\\t\\t\\tblurb = keyword + blurb + ' %>';\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tblurb = keyword + '%>';\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(title, blurb, style);\\n\\t\\t\\t}, options);\\n\\t\\t}\\n\\t\\tvar hasLineBreak = doubleLineBreakAtPos(this.parser);\\n\\t\\t// Parse the body looking for else or endif\\n\\t\\tif (hasLineBreak) {\\n\\t\\t\\tex = this.parser.parseBlocksTerminatedExtended(reEndString);\\n\\t\\t} else {\\n\\t\\t\\tvar reEnd = new RegExp(reEndString,\\\"mg\\\");\\n\\t\\t\\tex = this.parser.parseInlineRunTerminatedExtended(reEnd,{eatTerminator: true});\\n\\t\\t}\\n\\t\\tif (ex.match) {\\n\\t\\t\\tmatch = ex.match;\\n\\t\\t\\tif (ex.match[3] === \\\"elseif\\\") {\\n\\t\\t\\t\\tkeyword = '<%elseif ';\\n\\t\\t\\t\\tfilter = ex.match[4];\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t} else if (ex.match[2] === \\\"else\\\") {\\n\\t\\t\\t\\treEndString = \\\"\\\\\\\\<\\\\\\\\%\\\\\\\\s*(endif)\\\\\\\\s*\\\\\\\\%\\\\\\\\>\\\";\\n\\t\\t\\t\\tfilter = null;\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tbreak;\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar conditionEntry = undefined;\\n\\tvar builder = new Rebuilder(text, this.match.index);\\n\\tvar reEndString = \\\"\\\\\\\\<\\\\\\\\%\\\\\\\\s*(endif)\\\\\\\\s*\\\\\\\\%\\\\\\\\>|\\\\\\\\<\\\\\\\\%\\\\\\\\s*(else)\\\\\\\\s*\\\\\\\\%\\\\\\\\>|\\\\\\\\<\\\\\\\\%\\\\\\\\s*(elseif)\\\\\\\\s+([\\\\\\\\s\\\\\\\\S]+?)\\\\\\\\%\\\\\\\\>\\\";\\n\\tthis.parser.pos = this.terminateIfMatch.index + this.terminateIfMatch[0].length;\\n\\tvar ex;\\n\\tvar filter = this.parser.source.substring(this.match.index + this.match[0].length, this.terminateIfMatch.index);\\n\\tvar endOfFilter = this.terminateIfMatch.index;\\n\\twhile (true) {\\n\\t\\tif (filter) {\\n\\t\\t\\tvar entry = filterRelinker.relink(filter, fromTitle, toTitle, options);\\n\\t\\t\\tif (entry) {\\n\\t\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\t\\tif (entry.output.indexOf('%>') > 0) {\\n\\t\\t\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tbuilder.add(entry.output, endOfFilter - filter.length, endOfFilter);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar hasLineBreak = doubleLineBreakAtPos(this.parser);\\n\\t\\t// Parse the body looking for else or endif\\n\\t\\tif (hasLineBreak) {\\n\\t\\t\\tex = this.parser.parseBlocksTerminatedExtended(reEndString);\\n\\t\\t} else {\\n\\t\\t\\tvar reEnd = new RegExp(reEndString,\\\"mg\\\");\\n\\t\\t\\tex = this.parser.parseInlineRunTerminatedExtended(reEnd,{eatTerminator: true});\\n\\t\\t}\\n\\t\\tfor (var i = 0; i < ex.tree.length; i++) {\\n\\t\\t\\tvar child = ex.tree[i];\\n\\t\\t\\tif (child.output) {\\n\\t\\t\\t\\tbuilder.add(child.output, child.start, child.end);\\n\\t\\t\\t}\\n\\t\\t\\tif (child.impossible) {\\n\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (ex.match) {\\n\\t\\t\\tif (ex.match[3] === \\\"elseif\\\") {\\n\\t\\t\\t\\tfilter = ex.match[4];\\n\\t\\t\\t\\tendOfFilter = ex.match.index + ex.match[0].length - 2;\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t} else if (ex.match[2] === \\\"else\\\") {\\n\\t\\t\\t\\tfilter = null;\\n\\t\\t\\t\\treEndString = \\\"\\\\\\\\<\\\\\\\\%\\\\\\\\s*(endif)\\\\\\\\s*\\\\\\\\%\\\\\\\\>\\\";\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tbreak;\\n\\t}\\n\\tif (builder.changed() || builder.impossible) {\\n\\t\\tconditionEntry = {\\n\\t\\t\\toutput: builder.results(this.parser.pos),\\n\\t\\t\\timpossible: builder.impossible };\\n\\t}\\n\\treturn conditionEntry;\\n};\\n\\nfunction doubleLineBreakAtPos(parser) {\\n\\treturn !!$tw.utils.parseTokenRegExp(parser.source, parser.pos, /([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/conditional.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/def.js\":{\"text\":\"/*\\\\\\nmodule-type: library\\n\\nThis is a generic def rule that manages both fnprocdef and macrodef.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils\\\");\\nvar VariableContext = utils.getContext('variable');\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar defOperators = utils.getModulesByTypeAsHashmap('relinkdef', 'name');\\n\\nexports.report = function(text, callback, options) {\\n\\t// fnprocdef and macrodef have their own implementations of createDefinition\\n\\t// They create a modifiable object from the respective rule matches.\\n\\tvar definition = this.createDefinition();\\n\\tvar setParseTreeNode = this.parse();\\n\\tvar context = this.parser.context = new VariableContext(this.parser.context, setParseTreeNode[0]);\\n\\t// Parse set the pos pointer, but we don't want to skip the macro body.\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar endMatch = getBodyMatch(this.parser.source, this.parser.pos, definition);\\n\\tif (endMatch) {\\n\\t\\tdefinition.body = endMatch[2];\\n\\t\\toptions.settings = context\\n\\t\\tfor (var operator in defOperators) {\\n\\t\\t\\tdefOperators[operator].report(definition, callback, options);\\n\\t\\t}\\n\\t\\tthis.parser.pos = endMatch.index + endMatch[0].length;\\n\\t}\\n\\tcontext.parameterFocus = false;\\n\\tcontext.placeholderList = undefined;\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\t// fnprocdef and macrodef have their own implementations of createDefinition\\n\\t// They create a modifiable object from the respective rule matches.\\n\\tvar definition = this.createDefinition();\\n\\tvar setParseTreeNode = this.parse(),\\n\\t\\tentry,\\n\\t\\tcontext = this.parser.context = new VariableContext(this.parser.context, setParseTreeNode[0]);\\n\\t// Parse set the pos pointer, but we don't want to skip the macro body.\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar endMatch = getBodyMatch(this.parser.source, this.parser.pos, definition);\\n\\tif (endMatch) {\\n\\t\\tdefinition.body = endMatch[2];\\n\\t\\toptions.settings = context;\\n\\t\\tfor (var operator in defOperators) {\\n\\t\\t\\tvar result = defOperators[operator].relink(definition, fromTitle, toTitle, options);\\n\\t\\t\\tif (result) {\\n\\t\\t\\t\\tentry = entry || {};\\n\\t\\t\\t\\tif (result.output) {\\n\\t\\t\\t\\t\\tentry.output = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (result.impossible) {\\n\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.parser.pos = endMatch.index + endMatch[0].length;\\n\\t\\tif (entry && entry.output) {\\n\\t\\t\\tentry.output = reassembleSignature(definition, this.match[0]) + endMatch[1] + definition.body + endMatch[0];\\n\\t\\t}\\n\\t}\\n\\tcontext.parameterFocus = false;\\n\\tcontext.placeholderList = undefined;\\n\\treturn entry;\\n};\\n\\nfunction reassembleSignature(definition, text) {\\n\\t// Reconstruct the definition. Might be tricky because we need to preserve whitespace within the parameters.\\n\\tvar builder = new Rebuilder(text);\\n\\tbuilder.add(definition.type, 1, text.search(/[^\\\\w\\\\\\\\]/));\\n\\tvar pos = builder.index;\\n\\tbuilder.add(definition.name, skipWhitespace(text, pos), text.indexOf('(', pos));\\n\\tpos = builder.index;\\n\\tif (definition.parameters) {\\n\\t\\tbuilder.add(definition.parameters, skipWhitespace(text, pos+1), text.indexOf(')'));\\n\\t}\\n\\treturn builder.results();\\n};\\n\\nfunction skipWhitespace(text, pos) {\\n\\treturn text.substr(pos).search(/\\\\S/)+pos;\\n};\\n\\n// Return another match for the body, but tooled uniquely\\n// m[1] = whitespace before body\\n// m[2] = body\\n// m.index + m[0].length -> end of match\\nfunction getBodyMatch(text, pos, definition) {\\n\\tvar whitespace,\\n\\t\\tvalueRegExp;\\n\\tif (definition.multiline) {\\n\\t\\tvalueRegExp = new RegExp(\\\"\\\\\\\\r?\\\\\\\\n[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*\\\\\\\\\\\\\\\\end[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*(?:\\\" + $tw.utils.escapeRegExp(definition.name) + \\\")?(?:\\\\\\\\r?\\\\\\\\n|$)\\\", \\\"mg\\\");\\n\\t\\twhitespace = '';\\n\\t} else {\\n\\t\\tvalueRegExp = /(?:\\\\r?\\\\n|$)/mg;\\n\\t\\tvar newPos = $tw.utils.skipWhiteSpace(text, pos);\\n\\t\\twhitespace = text.substring(pos, newPos);\\n\\t\\tpos = newPos;\\n\\t}\\n\\tvalueRegExp.lastIndex = pos;\\n\\tvar match = valueRegExp.exec(text);\\n\\tif (match) {\\n\\t\\tmatch[1] = whitespace;\\n\\t\\tmatch[2] = text.substring(pos, match.index);\\n\\t}\\n\\treturn match;\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/def.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/filteredtransclude.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles replacement of filtered transclusions in wiki text like,\\n\\n{{{ [tag[docs]] }}}\\n{{{ [tag[docs]] |tooltip}}}\\n{{{ [tag[docs]] ||TemplateTitle}}}\\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\\n\\nThis renames both the list and the template field.\\n\\n\\\\*/\\n\\nexports.name = ['filteredtranscludeinline', 'filteredtranscludeblock'];\\n\\nvar filterHandler = require(\\\"$:/plugins/flibbles/relink/js/utils\\\").getType('filter');\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.report = function(text, callback, options) {\\n\\tvar m = this.match,\\n\\t\\tfilter = m[1],\\n\\t\\ttemplate = $tw.utils.trim(m[3]),\\n\\t\\tappend = template ? '||' + template + '}}}' : '}}}';\\n\\tvar nestedOptions = Object.create(options);\\n\\tnestedOptions.settings = this.parser.context;\\n\\tfilterHandler.report(filter, function(title, blurb, style) {\\n\\t\\tcallback(title, '{{{' + blurb + append, style);\\n\\t}, nestedOptions);\\n\\tif (template) {\\n\\t\\tcallback(template, '{{{' + $tw.utils.trim(filter).replace(/\\\\r?\\\\n/mg, ' ') + '||}}}');\\n\\t}\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar m = this.match,\\n\\t\\tfilter = m[1],\\n\\t\\ttooltip = m[2],\\n\\t\\ttemplate = m[3],\\n\\t\\tstyle = m[4],\\n\\t\\tclasses = m[5],\\n\\t\\tparser = this.parser,\\n\\t\\tentry = {};\\n\\tparser.pos = this.matchRegExp.lastIndex;\\n\\tvar modified = false;\\n\\tvar nestedOptions = Object.create(options);\\n\\tnestedOptions.settings = this.parser.context;\\n\\tvar filterEntry = filterHandler.relink(filter, fromTitle, toTitle, nestedOptions);\\n\\tif (filterEntry !== undefined) {\\n\\t\\tif (filterEntry.output) {\\n\\t\\t\\tfilter = filterEntry.output;\\n\\t\\t\\tmodified = true;\\n\\t\\t}\\n\\t\\tif (filterEntry.impossible) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\n\\tif ($tw.utils.trim(template) === fromTitle) {\\n\\t\\t// preserves user-inputted whitespace\\n\\t\\ttemplate = template.replace(fromTitle, toTitle);\\n\\t\\tmodified = true;\\n\\t}\\n\\tif (!modified) {\\n\\t\\tif (!entry.impossible) {\\n\\t\\t\\treturn undefined;\\n\\t\\t}\\n\\t} else {\\n\\t\\tvar output = this.makeFilteredtransclude(this.parser, filter, tooltip, template, style, classes);\\n\\t\\tif (output === undefined) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t} else {\\n\\t\\t\\t// By copying over the ending newline of the original\\n\\t\\t\\t// text if present, thisrelink method thus works for\\n\\t\\t\\t// both the inline and block rule\\n\\t\\t\\tentry.output = output + utils.getEndingNewline(m[0]);\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\nexports.makeFilteredtransclude = function(parser, filter, tooltip, template, style, classes) {\\n\\tif (canBePretty(filter) && canBePrettyTemplate(template)) {\\n\\t\\treturn prettyList(filter, tooltip, template, style, classes);\\n\\t}\\n\\tif (classes !== undefined) {\\n\\t\\tclasses = classes.split('.').join(' ');\\n\\t}\\n\\treturn utils.makeWidget(parser, '$list', {\\n\\t\\tfilter: filter,\\n\\t\\ttooltip: tooltip,\\n\\t\\ttemplate: template,\\n\\t\\tstyle: style || undefined,\\n\\t\\titemClass: classes});\\n};\\n\\nfunction prettyList(filter, tooltip, template, style, classes) {\\n\\tif (tooltip === undefined) {\\n\\t\\ttooltip = '';\\n\\t} else {\\n\\t\\ttooltip = \\\"|\\\" + tooltip;\\n\\t}\\n\\tif (template === undefined) {\\n\\t\\ttemplate = '';\\n\\t} else {\\n\\t\\ttemplate = \\\"||\\\" + template;\\n\\t}\\n\\tif (classes === undefined) {\\n\\t\\tclasses = '';\\n\\t} else {\\n\\t\\tclasses = \\\".\\\" + classes;\\n\\t}\\n\\tstyle = style || '';\\n\\treturn \\\"{{{\\\"+filter+tooltip+template+\\\"}}\\\"+style+\\\"}\\\"+classes;\\n};\\n\\nfunction canBePretty(filter) {\\n\\treturn filter.indexOf('|') < 0 && filter.indexOf('}}') < 0;\\n};\\n\\nfunction canBePrettyTemplate(template) {\\n\\treturn !template || (\\n\\t\\ttemplate.indexOf('|') < 0\\n\\t\\t&& template.indexOf('{') < 0\\n\\t\\t&& template.indexOf('}') < 0);\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/filteredtransclude.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/fnprocdef.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles pragma function/procedure/widget definitions.\\n\\n\\\\*/\\n\\n// We inherit from DefRule\\nvar DefRule = require('./def.js');\\n$tw.utils.extend(exports, DefRule);\\n\\nexports.name = \\\"fnprocdef\\\";\\n\\nexports.createDefinition = function() {\\n\\tvar m = this.match;\\n\\treturn {\\n\\t\\ttype: m[1],\\n\\t\\tname: m[2],\\n\\t\\tparameters: m[4],\\n\\t\\tmultiline: m[5]};\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/fnprocdef.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles replacement in attributes of widgets and html elements\\nThis is configurable to select exactly which attributes of which elements\\nshould be changed.\\n\\n<$link to=\\\"TiddlerTitle\\\" />\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar htmlOperators = relinkUtils.getModulesByTypeAsHashmap('relinkhtml', 'name');\\n\\nexports.name = \\\"html\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\tvar element = this.nextTag.tag;\\n\\tvar nestedOptions = Object.create(options);\\n\\tnestedOptions.settings = this.parser.context;\\n\\tfor (var operator in htmlOperators) {\\n\\t\\thtmlOperators[operator].report(this.nextTag, this.parser, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '<' + blurb + ' />', style);\\n\\t\\t}, nestedOptions);\\n\\t}\\n\\tthis.parse();\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar widgetEntry = {};\\n\\twidgetEntry.attributes = Object.create(null);\\n\\twidgetEntry.element = this.nextTag.tag;\\n\\tvar elem = this.nextTag;\\n\\tvar originalTag = elem.tag;\\n\\tvar changed = false;\\n\\tvar nestedOptions = Object.create(options);\\n\\tnestedOptions.settings = this.parser.context;\\n\\tfor (var operator in htmlOperators) {\\n\\t\\tvar entry = htmlOperators[operator].relink(elem, this.parser, fromTitle, toTitle, nestedOptions);\\n\\t\\tif (entry) {\\n\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\twidgetEntry.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// We swap in the original tag in case it changed. We need the old tag\\n\\t// to find the proper closing tag. Parsing must come after the htmlmodules\\n\\t// because those might change the context for the inner body.\\n\\tvar newTag = elem.tag;\\n\\telem.tag = originalTag;\\n\\tvar tag = this.parse()[0];\\n\\tif (tag.children) {\\n\\t\\tfor (var i = 0; i < tag.children.length; i++) {\\n\\t\\t\\tvar child = tag.children[i];\\n\\t\\t\\tif (child.output) {\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (child.impossible) {\\n\\t\\t\\t\\twidgetEntry.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif (changed) {\\n\\t\\tvar builder = new Rebuilder(text, elem.start);\\n\\t\\tbuilder.add(newTag, elem.start+1, getEndOfTag(elem, text));\\n\\t\\tfor (var attributeName in elem.attributes) {\\n\\t\\t\\tvar attr = elem.attributes[attributeName];\\n\\t\\t\\tvar quotedValue;\\n\\t\\t\\tswitch (attr.type) {\\n\\t\\t\\tcase 'string':\\n\\t\\t\\t\\tif (attr.valueless) {\\n\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar quote = relinkUtils.determineQuote(text, attr);\\n\\t\\t\\t\\tquotedValue = utils.wrapAttributeValue(attr.value, quote)\\n\\t\\t\\t\\tif (quotedValue === undefined) {\\n\\t\\t\\t\\t\\twidgetEntry.impossible = true;\\n\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 'indirect':\\n\\t\\t\\t\\tquotedValue = \\\"{{\\\" + attr.textReference + \\\"}}\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 'filtered':\\n\\t\\t\\t\\tquotedValue = \\\"{{{\\\" + attr.filter + \\\"}}}\\\";\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 'macro':\\n\\t\\t\\t\\tif (attr.output) {\\n\\t\\t\\t\\t\\tquotedValue = attr.output;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tquotedValue = undefined;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Else If output isn't set, this wasn't ever changed\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 'substituted':\\n\\t\\t\\t\\tvar ticIndex = attr.rawValue.lastIndexOf(\\\"`\\\");\\n\\t\\t\\t\\tif (ticIndex < 0) {\\n\\t\\t\\t\\t\\tquotedValue = \\\"`\\\" + attr.rawValue + \\\"`\\\";\\n\\t\\t\\t\\t} else if (ticIndex < attr.rawValue.length-1\\n\\t\\t\\t\\t\\t\\t&& attr.rawValue.indexOf(\\\"```\\\") < 0) {\\n\\t\\t\\t\\t\\tquotedValue = \\\"```\\\" + attr.rawValue + \\\"```\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// We can't have a tic at the end; can't have triple tic.\\n\\t\\t\\t\\t\\twidgetEntry.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tvar ptr = attr.start;\\n\\t\\t\\tptr = $tw.utils.skipWhiteSpace(text, ptr);\\n\\t\\t\\tif (attributeName !== attr.name) {\\n\\t\\t\\t\\t// Ooh, the attribute name changed\\n\\t\\t\\t\\tbuilder.add(attr.name, ptr, ptr + attributeName.length);\\n\\t\\t\\t}\\n\\t\\t\\tif (quotedValue) {\\n\\t\\t\\t\\t// We have a new attribute value\\n\\t\\t\\t\\tptr += attributeName.length;\\n\\t\\t\\t\\tptr = $tw.utils.skipWhiteSpace(text, ptr);\\n\\t\\t\\t\\tptr++; // For the equals\\n\\t\\t\\t\\tptr = $tw.utils.skipWhiteSpace(text, ptr);\\n\\t\\t\\t\\tbuilder.add(quotedValue, ptr, attr.end);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (tag.children) {\\n\\t\\t\\tfor (var i = 0; i < tag.children.length; i++) {\\n\\t\\t\\t\\tvar child = tag.children[i];\\n\\t\\t\\t\\tif (child.output) {\\n\\t\\t\\t\\t\\tbuilder.add(child.output, child.start, child.end);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar closingTag = '</' + elem.tag + '>';\\n\\t\\tvar startClosingTag = this.parser.pos - closingTag.length;\\n\\t\\tif (text.substring(startClosingTag, this.parser.pos) === closingTag) {\\n\\t\\t\\t// Replace the closing tag in case the tag changed.\\n\\t\\t\\tbuilder.add(newTag, startClosingTag + 2, this.parser.pos-1);\\n\\t\\t}\\n\\t\\twidgetEntry.output = builder.results(this.parser.pos);\\n\\t}\\n\\tif (widgetEntry.output || widgetEntry.impossible) {\\n\\t\\treturn widgetEntry;\\n\\t}\\n\\treturn undefined;\\n};\\n\\nfunction getEndOfTag(element, text) {\\n\\tvar regExp = /[^a-zA-Z\\\\-\\\\$\\\\.]/g;\\n\\tregExp.lastIndex = element.start+1;\\n\\tvar match = regExp.exec(text);\\n\\treturn match.index;\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/image.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles replacement in wiki text inline rules, like,\\n\\n[img[tiddler.jpg]]\\n\\n[img width=23 height=24 [Description|tiddler.jpg]]\\n\\n\\\\*/\\n\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar refHandler = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/reference\\\");\\nvar filterHandler = require(\\\"$:/plugins/flibbles/relink/js/utils\\\").getType('filter');\\nvar macrocall = require(\\\"./macrocall.js\\\");\\nvar utils = require(\\\"./utils.js\\\");\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nexports.name = \\\"image\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\tvar ptr = this.nextImage.start + 4; //[img\\n\\tvar inSource = false;\\n\\tfor (var attributeName in this.nextImage.attributes) {\\n\\t\\tvar attr = this.nextImage.attributes[attributeName];\\n\\t\\tif (attributeName === \\\"source\\\" || attributeName === \\\"tooltip\\\") {\\n\\t\\t\\tif (inSource) {\\n\\t\\t\\t\\tptr = text.indexOf('|', ptr);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tptr = text.indexOf('[', ptr);\\n\\t\\t\\t\\tinSource = true;\\n\\t\\t\\t}\\n\\t\\t\\tptr += 1;\\n\\t\\t}\\n\\t\\tif (attributeName === \\\"source\\\") {\\n\\t\\t\\tvar tooltip = this.nextImage.attributes.tooltip;\\n\\t\\t\\tvar blurb = '[img[' + (tooltip ? tooltip.value : '') + ']]';\\n\\t\\t\\tcallback(attr.value, blurb);\\n\\t\\t\\tptr = text.indexOf(attr.value, ptr);\\n\\t\\t\\tptr = text.indexOf(']]', ptr) + 2;\\n\\t\\t} else if (attributeName !== \\\"tooltip\\\") {\\n\\t\\t\\tptr = reportAttribute(this.parser, attr, callback, options);\\n\\t\\t}\\n\\t}\\n\\tthis.parser.pos = ptr;\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar ptr = this.nextImage.start,\\n\\t\\tbuilder = new Rebuilder(text, ptr),\\n\\t\\tmakeWidget = false,\\n\\t\\tskipSource = false,\\n\\t\\timageEntry;\\n\\tif (this.nextImage.attributes.source.value === fromTitle && !canBePretty(toTitle, this.nextImage.attributes.tooltip)) {\\n\\t\\tif (this.parser.context.allowWidgets() && utils.wrapAttributeValue(toTitle)) {\\n\\t\\t\\tmakeWidget = true;\\n\\t\\t\\tbuilder.add(\\\"<$image\\\", ptr, ptr+4);\\n\\t\\t} else {\\n\\t\\t\\t// We won't be able to make a wdget to replace\\n\\t\\t\\t// the source attribute. We check now so we don't\\n\\t\\t\\t// prematurely convert into a widget.\\n\\t\\t\\t// Keep going in case other attributes need replacing.\\n\\t\\t\\tskipSource = true;\\n\\t\\t}\\n\\t}\\n\\tptr += 4; //[img\\n\\tvar inSource = false;\\n\\tfor (var attributeName in this.nextImage.attributes) {\\n\\t\\tvar attr = this.nextImage.attributes[attributeName];\\n\\t\\tif (attributeName === \\\"source\\\" || attributeName === \\\"tooltip\\\") {\\n\\t\\t\\tif (inSource) {\\n\\t\\t\\t\\tptr = text.indexOf('|', ptr);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tptr = text.indexOf('[', ptr);\\n\\t\\t\\t\\tinSource = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (makeWidget) {\\n\\t\\t\\t\\tif (\\\" \\\\t\\\\n\\\".indexOf(text[ptr-1]) >= 0) {\\n\\t\\t\\t\\t\\tbuilder.add('', ptr, ptr+1);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tbuilder.add(' ', ptr, ptr+1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tptr += 1;\\n\\t\\t}\\n\\t\\tif (attributeName === \\\"source\\\") {\\n\\t\\t\\tptr = text.indexOf(attr.value, ptr);\\n\\t\\t\\tif (attr.value === fromTitle) {\\n\\t\\t\\t\\tif (makeWidget) {\\n\\t\\t\\t\\t\\tvar quotedValue = utils.wrapAttributeValue(toTitle);\\n\\t\\t\\t\\t\\tif (quotedValue === undefined) {\\n\\t\\t\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tbuilder.add(\\\"source=\\\"+quotedValue, ptr, ptr+fromTitle.length);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else if (!skipSource) {\\n\\t\\t\\t\\t\\tbuilder.add(toTitle, ptr, ptr+fromTitle.length);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tptr = text.indexOf(']]', ptr);\\n\\t\\t\\tif (makeWidget) {\\n\\t\\t\\t\\tbuilder.add(\\\"/>\\\", ptr, ptr+2);\\n\\t\\t\\t}\\n\\t\\t\\tptr += 2;\\n\\t\\t} else if (attributeName === \\\"tooltip\\\") {\\n\\t\\t\\tif (makeWidget) {\\n\\t\\t\\t\\tptr = text.indexOf(attr.value, ptr);\\n\\t\\t\\t\\tvar quotedValue = utils.wrapAttributeValue(attr.value);\\n\\t\\t\\t\\tbuilder.add(\\\"tooltip=\\\"+quotedValue, ptr, ptr+attr.value.length);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tptr = relinkAttribute(this.parser, attr, builder, fromTitle, toTitle, options);\\n\\t\\t}\\n\\t}\\n\\tthis.parser.pos = ptr;\\n\\tif (builder.changed() || builder.impossible) {\\n\\t\\timageEntry = {\\n\\t\\t\\toutput: builder.results(ptr),\\n\\t\\t\\timpossible: builder.impossible };\\n\\t}\\n\\treturn imageEntry;\\n};\\n\\nfunction reportAttribute(parser, attribute, callback, options) {\\n\\tvar text = parser.source;\\n\\tvar ptr = text.indexOf(attribute.name, attribute.start);\\n\\tvar end;\\n\\tptr += attribute.name.length;\\n\\tptr = text.indexOf('=', ptr);\\n\\tif (attribute.type === \\\"string\\\") {\\n\\t\\tptr = text.indexOf(attribute.value, ptr)\\n\\t\\tvar quote = relinkUtils.determineQuote(text, attribute);\\n\\t\\t// ignore first quote. We already passed it\\n\\t\\tend = ptr + quote.length + attribute.value.length;\\n\\t} else if (attribute.type === \\\"indirect\\\") {\\n\\t\\tptr = text.indexOf('{{', ptr);\\n\\t\\tvar end = ptr + attribute.textReference.length + 4;\\n\\t\\trefHandler.report(attribute.textReference, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '[img ' + attribute.name + '={{' + (blurb || '') + '}}]', style);\\n\\t\\t}, options);\\n\\t} else if (attribute.type === \\\"filtered\\\") {\\n\\t\\tptr = text.indexOf('{{{', ptr);\\n\\t\\tvar end = ptr + attribute.filter.length + 6;\\n\\t\\tfilterHandler.report(attribute.filter, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '[img ' + attribute.name + '={{{' + blurb + '}}}]', style);\\n\\t\\t}, options);\\n\\t} else if (attribute.type === \\\"macro\\\") {\\n\\t\\tptr = text.indexOf(\\\"<<\\\", ptr);\\n\\t\\tvar end = attribute.value.end;\\n\\t\\tvar macro = attribute.value;\\n\\t\\tvar oldValue = attribute.value;\\n\\t\\tmacrocall.reportAttribute(parser, macro, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '[img ' + attribute.name + '=' + blurb + ']', style);\\n\\t\\t}, options);\\n\\t}\\n\\treturn end;\\n};\\n\\nfunction relinkAttribute(parser, attribute, builder, fromTitle, toTitle, options) {\\n\\tvar text = builder.text;\\n\\tvar ptr = text.indexOf(attribute.name, attribute.start);\\n\\tvar end;\\n\\tptr += attribute.name.length;\\n\\tptr = text.indexOf('=', ptr);\\n\\tif (attribute.type === \\\"string\\\") {\\n\\t\\tptr = text.indexOf(attribute.value, ptr)\\n\\t\\tvar quote = relinkUtils.determineQuote(text, attribute);\\n\\t\\t// ignore first quote. We already passed it\\n\\t\\tend = ptr + quote.length + attribute.value.length;\\n\\t} else if (attribute.type === \\\"indirect\\\") {\\n\\t\\tptr = text.indexOf('{{', ptr);\\n\\t\\tvar end = ptr + attribute.textReference.length + 4;\\n\\t\\tvar ref = refHandler.relinkInBraces(attribute.textReference, fromTitle, toTitle, options);\\n\\t\\tif (ref) {\\n\\t\\t\\tif (ref.impossible) {\\n\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (ref.output) {\\n\\t\\t\\t\\tbuilder.add(\\\"{{\\\"+ref.output+\\\"}}\\\", ptr, end);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else if (attribute.type === \\\"filtered\\\") {\\n\\t\\tptr = text.indexOf('{{{', ptr);\\n\\t\\tvar end = ptr + attribute.filter.length + 6;\\n\\t\\tvar filter = filterHandler.relinkInBraces(attribute.filter, fromTitle, toTitle, options);\\n\\t\\tif (filter !== undefined) {\\n\\t\\t\\tif (filter.impossible) {\\n\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (filter.output) {\\n\\t\\t\\t\\tvar quoted = \\\"{{{\\\"+filter.output+\\\"}}}\\\";\\n\\t\\t\\t\\tbuilder.add(quoted, ptr, end);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else if (attribute.type === \\\"macro\\\") {\\n\\t\\tptr = text.indexOf(\\\"<<\\\", ptr);\\n\\t\\tvar end = attribute.value.end;\\n\\t\\tvar macro = attribute.value;\\n\\t\\tvar oldValue = attribute.value;\\n\\t\\tvar macroEntry = macrocall.relinkAttribute(parser, macro, text, fromTitle, toTitle, options);\\n\\t\\tif (macroEntry !== undefined) {\\n\\t\\t\\tif (macroEntry.impossible) {\\n\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (macroEntry.output) {\\n\\t\\t\\t\\tbuilder.add(macroEntry.output, ptr, end);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn end;\\n};\\n\\nfunction canBePretty(title, tooltip) {\\n\\treturn title.indexOf(']') < 0 && (tooltip || title.indexOf('|') < 0);\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/image.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/import.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles import pragmas\\n\\n\\\\import [tag[MyTiddler]]\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar filterRelinker = utils.getType('filter');\\nvar ImportContext = utils.getContext('import');\\n\\nexports.name = \\\"import\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\t// This moves the pos for us\\n\\tvar parseTree = this.parse();\\n\\tvar filter = parseTree[0].attributes.filter.value || '';\\n\\tfilterRelinker.report(filter, function(title, blurb, style) {\\n\\t\\tif (blurb) {\\n\\t\\t\\tblurb = '\\\\\\\\import ' + blurb;\\n\\t\\t} else {\\n\\t\\t\\tblurb = '\\\\\\\\import';\\n\\t\\t}\\n\\t\\tcallback(title, blurb, style);\\n\\t}, options);\\n\\t// Before we go, we need to actually import the variables\\n\\t// it's calling for, and any /relink pragma\\n\\toptions.settings = this.parser.context = new ImportContext(options.wiki, this.parser.context, filter);\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\t// In this one case, I'll let the parser parse out the filter and move\\n\\t// the ptr.\\n\\tvar start = this.matchRegExp.lastIndex,\\n\\t\\tparseTree = this.parse(),\\n\\t\\tfilter = parseTree[0].attributes.filter.value || '',\\n\\t\\tentry = filterRelinker.relink(filter, fromTitle, toTitle, options);\\n\\tif (entry !== undefined && entry.output) {\\n\\t\\tvar newline = text.substring(start+filter.length, this.parser.pos);\\n\\t\\tfilter = entry.output;\\n\\t\\tentry.output = \\\"\\\\\\\\import \\\" + filter + newline;\\n\\t}\\n\\n\\t// Before we go, we need to actually import the variables\\n\\t// it's calling for, and any /relink pragma\\n\\toptions.settings = this.parser.context = new ImportContext(options.wiki, this.parser.context, filter);\\n\\n\\treturn entry;\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/import.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrocall.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles macro calls.\\n\\n<<myMacro '[[MyFilter]]' 'myTitle'>>\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar macrocall = require('$:/plugins/flibbles/relink/js/utils/macrocall.js');\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar EntryNode = require('$:/plugins/flibbles/relink/js/utils/entry');\\n\\nexports.name = [\\\"macrocallinline\\\", \\\"macrocallblock\\\"];\\n\\nexports.report = function(text, callback, options) {\\n\\tvar macroInfo = getInfoFromRule(this);\\n\\tthis.parser.pos = macroInfo.end;\\n\\tthis.reportAttribute(this.parser, macroInfo, callback, options);\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar macroInfo = getInfoFromRule(this);\\n\\tthis.parser.pos = macroInfo.end;\\n\\tvar mayBeWidget = this.parser.context.allowWidgets();\\n\\tvar names = getParamNames(this.parser, macroInfo.name, macroInfo.params, options);\\n\\tif (names === undefined) {\\n\\t\\t// Needed the definition, and couldn't find it. So if a single\\n\\t\\t// parameter doesn't work, just fail.\\n\\t\\tmayBeWidget = false;\\n\\t}\\n\\tvar entry = macrocall.relink(this.parser.context, macroInfo, text, fromTitle, toTitle, mayBeWidget, options);\\n\\tif (entry && entry.output) {\\n\\t\\tentry.output = macroToString(entry, text, names, this.parser, options);\\n\\t\\tif (entry.output === undefined) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\n/** Relinks macros that occur as attributes, like <$element attr=<<...>> />\\n * Processes the same, except it can't downgrade into a widget if the title\\n * is complicated.\\n * Kept for backward compatibility reasons\\n */\\nexports.relinkAttribute = function(parser, macro, text, fromTitle, toTitle, options) {\\n\\tvar entry = macrocall.relink(parser.context, macro, text, fromTitle, toTitle, false, options);\\n\\tif (entry && entry.output) {\\n\\t\\tentry.output = macrocall.reassemble(entry, text, options);\\n\\t}\\n\\treturn entry;\\n};\\n\\n/** As in, report a macrocall invocation that is an html attribute.\\n * Kept for backward compatibility reasons\\n */\\nexports.reportAttribute = function(parser, macro, callback, options) {\\n\\tmacrocall.report(parser.context, macro, function(title, blurb, style) {\\n\\t\\tcallback(title, \\\"<<\\\" + blurb + \\\">>\\\", style);\\n\\t}, options);\\n};\\n\\nfunction getInfoFromRule(rule) {\\n\\t// Get all the details of the match\\n\\tvar macroInfo = rule.nextCall;\\n\\tif (!macroInfo) {\\n\\t\\t// rule.match is used <v5.1.24\\n\\t\\tvar match = rule.match,\\n\\t\\t\\toffset = $tw.utils.skipWhiteSpace(match[0], match[1].length+2);\\n\\t\\tmacroInfo = {\\n\\t\\t\\tname: match[1],\\n\\t\\t\\tstart: rule.matchRegExp.lastIndex - match[0].length,\\n\\t\\t\\tend: rule.matchRegExp.lastIndex,\\n\\t\\t};\\n\\t\\tmacroInfo.params = parseParams(match[2], offset+macroInfo.start);\\n\\t}\\n\\t// post v5.3.0 changed it so name and param aren't used, but we still use\\n\\t// them. Maybe I should migrate so that I don't either, and that it's\\n\\t// orderedAttributes and $variable that I use.\\n\\tif (macroInfo.name === undefined) {\\n\\t\\tmacroInfo.name = macroInfo.attributes[\\\"$variable\\\"].value;\\n\\t\\tmacroInfo.params = macroInfo.orderedAttributes.slice(1);\\n\\t\\tvar index = 0;\\n\\t\\tfor (var i = 0; i < macroInfo.params.length; i++) {\\n\\t\\t\\tvar param = macroInfo.params[i];\\n\\t\\t\\tif (param.name === index.toString()) {\\n\\t\\t\\t\\t// Swap out the param with one that doesn't have a name.\\n\\t\\t\\t\\tmacroInfo.params[i] = {\\n\\t\\t\\t\\t\\tstart: param.start,\\n\\t\\t\\t\\t\\tend: param.end,\\n\\t\\t\\t\\t\\ttype: param.type,\\n\\t\\t\\t\\t\\tvalue: param.value\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\tindex++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn macroInfo;\\n};\\n\\nfunction mustBeAWidget(macro) {\\n\\tfor (var i = 0; i < macro.params.length; i++) {\\n\\t\\tif (macrocall.wrapParameterValue(macro.params[i].value) === undefined) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n\\treturn false\\n};\\n\\n/**Given a macro object ({name:, params:, start: end:}), and the text where\\n * it was parsed from, returns a new macro that maintains any syntactic\\n * structuring.\\n */\\nfunction macroToString(entry, text, names, parser, options) {\\n\\tvar macro = entry.output;\\n\\tif (mustBeAWidget(macro) && parser.context.allowWidgets()) {\\n\\t\\tvar widgetString = macroToWidgetString(macro, names);\\n\\t\\tif (widgetString) {\\n\\t\\t\\t// It worked! return it.\\n\\t\\t\\treturn widgetString;\\n\\t\\t}\\n\\t\\tentry.impossible = true;\\n\\t\\t// Otherwise continue on and try macrocall anyways, despite failutes.\\n\\t}\\n\\treturn macrocall.reassemble(entry, text, options);\\n};\\n\\nfunction macroToWidgetString(macro, names) {\\n\\tvar attrs = [];\\n\\tfor (var i = 0; i < macro.params.length; i++) {\\n\\t\\tvar p = macro.params[i];\\n\\t\\tvar val;\\n\\t\\tif (p.newValue) {\\n\\t\\t\\tval = p.newValue;\\n\\t\\t} else {\\n\\t\\t\\tval = utils.wrapAttributeValue(p.value);\\n\\t\\t}\\n\\t\\tif (val !== undefined) {\\n\\t\\t\\tvar name = p.name;\\n\\t\\t\\tif (name === undefined) {\\n\\t\\t\\t\\tif (names === undefined) {\\n\\t\\t\\t\\t\\t// Oops. We've got to give up here. We can't resolve\\n\\t\\t\\t\\t\\t// the name of one of the parameters.\\n\\t\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tname = names[i];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tattrs.push(\\\" \\\"+name+\\\"=\\\"+val);\\n\\t\\t} else {\\n\\t\\t\\t// Oops. There's an attribute that can't be quoted. We need\\n\\t\\t\\t// to abort.\\n\\t\\t\\treturn undefined;\\n\\t\\t}\\n\\t}\\n\\treturn \\\"<$macrocall $name=\\\"+utils.wrapAttributeValue(macro.name)+attrs.join('')+\\\"/>\\\";\\n};\\n\\nfunction getParamNames(parser, macroName, params, options) {\\n\\tvar used = Object.create(null);\\n\\tvar rtn = new Array(params.length);\\n\\tvar anonsExist = false;\\n\\tvar i;\\n\\tfor (i = 0; i < params.length; i++) {\\n\\t\\tvar name = params[i].name;\\n\\t\\tif (name) {\\n\\t\\t\\trtn[i] = name;\\n\\t\\t\\tused[name] = true;\\n\\t\\t} else {\\n\\t\\t\\tanonsExist = true;\\n\\t\\t}\\n\\t}\\n\\tif (anonsExist) {\\n\\t\\tvar def = parser.context.getMacroDefinition(macroName);\\n\\t\\tif (def === undefined) {\\n\\t\\t\\t// If there are anonymous parameters, and we can't\\n\\t\\t\\t// find the definition, then we can't hope to create\\n\\t\\t\\t// a widget.\\n\\t\\t\\treturn undefined;\\n\\t\\t}\\n\\t\\tvar defParams = def.params || [];\\n\\t\\tvar defPtr = 0;\\n\\t\\tfor (i = 0; i < params.length; i++) {\\n\\t\\t\\tif (rtn[i] === undefined) {\\n\\t\\t\\t\\twhile(defPtr < defParams.length && used[defParams[defPtr].name]) {\\n\\t\\t\\t\\t\\tdefPtr++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (defPtr >= defParams.length) {\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\trtn[i] = defParams[defPtr].name;\\n\\t\\t\\t\\tused[defParams[defPtr].name] = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn rtn;\\n};\\n\\nfunction parseParams(paramString, pos) {\\n\\tvar params = [],\\n\\t\\treParam = /\\\\s*(?:([A-Za-z0-9\\\\-_]+)\\\\s*:)?(?:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|\\\\[\\\\[([^\\\\]]*)\\\\]\\\\]|([^\\\"'\\\\s]+)))/mg,\\n\\t\\tparamMatch = reParam.exec(paramString);\\n\\twhile(paramMatch) {\\n\\t\\t// Process this parameter\\n\\t\\tvar paramInfo = { };\\n\\t\\t// We need to find the group match that isn't undefined.\\n\\t\\tfor (var i = 2; i <= 6; i++) {\\n\\t\\t\\tif (paramMatch[i] !== undefined) {\\n\\t\\t\\t\\tparamInfo.value = paramMatch[i];\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(paramMatch[1]) {\\n\\t\\t\\tparamInfo.name = paramMatch[1];\\n\\t\\t}\\n\\t\\t//paramInfo.start = pos;\\n\\t\\tparamInfo.end = reParam.lastIndex + pos;\\n\\t\\tparams.push(paramInfo);\\n\\t\\t// Find the next match\\n\\t\\tparamMatch = reParam.exec(paramString);\\n\\t}\\n\\treturn params;\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrocall.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrodef.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles pragma macro definitions.\\nWe may also update placeholder macros that we may have previously installed.\\n\\n\\\\define relink-?() Tough title\\n\\n\\\\*/\\n\\n// We inherit from DefRule\\nvar DefRule = require('./def.js');\\n$tw.utils.extend(exports, DefRule);\\n\\nexports.name = \\\"macrodef\\\";\\n\\nexports.createDefinition = function() {\\n\\tvar m = this.match;\\n\\treturn {\\n\\t\\ttype: \\\"define\\\",\\n\\t\\tname: m[1],\\n\\t\\tparameters: m[2],\\n\\t\\tmultiline: m[3]};\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrodef.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/parameters.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles parameters pragma.\\n\\n\\\\parameters(...)\\n\\n\\\\*/\\n\\nexports.name = \\\"parameters\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\toperate(this, options);\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\toperate(this, options);\\n};\\n\\nfunction operate(rule, options) {\\n\\tvar parser = rule.parser;\\n\\tvar parseTreeNode = rule.parse();\\n\\tvar attributes = parseTreeNode[0].orderedAttributes;\\n\\tfor (var i = 0; i < attributes.length; i++) {\\n\\t\\tvar attribute = attributes[i].name;\\n\\t\\tparser.context.addParameter(attribute);\\n\\t}\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/parameters.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/prettylink.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles replacement in wiki text inline rules, like,\\n\\n[[Introduction]]\\n\\n[[link description|TiddlerTitle]]\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nexports.name = \\\"prettylink\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\tvar text = this.match[1],\\n\\t\\tlink = this.match[2] || text;\\n\\tif (!$tw.utils.isLinkExternal(link)) {\\n\\t\\tvar type = relinkUtils.getType('title');\\n\\t\\ttype.report(link, function(title) {\\n\\t\\t\\tcallback(title, '[[' + text + ']]');\\n\\t\\t}, options);\\n\\t}\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar type = relinkUtils.getType('title'),\\n\\t\\tcaption = this.match[1],\\n\\t\\tlink = this.match[2] || caption,\\n\\t\\tentry = type.relink(link, fromTitle, toTitle, options);\\n\\tif (entry && !entry.impossible) {\\n\\t\\tentry.output = utils.makePrettylink(this.parser, entry.output, this.match[2] && caption);\\n\\t\\tif (entry.output === undefined) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\treturn entry;\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/prettylink.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/quoteblock.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles the quote blocks, as in:\\n\\n<<<\\n...\\n<<<\\n\\n\\\\*/\\n\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\n\\nexports.name = \\\"quoteblock\\\";\\n\\nexports.type = {block: true};\\n\\nexports.report = function(text, callback, options) {\\n\\tvar reEndString = \\\"^\\\" + this.match[1] + \\\"(?!<)\\\";\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\tthis.parser.parseClasses();\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\n\\t// Parse the optional cite\\n\\treportCite(this.parser, this.match[1]);\\n\\t// Now parse the body of the quote\\n\\tthis.parser.parseBlocks(reEndString);\\n\\tif (this.match) {\\n\\t\\t// Now parse the closing cite\\n\\t\\treportCite(this.parser, this.match[1]);\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar reEndString = \\\"^\\\" + this.match[1] + \\\"(?!<)\\\";\\n\\tvar builder = new Rebuilder(text, this.parser.pos);\\n\\tvar entry;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\tthis.parser.parseClasses();\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\n\\t// Parse the optional cite\\n\\tmergeRelinks(builder, this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg));\\n\\t// Now parse the body of the quote\\n\\tmergeRelinks(builder, this.parser.parseBlocks(reEndString));\\n\\t// Now parse the closing cite\\n\\tmergeRelinks(builder, this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg));\\n\\n\\tif (builder.changed() || builder.impossible) {\\n\\t\\tentry = {};\\n\\t\\tentry.output = builder.results(this.parser.pos);\\n\\t\\tif (builder.impossible) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction reportCite(parser, delimeter) {\\n\\tvar callback = parser.callback;\\n\\ttry {\\n\\t\\tparser.callback = function(title, blurb, style) {\\n\\t\\t\\treturn callback(title, delimeter + \\\" \\\" + blurb, style);\\n\\t\\t};\\n\\t\\tparser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t} finally {\\n\\t\\tparser.callback = callback;\\n\\t}\\n};\\n\\nfunction mergeRelinks(builder, output) {\\n\\tif (output.length > 0) {\\n\\t\\tfor (var i = 0; i < output.length; i++) {\\n\\t\\t\\tvar o = output[i];\\n\\t\\t\\tif (o.output) {\\n\\t\\t\\t\\tbuilder.add(o.output, o.start, o.end);\\n\\t\\t\\t}\\n\\t\\t\\tif (o.impossible) {\\n\\t\\t\\t\\tbuilder.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/quoteblock.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/relink.js\":{\"text\":\"/*\\\\\\nmodule-type: wikirule\\n\\nThis defines the \\\\relink inline pragma used to locally declare\\nrelink rules for macros.\\n\\nIt takes care of providing its own relink and report rules.\\n\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\\nvar pragmaOperators = utils.getModulesByTypeAsHashmap('relinkpragma', 'name');\\n\\nexports.name = \\\"relink\\\";\\nexports.types = {pragma: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /^\\\\\\\\relink[^\\\\S\\\\r\\\\n]+([^(\\\\s]+)([^\\\\r\\\\n]*)(\\\\r?\\\\n)?/mg;\\n};\\n\\n/**This makes the widget that the macro library will later parse to determine\\n * new macro relink state.\\n *\\n * It's a <$set> widget so it can appear BEFORE \\\\define pragma and not\\n * prevent that pragma from being scooped up by importvariables.\\n * (importvariables stops scooping as soon as it sees something besides $set) */\\nexports.parse = function() {\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar macroName;\\n\\tvar macroParams = Object.create(null);\\n\\tvar error = undefined;\\n\\tvar rtn = [];\\n\\tvar self = this;\\n\\tinterpretSettings(this, function(macro, parameter, type) {\\n\\t\\tmacroName = macro;\\n\\t\\tif (type && !utils.getType(type)) {\\n\\t\\t\\terror = language.getString(\\\"text/plain\\\", \\\"Error/UnrecognizedType\\\",\\n\\t\\t\\t\\t{variables: {type: type}, wiki: self.parser.wiki});\\n\\t\\t}\\n\\t\\tmacroParams[parameter] = type;\\n\\t});\\n\\t// If no macroname. Return nothing, this rule will be ignored by parsers\\n\\tif (macroName) {\\n\\t\\tvar relink = Object.create(null);\\n\\t\\trelink[macroName] = macroParams;\\n\\t\\trtn.push({\\n\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tname: {type: \\\"string\\\", value: \\\"\\\"}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [],\\n\\t\\t\\tisRelinkDefinition: true,\\n\\t\\t\\tisMacroDefinition: true,\\n\\t\\t\\trelink: relink});\\n\\t}\\n\\tif (error) {\\n\\t\\trtn.push({\\n\\t\\t\\ttype: \\\"element\\\", tag: \\\"span\\\", attributes: {\\n\\t\\t\\t\\t\\\"class\\\": {\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: \\\"tc-error tc-relink-error\\\"\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, children: [\\n\\t\\t\\t\\t{type: \\\"text\\\", text: error}\\n\\t\\t\\t]});\\n\\t}\\n\\treturn rtn;\\n};\\n\\nexports.report = function(text, callback, options) {\\n\\toperate(this, options);\\n\\tfor (var operator in pragmaOperators) {\\n\\t\\tpragmaOperators[operator].report(this, callback, options);\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\toperate(this, options);\\n\\tvar entry;\\n\\tfor (var operator in pragmaOperators) {\\n\\t\\t// Yes, this only handles one thing for now. I haven't bothered\\n\\t\\t// breaking up \\\\relink into a modifiable type.\\n\\t\\tentry = pragmaOperators[operator].relink(this, fromTitle, toTitle, options);\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction operate(rule, options) {\\n\\tvar parser = rule.parser;\\n\\tvar currentTiddler = parser.context.widget.variables.currentTiddler.value;\\n\\tparser.pos = rule.matchRegExp.lastIndex;\\n\\tinterpretSettings(rule, function(macro, parameter, type) {\\n\\t\\toptions.settings.addSetting(parser.wiki, macro, parameter, type, currentTiddler);\\n\\t});\\n\\t// Return nothing, because this rule is ignored by the parser\\n\\treturn undefined;\\n};\\n\\nfunction interpretSettings(rule, block) {\\n\\tvar paramString = rule.match[2];\\n\\tif (paramString !== \\\"\\\") {\\n\\t\\tvar macro = rule.match[1];\\n\\t\\tvar reParam = /\\\\s*([$A-Za-z0-9\\\\-_]+)(?:\\\\s*:\\\\s*([^\\\\s]+))?/mg;\\n\\t\\tvar paramMatch = reParam.exec(paramString);\\n\\t\\twhile (paramMatch) {\\n\\t\\t\\tvar parameter = paramMatch[1];\\n\\t\\t\\tvar type = paramMatch[2];\\n\\t\\t\\tblock(macro, parameter, type);\\n\\t\\t\\tparamMatch = reParam.exec(paramString);\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"wikirule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/relink.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/rules.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nParses and acknowledges any pragma rules a tiddler has.\\n\\n\\\\rules except html wikilink\\n\\n\\\\*/\\n\\nexports.name = \\\"rules\\\";\\n\\n/**This is all we have to do. The rules rule doesn't parse. It just amends\\n * the rules, which is exactly what I want it to do too.\\n * It also takes care of moving the pos pointer forward.\\n */\\nexports.relink = function() {\\n\\tthis.parse();\\n\\treturn undefined;\\n};\\n\\n// Same deal\\nexports.report = exports.relink;\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/rules.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/syslink.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles sys links\\n\\n$:/sys/link\\n\\nbut not:\\n\\n~$:/sys/link\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.name = \\\"syslink\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\tvar title = this.match[0];\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tif (title[0] !== \\\"~\\\") {\\n\\t\\tcallback(title, '~' + title);\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar entry = undefined;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tif (this.match[0] === fromTitle && this.match[0][0] !== \\\"~\\\") {\\n\\t\\tentry = {output: this.makeSyslink(toTitle, options)};\\n\\t\\tif (entry.output === undefined) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\nexports.makeSyslink = function(title, options) {\\n\\tvar match = title.match(this.matchRegExp);\\n\\tif (match && match[0] === title && title[0] !== \\\"~\\\") {\\n\\t\\treturn title;\\n\\t} else {\\n\\t\\treturn utils.makePrettylink(this.parser, title);\\n\\t}\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/syslink.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/table.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles tables. Or rather handles the cells inside the tables, since tables\\nthemselves aren't relinked.\\n\\n\\\\*/\\n\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\n\\nexports.name = \\\"table\\\";\\n\\nexports.types = {block: true};\\n\\nexports.report = function(text, callback, options) {\\n\\tvar rowRegExp = /^\\\\|([^\\\\n]*)\\\\|([fhck]?)\\\\r?(?:\\\\n|$)/mg,\\n\\t\\trowTermRegExp = /(\\\\|(?:[fhck]?)\\\\r?(?:\\\\n|$))/mg;\\n\\t// Match the row\\n\\trowRegExp.lastIndex = this.parser.pos;\\n\\tvar rowMatch = rowRegExp.exec(this.parser.source);\\n\\twhile(rowMatch && rowMatch.index === this.parser.pos) {\\n\\t\\tvar rowType = rowMatch[2];\\n\\t\\t// Check if it is a class assignment\\n\\t\\tif(rowType === \\\"k\\\") {\\n\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t} else if(rowType === \\\"c\\\") {\\n\\t\\t\\t// Is this a caption row?\\n\\t\\t\\t// If so, move past the opening `|` of the row\\n\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t// Parse the caption\\n\\t\\t\\tvar oldCallback = this.parser.callback;\\n\\t\\t\\tthis.parser.callback = function(title, blurb, style) {\\n\\t\\t\\t\\tcallback(title, '|' + blurb + '|c', style);\\n\\t\\t\\t};\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tthis.parser.parseInlineRun(rowTermRegExp,{eatTerminator: true});\\n\\t\\t\\t} finally {\\n\\t\\t\\t\\tthis.parser.callback = oldCallback;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// Process the row\\n\\t\\t\\tprocessRow.call(this, rowType, callback);\\n\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t}\\n\\t\\trowMatch = rowRegExp.exec(this.parser.source);\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar rowRegExp = /^\\\\|([^\\\\n]*)\\\\|([fhck]?)\\\\r?(?:\\\\n|$)/mg,\\n\\t\\trowTermRegExp = /(\\\\|(?:[fhck]?)\\\\r?(?:\\\\n|$))/mg,\\n\\t\\tbuilder = new Rebuilder(text, this.parser.pos),\\n\\t\\timpossible = false,\\n\\t\\toutput,\\n\\t\\tentry;\\n\\t// Match the row\\n\\trowRegExp.lastIndex = this.parser.pos;\\n\\tvar rowMatch = rowRegExp.exec(this.parser.source);\\n\\twhile(rowMatch && rowMatch.index === this.parser.pos) {\\n\\t\\tvar rowType = rowMatch[2];\\n\\t\\t// Check if it is a class assignment\\n\\t\\tif(rowType === \\\"k\\\") {\\n\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t} else {\\n\\t\\t\\t// Is this a caption row?\\n\\t\\t\\tif(rowType === \\\"c\\\") {\\n\\t\\t\\t\\t// If so, move past the opening `|` of the row\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\t// Parse the caption\\n\\t\\t\\t\\toutput = this.parser.parseInlineRun(rowTermRegExp,{eatTerminator: true});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Process the row\\n\\t\\t\\t\\toutput = processRow.call(this);\\n\\t\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t\\t}\\n\\t\\t\\tif (output.length > 0) {\\n\\t\\t\\t\\tfor (var i = 0; i < output.length; i++) {\\n\\t\\t\\t\\t\\tvar o = output[i];\\n\\t\\t\\t\\t\\tif (o.output) {\\n\\t\\t\\t\\t\\t\\tbuilder.add(o.output, o.start, o.end);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif (o.impossible) {\\n\\t\\t\\t\\t\\t\\timpossible = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\trowMatch = rowRegExp.exec(this.parser.source);\\n\\t}\\n\\tif (builder.changed() || impossible) {\\n\\t\\tentry = {}\\n\\t\\tentry.output = builder.results(this.parser.pos);\\n\\t\\tif (impossible) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\nvar processRow = function(rowType, callback) {\\n\\tvar cellRegExp = /(?:\\\\|([^\\\\n\\\\|]*)\\\\|)|(\\\\|[fhck]?\\\\r?(?:\\\\n|$))/mg,\\n\\t\\tcellTermRegExp = /((?:\\\\x20*)\\\\|)/mg,\\n\\t\\tchildren = [];\\n\\t// Match a single cell\\n\\tcellRegExp.lastIndex = this.parser.pos;\\n\\tvar cellMatch = cellRegExp.exec(this.parser.source);\\n\\twhile(cellMatch && cellMatch.index === this.parser.pos) {\\n\\t\\tif(cellMatch[2]) {\\n\\t\\t\\t// End of row\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tswitch (cellMatch[1]) {\\n\\t\\tcase '~':\\n\\t\\tcase '>':\\n\\t\\tcase '<':\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\t// For ordinary cells, step beyond the opening `|`\\n\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t// Look for a space at the start of the cell\\n\\t\\t\\tvar spaceLeft = false;\\n\\t\\t\\tvar prefix = '|';\\n\\t\\t\\tvar suffix = '|';\\n\\t\\t\\tif(this.parser.source.substr(this.parser.pos).search(/^\\\\^([^\\\\^]|\\\\^\\\\^)/) === 0) {\\n\\t\\t\\t\\tprefix += '^';\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t} else if(this.parser.source.substr(this.parser.pos).search(/^,([^,]|,,)/) === 0) {\\n\\t\\t\\t\\tprefix += ',';\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t}\\n\\t\\t\\tvar chr = this.parser.source.substr(this.parser.pos,1);\\n\\t\\t\\twhile(chr === \\\" \\\") {\\n\\t\\t\\t\\tspaceLeft = true;\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\tchr = this.parser.source.substr(this.parser.pos,1);\\n\\t\\t\\t}\\n\\t\\t\\tif (spaceLeft) {\\n\\t\\t\\t\\tprefix += ' ';\\n\\t\\t\\t}\\n\\t\\t\\t// Check whether this is a heading cell\\n\\t\\t\\tif(chr === \\\"!\\\") {\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\tprefix += '!';\\n\\t\\t\\t}\\n\\t\\t\\t// Parse the cell\\n\\t\\t\\tvar oldCallback = this.parser.callback;\\n\\t\\t\\tvar reports = [];\\n\\t\\t\\tthis.parser.callback = function(title, blurb, style) {\\n\\t\\t\\t\\treports.push(title, blurb, style);\\n\\t\\t\\t};\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tvar output = this.parser.parseInlineRun(cellTermRegExp,{eatTerminator: true});\\n\\t\\t\\t\\tif (output.length > 0) {\\n\\t\\t\\t\\t\\tchildren.push(output[0]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(this.parser.source.substr(this.parser.pos - 2,1) === \\\" \\\") { // spaceRight\\n\\t\\t\\t\\t\\tsuffix = ' |';\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tfor (var i = 0; i < reports.length; i += 3) {\\n\\t\\t\\t\\t\\tcallback(reports[i], prefix + reports[i+1] + suffix + rowType, reports[i+2]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} finally {\\n\\t\\t\\t\\tthis.parser.callback = oldCallback;\\n\\t\\t\\t}\\n\\t\\t\\t// Move back to the closing `|`\\n\\t\\t\\tthis.parser.pos--;\\n\\t\\t}\\n\\t\\tcellRegExp.lastIndex = this.parser.pos;\\n\\t\\tcellMatch = cellRegExp.exec(this.parser.source);\\n\\t}\\n\\treturn children;\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/table.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/transclude.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles replacement of transclusions in wiki text like,\\n\\n{{RenamedTiddler}}\\n{{RenamedTiddler||TemplateTitle}}\\n\\nThis renames both the tiddler and the template field.\\n\\n\\\\*/\\n\\nvar refHandler = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/reference\\\");\\nvar titleHandler = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/title\\\");\\nvar utils = require(\\\"./utils.js\\\");\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar referenceOperators = relinkUtils.getModulesByTypeAsHashmap('relinkreference', 'name');\\n\\nexports.name = ['transcludeinline', 'transcludeblock'];\\n\\nexports.report = function(text, callback, options) {\\n\\tvar m = this.match,\\n\\t\\trefString = $tw.utils.trim(m[1]),\\n\\t\\tref = parseTextReference(refString),\\n\\t\\ttemplate = $tw.utils.trim(m[2]),\\n\\t\\tparams = m[3];\\n\\tfor (var operator in referenceOperators) {\\n\\t\\treferenceOperators[operator].report(ref, function(title, blurb, style) {\\n\\t\\t\\tblurb = blurb || \\\"\\\";\\n\\t\\t\\tif (template) {\\n\\t\\t\\t\\tblurb += '||' + template;\\n\\t\\t\\t}\\n\\t\\t\\tif (params) {\\n\\t\\t\\t\\tblurb += '|' + params;\\n\\t\\t\\t}\\n\\t\\t\\tcallback(title, \\\"{{\\\" + blurb + \\\"}}\\\", style);\\n\\t\\t}, options);\\n\\t}\\n\\ttitleHandler.report(template, function(title, blurb, style) {\\n\\t\\tvar templateBlurb = refString + '||';\\n\\t\\tif (params) {\\n\\t\\t\\ttemplateBlurb += '|' + params;\\n\\t\\t}\\n\\t\\tcallback(template, '{{' + templateBlurb + '}}', style);\\n\\t}, options);\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar m = this.match,\\n\\t\\treference = parseTextReference(m[1]),\\n\\t\\ttemplate = m[2],\\n\\t\\tparams = m[3],\\n\\t\\tentry = undefined,\\n\\t\\timpossible = false,\\n\\t\\tmodified = false;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tfor (var operator in referenceOperators) {\\n\\t\\tvar result = referenceOperators[operator].relink(reference, fromTitle, toTitle, options);\\n\\t\\tif (result !== undefined) {\\n\\t\\t\\tif (result.impossible) {\\n\\t\\t\\t\\timpossible = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (result.output) {\\n\\t\\t\\t\\treference = result.output;\\n\\t\\t\\t\\tmodified = true\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tvar templateEntry = titleHandler.relink($tw.utils.trim(template), fromTitle, toTitle, options);\\n\\tif (templateEntry) {\\n\\t\\tif (templateEntry.impossible) {\\n\\t\\t\\timpossible = true;\\n\\t\\t}\\n\\t\\tif (templateEntry.output) {\\n\\t\\t\\ttemplate = template.replace(fromTitle, toTitle);\\n\\t\\t\\tmodified = true;\\n\\t\\t}\\n\\t}\\n\\tif (modified) {\\n\\t\\tvar output = this.makeTransclude(this.parser, reference, template, params);\\n\\t\\tif (output) {\\n\\t\\t\\t// Adding any newline that might have existed is\\n\\t\\t\\t// what allows this relink method to work for both\\n\\t\\t\\t// the block and inline filter wikitext rule.\\n\\t\\t\\tentry = {output: output + utils.getEndingNewline(m[0])};\\n\\t\\t} else {\\n\\t\\t\\timpossible = true;\\n\\t\\t}\\n\\t}\\n\\tif (impossible) {\\n\\t\\tentry = entry || {};\\n\\t\\tentry.impossible = true;\\n\\t}\\n\\treturn entry;\\n};\\n\\n// I have my own because the core one is deficient for my needs.\\nfunction parseTextReference(textRef) {\\n\\t// Separate out the title, field name and/or JSON indices\\n\\tvar reTextRef = /^([\\\\w\\\\W]*?)(?:!!(\\\\S[\\\\w\\\\W]*)|##(\\\\S[\\\\w\\\\W]*))?$/g,\\n\\t\\tmatch = reTextRef.exec(textRef),\\n\\t\\tresult = {};\\n\\tif(match) {\\n\\t\\t// Return the parts\\n\\t\\tresult.title = match[1];\\n\\t\\tresult.field = match[2];\\n\\t\\tresult.index = match[3];\\n\\t} else {\\n\\t\\t// If we couldn't parse it\\n\\t\\tresult.title = textRef\\n\\t}\\n\\treturn result;\\n};\\n\\n/** This converts a reference and a template into a string representation\\n * of a transclude.\\n */\\nexports.makeTransclude = function(parser, reference, template, params) {\\n\\tvar rtn;\\n\\tif (!canBePrettyTemplate(template)) {\\n\\t\\tvar widget = utils.makeWidget(parser, '$transclude', {\\n\\t\\t\\ttiddler: $tw.utils.trim(template),\\n\\t\\t\\tfield: reference.field,\\n\\t\\t\\tindex: reference.index});\\n\\t\\tif (reference.title && widget !== undefined) {\\n\\t\\t\\trtn = utils.makeWidget(parser, '$tiddler', {tiddler: $tw.utils.trim(reference.title)}, widget);\\n\\t\\t} else {\\n\\t\\t\\trtn = widget;\\n\\t\\t}\\n\\t} else if (!canBePrettyTitle(reference.title) || !canBePrettyField(reference.field)) {\\n\\t\\t// This block and the next account for the 1%...\\n\\t\\tvar transclude;\\n\\t\\tif (canBePrettyField(reference.field)) {\\n\\t\\t\\tvar reducedRef = {field: reference.field, index: reference.index};\\n\\t\\t\\ttransclude = prettyTransclude(reducedRef, template, params);\\n\\t\\t} else {\\n\\t\\t\\ttransclude = utils.makeWidget(parser, \\\"$transclude\\\", {tiddler: $tw.utils.trim(reference.title), field: reference.field});\\n\\t\\t}\\n\\t\\trtn = utils.makeWidget(parser, '$tiddler', {tiddler: $tw.utils.trim(reference.title)}, transclude);\\n\\t} else {\\n\\t\\t// This block takes care of 99% of all cases\\n\\t\\trtn = prettyTransclude(reference, template, params);\\n\\t}\\n\\treturn rtn;\\n};\\n\\nfunction canBePrettyTitle(value) {\\n\\treturn refHandler.canBePretty(value) && canBePrettyTemplate(value);\\n};\\n\\nfunction canBePrettyField(value) {\\n\\treturn !/[\\\\|\\\\}\\\\{]/.test(value);\\n};\\n\\nfunction canBePrettyTemplate(value) {\\n\\treturn !value || (value.indexOf('}') < 0 && value.indexOf('{') < 0 && value.indexOf('|') < 0);\\n};\\n\\nfunction prettyTransclude(textReference, template, params) {\\n\\tif (typeof textReference !== \\\"string\\\") {\\n\\t\\ttextReference = refHandler.toString(textReference);\\n\\t}\\n\\tif (!textReference) {\\n\\t\\ttextReference = '';\\n\\t}\\n\\tif (template !== undefined) {\\n\\t\\ttextReference += \\\"||\\\" + template;\\n\\t}\\n\\tif (params) {\\n\\t\\ttextReference += \\\"|\\\" + params;\\n\\t}\\n\\treturn \\\"{{\\\"+textReference+\\\"}}\\\";\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/transclude.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/typedblock.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles the typeed blocks, as in:\\n\\n$$$text/vnd.tiddlywiki>text/html\\n...\\n$$$\\n\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\\n\\nexports.name = \\\"typedblock\\\";\\n\\nexports.types = {block: true};\\n\\nvar textOperators;\\nvar oldTextOperators;\\n\\nfunction getTextOperator(type, options) {\\n\\tvar operator;\\n\\tif (textOperators === undefined) {\\n\\t\\ttextOperators = utils.getModulesByTypeAsHashmap('relinktext', 'type');\\n\\t\\toldTextOperators = utils.getModulesByTypeAsHashmap('relinktextoperator', 'type');\\n\\t}\\n\\toperator = textOperators[type];\\n\\tif (operator) {\\n\\t\\treturn operator;\\n\\t}\\n\\tvar info = $tw.utils.getFileExtensionInfo(type);\\n\\tif (info && textOperators[info.type]) {\\n\\t\\treturn textOperators[info.type];\\n\\t}\\n\\tvar old = oldTextOperators[type] || (info && oldTextOperators[info.type]);\\n\\tif (old) {\\n\\t\\tvar vars = Object.create(options);\\n\\t\\tvars.variables = {type: old.type, keyword: type};\\n\\t\\tvar warnString = language.getString(\\\"text/html\\\", \\\"Warning/OldRelinkTextOperator\\\", vars)\\n\\t\\tlanguage.warn(warnString);\\n\\t\\toldTextOperators[type] = undefined;\\n\\t}\\n};\\n\\nfunction getText() {\\n\\tvar reEnd = /\\\\r?\\\\n\\\\$\\\\$\\\\$\\\\r?(?:\\\\n|$)/mg;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Look for the end of the block\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext;\\n\\t// Process the block\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\treturn text;\\n};\\n\\nexports.report = function(text, callback, options) {\\n\\tvar innerText = getText.call(this),\\n\\t\\toperator = getTextOperator(this.match[1], options);\\n\\tif (operator) {\\n\\t\\treturn operator.report(innerText, callback, options);\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar start = this.parser.pos,\\n\\t\\tinnerStart = this.matchRegExp.lastIndex,\\n\\t\\tinnerText = getText.call(this),\\n\\t\\toperator = getTextOperator(this.match[1], options);\\n\\tif (operator) {\\n\\t\\tvar innerOptions = Object.create(options);\\n\\t\\tinnerOptions.settings = this.parser.context;\\n\\t\\tvar results = operator.relink(innerText, fromTitle, toTitle, innerOptions);\\n\\t\\tif (results && results.output) {\\n\\t\\t\\tvar builder = new Rebuilder(text, start);\\n\\t\\t\\tbuilder.add(results.output, innerStart, innerStart + innerText.length);\\n\\t\\t\\tresults.output = builder.results(this.parser.pos);\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/typedblock.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/utils.js\":{\"text\":\"/*\\\\\\nmodule-type: library\\n\\nUtility methods for the wikitext relink rules.\\n\\n\\\\*/\\n\\nexports.makeWidget = function(parser, tag, attributes, body) {\\n\\tif (!parser.context.allowWidgets()) {\\n\\t\\treturn undefined;\\n\\t}\\n\\tvar string = '<' + tag;\\n\\tfor (var attr in attributes) {\\n\\t\\tvar value = attributes[attr];\\n\\t\\tif (value !== undefined) {\\n\\t\\t\\tvar quoted = exports.wrapAttributeValue(value);\\n\\t\\t\\tif (!quoted) {\\n\\t\\t\\t\\t// It's not possible to make this widget\\n\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t}\\n\\t\\t\\tstring += ' ' + attr + '=' + quoted;\\n\\t\\t}\\n\\t}\\n\\tif (body !== undefined) {\\n\\t\\tstring += '>' + body + '</' + tag + '>';\\n\\t} else {\\n\\t\\tstring += '/>';\\n\\t}\\n\\treturn string;\\n};\\n\\nexports.makePrettylink = function(parser, title, caption) {\\n\\tvar output;\\n\\tif (parser.context.allowPrettylinks() && canBePrettylink(title, caption)) {\\n\\t\\tif (caption !== undefined) {\\n\\t\\t\\toutput = \\\"[[\\\" + caption + \\\"|\\\" + title + \\\"]]\\\";\\n\\t\\t} else {\\n\\t\\t\\toutput = \\\"[[\\\" + title + \\\"]]\\\";\\n\\t\\t}\\n\\t} else if (caption !== undefined) {\\n\\t\\tvar safeCaption = sanitizeCaption(parser, caption);\\n\\t\\tif (safeCaption !== undefined) {\\n\\t\\t\\toutput = exports.makeWidget(parser, '$link', {to: title}, safeCaption);\\n\\t\\t}\\n\\t} else if (exports.shorthandPrettylinksSupported(parser.wiki)) {\\n\\t\\toutput = exports.makeWidget(parser, '$link', {to: title});\\n\\t}\\n\\treturn output;\\n};\\n\\n/**In version 5.1.20, Tiddlywiki made it so <$link to\\\"something\\\" /> would\\n * use \\\"something\\\" as a caption. This is preferable. However, Relink works\\n * going back to 5.1.14, so we need to have different handling for both\\n * cases.\\n */\\nvar _supported;\\nexports.shorthandPrettylinksSupported = function(wiki) {\\n\\tif (_supported === undefined) {\\n\\t\\tvar test = wiki.renderText(\\\"text/plain\\\", \\\"text/vnd.tiddlywiki\\\", \\\"<$link to=test/>\\\");\\n\\t\\t_supported = (test === \\\"test\\\");\\n\\t}\\n\\treturn _supported;\\n};\\n\\n/**Return true if value can be used inside a prettylink.\\n */\\nfunction canBePrettylink(value, customCaption) {\\n\\treturn value.indexOf(\\\"]]\\\") < 0 && value[value.length-1] !== ']' && (customCaption !== undefined || value.indexOf('|') < 0);\\n};\\n\\nfunction sanitizeCaption(parser, caption) {\\n\\tvar plaintext = parser.wiki.renderText(\\\"text/plain\\\", \\\"text/vnd.tiddlywiki\\\", caption);\\n\\tif (plaintext === caption && caption.indexOf(\\\"</$link>\\\") <= 0) {\\n\\t\\treturn caption;\\n\\t} else {\\n\\t\\treturn exports.makeWidget(parser, '$text', {text: caption});\\n\\t}\\n};\\n\\nexports.containsPlaceholders = function(string) {\\n\\t// Does it contain a variable placeholder?\\n\\tif (/\\\\$\\\\(([^\\\\)\\\\$]+)\\\\)\\\\$/.test(string)) {\\n\\t\\treturn true;\\n\\t}\\n\\t// Does it contain a filter placeholder?\\n\\tvar filterStart = string.indexOf(\\\"${\\\");\\n\\tif (filterStart >= 0 && string.indexOf(\\\"}$\\\", filterStart+3) >= 0) {\\n\\t\\treturn true;\\n\\t}\\n\\t// If no, then it's just a string.\\n\\treturn false;\\n};\\n\\nvar whitelist = [\\\"\\\", \\\"'\\\", '\\\"', '\\\"\\\"\\\"'];\\nvar choices = {\\n\\t\\\"\\\": function(v) {return !/([\\\\/\\\\s<>\\\"'`=])/.test(v) && v.length > 0; },\\n\\t\\\"'\\\": function(v) {return v.indexOf(\\\"'\\\") < 0; },\\n\\t'\\\"': function(v) {return v.indexOf('\\\"') < 0; },\\n\\t'\\\"\\\"\\\"': function(v) {return v.indexOf('\\\"\\\"\\\"') < 0 && v[v.length-1] != '\\\"';},\\n};\\nvar _backticksSupported;\\n\\n/**Finds an appropriate quote mark for a given value.\\n *\\n *Tiddlywiki doesn't have escape characters for attribute values. Instead,\\n * we just have to find the type of quotes that'll work for the given title.\\n * There exist titles that simply can't be quoted.\\n * If it can stick with the preference, it will.\\n *\\n * return: Returns the wrapped value, or undefined if it's impossible to wrap\\n */\\nexports.wrapAttributeValue = function(value, preference) {\\n\\tif (_backticksSupported === undefined) {\\n\\t\\tvar test = $tw.wiki.renderText(\\\"text/plain\\\", \\\"text/vnd.tiddlywiki\\\", \\\"<$link to=`test`/>\\\");\\n\\t\\t_backticksSupported = (test === \\\"test\\\");\\n\\t\\tif (_backticksSupported) {\\n\\t\\t\\t// add in support for the backtick to the lists\\n\\t\\t\\twhitelist.push('`', '```');\\n\\t\\t\\tchoices['`'] = function(v) {return v.indexOf('`') < 0 && !exports.containsPlaceholders(v); };\\n\\t\\t\\tchoices['```'] = function(v) {return v.indexOf('```') < 0 && v[v.length-1] != '`' && !exports.containsPlaceholders(v);};\\n\\t\\t}\\n\\t}\\n\\tif (choices[preference] && choices[preference](value)) {\\n\\t\\treturn wrap(value, preference);\\n\\t}\\n\\tfor (var i = 0; i < whitelist.length; i++) {\\n\\t\\tvar quote = whitelist[i];\\n\\t\\tif (choices[quote](value)) {\\n\\t\\t\\treturn wrap(value, quote);\\n\\t\\t}\\n\\t}\\n\\t// No quotes will work on this\\n\\treturn undefined;\\n};\\n\\nfunction wrap(value, wrapper) {\\n\\tvar wrappers = {\\n\\t\\t\\\"\\\": function(v) {return v; },\\n\\t\\t\\\"'\\\": function(v) {return \\\"'\\\"+v+\\\"'\\\"; },\\n\\t\\t'\\\"': function(v) {return '\\\"'+v+'\\\"'; },\\n\\t\\t'\\\"\\\"\\\"': function(v) {return '\\\"\\\"\\\"'+v+'\\\"\\\"\\\"'; },\\n\\t\\t\\\"[[\\\": function(v) {return \\\"[[\\\"+v+\\\"]]\\\"; },\\n\\t\\t\\\"`\\\": function(v) {return '`'+v+'`'; },\\n\\t\\t'```': function(v) {return '```'+v+'```'; }\\n\\t};\\n\\tvar chosen = wrappers[wrapper];\\n\\tif (chosen) {\\n\\t\\treturn chosen(value);\\n\\t} else {\\n\\t\\treturn undefined;\\n\\t}\\n};\\n\\nfunction canBePrettyOperand(value) {\\n\\treturn value.indexOf(']') < 0;\\n};\\n\\n// Finds the newline at the end of a string and returns it. Empty string if\\n// none exists.\\nexports.getEndingNewline = function(string) {\\n\\tvar l = string.length;\\n\\tif (string[l-1] === '\\\\n') {\\n\\t\\treturn (string[l-2] === '\\\\r') ? \\\"\\\\r\\\\n\\\" : \\\"\\\\n\\\";\\n\\t}\\n\\treturn \\\"\\\";\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/utils.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/whitespace.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles whitespace pragma\\n\\n\\\\*/\\n\\nexports.name = \\\"whitespace\\\";\\n\\n// We don't actually do anything, but we can't rely on\\n// the default behavior of moving to parser.pos.\\n// we have to forward past all the whitespace tokens.\\nexports.relink = exports.report = function() { this.parse(); }\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/whitespace.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/wikilink.js\":{\"text\":\"/*\\\\\\nmodule-type: relinkwikitextrule\\n\\nHandles CamelCase links\\n\\nWikiLink\\n\\nbut not:\\n\\n~WikiLink\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.name = \\\"wikilink\\\";\\n\\nexports.report = function(text, callback, options) {\\n\\tvar title = this.match[0],\\n\\t\\tunlink = $tw.config.textPrimitives.unWikiLink;\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tif (title[0] !== unlink) {\\n\\t\\tcallback(title, unlink + title);\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar entry = undefined,\\n\\t\\ttitle = this.match[0];\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tif (title === fromTitle && title[0] !== $tw.config.textPrimitives.unWikiLink) {\\n\\t\\tentry = { output: this.makeWikilink(toTitle, options) };\\n\\t\\tif (entry.output === undefined) {\\n\\t\\t\\tentry.impossible = true;\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\nexports.makeWikilink = function(title, options) {\\n\\tif (title.match(this.matchRegExp) && title[0] !== $tw.config.textPrimitives.unWikiLink) {\\n\\t\\treturn title;\\n\\t} else {\\n\\t\\treturn utils.makePrettylink(this.parser, title);\\n\\t}\\n};\\n\",\"module-type\":\"relinkwikitextrule\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/wikilink.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/def/body.js\":{\"text\":\"/*\\\\\\n\\nTakes care of relinking the bodies of definitions.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils\\\");\\n\\nexports.name = \\\"body\\\";\\n\\nexports.report = function(definition, callback, options) {\\n\\tvar handler = getHandler(definition.type, definition.name);\\n\\tif (handler) {\\n\\t\\tvar newOptions = Object.create(options);\\n\\t\\tvar entry = handler.report(definition.body, function(title, blurb, style) {\\n\\t\\t\\tvar macroStr = '\\\\\\\\' + definition.type + ' ' + definition.name + '()';\\n\\t\\t\\tif (blurb) {\\n\\t\\t\\t\\tmacroStr += ' ' + blurb;\\n\\t\\t\\t}\\n\\t\\t\\tcallback(title, macroStr, style);\\n\\t\\t}, newOptions);\\n\\t}\\n};\\n\\nexports.relink = function(definition, fromTitle, toTitle, options) {\\n\\tvar handler = getHandler(definition.type, definition.name);\\n\\tvar results;\\n\\tif (handler) {\\n\\t\\tvar newOptions = Object.create(options);\\n\\t\\tresults = handler.relink(definition.body, fromTitle, toTitle, newOptions);\\n\\t\\tif (results && results.output) {\\n\\t\\t\\tdefinition.body = results.output;\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\nfunction getHandler(macroType, macroName) {\\n\\tvar type;\\n\\tswitch (macroType) {\\n\\tcase \\\"function\\\":\\n\\t\\ttype = \\\"filter\\\";\\n\\t\\tbreak;\\n\\tcase \\\"define\\\":\\n\\t\\t/**This returns the handler to use for a macro\\n\\t\\t * By default, we treat them like wikitext, but Relink used to make\\n\\t\\t * little macros as placeholders. If we find one, we must return\\n\\t\\t * the correct handler for what that placeholder represented.\\n\\t\\t */\\n\\t\\tvar placeholder = /^relink-(?:(\\\\w+)-)?\\\\d+$/.exec(macroName);\\n\\t\\t// normal macro or special placeholder?\\n\\t\\tif (placeholder) {\\n\\t\\t\\ttype = placeholder[1] || 'title';\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\tdefault:\\n\\t\\ttype = 'wikitext';\\n\\t}\\n\\treturn utils.getType(type);\\n};\\n\",\"module-type\":\"relinkdef\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/def/body.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/def/substitution.js\":{\"text\":\"exports.name = 'substitution';\\nvar subHandler = require(\\\"$:/plugins/flibbles/relink/js/utils/substitution.js\\\");\\n\\nexports.report = function(definition, callback, options) {\\n\\tif (definition.type === 'define') {\\n\\t\\tvar options = Object.create(options);\\n\\t\\toptions.noFilterSubstitution = true;\\n\\t\\tsubHandler.report(definition.body, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '\\\\\\\\define ' + definition.name + '() ' + (blurb || ''), style);\\n\\t\\t}, options);\\n\\t}\\n};\\n\\nexports.relink = function(definition, fromTitle, toTitle, options) {\\n\\tvar results;\\n\\tif (definition.type === \\\"define\\\") {\\n\\t\\tvar options = Object.create(options);\\n\\t\\toptions.noFilterSubstitution = true;\\n\\t\\tresults = subHandler.relink(definition.body, fromTitle, toTitle, options);\\n\\t\\tif (results && results.output) {\\n\\t\\t\\tdefinition.body = results.output;\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\",\"module-type\":\"relinkdef\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/def/substitution.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes.js\":{\"text\":\"/*\\\\\\n\\nHandles all element attribute values. Most widget relinking happens here.\\n\\n\\\\*/\\n\\n'use strict';\\n\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar utils = require('../utils.js');\\nvar refHandler = relinkUtils.getType('reference');\\nvar filterHandler = relinkUtils.getType('filter');\\nvar macrocall = require(\\\"$:/plugins/flibbles/relink/js/utils/macrocall.js\\\");\\nvar substitution = require(\\\"$:/plugins/flibbles/relink/js/utils/substitution.js\\\");\\nvar attributeOperators = relinkUtils.getModulesByTypeAsHashmap('relinkhtmlattributes', 'name');\\n\\nexports.name = \\\"attributes\\\";\\n\\nexports.report = function(element, parser, callback, options) {\\n\\tfor (var attributeName in element.attributes) {\\n\\t\\tvar attr = element.attributes[attributeName];\\n\\t\\tvar nextEql = parser.source.indexOf('=', attr.start);\\n\\t\\t// This is the rare case of changing tiddler\\n\\t\\t// \\\"true\\\" to something else when \\\"true\\\" is\\n\\t\\t// implicit, like <$link to /> We ignore those.\\n\\t\\tif (nextEql < 0 || nextEql > attr.end) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tswitch (attr.type) {\\n\\t\\tcase \\\"string\\\":\\n\\t\\t\\tfor (var operatorName in attributeOperators) {\\n\\t\\t\\t\\tvar operator = attributeOperators[operatorName];\\n\\t\\t\\t\\tvar handler = operator.getHandler(element, attr, options);\\n\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\thandler.report(attr.value, function(title, blurb, style) {\\n\\t\\t\\t\\t\\t\\tif (operator.formBlurb) {\\n\\t\\t\\t\\t\\t\\t\\tif (blurb) {\\n\\t\\t\\t\\t\\t\\t\\t\\tblurb = '\\\"' + blurb + '\\\"';\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\tcallback(title, operator.formBlurb(element, attr, blurb, options), style);\\n\\t\\t\\t\\t\\t\\t} else if (blurb) {\\n\\t\\t\\t\\t\\t\\t\\tcallback(title, element.tag + ' ' + attributeName + '=\\\"' + blurb + '\\\"', style);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tcallback(title, element.tag + ' ' + attributeName, style);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}, options);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"indirect\\\":\\n\\t\\t\\trefHandler.report(attr.textReference, function(title, blurb, style) {\\n\\t\\t\\t\\tcallback(title, element.tag + ' ' + attributeName + '={{' + (blurb || '') + '}}', style);\\n\\t\\t\\t}, options);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"filtered\\\":\\n\\t\\t\\tfilterHandler.report(attr.filter, function(title, blurb, style) {\\n\\t\\t\\t\\tcallback(title, element.tag + ' ' + attributeName + '={{{' + blurb + '}}}', style);\\n\\t\\t\\t}, options);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"macro\\\":\\n\\t\\t\\tvar macro = attr.value;\\n\\t\\t\\tmacrocall.report(options.settings, macro, function(title, blurb, style) {\\n\\t\\t\\t\\tcallback(title, element.tag + ' ' + attributeName + '=<<' + blurb + '>>', style);\\n\\t\\t\\t}, options);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"substituted\\\":\\n\\t\\t\\tsubstitution.report(attr.rawValue, function(title, blurb, style) {\\n\\t\\t\\t\\tcallback(title, element.tag + ' ' + attributeName + '=`' + blurb + '`', style);\\n\\t\\t\\t}, options);\\n\\t\\t\\tfor (var operatorName in attributeOperators) {\\n\\t\\t\\t\\tvar operator = attributeOperators[operatorName];\\n\\t\\t\\t\\tvar handler = operator.getHandler(element, attr, options);\\n\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\thandler.report(attr.rawValue, function(title, blurb, style) {\\n\\t\\t\\t\\t\\t\\t// Only consider titles without substitutions.\\n\\t\\t\\t\\t\\t\\tif (!utils.containsPlaceholders(title)) {\\n\\t\\t\\t\\t\\t\\t\\tblurb = (utils.containsPlaceholders(attr.rawValue) || blurb)? '`' + blurb + '`': '';\\n\\t\\t\\t\\t\\t\\t\\tif (operator.formBlurb) {\\n\\t\\t\\t\\t\\t\\t\\t\\tblurb = operator.formBlurb(element, attr, blurb, options);\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tif (blurb) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tblurb = '=' + blurb;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\tblurb = element.tag + ' ' + attributeName + blurb;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\tcallback(title, blurb, style);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}, options);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(element, parser, fromTitle, toTitle, options) {\\n\\tvar changed = undefined, impossible = undefined;\\n\\tfor (var attributeName in element.attributes) {\\n\\t\\tvar attr = element.attributes[attributeName];\\n\\t\\tvar nextEql = parser.source.indexOf('=', attr.start);\\n\\t\\t// This is the rare case of changing tiddler\\n\\t\\t// \\\"true\\\" to something else when \\\"true\\\" is\\n\\t\\t// implicit, like <$link to /> We ignore those.\\n\\t\\tif (nextEql < 0 || nextEql > attr.end) {\\n\\t\\t\\tattr.valueless = true;\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tvar entry = undefined;\\n\\t\\tswitch (attr.type) {\\n\\t\\tcase 'substituted':\\n\\t\\t\\tif (utils.containsPlaceholders(attr.rawValue)) {\\n\\t\\t\\t\\tvar subEntry = substitution.relink(attr.rawValue, fromTitle, toTitle, options);\\n\\t\\t\\t\\tif (subEntry) {\\n\\t\\t\\t\\t\\tif (subEntry.output) {\\n\\t\\t\\t\\t\\t\\tattr.rawValue = subEntry.output;\\n\\t\\t\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif (subEntry.impossible) {\\n\\t\\t\\t\\t\\t\\timpossible = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (!utils.containsPlaceholders(fromTitle)) {\\n\\t\\t\\t\\t\\tfor (var operatorName in attributeOperators) {\\n\\t\\t\\t\\t\\t\\tvar operator = attributeOperators[operatorName];\\n\\t\\t\\t\\t\\t\\tvar handler = operator.getHandler(element, attr, options);\\n\\t\\t\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\t\\t\\tentry = handler.relink(attr.rawValue, fromTitle, toTitle, options);\\n\\t\\t\\t\\t\\t\\t\\tif (entry && entry.output) {\\n\\t\\t\\t\\t\\t\\t\\t\\tif (utils.containsPlaceholders(toTitle)) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t// If we relinked, but the toTitle can't be in\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t// a substitution, then we must fail instead.\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tattr.rawValue = entry.output;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tattr.handler = handler.name;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\t// no break. turn it into a string and try to work with it\\n\\t\\t\\tattr.value = attr.rawValue;\\n\\t\\tcase 'string':\\n\\t\\t\\tfor (var operatorName in attributeOperators) {\\n\\t\\t\\t\\tvar operator = attributeOperators[operatorName];\\n\\t\\t\\t\\tvar handler = operator.getHandler(element, attr, options);\\n\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\tentry = handler.relink(attr.value, fromTitle, toTitle, options);\\n\\t\\t\\t\\t\\tif (entry && entry.output) {\\n\\t\\t\\t\\t\\t\\tattr.oldValue = attr.value;\\n\\t\\t\\t\\t\\t\\tattr.value = entry.output;\\n\\t\\t\\t\\t\\t\\tattr.handler = handler.name;\\n\\t\\t\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t\\t\\t\\t// Change it into a string if this was a substitution that had no substitutions\\n\\t\\t\\t\\t\\t\\tattr.type = 'string';\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase 'indirect':\\n\\t\\t\\tentry = refHandler.relinkInBraces(attr.textReference, fromTitle, toTitle, options);\\n\\t\\t\\tif (entry && entry.output) {\\n\\t\\t\\t\\tattr.textReference = entry.output;\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase 'filtered':\\n\\t\\t\\tentry = filterHandler.relinkInBraces(attr.filter, fromTitle, toTitle, options);\\n\\t\\t\\tif (entry && entry.output) {\\n\\t\\t\\t\\tattr.filter = entry.output;\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase 'macro':\\n\\t\\t\\tvar macro = attr.value;\\n\\t\\t\\tentry = macrocall.relink(options.settings, macro, parser.source, fromTitle, toTitle, false, options);\\n\\t\\t\\tif (entry && entry.output) {\\n\\t\\t\\t\\tattr.output = macrocall.reassemble(entry, parser.source, options);\\n\\t\\t\\t\\tattr.value = entry.output;\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tif (entry && entry.impossible) {\\n\\t\\t\\timpossible = true;\\n\\t\\t}\\n\\t}\\n\\tif (changed || impossible) {\\n\\t\\treturn {output: changed, impossible: impossible};\\n\\t}\\n};\\n\",\"module-type\":\"relinkhtml\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/importvariables.js\":{\"text\":\"/*\\\\\\n\\nHandles state updating required for $importvariables widgets\\n\\n\\\\*/\\n\\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar ImportContext = relinkUtils.getContext('import');\\n\\nexports.name = \\\"importvariables\\\";\\n\\nexports.report = function(element, parser, callback, options) {\\n\\tif (element.tag === \\\"$importvariables\\\") {\\n\\t\\tprocessImport(element, parser, options);\\n\\t}\\n};\\n\\nexports.relink = function(element, parser, fromTitle, toTitle, options) {\\n\\tif (element.tag === \\\"$importvariables\\\") {\\n\\t\\tprocessImport(element, parser, options);\\n\\t}\\n};\\n\\nfunction processImport(element, parser, options) {\\n\\tvar importFilterAttr = element.attributes.filter;\\n\\tif (importFilterAttr) {\\n\\t\\tprocessImportFilter(parser, importFilterAttr, options);\\n\\t}\\n};\\n\\n// This processes a <$importvariables> filter attribute and adds any new\\n// variables to our parser.\\nfunction processImportFilter(parser, importAttribute, options) {\\n\\tif (typeof importAttribute === \\\"string\\\") {\\n\\t\\t// It was changed. Reparse it. It'll be a quoted\\n\\t\\t// attribute value. Add a dummy attribute name.\\n\\t\\timportAttribute = $tw.utils.parseAttribute(\\\"p=\\\"+importAttribute, 0)\\n\\t}\\n\\tvar context = parser.context;\\n\\tvar importFilter = computeAttribute(context, importAttribute, options);\\n\\tparser.context = new ImportContext(options.wiki, context, importFilter);\\n};\\n\\nfunction computeAttribute(context, attribute, options) {\\n\\tvar value;\\n\\tif(attribute.type === \\\"filtered\\\") {\\n\\t\\tvar parentWidget = context.widget;\\n\\t\\tvalue = options.wiki.filterTiddlers(attribute.filter,parentWidget)[0] || \\\"\\\";\\n\\t} else if(attribute.type === \\\"indirect\\\") {\\n\\t\\tvar parentWidget = context.widget;\\n\\t\\tvalue = options.wiki.getTextReference(attribute.textReference,\\\"\\\",parentWidget.variables.currentTiddler.value);\\n\\t} else if(attribute.type === \\\"macro\\\") {\\n\\t\\tvar parentWidget = context.widget;\\n\\t\\tvalue = parentWidget.getVariable(attribute.value.name,{params: attribute.value.params});\\n\\t} else { // String attribute\\n\\t\\tvalue = attribute.value;\\n\\t}\\n\\treturn value;\\n};\\n\",\"module-type\":\"relinkhtml\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/importvariables.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/parameters.js\":{\"text\":\"/*\\\\\\n\\nHandles replacement in $macrocall widgets\\n\\n\\\\*/\\n\\nexports.name = \\\"parameters\\\";\\n\\nexports.report = function(element, parser, callback, options) {\\n\\tif (element.tag === \\\"$parameters\\\") {\\n\\t\\tprocessParameters(element, parser, options);\\n\\t}\\n};\\n\\nexports.relink = function(element, parser, fromTitle, toTitle, options) {\\n\\tif (element.tag === \\\"$parameters\\\") {\\n\\t\\tprocessParameters(element, parser, options);\\n\\t}\\n};\\n\\nfunction processParameters(element, parser, options) {\\n\\tvar attributes = element.orderedAttributes;\\n\\tvar index = 0;\\n\\tfor (var i = 0; i < attributes.length; i++) {\\n\\t\\tvar attribute = attributes[i].name;\\n\\t\\tif (attribute[0] == '$') {\\n\\t\\t\\tif (attribute[1] == '$') {\\n\\t\\t\\t\\tattribute = attribute.substr(1);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tparser.context.addParameter(attribute);\\n\\t\\t++index;\\n\\t}\\n};\\n\",\"module-type\":\"relinkhtml\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/parameters.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/fields.js\":{\"text\":\"/*\\\\ \\nHandles replacement in widgets which allow arbitrary attributes that\\ncorrespond to tiddler fields.\\n\\n\\\\*/\\n\\nexports.name = \\\"fields\\\";\\n\\nexports.getHandler = function(element, attribute, options) {\\n\\tvar regexp = options.settings.getConfig(\\\"fieldattributes\\\")[element.tag];\\n\\tif (regexp) {\\n\\t\\tvar results = regexp.exec(attribute.name);\\n\\t\\tif (results && results[0] === attribute.name) {\\n\\t\\t\\treturn options.settings.getFields()[results[1]];\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkhtmlattributes\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/fields.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/macrocall.js\":{\"text\":\"/*\\\\\\n\\nHandles replacement in $macrocall widgets\\n\\n\\\\*/\\n\\nexports.name = \\\"macrocall\\\";\\n\\nexports.getHandler = function(element, attribute, options) {\\n\\tif (element.tag === \\\"$macrocall\\\") {\\n\\t\\tvar nameAttr = element.attributes[\\\"$name\\\"];\\n\\t\\tif (nameAttr) {\\n\\t\\t\\tvar setting = options.settings.getMacro(nameAttr.value);\\n\\t\\t\\treturn setting && setting[attribute.name];\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.formBlurb = function(element, attribute, blurb, options) {\\n\\tvar nameAttr = element.attributes[\\\"$name\\\"];\\n\\tvar newBlurb = '<' + nameAttr.value + ' ' + attribute.name;\\n\\tif (blurb) {\\n\\t\\tnewBlurb += '=' + blurb;\\n\\t}\\n\\treturn newBlurb;\\n};\\n\",\"module-type\":\"relinkhtmlattributes\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/macrocall.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/sendmessage.js\":{\"text\":\"/*\\\\ \\nHandles replacement in $action-sendmessage widgets\\n\\n\\\\*/\\n\\nexports.name = \\\"sendmessage\\\";\\n\\nexports.getHandler = function(element, attribute, options) {\\n\\tif (element.tag === \\\"$action-sendmessage\\\"\\n\\t&& attribute.name[0] !== \\\"$\\\") {\\n\\t\\tvar messageAttr = element.attributes['$message'];\\n\\t\\tif (messageAttr) {\\n\\t\\t\\tvar regexp = options.settings.getConfig(\\\"messages\\\")[messageAttr.value];\\n\\t\\t\\tif (regexp) {\\n\\t\\t\\t\\tvar results = regexp.exec(attribute.name);\\n\\t\\t\\t\\tif (results && results[0] === attribute.name) {\\n\\t\\t\\t\\t\\treturn options.settings.getFields()[results[1]];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.formBlurb = function(element, attribute, blurb, options) {\\n\\tvar messageAttr = element.attributes['$message'];\\n\\tvar newBlurb = '$action-sendmessage ' + messageAttr.value + ' ' + attribute.name;\\n\\tif (blurb) {\\n\\t\\tnewBlurb += '=' + blurb;\\n\\t}\\n\\treturn newBlurb;\\n};\\n\",\"module-type\":\"relinkhtmlattributes\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/sendmessage.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/transclude.js\":{\"text\":\"/*\\\\\\n\\nHandles replacement in $transclude widgets\\n\\n\\\\*/\\n\\nexports.name = \\\"transclude\\\";\\n\\nexports.getHandler = function(element, attribute, options) {\\n\\tif (element.tag === \\\"$transclude\\\") {\\n\\t\\tvar name = attribute.name;\\n\\t\\tif (name[0] === '$') {\\n\\t\\t\\tif (name[1] === '$') {\\n\\t\\t\\t\\tname = name.substr(1);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// This is a reserved attribute\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar nameAttr = element.attributes[\\\"$variable\\\"];\\n\\t\\tif (nameAttr) {\\n\\t\\t\\tvar setting = options.settings.getMacro(nameAttr.oldValue || nameAttr.value);\\n\\t\\t\\treturn setting && setting[name];\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.formBlurb = function(element, attribute, blurb, options) {\\n\\tvar nameAttr = element.attributes[\\\"$variable\\\"];\\n\\tvar name = attribute.name;\\n\\tif (name[0] === '$') {\\n\\t\\tname = name.substr(1);\\n\\t}\\n\\tvar newBlurb = '<' + nameAttr.value + ' ' + name;\\n\\tif (blurb) {\\n\\t\\tnewBlurb += '=' + blurb;\\n\\t}\\n\\treturn newBlurb;\\n};\\n\",\"module-type\":\"relinkhtmlattributes\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/transclude.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/whitelist.js\":{\"text\":\"/*\\\\ \\n\\nHandles replacement of widget attributes that are specified in the whitelist.\\n\\n\\\\*/\\n\\nexports.name = \\\"whitelist\\\";\\n\\nexports.getHandler = function(element, attribute, options) {\\n\\tvar setting = options.settings.getAttribute(element.tag);\\n\\treturn setting && setting[attribute.name];\\n};\\n\",\"module-type\":\"relinkhtmlattributes\",\"title\":\"$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html/attributes/whitelist.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/context.js\":{\"text\":\"/*\\\\\\n\\nBase class for relink contexts.\\n\\n\\\\*/\\n\\nfunction Context() {\\n};\\n\\nexports.context = Context;\\n\\n// This class does no special handling of fields, operators, or attributes.\\n// we pass it along to the parent.\\nContext.prototype.getFields = function() {\\n\\treturn this.parent.getFields();\\n};\\n\\nContext.prototype.getOperator = function(name, index) {\\n\\treturn this.parent.getOperator(name, index);\\n};\\n\\nContext.prototype.getOperators = function() {\\n\\treturn this.parent.getOperators();\\n};\\n\\nContext.prototype.getAttribute = function(elementName) {\\n\\treturn this.parent.getAttribute(elementName);\\n};\\n\\nContext.prototype.getAttributes = function() {\\n\\treturn this.parent.getAttributes();\\n};\\n\\nContext.prototype.getConfig = function(category) {\\n\\treturn this.parent.getConfig(category);\\n};\\n\\nContext.prototype.getMacro = function(macroName) {\\n\\treturn this.parent.getMacro(macroName);\\n};\\n\\nContext.prototype.getMacros = function() {\\n\\treturn this.parent.getMacros();\\n};\\n\\n/* Exceptions are tiddlers that have text/vnd.tiddlywiki type, but should\\n * not be treated as such.\\n */\\nContext.prototype.getException = function(tiddlerTitle) {\\n\\treturn this.parent.getException(tiddlerTitle);\\n};\\n\\nContext.prototype.allowPrettylinks = function() {\\n\\treturn this.parent.allowPrettylinks();\\n};\\n\\nContext.prototype.allowWidgets = function() {\\n\\treturn this.parent.allowWidgets();\\n};\\n\\nContext.prototype.hasImports = function(value) {\\n\\treturn this.parent.hasImports(value);\\n};\\n\\nContext.prototype.getFocus = function() {\\n\\tif (this.parent) {\\n\\t\\treturn this.parent.getFocus();\\n\\t}\\n};\\n\\nContext.prototype.getPlaceholderList = function() {\\n\\tif (this.parent) {\\n\\t\\treturn this.parent.getPlaceholderList();\\n\\t}\\n\\treturn null;\\n};\\n\\nContext.prototype.addParameter = function(parameter) {\\n\\tif(this.parent) {\\n\\t\\treturn this.parent.addParameter(parameter);\\n\\t}\\n};\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/context.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/import.js\":{\"text\":\"/*\\\\\\n\\nThis handles the fetching and distribution of relink settings.\\n\\n\\\\*/\\n\\nvar WidgetContext = require('./widget').widget;\\n\\nfunction ImportContext(wiki, parent, filter) {\\n\\tthis.parent = parent;\\n\\tthis.wiki = wiki;\\n\\tvar importWidget = createImportWidget(filter, this.wiki, this.parent.widget);\\n\\tthis._compileList(importWidget.tiddlerList, importWidget.variables);\\n\\t// this.widget is where we ask for macro definitions.\\n\\t// This only works if only one filter is imported\\n\\tthis.widget = this.getBottom(importWidget);\\n\\t// We keep this one because it's where we need to test for changes from.\\n\\tthis.importWidget = importWidget\\n\\t// Trickle this up, so that any containing tiddlercontext knows that this\\n\\t// tiddler does some importing, and must be checked regularly.\\n\\tparent.hasImports(true);\\n};\\n\\nexports.import = ImportContext;\\n\\nImportContext.prototype = new WidgetContext();\\n\\nImportContext.prototype.changed = function(changes) {\\n\\treturn this.importWidget && this.importWidget.refresh(changes)\\n};\\n\\nfunction createImportWidget(filter, wiki, parent) {\\n\\tvar widget = wiki.makeWidget( { tree: [{\\n\\t\\ttype: \\\"importvariables\\\",\\n\\t\\tattributes: {\\n\\t\\t\\t\\\"filter\\\": {\\n\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\tvalue: filter\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}] }, { parentWidget: parent} );\\n\\tif (parent) {\\n\\t\\tparent.children.push(widget);\\n\\t}\\n\\twidget.execute();\\n\\twidget.renderChildren();\\n\\tvar importWidget = widget.children[0];\\n\\treturn importWidget;\\n};\\n\\nImportContext.prototype._compileList = function(titleList, variables) {\\n\\tfor (var i = 0; i < titleList.length; i++) {\\n\\t\\tvar parser = this.wiki.parseTiddler(titleList[i]);\\n\\t\\tif (parser) {\\n\\t\\t\\tvar parseTreeNode = parser.tree[0];\\n\\t\\t\\twhile (parseTreeNode && parseTreeNode.type === \\\"set\\\") {\\n\\t\\t\\t\\tvar variable = variables[parseTreeNode.attributes.name.value];\\n\\t\\t\\t\\tif(variable) {\\n\\t\\t\\t\\t\\tvariable.tiddler = titleList[i];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (parseTreeNode.relink) {\\n\\t\\t\\t\\t\\tfor (var macroName in parseTreeNode.relink) {\\n\\t\\t\\t\\t\\t\\tvar parameters = parseTreeNode.relink[macroName];\\n\\t\\t\\t\\t\\t\\tfor (var paramName in parameters) {\\n\\t\\t\\t\\t\\t\\t\\tthis.addSetting(this.wiki, macroName, paramName, parameters[paramName], titleList[i]);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tparseTreeNode = parseTreeNode.children && parseTreeNode.children[0];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/import.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/tiddler.js\":{\"text\":\"/*\\\\\\n\\nContext for a tiddler. Defines nothing but makes an entry point to test if\\na tiddler must be refreshed.\\n\\n\\\\*/\\n\\nvar WidgetContext = require('./widget.js').widget;\\n\\nfunction TiddlerContext(wiki, parentContext, title) {\\n\\tthis.title = title;\\n\\tthis.parent = parentContext;\\n\\tvar globalWidget = parentContext && parentContext.widget;\\n\\tvar parentWidget = wiki.makeWidget(null, {parentWidget: globalWidget});\\n\\tparentWidget.setVariable('currentTiddler', title);\\n\\tthis.widget = wiki.makeWidget(null, {parentWidget: parentWidget});\\n};\\n\\nexports.tiddler = TiddlerContext;\\n\\nTiddlerContext.prototype = new WidgetContext();\\n\\nTiddlerContext.prototype.getFocus = function() {\\n\\t// Tiddler Contexts are the last possible focus when not embedded in contexts.\\n\\treturn this;\\n};\\n\\nTiddlerContext.prototype.changed = function(changes) {\\n\\treturn this.widget && this.widget.refresh(changes);\\n};\\n\\n// By default, a tiddler context does not use imports, unless an import\\n// statement is later discovered somewhere in the fields.\\nTiddlerContext.prototype.hasImports = function(value) {\\n\\treturn this._hasImports || (this._hasImports = value);\\n};\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/tiddler.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/variable.js\":{\"text\":\"/*\\\\\\n\\nThis handles the context for variables. Either from $set, $vars, or \\\\define\\n\\n\\\\*/\\n\\nvar WidgetContext = require('./widget').widget;\\n\\nfunction VariableContext(parent, setParseTreeNode) {\\n\\tvar name = setParseTreeNode.attributes.name.value;\\n\\tthis.parent = parent;\\n\\t// Now create a new widget and attach it.\\n\\tvar attachPoint = parent.widget;\\n\\tthis.setWidget = attachPoint.makeChildWidget(setParseTreeNode);\\n\\tattachPoint.children.push(this.setWidget);\\n\\tthis.setWidget.computeAttributes();\\n\\tthis.setWidget.execute();\\n\\t// We get the title of our current parameter focus\\n\\t// (i.e. what \\\\param would affect)\\n\\t// If it's another definition, then title will be null.\\n\\tthis.setWidget.variables[name].tiddler = parent.getFocus().title;\\n\\t// point our widget to bottom, where any other contexts would attach to\\n\\tthis.widget = this.getBottom(this.setWidget);\\n\\tthis.parameterFocus = true;\\n\\tif (setParseTreeNode.isMacroDefinition) {\\n\\t\\tthis.placeholderList = Object.create(parent.getPlaceholderList());\\n\\t\\tfor (var i = 0; i < setParseTreeNode.params.length; i++) {\\n\\t\\t\\tthis.placeholderList[setParseTreeNode.params[i].name] = true;\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.variable = VariableContext;\\n\\nVariableContext.prototype = new WidgetContext();\\n\\nVariableContext.prototype.getFocus = function() {\\n\\tif(this.parameterFocus) {\\n\\t\\treturn this;\\n\\t} else {\\n\\t\\treturn this.parent.getFocus();\\n\\t}\\n};\\n\\nVariableContext.prototype.getPlaceholderList = function() {\\n\\tif (this.placeholderList !== undefined) {\\n\\t\\treturn this.placeholderList;\\n\\t} else {\\n\\t\\treturn this.parent.getPlaceholderList();\\n\\t}\\n};\\n\\nVariableContext.prototype.addParameter = function(parameter) {\\n\\tif(this.parameterFocus) {\\n\\t\\tvar name = this.setWidget.setName;\\n\\t\\tvar data = this.setWidget.variables[name];\\n\\t\\tdata.params.push({name: parameter});\\n\\t} else if (this.parent) {\\n\\t\\tthis.parent.addParameter(parameter);\\n\\t}\\n};\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/variable.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/whitelist.js\":{\"text\":\"/*\\\\\\n\\nThis top-level context manages settings inside the whitelist. It never has\\na parent.\\n\\n\\\\*/\\n\\nvar utils = require('../utils');\\nvar Context = require('./context').context;\\n\\nvar prefix = \\\"$:/config/flibbles/relink/\\\";\\n\\n/**Factories define methods that create settings given config tiddlers.\\n * for factory method 'example', it will be called once for each:\\n * \\\"$:/config/flibbles/relink/example/...\\\" tiddler that exists.\\n * the argument \\\"key\\\" will be set to the contents of \\\"...\\\"\\n *\\n * The reason I build relink settings in this convoluted way is to minimize\\n * the number of times tiddlywiki has to run through EVERY tiddler looking\\n * for relink config tiddlers.\\n */\\nvar settingsGenerators = utils.getModulesByTypeAsHashmap('relinksetting', 'name');\\n\\nfunction WhitelistContext(wiki) {\\n\\tbuild(this, wiki);\\n};\\n\\nexports.whitelist = WhitelistContext;\\n\\nWhitelistContext.prototype = new Context();\\n\\n/**Hot directories are directories for which if anything changes inside them,\\n * then Relink must completely rebuild its index.\\n * By default, this includes the whitelist settings, but relink-titles also\\n * includes its rules disabling directory.\\n * This is the FIRST solution I came up with to this problem. If you're\\n * looking at this, please make a github issue so I have a chance to understand\\n * your needs. This is currently a HACK solution.\\n */\\nWhitelistContext.hotDirectories = [prefix];\\n\\nWhitelistContext.prototype.getAttribute = function(elementName) {\\n\\treturn this.attributes[elementName];\\n};\\n\\nWhitelistContext.prototype.getAttributes = function() {\\n\\treturn flatten(this.attributes);\\n};\\n\\nWhitelistContext.prototype.getFields = function() {\\n\\treturn this.fields;\\n};\\n\\nWhitelistContext.prototype.getConfig = function(category) {\\n\\treturn this[category];\\n};\\n\\nWhitelistContext.prototype.getOperator = function(operatorName, operandIndex) {\\n\\tvar op = this.operators[operatorName];\\n\\treturn op && op[operandIndex || 1];\\n};\\n\\nWhitelistContext.prototype.getOperators = function() {\\n\\tvar signatures = Object.create(null);\\n\\tfor (var op in this.operators) {\\n\\t\\tvar operandSet = this.operators[op];\\n\\t\\tfor (var index in operandSet) {\\n\\t\\t\\tvar entry = operandSet[index];\\n\\t\\t\\tsignatures[entry.key] = entry;\\n\\t\\t}\\n\\t}\\n\\treturn signatures;\\n};\\n\\nWhitelistContext.prototype.getMacro = function(macroName) {\\n\\treturn this.macros[macroName];\\n};\\n\\nWhitelistContext.prototype.getMacros = function() {\\n\\treturn flatten(this.macros);\\n};\\n\\nWhitelistContext.prototype.getException = function(tiddlerTitle) {\\n\\treturn this.exceptions[tiddlerTitle];\\n};\\n\\nWhitelistContext.prototype.changed = function(changedTiddlers) {\\n\\tfor (var i = 0; i < WhitelistContext.hotDirectories.length; i++) {\\n\\t\\tvar dir = WhitelistContext.hotDirectories[i];\\n\\t\\tfor (var title in changedTiddlers) {\\n\\t\\t\\tif (utils.startsWith(title, dir)) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nWhitelistContext.prototype.hasImports = function(value) {\\n\\t// We don't care if imports are used. This is the global level.\\n\\treturn false;\\n};\\n\\nfunction build(settings, wiki) {\\n\\tfor (var name in settingsGenerators) {\\n\\t\\tsettings[name] = Object.create(null);\\n\\t}\\n\\twiki.eachShadowPlusTiddlers(function(tiddler, title) {\\n\\t\\tif (utils.startsWith(title, prefix)) {\\n\\t\\t\\tvar remainder = title.substr(prefix.length);\\n\\t\\t\\tvar category = root(remainder);\\n\\t\\t\\tvar factory = settingsGenerators[category];\\n\\t\\t\\tif (factory) {\\n\\t\\t\\t\\tvar name = remainder.substr(category.length+1);\\n\\t\\t\\t\\tfactory.generate(settings[category], tiddler, name, wiki);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/* Returns first bit of a path. path/to/tiddler -> path\\n */\\nfunction root(string) {\\n\\tvar index = string.indexOf('/');\\n\\tif (index >= 0) {\\n\\t\\treturn string.substr(0, index);\\n\\t}\\n};\\n\\n/* Turns {dir: {file1: 'value1', file2: 'value2'}}\\n * into {dir/file1: 'value1', dir/file2: 'value2'}\\n */\\nfunction flatten(set) {\\n\\tvar signatures = Object.create(null);\\n\\tfor (var outerName in set) {\\n\\t\\tvar setItem = set[outerName];\\n\\t\\tfor (var innerName in setItem) {\\n\\t\\t\\tsignatures[outerName + \\\"/\\\" + innerName] = setItem[innerName];\\n\\t\\t}\\n\\t}\\n\\treturn signatures;\\n};\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/whitelist.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/widget.js\":{\"text\":\"/*\\\\\\n\\nThis is a virtual subclass of context for contexts that exist within widgets\\nof a specific tiddler.\\n\\nAll widget contexts must have a widget member.\\n\\n\\\\*/\\n\\nvar Context = require('./context.js').context;\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nfunction WidgetContext() {};\\n\\nexports.widget = WidgetContext;\\n\\nWidgetContext.prototype = new Context();\\n\\nWidgetContext.prototype.getMacroDefinition = function(variableName) {\\n\\t// widget.variables is prototyped, so it looks up into all its parents too\\n\\tvar def = this.widget.variables[variableName];\\n\\tif (!def) {\\n\\t\\t// It might be a javascript macro\\n\\t\\tdef = $tw.macros[variableName];\\n\\t\\tif (def && !def.tiddler) {\\n\\t\\t\\t// We haven't assigned associated tiddlers to these macros yet.\\n\\t\\t\\t// That may be important for some installed supplemental plugins.\\n\\t\\t\\t$tw.modules.forEachModuleOfType('macro', function(title, module) {\\n\\t\\t\\t\\tif (module.name) {\\n\\t\\t\\t\\t\\t// For now, we just attach it directly to the definition\\n\\t\\t\\t\\t\\t// It's easier, albeit a little sloppy.\\n\\t\\t\\t\\t\\t$tw.macros[module.name].tiddler = title;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn def;\\n};\\n\\nWidgetContext.prototype.addSetting = function(wiki, macroName, parameter, type, sourceTitle) {\\n\\tthis.macros = this.macros || Object.create(null);\\n\\tvar macro = this.macros[macroName];\\n\\ttype = type || utils.getDefaultType(wiki);\\n\\tif (macro === undefined) {\\n\\t\\tmacro = this.macros[macroName] = Object.create(null);\\n\\t}\\n\\tvar handler = utils.getType(type);\\n\\tif (handler) {\\n\\t\\thandler.source = sourceTitle;\\n\\t\\tmacro[parameter] = handler;\\n\\t}\\n};\\n\\nWidgetContext.prototype.getMacros = function() {\\n\\tvar signatures = this.parent.getMacros();\\n\\tif (this.macros) {\\n\\t\\tfor (var macroName in this.macros) {\\n\\t\\t\\tvar macro = this.macros[macroName];\\n\\t\\t\\tfor (var param in macro) {\\n\\t\\t\\t\\tsignatures[macroName + \\\"/\\\" + param] = macro[param];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn signatures;\\n};\\n\\n/**This does strange handling because it's possible for a macro to have\\n * its individual parameters whitelisted in separate places.\\n * Don't know WHY someone would do this, but it can happen.\\n */\\nWidgetContext.prototype.getMacro = function(macroName) {\\n\\tvar theseSettings = this.macros && this.macros[macroName];\\n\\tvar parentSettings;\\n\\tif (this.parent) {\\n\\t\\tparentSettings = this.parent.getMacro(macroName);\\n\\t}\\n\\tif (theseSettings && parentSettings) {\\n\\t\\t// gotta merge them without changing either. This is expensive,\\n\\t\\t// but it'll happen rarely.\\n\\t\\tvar rtnSettings = $tw.utils.extend(Object.create(null), theseSettings, parentSettings);\\n\\t\\treturn rtnSettings;\\n\\t}\\n\\treturn theseSettings || parentSettings;\\n};\\n\\nWidgetContext.prototype.getAttribute = function(elementName) {\\n\\tif (elementName.charAt(0) == '$' && elementName.indexOf('.') >= 0) {\\n\\t\\t// This is potentially a \\\\widget, look in macros for it.\\n\\t\\tvar macroSettings = this.getMacro(elementName);\\n\\t\\tif (macroSettings) {\\n\\t\\t\\t// Make sure that it's actually a widget definition\\n\\t\\t\\tvar def = this.getMacroDefinition(elementName);\\n\\t\\t\\tif (def) {\\n\\t\\t\\t\\t// We found a definition, but if it's not a widget, abort all.\\n\\t\\t\\t\\treturn (def.isWidgetDefinition)? macroSettings: undefined;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn this.parent.getAttribute(elementName);\\n};\\n\\nWidgetContext.prototype.getOperator = function(name, index) {\\n\\tif (name.indexOf('.') >= 0) {\\n\\t\\t// This is potentially a \\\\function, look in macros for it.\\n\\t\\tvar macroSettings = this.getMacro(name);\\n\\t\\tif (macroSettings) {\\n\\t\\t\\t//Make sure that it's actually a macro definition\\n\\t\\t\\tvar def = this.getMacroDefinition(name);\\n\\t\\t\\tif (def) {\\n\\t\\t\\t\\tif (def.isFunctionDefinition) {\\n\\t\\t\\t\\t\\t// Minus one because operator indices are 1 indexed,\\n\\t\\t\\t\\t\\t// but parameters as we store them are not.\\n\\t\\t\\t\\t\\tvar param = def.params[index - 1];\\n\\t\\t\\t\\t\\treturn param && macroSettings[param.name];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If it's not a filter, abort all.\\n\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn this.parent.getOperator(name, index);\\n};\\n\\n/**Returns the deepest descendant of the given widget.\\n */\\nWidgetContext.prototype.getBottom = function(widget) {\\n\\twhile (widget.children.length > 0) {\\n\\t\\twidget = widget.children[0];\\n\\t}\\n\\treturn widget;\\n};\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/widget.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/contexts/wikitext.js\":{\"text\":\"/*\\\\\\n\\nContext for wikitext. It can contain rules about what's allowed in this\\ncurrent layer of wikitext.\\n\\n\\\\*/\\n\\nvar WidgetContext = require('./widget.js').widget;\\n\\nfunction WikitextContext(parentContext) {\\n\\tthis.parent = parentContext;\\n\\tthis.widget = parentContext.widget;\\n};\\n\\nexports.wikitext = WikitextContext;\\n\\nWikitextContext.prototype = new WidgetContext();\\n\\n// Unless this specific context has rules about it, widgets and prettyLInks are allowed.\\nWikitextContext.prototype.allowWidgets = enabled;\\nWikitextContext.prototype.allowPrettylinks = enabled;\\n\\nfunction enabled() { return true; };\\n\",\"module-type\":\"relinkcontext\",\"title\":\"$:/plugins/flibbles/relink/js/contexts/wikitext.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils/backupIndexer.js\":{\"text\":\"/*\\\\\\nmodule-type: library\\n\\nThis is a backup indexer Relink uses if the real one is disabled, or we're\\n<V5.1.23. It's not nearly as good, but it caches some.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar TiddlerContext = utils.getContext('tiddler');\\n\\n// This is the indexer we use if the current wiki doesn't support indexers.\\nfunction BackupIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nmodule.exports = BackupIndexer;\\n\\nBackupIndexer.prototype.lookup = function(title) {\\n\\treturn getCache(this.wiki).lookup[title];\\n};\\n\\nBackupIndexer.prototype.reverseLookup = function(title) {\\n\\tvar index = getCache(this.wiki);\\n\\tif (!index.reverse[title]) {\\n\\t\\tvar record = Object.create(null);\\n\\t\\tfor (var other in index.lookup) {\\n\\t\\t\\tif (index.lookup[other][title]) {\\n\\t\\t\\t\\trecord[other] = index.lookup[other][title];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tindex.reverse[title] = record;\\n\\t}\\n\\treturn index.reverse[title];\\n};\\n\\n/* The backup indexer doesn't bother caching relink reports. It would always\\n * be called after a draft tiddler had changed, which would defeat the point.\\n */\\nBackupIndexer.prototype.relinkLookup = function(fromTitle, toTitle, options) {\\n\\tvar cache = getCache(this.wiki);\\n\\tif (cache.lastRelinkFrom === fromTitle && cache.lastRelinkTo === toTitle) {\\n\\t\\toptions.cache = cache.lastRelinkCache;\\n\\t\\treturn cache.lastRelink;\\n\\t}\\n\\tcache.lastRelink = utils.getRelinkResults(this.wiki, fromTitle, toTitle, cache.context, undefined, options);\\n\\tcache.lastRelinkFrom = fromTitle;\\n\\tcache.lastRelinkTo = toTitle;\\n\\tcache.lastRelinkCache = options.cache;\\n\\treturn cache.lastRelink;\\n};\\n\\nBackupIndexer.prototype.orphans = function() {\\n\\tvar index = getCache(this.wiki).lookup;\\n\\tvar results = [];\\n\\tfor (var title in index) {\\n\\t\\tvar found = false;\\n\\t\\tfor (var anything in this.reverseLookup(title)) {\\n\\t\\t\\tfound = true;\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tif (!found) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\nfunction getCache(wiki) {\\n\\treturn wiki.getGlobalCache('relink', function() {\\n\\t\\tvar tiddlerList = wiki.getRelinkableTitles();\\n\\t\\tvar index = Object.create(null);\\n\\t\\tvar wikiContext = utils.getWikiContext(wiki);\\n\\t\\tfor (var i = 0; i < tiddlerList.length; i++) {\\n\\t\\t\\tvar title = tiddlerList[i];\\n\\t\\t\\tvar tiddler = wiki.getTiddler(title);\\n\\t\\t\\tif (tiddler && !tiddler.fields[\\\"plugin-type\\\"]) {\\n\\t\\t\\t\\tvar context = new TiddlerContext(wiki, wikiContext, title);\\n\\t\\t\\t\\tindex[title] = utils.getTiddlerRelinkReferences(wiki, title, context);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn {\\n\\t\\t\\tlookup: index,\\n\\t\\t\\treverse: Object.create(null),\\n\\t\\t\\tcontext: wikiContext};\\n\\t});\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/utils/backupIndexer.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils/entry.js\":{\"text\":\"/*\\\\\\n\\nEntries are deprecated. Don't use them. These classes are here just so that\\nany 3rd party modules built for Relink V1 don't break.\\n\\nJust return an object like, {output: \\\"string\\\", impossible: true|undefined}\\n\\n\\\\*/\\n\\nfunction EntryNode() {\\n\\tthis.children = [];\\n};\\n\\nmodule.exports = EntryNode;\\n\\n/** PURE VIRTUAL\\n * EntryNode.prototype.report = function() -> [\\\"string\\\", ...]\\n */\\n\\nEntryNode.newType = function() {\\n\\treturn EntryNode;\\n};\\n\\nEntryNode.prototype.add = function(entry) {\\n\\tthis.children.push(entry);\\n};\\n\\nfunction EntryCollection() {\\n\\tthis.children = Object.create(null);\\n\\tthis.types = Object.create(null);\\n};\\n\\nEntryNode.newCollection = function(name) {\\n\\treturn EntryCollection;\\n};\\n\\n// Again. I reiterate. Don't use this. All this is just legacy support.\\nObject.defineProperty(EntryCollection, 'impossible', {\\n\\tget: function() {\\n\\t\\tvar imp = this._impossible;\\n\\t\\tthis.eachChild(function(child) { imp = imp || child.impossible; });\\n\\t\\treturn imp;\\n\\t},\\n\\tset: function(impossible) {\\n\\t\\tthis._impossible = true;\\n\\t}\\n});\\n\\nEntryCollection.prototype.eachChild = function(method) {\\n\\tfor (var child in this.children) {\\n\\t\\tmethod(this.children[child]);\\n\\t}\\n};\\n\\nEntryCollection.prototype.addChild = function(child, name, type) {\\n\\tthis.children[name] = child;\\n\\tthis.types[name] = type;\\n};\\n\\nEntryCollection.prototype.hasChildren = function() {\\n\\treturn Object.keys(this.children).length > 0;\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/utils/entry.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils/macrocall.js\":{\"text\":\"/*\\\\\\n\\nMethods for reporting and relinking macros. Behaves much like a fieldtype, except that it's not.\\n\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\nvar macrocallOperators = utils.getModulesByTypeAsHashmap('relinkmacrocall', 'name');\\n\\n/** As in, report a macrocall invocation that is an html attribute.\\n * macro: must be a macro object.*/\\nexports.report = function(context, macro, callback, options) {\\n\\tfor (var operator in macrocallOperators) {\\n\\t\\tmacrocallOperators[operator].report(context, macro, callback, options);\\n\\t}\\n};\\n\\n/**Processes the given macro,\\n * macro: {name:, params:, start:, end:}\\n * each parameters: {name:, end:, value:}\\n * Macro invocation returned is the same, but relinked, and may have new keys:\\n * parameters: {type: macro, start:, newValue: (quoted replacement value)}\\n * Output of the returned entry isn't a string, but a macro object. It needs\\n * to be converted.\\n */\\nexports.relink = function(context, macro, text, fromTitle, toTitle, mayBeWidget, options) {\\n\\tvar entry;\\n\\tfor (var operator in macrocallOperators) {\\n\\t\\tvar results = macrocallOperators[operator].relink(context, macro, text, fromTitle, toTitle, options);\\n\\t\\tif (results) {\\n\\t\\t\\tentry = entry || {};\\n\\t\\t\\tif (results.impossible) {\\n\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t}\\n\\t\\t\\tif (results.output) {\\n\\t\\t\\t\\tmacro = results.output;\\n\\t\\t\\t\\tentry.output = macro;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\n/**Converts the macro object into a string, includes the <<..>>.\\n * The text is the old text the macro was formed from. It's used to preserve\\n * whitespace.\\n */\\nexports.reassemble = function(entry, text, options) {\\n\\tvar macro = entry.output;\\n\\tvar builder = new Rebuilder(text, macro.start);\\n\\tvar varAttribute = macro.attributes && macro.attributes['$variable'];\\n\\tif (varAttribute && varAttribute.value !== macro.name) {\\n\\t\\t// The name of the macro changed. Update it.\\n\\t\\tbuilder.add(varAttribute.value, macro.start + 2, macro.start + 2 + macro.name.length);\\n\\t}\\n\\tfor (var i = 0; i < macro.params.length; i++) {\\n\\t\\tvar param = macro.params[i];\\n\\t\\tif (param.modified) {\\n\\t\\t\\tvar newValue = exports.wrapParameterValue(param.value, param.quote);\\n\\t\\t\\tif (newValue === undefined) {\\n\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tbuilder.add(newValue, param.start, param.end);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn builder.results(macro.end);\\n};\\n\\n\\n/**Like wrapAttribute value, except for macro parameters, not attributes.\\n *\\n * These are more permissive. Allows brackets,\\n * and slashes and '<' in unquoted values.\\n */\\nexports.wrapParameterValue = function(value, preference) {\\n\\tvar whitelist = [\\\"\\\", \\\"'\\\", '\\\"', '[[', '\\\"\\\"\\\"'];\\n\\tvar choices = {\\n\\t\\t\\\"\\\": function(v) {return !/([\\\\s>\\\"':])/.test(v); },\\n\\t\\t\\\"'\\\": function(v) {return v.indexOf(\\\"'\\\") < 0; },\\n\\t\\t'\\\"': function(v) {return v.indexOf('\\\"') < 0; },\\n\\t\\t\\\"[[\\\": canBePrettyOperand,\\n\\t\\t'\\\"\\\"\\\"': function(v) {return v.indexOf('\\\"\\\"\\\"') < 0 && v[v.length-1] != '\\\"';}\\n\\t};\\n\\tif (choices[preference] && choices[preference](value)) {\\n\\t\\treturn wrap(value, preference);\\n\\t}\\n\\tfor (var i = 0; i < whitelist.length; i++) {\\n\\t\\tvar quote = whitelist[i];\\n\\t\\tif (choices[quote](value)) {\\n\\t\\t\\treturn wrap(value, quote);\\n\\t\\t}\\n\\t}\\n\\t// No quotes will work on this\\n\\treturn undefined;\\n};\\n\\nfunction canBePrettyOperand(value) {\\n\\treturn value.indexOf(']') < 0;\\n};\\n\\n\\nfunction wrap(value, wrapper) {\\n\\tvar wrappers = {\\n\\t\\t\\\"\\\": function(v) {return v; },\\n\\t\\t\\\"'\\\": function(v) {return \\\"'\\\"+v+\\\"'\\\"; },\\n\\t\\t'\\\"': function(v) {return '\\\"'+v+'\\\"'; },\\n\\t\\t'\\\"\\\"\\\"': function(v) {return '\\\"\\\"\\\"'+v+'\\\"\\\"\\\"'; },\\n\\t\\t\\\"[[\\\": function(v) {return \\\"[[\\\"+v+\\\"]]\\\"; }\\n\\t};\\n\\tvar chosen = wrappers[wrapper];\\n\\tif (chosen) {\\n\\t\\treturn chosen(value);\\n\\t} else {\\n\\t\\treturn undefined;\\n\\t}\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/utils/macrocall.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils/rebuilder.js\":{\"text\":\"/*\\\\\\n\\nThis helper class aids in reconstructing an existing string with new parts.\\n\\n\\\\*/\\n\\nfunction Rebuilder(text, start) {\\n\\tthis.text = text;\\n\\tthis.index = start || 0;\\n\\tthis.pieces = [];\\n};\\n\\nmodule.exports = Rebuilder;\\n\\n/**Pieces must be added consecutively.\\n * Start and end are the indices in the old string specifying where to graft\\n * in the new piece.\\n */\\nRebuilder.prototype.add = function(value, start, end) {\\n\\tthis.pieces.push(this.text.substring(this.index, start), value);\\n\\tthis.index = end;\\n};\\n\\nRebuilder.prototype.changed = function() {\\n\\treturn this.pieces.length > 0;\\n};\\n\\nRebuilder.prototype.results = function(end) {\\n\\tif (this.changed()) {\\n\\t\\tthis.pieces.push(this.text.substring(this.index, end));\\n\\t\\treturn this.pieces.join('');\\n\\t}\\n\\treturn undefined;\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/utils/rebuilder.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils/substitution.js\":{\"text\":\"/*\\\\\\n\\nHandles relinking substitution text, like strings containing $(this)$.\\n\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\nvar filterHandler = utils.getType('filter');\\nvar macrocallHandler = require(\\\"./macrocall.js\\\");\\n\\nexports.report = function(string, callback, options) {\\n\\tif (!options.noFilterSubstitution) {\\n\\t\\tvar filterRegex = /\\\\$\\\\{([\\\\S\\\\s]+?)\\\\}\\\\$/g, filter;\\n\\t\\twhile (filter = filterRegex.exec(string)) {\\n\\t\\t\\tfilterHandler.report(filter[1], function(title, blurb, style) {\\n\\t\\t\\t\\tcallback(title, '${' + blurb + '}$', style);\\n\\t\\t\\t}, options);\\n\\t\\t}\\n\\t}\\n\\tvar varRegex = /\\\\$\\\\(([^\\\\)\\\\$]+)\\\\)\\\\$/g, varMatch;\\n\\twhile (varMatch = varRegex.exec(string)) {\\n\\t\\tmacrocallHandler.report(options.settings, {name: varMatch[1], params: []}, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, '$(' + blurb + ')$', style);\\n\\t\\t}, options);\\n\\t}\\n};\\n\\nexports.relink = function(string, fromTitle, toTitle, options) {\\n\\tvar entry;\\n\\tvar changed = false;\\n\\tvar newValue = string;\\n\\tif (!options.noFilterSubstitution) {\\n\\t\\tnewValue = newValue.replace(/\\\\$\\\\{([\\\\S\\\\s]+?)\\\\}\\\\$/g, function(match, filter) {\\n\\t\\t\\tvar filterEntry = filterHandler.relink(filter, fromTitle, toTitle, options);\\n\\t\\t\\tif (filterEntry) {\\n\\t\\t\\t\\tentry = entry || {};\\n\\t\\t\\t\\tif (filterEntry.output) {\\n\\t\\t\\t\\t\\t// The only }$ should be the one at the very end\\n\\t\\t\\t\\t\\tif (filterEntry.output.indexOf(\\\"}$\\\") < 0) {\\n\\t\\t\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t\\t\\t\\tmatch = '${' + filterEntry.output + '}$';\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (filterEntry.impossible) {\\n\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn match;\\n\\t\\t});\\n\\t}\\n\\tnewValue = newValue.replace(/\\\\$\\\\(([^\\\\)\\\\$]+)\\\\)\\\\$/g, function(match, varname) {\\n\\t\\tvar macroEntry = macrocallHandler.relink(options.settings, {name: varname, params: []}, string, fromTitle, toTitle, false, options);\\n\\t\\tif (macroEntry) {\\n\\t\\t\\tentry = entry || {};\\n\\t\\t\\tif (macroEntry.output) {\\n\\t\\t\\t\\tvar newTitle = macroEntry.output.attributes.$variable.value;\\n\\t\\t\\t\\tif (newTitle.indexOf('$') >= 0 || newTitle.indexOf(')') >= 0) {\\n\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t\\t\\tmatch = '$(' + newTitle + ')$';\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif (macroEntry.impossible) {\\n\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn match;\\n\\t});\\n\\tif (changed) {\\n\\t\\tentry.output = newValue;\\n\\t}\\n\\treturn entry;\\n};\\n\",\"module-type\":\"library\",\"title\":\"$:/plugins/flibbles/relink/js/utils/substitution.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/js/utils/macrocall/parameters.js\":{\"text\":\"var utils = require('$:/plugins/flibbles/relink/js/utils.js');\\n\\nexports.name = \\\"parameters\\\";\\n\\n// Error thrown when a macro's definition is needed, but can't be found.\\nfunction CannotFindMacroDef() {};\\nCannotFindMacroDef.prototype.impossible = true;\\nCannotFindMacroDef.prototype.name = \\\"macroparam\\\";\\n// Failed relinks due to missing definitions aren't reported for now.\\n// I may want to do something special later on.\\nCannotFindMacroDef.prototype.report = function() { return []; };\\n\\nexports.report = function(context, macro, callback, options) {\\n\\tvar managedMacro = context.getMacro(macro.name);\\n\\tif (!managedMacro) {\\n\\t\\t// We don't manage this macro. Bye.\\n\\t\\treturn undefined;\\n\\t}\\n\\tfor (var managedArg in managedMacro) {\\n\\t\\tvar index;\\n\\t\\ttry {\\n\\t\\t\\tindex = getParamIndexWithinMacrocall(context, macro.name, managedArg, macro.params, options);\\n\\t\\t} catch (e) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tif (index < 0) {\\n\\t\\t\\t// The argument was not supplied. Move on to next.\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tvar param = macro.params[index];\\n\\t\\tvar handler = managedMacro[managedArg];\\n\\t\\tvar nestedOptions = Object.create(options);\\n\\t\\tnestedOptions.settings = context;\\n\\t\\tvar entry = handler.report(param.value, function(title, blurb, style) {\\n\\t\\t\\tvar rtn = managedArg;\\n\\t\\t\\tif (blurb) {\\n\\t\\t\\t\\trtn += ': \\\"' + blurb + '\\\"';\\n\\t\\t\\t}\\n\\t\\t\\tcallback(title, macro.name + ' ' + rtn, style);\\n\\t\\t}, nestedOptions);\\n\\t}\\n};\\n\\nexports.relink = function(context, macro, text, fromTitle, toTitle, options) {\\n\\tvar managedMacro = context.getMacro(macro.name);\\n\\tvar modified = false;\\n\\tif (!managedMacro) {\\n\\t\\t// We don't manage this macro. Bye.\\n\\t\\treturn undefined;\\n\\t}\\n\\tvar outMacro = $tw.utils.extend({}, macro);\\n\\tvar macroEntry = {};\\n\\toutMacro.params = macro.params.slice();\\n\\tfor (var managedArg in managedMacro) {\\n\\t\\tvar index;\\n\\t\\ttry {\\n\\t\\t\\tindex = getParamIndexWithinMacrocall(context, macro.name, managedArg, macro.params, options);\\n\\t\\t} catch (e) {\\n\\t\\t\\tif (e instanceof CannotFindMacroDef) {\\n\\t\\t\\t\\tmacroEntry.impossible = true;\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (index < 0) {\\n\\t\\t\\t// this arg either was not supplied, or we can't find\\n\\t\\t\\t// the definition, so we can't tie it to an anonymous\\n\\t\\t\\t// argument. Either way, move on to the next.\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tvar param = macro.params[index];\\n\\t\\tvar handler = managedMacro[managedArg];\\n\\t\\tvar nestedOptions = Object.create(options);\\n\\t\\tnestedOptions.settings = context;\\n\\t\\tvar entry = handler.relink(param.value, fromTitle, toTitle, nestedOptions);\\n\\t\\tif (entry === undefined) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\t// Macro parameters can only be string parameters, not\\n\\t\\t// indirect, or macro, or filtered\\n\\t\\tif (entry.impossible) {\\n\\t\\t\\tmacroEntry.impossible = true;\\n\\t\\t}\\n\\t\\tif (!entry.output) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tvar quote = utils.determineQuote(text, param);\\n\\t\\tvar newParam = $tw.utils.extend({}, param);\\n\\t\\tnewParam.start = newParam.end - (newParam.value.length + (quote.length*2));\\n\\t\\tnewParam.value = entry.output;\\n\\t\\tnewParam.quote = quote;\\n\\t\\tnewParam.modified = true;\\n\\t\\toutMacro.params[index] = newParam;\\n\\t\\tmodified = true;\\n\\t}\\n\\tif (modified || macroEntry.impossible) {\\n\\t\\tif (modified) {\\n\\t\\t\\tmacroEntry.output = outMacro;\\n\\t\\t}\\n\\t\\treturn macroEntry;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/** Returns -1 if param definitely isn't in macrocall.\\n */\\nfunction getParamIndexWithinMacrocall(context, macroName, param, params, options) {\\n\\tvar index, i, anonsExist = false;\\n\\tfor (i = 0; i < params.length; i++) {\\n\\t\\tvar name = params[i].name;\\n\\t\\tif (name === param) {\\n\\t\\t\\treturn i;\\n\\t\\t}\\n\\t\\tif (name === undefined) {\\n\\t\\t\\tanonsExist = true;\\n\\t\\t}\\n\\t}\\n\\tif (!anonsExist) {\\n\\t\\t// If no anonymous parameters are present, and we didn't find\\n\\t\\t// it among the named ones, it must not be there.\\n\\t\\treturn -1;\\n\\t}\\n\\tvar expectedIndex = indexOfParameterDef(context, macroName, param, options);\\n\\t// We've got to skip over all the named parameter instances.\\n\\tif (expectedIndex >= 0) {\\n\\t\\tvar anonI = 0;\\n\\t\\tfor (i = 0; i < params.length; i++) {\\n\\t\\t\\tif (params[i].name === undefined) {\\n\\t\\t\\t\\tif (anonI === expectedIndex) {\\n\\t\\t\\t\\t\\treturn i;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tanonI++;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar indexOfOther = indexOfParameterDef(context, macroName, params[i].name, options);\\n\\t\\t\\t\\tif (indexOfOther < expectedIndex) {\\n\\t\\t\\t\\t\\tanonI++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn -1;\\n};\\n\\n// Looks up the definition of a macro, and figures out what the expected index\\n// is for the given parameter.\\nfunction indexOfParameterDef(context, macroName, paramName, options) {\\n\\tvar def = context.getMacroDefinition(macroName);\\n\\tif (def === undefined) {\\n\\t\\tthrow new CannotFindMacroDef();\\n\\t}\\n\\tvar params = def.params || [];\\n\\tfor (var i = 0; i < params.length; i++) {\\n\\t\\tif (params[i].name === paramName) {\\n\\t\\t\\treturn i;\\n\\t\\t}\\n\\t}\\n\\treturn -1;\\n};\\n\\n\",\"module-type\":\"relinkmacrocall\",\"title\":\"$:/plugins/flibbles/relink/js/utils/macrocall/parameters.js\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink/Filters/Missing\":{\"title\":\"$:/plugins/flibbles/relink/Filters/Missing\",\"description\":\"{{$:/plugins/flibbles/relink/language/Filters/Missing}}\",\"filter\":\"[all[]!is[system]relink:references:hard[]!is[tiddler]!is[shadow]!prefix[$:/tags/]sort[title]] -[[]]\",\"tags\":\"$:/tags/Filter\"},\"$:/plugins/flibbles/relink/Filters/Orphans\":{\"title\":\"$:/plugins/flibbles/relink/Filters/Orphans\",\"description\":\"{{$:/plugins/flibbles/relink/language/Filters/Orphans}}\",\"filter\":\"[relink:orphans[]!is[system]sort[title]]\",\"tags\":\"$:/tags/Filter\"},\"$:/config/flibbles/relink/attributes/$action-deletefield/$tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-deletefield/$tiddler\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-deletetiddler/$filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-deletetiddler/$filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-deletetiddler/$tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-deletetiddler/$tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$action-listops/$filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-listops/$filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-listops/$tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-listops/$tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$action-log/$$filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-log/$$filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-navigate/$to\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-navigate/$to\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$action-popup/$state\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-popup/$state\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$action-sendmessage/$names\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-sendmessage/$names\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-sendmessage/$values\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-sendmessage/$values\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-setfield/$tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-setfield/$tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$fields\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$fields\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$indexes\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$indexes\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$values\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-setmultiplefields/$values\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$button/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$button/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$button/set\":{\"title\":\"$:/config/flibbles/relink/attributes/$button/set\",\"text\":\"reference\"},\"$:/config/flibbles/relink/attributes/$button/setTo\":{\"title\":\"$:/config/flibbles/relink/attributes/$button/setTo\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$button/to\":{\"title\":\"$:/config/flibbles/relink/attributes/$button/to\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$checkbox/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$checkbox/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$checkbox/checkactions\":{\"title\":\"$:/config/flibbles/relink/attributes/$checkbox/checkactions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$checkbox/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$checkbox/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$checkbox/tag\":{\"title\":\"$:/config/flibbles/relink/attributes/$checkbox/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$checkbox/uncheckactions\":{\"title\":\"$:/config/flibbles/relink/attributes/$checkbox/uncheckactions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$count/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$count/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$draggable/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$draggable/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$draggable/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$draggable/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$droppable/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$droppable/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$dropzone/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$dropzone/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$edit-bitmap/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit-bitmap/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$edit-text/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit-text/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$edit/inputActions\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit/inputActions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$edit/refreshTitle\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit/refreshTitle\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$edit/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$encrypt/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$encrypt/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$fieldmangler/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$fieldmangler/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$fields/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$fields/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$genesis/$names\":{\"title\":\"$:/config/flibbles/relink/attributes/$genesis/$names\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$genesis/$values\":{\"title\":\"$:/config/flibbles/relink/attributes/$genesis/$values\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$image/source\":{\"title\":\"$:/config/flibbles/relink/attributes/$image/source\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$importvariables/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$importvariables/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$jsontiddler/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$jsontiddler/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$keyboard/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$keyboard/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$linkcatcher/to\":{\"title\":\"$:/config/flibbles/relink/attributes/$linkcatcher/to\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$linkcatcher/set\":{\"title\":\"$:/config/flibbles/relink/attributes/$linkcatcher/set\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$link/to\":{\"title\":\"$:/config/flibbles/relink/attributes/$link/to\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$link/tooltip\":{\"title\":\"$:/config/flibbles/relink/attributes/$link/tooltip\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$linkcatcher/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$linkcatcher/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$list/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$list/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$list/join\":{\"title\":\"$:/config/flibbles/relink/attributes/$list/join\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$list/template\":{\"title\":\"$:/config/flibbles/relink/attributes/$list/template\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$list/editTemplate\":{\"title\":\"$:/config/flibbles/relink/attributes/$list/editTemplate\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$list/emptyMessage\":{\"title\":\"$:/config/flibbles/relink/attributes/$list/emptyMessage\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$list/history\":{\"title\":\"$:/config/flibbles/relink/attributes/$list/history\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$log/$$filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$log/$$filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$messagecatcher/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$messagecatcher/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$navigator/story\":{\"title\":\"$:/config/flibbles/relink/attributes/$navigator/story\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$navigator/history\":{\"title\":\"$:/config/flibbles/relink/attributes/$navigator/history\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$radio/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$radio/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$radio/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$radio/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$range/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$range/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$range/actionsStart\":{\"title\":\"$:/config/flibbles/relink/attributes/$range/actionsStart\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$range/actionsStop\":{\"title\":\"$:/config/flibbles/relink/attributes/$range/actionsStop\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$range/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$range/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$reveal/state\":{\"title\":\"$:/config/flibbles/relink/attributes/$reveal/state\",\"text\":\"reference\"},\"$:/config/flibbles/relink/attributes/$reveal/stateTitle\":{\"title\":\"$:/config/flibbles/relink/attributes/$reveal/stateTitle\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$select/actions\":{\"title\":\"$:/config/flibbles/relink/attributes/$select/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/attributes/$select/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$select/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$setvariable/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$setvariable/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$setvariable/subtiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$setvariable/subtiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$setvariable/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$setvariable/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$set/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$set/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$set/subtiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$set/subtiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$set/filter\":{\"title\":\"$:/config/flibbles/relink/attributes/$set/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$setmultiplevariables/$names\":{\"title\":\"$:/config/flibbles/relink/attributes/$setmultiplevariables/$names\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$setmultiplevariables/$values\":{\"title\":\"$:/config/flibbles/relink/attributes/$setmultiplevariables/$values\",\"text\":\"filter\"},\"$:/config/flibbles/relink/attributes/$tiddler/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$tiddler/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$transclude/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$transclude/$tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/$tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$transclude/subtiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/subtiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$transclude/$subtiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/$subtiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$view/tiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$view/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$view/subtiddler\":{\"title\":\"$:/config/flibbles/relink/attributes/$view/subtiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/attributes/$wikify/text\":{\"title\":\"$:/config/flibbles/relink/attributes/$wikify/text\",\"text\":\"wikitext\"},\"$:/plugins/flibbles/relink/configuration\":{\"title\":\"$:/plugins/flibbles/relink/configuration\",\"caption\":\"Relink\",\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"text\":\"\\\\whitespace trim\\n<div class=\\\"tc-control-panel\\\">\\n<<tabs \\\"[all[shadows+tiddlers]tag[$:/tags/flibbles/relink/Configuration]!has[draft.of]]\\\" \\\"$:/plugins/flibbles/relink/ui/configuration/Fields\\\">>\\n</div>\\n\"},\"$:/config/flibbles/relink/exceptions/$:/DefaultTiddlers\":{\"title\":\"$:/config/flibbles/relink/exceptions/$:/DefaultTiddlers\",\"text\":\"application/x-tiddler-filter\"},\"$:/config/flibbles/relink/exceptions/$:/config/FileSystemPaths\":{\"title\":\"$:/config/flibbles/relink/exceptions/$:/config/FileSystemPaths\",\"text\":\"application/x-tiddler-filter\"},\"$:/config/flibbles/relink/exceptions/$:/config/FileSystemExtensions\":{\"title\":\"$:/config/flibbles/relink/exceptions/$:/config/FileSystemExtensions\",\"text\":\"application/x-tiddler-filter\"},\"$:/config/flibbles/relink/fieldattributes/$action-createtiddler\":{\"title\":\"$:/config/flibbles/relink/fieldattributes/$action-createtiddler\",\"text\":\"([^$].*)\"},\"$:/config/flibbles/relink/fieldattributes/$action-deletefield\":{\"title\":\"$:/config/flibbles/relink/fieldattributes/$action-deletefield\",\"text\":\"([^$].*)\"},\"$:/config/flibbles/relink/fieldattributes/$action-setfield\":{\"title\":\"$:/config/flibbles/relink/fieldattributes/$action-setfield\",\"text\":\"([^$].*)\"},\"$:/config/flibbles/relink/fieldattributes/$jsontiddler\":{\"title\":\"$:/config/flibbles/relink/fieldattributes/$jsontiddler\",\"text\":\"\\\\$(.*)\"},\"$:/config/flibbles/relink/fields/caption\":{\"title\":\"$:/config/flibbles/relink/fields/caption\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/fields/filter\":{\"title\":\"$:/config/flibbles/relink/fields/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/fields/list\":{\"title\":\"$:/config/flibbles/relink/fields/list\",\"text\":\"list\"},\"$:/config/flibbles/relink/fields/list-after\":{\"title\":\"$:/config/flibbles/relink/fields/list-after\",\"text\":\"title\"},\"$:/config/flibbles/relink/fields/list-before\":{\"title\":\"$:/config/flibbles/relink/fields/list-before\",\"text\":\"title\"},\"$:/config/flibbles/relink/fields/tags\":{\"title\":\"$:/config/flibbles/relink/fields/tags\",\"text\":\"list\"},\"$:/plugins/flibbles/relink/language/Buttons/Delete/Hint\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/Delete/Hint\",\"text\":\"delete\"},\"$:/plugins/flibbles/relink/language/Buttons/LinkToInline/Hint\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/LinkToInline/Hint\",\"text\":\"go to defining tiddler\"},\"$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Hint\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Hint\",\"text\":\"Specify a new widget/element attribute to be updated whenever a tiddler is renamed\"},\"$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Caption\",\"text\":\"add\"},\"$:/plugins/flibbles/relink/language/Buttons/NewField/Hint\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewField/Hint\",\"text\":\"Specify a new field to be updated whenever a tiddler is renamed\"},\"$:/plugins/flibbles/relink/language/Buttons/NewField/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewField/Caption\",\"text\":\"add\"},\"$:/plugins/flibbles/relink/language/Buttons/NewOperator/Hint\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewOperator/Hint\",\"text\":\"Specify a new filter operator to be considered whenever a tiddler is renamed\"},\"$:/plugins/flibbles/relink/language/Buttons/NewOperator/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewOperator/Caption\",\"text\":\"add\"},\"$:/plugins/flibbles/relink/language/Buttons/NewParameter/Hint\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewParameter/Hint\",\"text\":\"Specify a new macro parameter to be updated whenever a tiddler is renamed\"},\"$:/plugins/flibbles/relink/language/Buttons/NewParameter/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/Buttons/NewParameter/Caption\",\"text\":\"add\"},\"$:/plugins/flibbles/relink/language/Error/InvalidAttributeName\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/InvalidAttributeName\",\"text\":\"Illegal characters in attribute name \\\"<$text text=<<attributeName>>/>\\\". Attributes cannot contain slashes ('/'), closing angle or square brackets ('>' or ']'), quotes or apostrophes ('\\\"' or \\\"'\\\"), equals ('='), or whitespace\"},\"$:/plugins/flibbles/relink/language/Error/InvalidElementName\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/InvalidElementName\",\"text\":\"Illegal characters in element/widget name \\\"<$text text=<<elementName>>/>\\\". Element tags can only contain letters and the characters hyphen (`-`) and dollar sign (`$`)\"},\"$:/plugins/flibbles/relink/language/Error/InvalidMacroName\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/InvalidMacroName\",\"text\":\"Illegal characters in macro name \\\"<$text text=<<macroName>>/>\\\". Macros cannot contain whitespace\"},\"$:/plugins/flibbles/relink/language/Error/InvalidParameterName\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/InvalidParameterName\",\"text\":\"Illegal characters in parameter name \\\"<$text text=<<parameterName>>/>\\\". Parameters can only contain letters, digits, and the characters underscore (`_`) and hyphen (`-`)\"},\"$:/plugins/flibbles/relink/language/Error/RelinkFilterOperator\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/RelinkFilterOperator\",\"text\":\"Filter Error: Unknown suffix for the 'relink' filter operator\"},\"$:/plugins/flibbles/relink/language/Error/ReportFailedRelinks\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/ReportFailedRelinks\",\"text\":\"Relink could not update '<<from>>' to '<<to>>' inside the following tiddlers:\"},\"$:/plugins/flibbles/relink/language/Error/UnrecognizedType\":{\"title\":\"$:/plugins/flibbles/relink/language/Error/UnrecognizedType\",\"text\":\"Relink parse error: Unrecognized field type '<<type>>'\"},\"$:/plugins/flibbles/relink/language/Filters/Missing\":{\"title\":\"$:/plugins/flibbles/relink/language/Filters/Missing\",\"text\":\"//Relink// Missing tiddlers\"},\"$:/plugins/flibbles/relink/language/Filters/Orphans\":{\"title\":\"$:/plugins/flibbles/relink/language/Filters/Orphans\",\"text\":\"//Relink// Orphans tiddlers\"},\"$:/plugins/flibbles/relink/language/Help/Attributes\":{\"title\":\"$:/plugins/flibbles/relink/language/Help/Attributes\",\"text\":\"See the <a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Attributes]]}}} class=\\\"tc-tiddlylink-external\\\">Attributes documentation page</a> for details.\"},\"$:/plugins/flibbles/relink/language/Help/Fields\":{\"title\":\"$:/plugins/flibbles/relink/language/Help/Fields\",\"text\":\"See the <a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Fields]]}}} class=\\\"tc-tiddlylink-external\\\">Fields documentation page</a> for details.\"},\"$:/plugins/flibbles/relink/language/Help/Macros\":{\"title\":\"$:/plugins/flibbles/relink/language/Help/Macros\",\"text\":\"See the <a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Macros]]}}} class=\\\"tc-tiddlylink-external\\\">Macros documentation page</a> for details.\"},\"$:/plugins/flibbles/relink/language/Help/Operators\":{\"title\":\"$:/plugins/flibbles/relink/language/Help/Operators\",\"text\":\"See the <a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Operators]]}}} class=\\\"tc-tiddlylink-external\\\">Operators documentation page</a> for details.\"},\"$:/plugins/flibbles/relink/language/SideBar/Missing/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/SideBar/Missing/Caption\",\"text\":\"//Relink//<br>Missing\"},\"$:/plugins/flibbles/relink/language/SideBar/Orphans/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/SideBar/Orphans/Caption\",\"text\":\"//Relink//<br>Orphans\"},\"$:/plugins/flibbles/relink/language/TiddlerInfo/References/Empty\":{\"title\":\"$:/plugins/flibbles/relink/language/TiddlerInfo/References/Empty\",\"text\":\"No tiddlers contain any fields, links, macros, transclusions, or widgets referencing this one\"},\"$:/plugins/flibbles/relink/language/TiddlerInfo/References/Description\":{\"title\":\"$:/plugins/flibbles/relink/language/TiddlerInfo/References/Description\",\"text\":\"The following tiddlers contain fields, links, macros, transclusions, or widgets referencing this one:\"},\"$:/plugins/flibbles/relink/language/TiddlerInfo/References/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/TiddlerInfo/References/Caption\",\"text\":\"//Relink// References\"},\"$:/plugins/flibbles/relink/language/ui/Attributes/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/ui/Attributes/Caption\",\"text\":\"Attributes\"},\"$:/plugins/flibbles/relink/language/ui/Fields/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/ui/Fields/Caption\",\"text\":\"Fields\"},\"$:/plugins/flibbles/relink/language/ui/Macros/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/ui/Macros/Caption\",\"text\":\"Macros\"},\"$:/plugins/flibbles/relink/language/ui/Operators/Caption\":{\"title\":\"$:/plugins/flibbles/relink/language/ui/Operators/Caption\",\"text\":\"Operators\"},\"$:/plugins/flibbles/relink/language/Warning/OldRelinkTextOperator\":{\"title\":\"$:/plugins/flibbles/relink/language/Warning/OldRelinkTextOperator\",\"text\":\"Relink cannot parse your <code>$$$<<keyword>></code> wikitext until you migrate your \\\"<<type>>\\\" relink module from the deprecated ''relinktextoperator'' module-type to ''relinktext''.<br><br>See <a href={{{ [[Versions/2.1.0]addprefix[#]addprefix{$:/plugins/flibbles/relink!!demo}encodeuri[]] }}} class=\\\"tc-tiddlylink-external\\\">the online documentation</a> for details.\"},\"$:/plugins/flibbles/relink/license\":{\"title\":\"$:/plugins/flibbles/relink/license\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<a href={{$:/plugins/flibbles/relink!!demo}} class=\\\"tc-tiddlylink-external\\\">Relink Plugin</a> Copyright (c) 2019-<<now YYYY>> Cameron Fischer\\n\\n[[BSD 3-Clause License|https://raw.githubusercontent.com/flibbles/tw5-relink/master/LICENSE]]\\n\"},\"$:/config/flibbles/relink/macros/colour-picker/actions\":{\"title\":\"$:/config/flibbles/relink/macros/colour-picker/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/csvtiddlers/filter\":{\"title\":\"$:/config/flibbles/relink/macros/csvtiddlers/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/datauri/title\":{\"title\":\"$:/config/flibbles/relink/macros/datauri/title\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/image-picker/actions\":{\"title\":\"$:/config/flibbles/relink/macros/image-picker/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/jsontiddler/title\":{\"title\":\"$:/config/flibbles/relink/macros/jsontiddler/title\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/jsontiddlers/filter\":{\"title\":\"$:/config/flibbles/relink/macros/jsontiddlers/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/configTiddlerFilter\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/configTiddlerFilter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/inputAcceptActions\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/inputAcceptActions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/inputAcceptVariantActions\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/inputAcceptVariantActions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/inputCancelActions\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/inputCancelActions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/selectionStateTitle\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/selectionStateTitle\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/storeTitle\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/storeTitle\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/tiddler\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/list-links/filter\":{\"title\":\"$:/config/flibbles/relink/macros/list-links/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/list-links/emptyMessage\":{\"title\":\"$:/config/flibbles/relink/macros/list-links/emptyMessage\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/list-links-draggable/tiddler\":{\"title\":\"$:/config/flibbles/relink/macros/list-links-draggable/tiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/list-links-draggable/itemTemplate\":{\"title\":\"$:/config/flibbles/relink/macros/list-links-draggable/itemTemplate\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/list-tagged-draggable/tag\":{\"title\":\"$:/config/flibbles/relink/macros/list-tagged-draggable/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/list-tagged-draggable/emptyMessage\":{\"title\":\"$:/config/flibbles/relink/macros/list-tagged-draggable/emptyMessage\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/list-tagged-draggable/itemTemplate\":{\"title\":\"$:/config/flibbles/relink/macros/list-tagged-draggable/itemTemplate\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/list-thumbnails/filter\":{\"title\":\"$:/config/flibbles/relink/macros/list-thumbnails/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/tabs/actions\":{\"title\":\"$:/config/flibbles/relink/macros/tabs/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/tabs/buttonTemplate\":{\"title\":\"$:/config/flibbles/relink/macros/tabs/buttonTemplate\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/tabs/default\":{\"title\":\"$:/config/flibbles/relink/macros/tabs/default\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/tabs/tabsList\":{\"title\":\"$:/config/flibbles/relink/macros/tabs/tabsList\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/tabs/template\":{\"title\":\"$:/config/flibbles/relink/macros/tabs/template\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/tag/tag\":{\"title\":\"$:/config/flibbles/relink/macros/tag/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/tag-picker/actions\":{\"title\":\"$:/config/flibbles/relink/macros/tag-picker/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/tag-pill/actions\":{\"title\":\"$:/config/flibbles/relink/macros/tag-pill/actions\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/tag-pill/tag\":{\"title\":\"$:/config/flibbles/relink/macros/tag-pill/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc/tag\":{\"title\":\"$:/config/flibbles/relink/macros/toc/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc/itemClassFilter\":{\"title\":\"$:/config/flibbles/relink/macros/toc/itemClassFilter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/toc-expandable/tag\":{\"title\":\"$:/config/flibbles/relink/macros/toc-expandable/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-expandable/itemClassFilter\":{\"title\":\"$:/config/flibbles/relink/macros/toc-expandable/itemClassFilter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/toc-expandable/exclude\":{\"title\":\"$:/config/flibbles/relink/macros/toc-expandable/exclude\",\"text\":\"list\"},\"$:/config/flibbles/relink/macros/toc-selective-expandable/tag\":{\"title\":\"$:/config/flibbles/relink/macros/toc-selective-expandable/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-selective-expandable/itemClassFilter\":{\"title\":\"$:/config/flibbles/relink/macros/toc-selective-expandable/itemClassFilter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/macros/toc-selective-expandable/exclude\":{\"title\":\"$:/config/flibbles/relink/macros/toc-selective-expandable/exclude\",\"text\":\"list\"},\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/tag\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/selectedTiddler\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/selectedTiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/unselectedText\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/unselectedText\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/missingText\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/missingText\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/template\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-external-nav/template\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/tag\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/selectedTiddler\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/selectedTiddler\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/unselectedText\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/unselectedText\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/missingText\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/missingText\",\"text\":\"wikitext\"},\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/template\":{\"title\":\"$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/template\",\"text\":\"title\"},\"$:/config/flibbles/relink/macros/translink/title\":{\"title\":\"$:/config/flibbles/relink/macros/translink/title\",\"text\":\"title\"},\"$:/config/flibbles/relink/messages/tm-new-tiddler\":{\"title\":\"$:/config/flibbles/relink/messages/tm-new-tiddler\",\"text\":\"(.*)\"},\"$:/config/flibbles/relink/operators/filter\":{\"title\":\"$:/config/flibbles/relink/operators/filter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/operators/list\":{\"title\":\"$:/config/flibbles/relink/operators/list\",\"text\":\"reference\"},\"$:/config/flibbles/relink/operators/subfilter\":{\"title\":\"$:/config/flibbles/relink/operators/subfilter\",\"text\":\"filter\"},\"$:/config/flibbles/relink/operators/tag\":{\"title\":\"$:/config/flibbles/relink/operators/tag\",\"text\":\"title\"},\"$:/config/flibbles/relink/operators/title\":{\"title\":\"$:/config/flibbles/relink/operators/title\",\"text\":\"title\"},\"$:/config/flibbles/relink/operators/field:title\":{\"title\":\"$:/config/flibbles/relink/operators/field:title\",\"text\":\"title\"},\"$:/config/flibbles/relink/operators/relink:report\":{\"title\":\"$:/config/flibbles/relink/operators/relink:report\",\"text\":\"title\"},\"$:/language/EditTemplate/Title/Impossibles/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Impossibles/Prompt\",\"text\":\"''Warning:'' Not all references in the following tiddlers can be updated by //Relink// due to the complexity of the new title:\"},\"$:/language/EditTemplate/Title/References/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/References/Prompt\",\"text\":\"The following tiddlers will be updated if relinking:\"},\"$:/language/EditTemplate/Title/Relink/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Relink/Prompt\",\"text\":\"Use //Relink// to update ''<$text text=<<fromTitle>>/>'' to ''<$text text=<<toTitle>>/>'' across all other tiddlers\"},\"$:/core/ui/EditTemplate/title\":{\"title\":\"$:/core/ui/EditTemplate/title\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\whitespace trim\\n<$edit-text field=\\\"draft.title\\\" class=\\\"tc-titlebar tc-edit-texteditor\\\" focus={{{ [{$:/config/AutoFocus}match[title]then[true]] ~[[false]] }}} tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\" dir={{$:/config/DefaultTextDirection}}/>\\n\\n<$vars pattern=\\\"\\\"\\\"[\\\\|\\\\[\\\\]{}]\\\"\\\"\\\" bad-chars=\\\"\\\"\\\"`| [ ] { }`\\\"\\\"\\\">\\n\\n<$list filter=\\\"[all[current]regexp:draft.title<pattern>]\\\" variable=\\\"listItem\\\">\\n\\n<div class=\\\"tc-message-box\\\" dir={{$:/config/DefaultTextDirection}}>\\n\\n{{$:/core/images/warning}}&#32;{{$:/language/EditTemplate/Title/BadCharacterWarning}}\\n\\n</div>\\n\\n</$list>\\n\\n</$vars>\\n\\n<$reveal state=\\\"!!draft.title\\\" type=\\\"nomatch\\\" text={{!!draft.of}} tag=\\\"div\\\" dir={{$:/config/DefaultTextDirection}}>\\n\\n<$list filter=\\\"[{!!draft.title}!is[missing]]\\\" variable=\\\"listItem\\\">\\n\\n<div class=\\\"tc-message-box\\\">\\n\\n{{$:/core/images/warning}}&#32;{{$:/language/EditTemplate/Title/Exists/Prompt}}:&#32;<$link to={{!!draft.title}} />\\n\\n</div>\\n\\n</$list>\\n\\n<$list filter=\\\"[{!!draft.of}!is[missing]]\\\" variable=\\\"listItem\\\">\\n\\n<$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>\\n\\n<$checkbox tiddler=\\\"$:/config/RelinkOnRename\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\">&#32;{{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>\\n\\n<$tiddler tiddler=<<fromTitle>> >\\n\\n<$list filter=\\\"[relink:wouldchange<toTitle>limit[1]]\\\" variable=\\\"listItem\\\">\\n\\n<$vars stateTiddler=<<qualify \\\"$:/state/edit/references\\\">> >\\n\\n<$set\\n\\tname=\\\"prompt\\\"\\n\\tfilter=\\\"[relink:wouldchange<toTitle>relink:impossible<toTitle>]\\\"\\n\\tvalue=\\\"EditTemplate/Title/Impossibles/Prompt\\\"\\n\\temptyValue=\\\"EditTemplate/Title/References/Prompt\\\" >\\n<$reveal type=\\\"nomatch\\\" state=<<stateTiddler>> text=\\\"show\\\">\\n<$button set=<<stateTiddler>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/right-arrow}}\\n&#32;\\n<$macrocall $name=lingo title=<<prompt>> />\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<stateTiddler>> text=\\\"show\\\">\\n<$button set=<<stateTiddler>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n&#32;\\n<$macrocall $name=lingo title=<<prompt>> />\\n</$button>\\n</$reveal>\\n</$set>\\n\\n<$reveal type=\\\"match\\\" state=<<stateTiddler>> text=\\\"show\\\">\\n<$list variable=\\\"listItem\\\" filter=\\\"[relink:wouldchange<toTitle>!title[$:/StoryList]sort[title]]\\\" template=\\\"$:/plugins/flibbles/relink/ui/ListItemTemplate\\\">\\n</$list>\\n</$reveal>\\n\\n</$vars>\\n\\n</$list>\\n\\n</$tiddler>\\n\\n</$vars>\\n\\n</$list>\\n\\n</$reveal>\\n\"},\"$:/config/flibbles/relink/PluginLibrary\":{\"title\":\"$:/config/flibbles/relink/PluginLibrary\",\"caption\":\"//Relink// Library\",\"url\":\"https://flibbles.github.io/tw5-relink/library/index.html\",\"tags\":\"$:/tags/PluginLibrary\",\"text\":\"The //Relink// library contains //Relink// as well as its supplemental plugins. It is maintained by Flibbles. See the [[github page|https://github.com/flibbles/tw5-relink]] for more information.\\n\"},\"$:/plugins/flibbles/relink/readme\":{\"title\":\"$:/plugins/flibbles/relink/readme\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"When renaming a tiddler, Relink can update the fields, filters, and widgets\\nof all other tiddlers. However, it works through whitelisting.\\n\\nIt's already configured to update tiddler titles for all core widgets, filters,\\nand fields, but the whitelists can be customized for each of this in the\\nconfiguration panel.\\n\\nSee <a href={{$:/plugins/flibbles/relink!!source}} class=\\\"tc-tiddlylink-external\\\">the tw5-relink website</a> for more details and examples.\\n\"},\"$:/config/flibbles/relink/settings/default-type\":{\"title\":\"$:/config/flibbles/relink/settings/default-type\",\"text\":\"title\"},\"$:/config/flibbles/relink/touch-modify\":{\"title\":\"$:/config/flibbles/relink/touch-modify\",\"text\":\"yes\"},\"$:/config/DefaultColourMappings/relink-impossible\":{\"title\":\"$:/config/DefaultColourMappings/relink-impossible\",\"text\":\"<<colour dirty-indicator>>\"},\"$:/language/Docs/PaletteColours/relink-impossible\":{\"title\":\"$:/language/Docs/PaletteColours/relink-impossible\",\"text\":\"Relink link impossible\"},\"$:/plugins/flibbles/relink/ui/ListItemTemplate\":{\"title\":\"$:/plugins/flibbles/relink/ui/ListItemTemplate\",\"text\":\"\\\\whitespace trim\\n<$set\\n\\tname=\\\"classes\\\"\\n\\tfilter=\\\"[<listItem>relink:impossible<toTitle>]\\\"\\n\\tvalue=\\\"tc-menu-list-item tc-relink-impossible\\\"\\n\\temptyValue=\\\"tc-menu-list-item\\\">\\n<div class=<<classes>>>\\n<$link to=<<listItem>>><$text text=<<listItem>> /></$link>\\n</div>\\n</$set>\\n\"},\"$:/plugins/flibbles/relink/ui/ListItemWithBlurbTemplate\":{\"title\":\"$:/plugins/flibbles/relink/ui/ListItemWithBlurbTemplate\",\"text\":\"<div class=\\\"tc-menu-list-item\\\"><$link /></div>\\n<$list variable=blurb filter=\\\"[<currentTiddler>relink:report<missingTiddler>]\\\"><div class=\\\"tc-relink-menu-missing-blurb\\\"><$text text=<<blurb>> /></div>\\n\"},\"$:/plugins/flibbles/relink/ui/MissingTemplate\":{\"title\":\"$:/plugins/flibbles/relink/ui/MissingTemplate\",\"text\":\"\\\\whitespace trim\\n<$set name=\\\"missingTiddler\\\" value=<<currentTiddler>> >\\n<div class=\\\"tc-tiddler-missing\\\">\\n<$button popup=<<qualify \\\"$:/state/relink/popup/missing\\\">> class=\\\"tc-btn-invisible tc-missing-tiddler-label\\\">\\n<$view field=\\\"title\\\" format=\\\"text\\\" />\\n</$button>\\n<$reveal state=<<qualify \\\"$:/state/relink/popup/missing\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\">\\n<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n<hr>\\n<$list filter=\\\"[all[current]relink:backreferences[]sort[title]]\\\" template=\\\"$:/plugins/flibbles/relink/ui/ListItemWithBlurbTemplate\\\"/>\\n</div>\\n</$reveal>\\n</div>\\n</$set>\\n\"},\"$:/plugins/flibbles/relink/ui/MoreSideBar/Missing\":{\"title\":\"$:/plugins/flibbles/relink/ui/MoreSideBar/Missing\",\"caption\":\"{{$:/plugins/flibbles/relink/language/SideBar/Missing/Caption}}\",\"tags\":\"$:/tags/MoreSideBar\",\"text\":\"<$list filter={{$:/plugins/flibbles/relink/Filters/Missing!!filter}} template=\\\"$:/plugins/flibbles/relink/ui/MissingTemplate\\\" />\\n\"},\"$:/plugins/flibbles/relink/ui/MoreSideBar/Orphans\":{\"title\":\"$:/plugins/flibbles/relink/ui/MoreSideBar/Orphans\",\"caption\":\"{{$:/plugins/flibbles/relink/language/SideBar/Orphans/Caption}}\",\"tags\":\"$:/tags/MoreSideBar\",\"text\":\"<$list filter={{$:/plugins/flibbles/relink/Filters/Orphans!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\" />\\n\"},\"$:/plugins/flibbles/relink/ui/TiddlerInfo/References\":{\"title\":\"$:/plugins/flibbles/relink/ui/TiddlerInfo/References\",\"caption\":\"{{$:/plugins/flibbles/relink/language/TiddlerInfo/References/Caption}}\",\"tags\":\"$:/tags/TiddlerInfo\",\"text\":\"\\\\define lingo-base() $:/plugins/flibbles/relink/language/TiddlerInfo/\\n\\\\define filter() [all[current]relink:backreferences[]!title[$:/StoryList]!prefix[$:/temp/]sort[title]]\\n\\\\whitespace trim\\n<$list filter=\\\"[subfilter<filter>first[]]\\\">\\n<<lingo References/Description>>\\n</$list>\\n<table class=\\\"tc-relink-references-table\\\">\\n<tbody>\\n<$vars toTitle='' >\\n<$list filter=<<filter>> emptyMessage=<<lingo References/Empty>> variable=\\\"listItem\\\" template=\\\"$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate\\\" />\\n</$vars>\\n</tbody>\\n</table>\\n\"},\"$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate\":{\"title\":\"$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate\",\"text\":\"\\\\whitespace trim\\n<tr class=\\\"tc-relink-references\\\">\\n<td class={{{ tc-relink-references-title [<toTitle>!match[]then<listItem>relink:impossible<toTitle>then[tc-relink-impossible]] +[join[ ]] }}} >\\n\\t<$list\\n\\t\\tvariable=whitelist\\n\\t\\tfilter=\\\"[<listItem>removeprefix[$:/config/flibbles/relink/]split[/]first[]titlecase[]addprefix[$:/plugins/flibbles/relink/ui/configuration/]]\\\"\\n\\t\\temptyMessage=\\\"<$link to=<<listItem>>/>\\\" >\\n\\t\\t<$link to=<<whitelist>>>\\n\\t\\t\\t''//Relink//&#32;whitelist''\\n\\t\\t</$link>\\n\\t</$list>\\n</td>\\n<td class=\\\"tc-relink-references-report\\\">\\n\\t<$list filter=\\\"[<listItem>relink:report<currentTiddler>]\\\">\\n\\n\\t\\t<$text text=<<currentTiddler>> />\\n\\t</$list>\\n</td></tr>\\n\"},\"$:/plugins/flibbles/relink/ui/components/button-delete\":{\"title\":\"$:/plugins/flibbles/relink/ui/components/button-delete\",\"text\":\"\\\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\\n\\\\define prefix() $:/config/flibbles/relink/\\n\\\\whitespace trim\\n\\n<$list\\n\\tfilter=\\\"[all[current]prefix<prefix>]\\\"\\n\\temptyMessage=\\\"<$link><$button class='tc-btn-invisible' tooltip={{$:/plugins/flibbles/relink/language/Buttons/LinkToInline/Hint}}>{{$:/core/images/link}}</$button></$link>\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/plugins/flibbles/relink/language/Buttons/Delete/Hint}}><$list filter=\\\"[all[current]is[tiddler]]\\\">\\n<$action-deletetiddler $tiddler=<<currentTiddler>> />\\n</$list><$list filter=\\\"[all[current]is[shadow]]\\\">\\n<$action-setfield $tiddler=<<tiddlerName>> text=\\\"\\\" />\\n</$list>\\n{{$:/core/images/delete-button}}\\n</$button>\\n</$list>\\n\"},\"$:/plugins/flibbles/relink/ui/components/select-fieldtype\":{\"title\":\"$:/plugins/flibbles/relink/ui/components/select-fieldtype\",\"text\":\"\\\\define prefix() $:/config/flibbles/relink/\\n\\\\whitespace trim\\n\\n<$vars type={{{ [<signature>relink:type[]] }}} >\\n<$list filter=\\\"[all[current]prefix<prefix>]\\\" >\\n<$select tiddler=<<currentTiddler>> >\\n<$list variable=\\\"option\\\" filter=\\\"[relink:types[]]\\\">\\n<option><$text text=<<option>> /></option>\\n</$list>\\n</$select>\\n</$list><$list filter=\\\"[all[current]!prefix<prefix>]\\\">\\n<$text text=<<type>> />\\n</$list>\\n</$vars>\\n\"},\"$:/plugins/flibbles/relink/ui/components/tables\":{\"title\":\"$:/plugins/flibbles/relink/ui/components/tables\",\"text\":\"\\\\define .make-table(title, plugin, default-table-state:yes)\\n\\\\whitespace trim\\n\\n<$list variable=\\\"render\\\" filter=\\\"[relink:signatures<__plugin__>prefix<__category__>first[]]\\\">\\n<$vars table-state=<<qualify \\\"\\\"\\\"$:/state/flibbles/relink/tables/$plugin$\\\"\\\"\\\">>>\\n<tr><th class=\\\"tc-relink-header-plugin\\\" colspan=<<column-count>> >\\n<$reveal type=\\\"nomatch\\\" state=<<table-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-table-state$\\\"\\\"\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<table-state>> setTo=\\\"yes\\\">\\n{{$:/core/images/right-arrow}}&#32;$title$\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<table-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-table-state$\\\"\\\"\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<table-state>> setTo=\\\"no\\\">\\n{{$:/core/images/down-arrow}}&#32;$title$\\n</$button>\\n</$reveal>\\n</th></tr>\\n<$list\\n\\tvariable=\\\"signature\\\"\\n\\tfilter=\\\"[relink:signatures<__plugin__>prefix<__category__>sort[]]\\\">\\n<$vars key={{{ [<signature>removeprefix<__category__>removeprefix[/]] }}} >\\n<$tiddler tiddler={{{[<signature>relink:source[]]}}} >\\n<$reveal tag=\\\"tr\\\" type=\\\"match\\\" state=<<table-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-table-state$\\\"\\\"\\\">\\n<$macrocall $name=<<__list-row-macro__>> signature=<<signature>> />\\n<td class=\\\"tc-relink-column-type\\\">{{||$:/plugins/flibbles/relink/ui/components/select-fieldtype}}</td>\\n<td class=\\\"tc-relink-column-delete\\\">{{||$:/plugins/flibbles/relink/ui/components/button-delete}}</td>\\n</$reveal>\\n</$tiddler>\\n</$vars>\\n</$list>\\n</$vars>\\n</$list>\\n\\\\end\\n\\n\\\\define tables(category, list-row-macro, header-list)\\n\\\\whitespace trim\\n<$vars\\n\\tcolumn-count={{{[enlist<__header-list__>] [[DeleteColumn]] +[count[]]}}}>\\n<table class=\\\"tc-relink-whitelist\\\"><tbody>\\n<tr>\\n<$list variable=\\\"header\\\" filter=\\\"[enlist<__header-list__>butlast[]]\\\"><th><<header>></th></$list>\\n<!-- We have the last column extend into the delete/link column, which is unlabeled. -->\\n<th colspan=2><$text text={{{ [enlist<__header-list__>last[]] }}} /></th>\\n</tr>\\n<<.make-table Custom \\\"\\\" yes>>\\n\\n<$list\\n\\tfilter=\\\"[plugin-type[plugin]![$:/core]![$:/plugins/flibbles/relink]]\\\">\\n<$set name=\\\"subtitle\\\"\\n\\tfilter=\\\"[all[current]has[description]]\\\"\\n\\tvalue=\\\"''{{!!name}}'':&#32;<$text text={{!!description}}/>\\\"\\n\\temptyValue=\\\"''{{!!name}}''\\\" >\\n<$macrocall $name=\\\".make-table\\\" title=<<subtitle>> plugin=<<currentTiddler>> />\\n</$set>\\n</$list>\\n<<.make-table Core \\\"$:/plugins/flibbles/relink\\\">>\\n\\n</tbody></table>\\n</$vars>\\n\\\\end\\n\"},\"$:/plugins/flibbles/relink/ui/configuration/Attributes\":{\"title\":\"$:/plugins/flibbles/relink/ui/configuration/Attributes\",\"caption\":\"{{$:/plugins/flibbles/relink/language/ui/Attributes/Caption}}\",\"tags\":\"$:/tags/flibbles/relink/Configuration\",\"text\":\"\\\\import $:/plugins/flibbles/relink/ui/components/tables\\n\\\\define prefix-attr() $:/config/flibbles/relink/attributes/\\n\\\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\\n\\\\define element-name-tiddler() $:/state/flibbles/relink/element-name\\n\\\\define attribute-name-tiddler() $:/state/flibbles/relink/attribute-name\\n\\n\\\\define row()\\n\\\\whitespace trim\\n<$set name='element'\\n value={{{[<key>splitbefore[/]removesuffix[/]]}}}>\\n<$set name=\\\"attribute\\\"\\n value={{{[<key>removeprefix<element>removeprefix[/]]}}}>\\n<td><$text text=<<element>> /></td>\\n<td><$text text=<<attribute>> /></td>\\n</$set></$set>\\n\\\\end\\n\\\\define body()\\n\\\\whitespace trim\\n\\n<em class=\\\"tc-edit\\\">Add a new attribute:</em>\\n&#32;\\n<$edit-text\\n\\ttiddler=<<element-name-tiddler>>\\n\\ttag=\\\"input\\\"\\n\\tdefault=\\\"\\\"\\n\\tplaceholder=\\\"widget/element\\\" />\\n&#32;\\n<$edit-text\\n\\ttiddler=<<attribute-name-tiddler>>\\n\\ttag=\\\"input\\\"\\n\\tdefault=\\\"\\\"\\n\\tplaceholder=\\\"attribute\\\" />\\n&#32;\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" state=<<element-name-tiddler>> >\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" state=<<attribute-name-tiddler>> >\\n<$relinkmangler>\\n<$button\\n\\ttooltip={{$(lingo-base)$NewAttribute/Hint}}\\n\\taria-label={{$(lingo-base)$NewAttribute/Caption}}>\\n<$action-sendmessage\\n\\t$message=\\\"relink-add-attribute\\\"\\n\\telement={{$(element-name-tiddler)$}}\\n\\tattribute={{$(attribute-name-tiddler)$}} />\\n<$action-deletetiddler $tiddler=<<attribute-name-tiddler>> />\\n<$action-deletetiddler $tiddler=<<element-name-tiddler>> />\\n<$text text={{$(lingo-base)$NewAttribute/Caption}}/>\\n</$button>\\n</$relinkmangler>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" state=<<attribute-name-tiddler>> >\\n<$button>\\n<$text text={{$(lingo-base)$NewAttribute/Caption}}/>\\n</$button>\\n</$reveal>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" state=<<element-name-tiddler>> >\\n<$button>\\n<$text text={{$(lingo-base)$NewAttribute/Caption}}/>\\n</$button>\\n</$reveal>\\n\\n@@.tc-control-panel\\n<$macrocall\\n\\t$name=tables\\n\\tcategory=\\\"attributes\\\"\\n\\theader-list=\\\"[[Widget/HTML Element]] Attribute Type\\\"\\n\\tlist-row-macro=\\\"row\\\" />\\n@@\\n\\\\end\\n\\n{{$:/plugins/flibbles/relink/language/Help/Attributes}}\\n\\n<<body>>\\n\"},\"$:/plugins/flibbles/relink/ui/configuration/Fields\":{\"title\":\"$:/plugins/flibbles/relink/ui/configuration/Fields\",\"caption\":\"{{$:/plugins/flibbles/relink/language/ui/Fields/Caption}}\",\"tags\":\"$:/tags/flibbles/relink/Configuration\",\"text\":\"\\\\import $:/plugins/flibbles/relink/ui/components/tables\\n\\\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\\n\\\\define field-name-tiddler() $:/state/flibbles/relink/field-name\\n\\n\\\\define row()\\n<td><$text text=<<key>> /></td>\\n\\\\end\\n\\n\\\\define body()\\n\\\\whitespace trim\\n\\n<em class='tc-edit'>Add a new field:</em>\\n&#32;\\n<$edit-text\\n\\ttiddler=<<field-name-tiddler>>\\n\\ttag=\\\"input\\\"\\n\\tdefault=\\\"\\\"\\n\\tplaceholder=\\\"field name\\\" />\\n&#32;\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" state=<<field-name-tiddler>> >\\n<$relinkmangler>\\n<$button\\n\\ttooltip={{$(lingo-base)$NewField/Hint}}\\n\\taria-label={{$(lingo-base)$NewField/Caption}}>\\n<$action-sendmessage\\n\\t$message=\\\"relink-add-field\\\"\\n\\tfield={{$(field-name-tiddler)$}} />\\n<$action-deletetiddler $tiddler=<<field-name-tiddler>> />\\n<$text text={{$(lingo-base)$NewField/Caption}}/>\\n</$button>\\n</$relinkmangler>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" state=<<field-name-tiddler>> >\\n<$button>\\n<$text text={{$(lingo-base)$NewField/Caption}}/>\\n</$button>\\n</$reveal>\\n\\n@@.tc-control-panel\\n<$macrocall\\n\\t$name=tables\\n\\tcategory=\\\"fields\\\"\\n\\theader-list=\\\"[[Field Name]] [[Field Type]]\\\"\\n\\tlist-row-macro=\\\"row\\\" />\\n@@\\n\\\\end\\n\\n{{$:/plugins/flibbles/relink/language/Help/Fields}}\\n\\n<<body>>\\n\"},\"$:/plugins/flibbles/relink/ui/configuration/Macros\":{\"title\":\"$:/plugins/flibbles/relink/ui/configuration/Macros\",\"caption\":\"{{$:/plugins/flibbles/relink/language/ui/Macros/Caption}}\",\"tags\":\"$:/tags/flibbles/relink/Configuration\",\"text\":\"\\\\import $:/plugins/flibbles/relink/ui/components/tables\\n\\\\define prefix-macro() $:/config/flibbles/relink/macros/\\n\\\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\\n\\\\define macro-name-tiddler() $:/state/flibbles/relink/macro-name\\n\\\\define parameter-name-tiddler() $:/state/flibbles/relink/parameter-name\\n\\n\\\\define row()\\n\\\\whitespace trim\\n<$set name=\\\"parameter\\\"\\n value={{{[<key>relink:splitafter[/]]}}}>\\n<$set name='macro'\\n value={{{[<key>removesuffix<parameter>removesuffix[/]]}}}>\\n<td><$text text=<<macro>> /></td>\\n<td><$text text=<<parameter>> /></td>\\n</$set></$set>\\n\\\\end\\n\\n\\\\define body()\\n\\\\whitespace trim\\n\\n<em class=\\\"tc-edit\\\">Add a new macro parameter:</em>\\n&#32;\\n<$edit-text\\n\\ttiddler=<<macro-name-tiddler>>\\n\\ttag=\\\"input\\\"\\n\\tdefault=\\\"\\\"\\n\\tplaceholder=\\\"macro\\\" />\\n&#32;\\n<$edit-text\\n\\ttiddler=<<parameter-name-tiddler>>\\n\\ttag=\\\"input\\\"\\n\\tdefault=\\\"\\\"\\n\\tplaceholder=\\\"parameter\\\" />\\n&#32;\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" state=<<macro-name-tiddler>> >\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" state=<<parameter-name-tiddler>> >\\n<$relinkmangler>\\n<$button\\n\\ttooltip={{$(lingo-base)$NewParameter/Hint}}\\n\\taria-label={{$(lingo-base)$NewParameter/Caption}}>\\n<$action-sendmessage\\n\\t$message=\\\"relink-add-parameter\\\"\\n\\tmacro={{$(macro-name-tiddler)$}}\\n\\tparameter={{$(parameter-name-tiddler)$}} />\\n<$action-deletetiddler $tiddler=<<parameter-name-tiddler>> />\\n<$action-deletetiddler $tiddler=<<macro-name-tiddler>> />\\n<$text text={{$(lingo-base)$NewParameter/Caption}}/>\\n</$button>\\n</$relinkmangler>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" state=<<parameter-name-tiddler>> >\\n<$button>\\n<$text text={{$(lingo-base)$NewParameter/Caption}}/>\\n</$button>\\n</$reveal>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" state=<<macro-name-tiddler>> >\\n<$button>\\n<$text text={{$(lingo-base)$NewParameter/Caption}}/>\\n</$button>\\n</$reveal>\\n\\n@@.tc-control-panel\\n<$macrocall\\n\\t$name=tables\\n\\tcategory=\\\"macros\\\"\\n\\theader-list=\\\"Macro Parameter Type\\\"\\n\\tlist-row-macro=\\\"row\\\" />\\n@@\\n\\\\end\\n\\n{{$:/plugins/flibbles/relink/language/Help/Macros}}\\n\\n<<body>>\\n\"},\"$:/plugins/flibbles/relink/ui/configuration/Operators\":{\"title\":\"$:/plugins/flibbles/relink/ui/configuration/Operators\",\"caption\":\"{{$:/plugins/flibbles/relink/language/ui/Operators/Caption}}\",\"tags\":\"$:/tags/flibbles/relink/Configuration\",\"text\":\"\\\\import $:/plugins/flibbles/relink/ui/components/tables\\n\\\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\\n\\\\define operator-name-tiddler() $:/state/flibbles/relink/operator-name\\n\\n\\\\define row()\\n<td><$text text=<<key>> /></td>\\n\\\\end\\n\\n\\\\define body()\\n\\\\whitespace trim\\n\\n<em class='tc-edit'>Add a new filter operator:</em>\\n&#32;\\n<$edit-text\\n\\ttiddler=<<operator-name-tiddler>>\\n\\ttag=\\\"input\\\"\\n\\tdefault=\\\"\\\"\\n\\tplaceholder=\\\"operator name\\\" />\\n&#32;\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" state=<<operator-name-tiddler>>>\\n<$relinkmangler>\\n<$button\\n\\ttooltip={{$(lingo-base)$NewOperator/Hint}}\\n\\taria-label={{$(lingo-base)$NewOperator/Caption}}>\\n<$action-sendmessage\\n\\t$message=\\\"relink-add-operator\\\"\\n\\toperator={{$(operator-name-tiddler)$}} />\\n<$action-deletetiddler $tiddler=<<operator-name-tiddler>> />\\n<$text text={{$(lingo-base)$NewOperator/Caption}}/>\\n</$button>\\n</$relinkmangler>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" state=<<operator-name-tiddler>>>\\n<$button>\\n<$text text={{$(lingo-base)$NewOperator/Caption}}/>\\n</$button>\\n</$reveal>\\n\\n@@.tc-control-panel\\n<$macrocall\\n\\t$name=tables\\n\\tcategory=\\\"operators\\\"\\n\\theader-list=\\\"[[Filter Operator]] [[Operand Type]]\\\"\\n\\tlist-row-macro=\\\"row\\\" />\\n@@\\n\\\\end\\n\\n{{$:/plugins/flibbles/relink/language/Help/Operators}}\\n\\n<<body>>\\n\"},\"$:/plugins/flibbles/relink/ui/stylesheet.css\":{\"title\":\"$:/plugins/flibbles/relink/ui/stylesheet.css\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\".tc-relink-references {\\n}\\n\\n.tc-relink-references-table {\\n\\twidth: 100%;\\n\\tborder: none;\\n}\\n\\n.tc-relink-references-table td {\\n\\tborder-left: none;\\n}\\n\\n.tc-relink-references-table tr:first-child td {\\n\\tborder-top: none;\\n}\\n\\n.tc-relink-references-title {\\n\\ttext-align: left;\\n\\tvertical-align: top;\\n\\tpadding-top: 3px;\\n\\tpadding-bottom: 3px;\\n}\\n\\n.tc-relink-references-occurrence {\\n\\tfont-style: italic;\\n\\ttext-align: left;\\n\\tfont-weight: 200;\\n\\tpadding-left: 25px;\\n\\tvertical-align: top;\\n}\\n\\n.tc-relink-header-plugin {\\n\\ttext-align: left;\\n}\\n\\n.tc-relink-header-plugin button {\\n\\twidth: 100%\\n}\\n\\n.tc-relink-column-type {\\n\\twidth: 8em;\\n}\\n\\n.tc-relink-column-type select {\\n\\twidth: 100%;\\n}\\n\\n.tc-relink-column-delete {\\n\\tborder-left: none;\\n\\ttext-align: left;\\n}\\n\\n.tc-relink-column-delete button {\\n\\tpadding-left: 1em;\\n}\\n\\n.tc-relink-impossible a.tc-tiddlylink {\\n\\tcolor: <<colour relink-impossible>>;\\n}\\n\\n.tc-relink-menu-missing-blurb {\\n\\tmargin-left: 30pt;\\n}\\n\"}}}","created":"20250801185523507"},{"name":"Relink Field Names","title":"$:/plugins/flibbles/relink-fieldnames","description":"Renames field names with titles matching Relinked tiddlers","author":"Flibbles","version":"2.5.2","core-version":">=5.1.22","stability":"STABILITY_2_STABLE","parent-plugin":"$:/plugins/flibbles/relink","source":"https://github.com/flibbles/tw5-relink","demo":"http://flibbles.github.io/tw5-relink/","list":"readme reference","dependents":"","plugin-type":"plugin","type":"application/json","text":"{\"tiddlers\":{\"$:/config/flibbles/relink/attributes/$action-deletefield/$field\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-deletefield/$field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$action-listops/$field\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-listops/$field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$action-setfield/$field\":{\"title\":\"$:/config/flibbles/relink/attributes/$action-setfield/$field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$button/setField\":{\"title\":\"$:/config/flibbles/relink/attributes/$button/setField\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$checkbox/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$checkbox/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$edit-text/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit-text/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$edit/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$edit/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$fields/exclude\":{\"title\":\"$:/config/flibbles/relink/attributes/$fields/exclude\",\"text\":\"fieldnamelist\"},\"$:/config/flibbles/relink/attributes/$fields/include\":{\"title\":\"$:/config/flibbles/relink/attributes/$fields/include\",\"text\":\"fieldnamelist\"},\"$:/config/flibbles/relink/attributes/$jsontiddler/exclude\":{\"title\":\"$:/config/flibbles/relink/attributes/$jsontiddler/exclude\",\"text\":\"fieldnamelist\"},\"$:/config/flibbles/relink/attributes/$radio/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$radio/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$range/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$range/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$reveal/stateField\":{\"title\":\"$:/config/flibbles/relink/attributes/$reveal/stateField\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$select/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$select/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$setvariable/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$setvariable/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$set/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$set/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$transclude/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$transclude/$field\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/$field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/attributes/$view/field\":{\"title\":\"$:/config/flibbles/relink/attributes/$view/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/fieldnames/blacklist\":{\"title\":\"$:/config/flibbles/relink/fieldnames/blacklist\",\"filter\":\"[all[shadows+tiddlers]removeprefix[$:/language/Docs/Fields/]]\",\"text\":\"This tiddler specifies what fields //Relink-fieldname// should refuse to change. Edit its `filter` field if you'd like to change that list.\\n\"},\"$:/plugins/flibbles/relink-fieldnames/fieldtypes/fieldname.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/fieldtypes/fieldname.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/fieldtypes/fieldname.js\\nmodule-type: relinkfieldtype\\ntype: application/javascript\\n\\nThis field type behaves exactly like the \\\"title\\\" field type, except that\\nit ignores any titles that appear on the field name blacklist.\\n\\n\\\\*/\\n\\nexports.name = 'fieldname';\\n\\nvar utils = require(\\\"../utils.js\\\");\\n\\nexports.report = function(value, callback, options) {\\n\\tif (!utils.isReserved(value, options)) {\\n\\t\\tcallback(value, undefined, {soft: true});\\n\\t}\\n};\\n\\nexports.relink = function(value, fromTitle, toTitle, options) {\\n\\tif (value === fromTitle\\n\\t&& !utils.isReserved(fromTitle, options)) {\\n\\t\\tif (utils.isReserved(toTitle, options)\\n\\t\\t|| !utils.isValidFieldName(toTitle)) {\\n\\t\\t\\treturn {impossible: true};\\n\\t\\t} else {\\n\\t\\t\\treturn {output: toTitle};\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/fieldtypes/fieldnamelist.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/fieldtypes/fieldnamelist.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/fieldtypes/fieldnamelist.js\\nmodule-type: relinkfieldtype\\ntype: application/javascript\\n\\nThis field type behaves exactly like the \\\"title\\\" field type, except that\\nit ignores any titles that appear on the field name blacklist.\\n\\n\\\\*/\\n\\nexports.name = 'fieldnamelist';\\n\\nvar utils = require(\\\"../utils.js\\\");\\nvar listModule = require(\\\"$:/plugins/flibbles/relink/js/fieldtypes/list.js\\\");\\n\\nexports.report = function(value, callback, options) {\\n\\tvar list = $tw.utils.parseStringArray(value);\\n\\tfor (var i = 0; i < list.length; i++) {\\n\\t\\tif (!utils.isReserved(list[i], options)) {\\n\\t\\t\\tcallback(list[i], undefined, {soft: true});\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(value, fromTitle, toTitle, options) {\\n\\tvar entry;\\n\\tif (!utils.isReserved(fromTitle, options)) {\\n\\t\\tentry = listModule.relink(value, fromTitle, toTitle, options);\\n\\t\\tif (entry && entry.output && utils.isReserved(toTitle, options)) {\\n\\t\\t\\t// The list updated, but we can't actaully update to this new title\\n\\t\\t\\treturn {impossible: true};\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/filters/field.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/filters/field.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/filters/field.js\\nmodule-type: relinkfilter\\ntype: application/javascript\\n\\nHandles reporting/relinking of shorthand [[field:{field}[]] operators.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"../utils.js\\\");\\n\\nexports.name = \\\"field\\\";\\n\\nexports.after = ['operators'];\\n\\nexports.report = function(filterParseTree, callback, options) {\\n\\tvar operators = options.wiki.getFilterOperators();\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tif (!operators[operator.operator]\\n\\t\\t\\t&& !utils.isReserved(operator.operator, options)) {\\n\\t\\t\\t\\tcallback(operator.operator, \\\"[field:\\\" + utils.blurbOperands(operator) + \\\"]\\\", {soft: true});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(filterParseTree, fromTitle, toTitle, options) {\\n\\tvar output = {};\\n\\tif (!utils.isReserved(fromTitle, options)) {\\n\\t\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\t\\tvar run = filterParseTree[i];\\n\\t\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\t\\tif (operator.operator === fromTitle\\n\\t\\t\\t\\t&& !options.wiki.getFilterOperators()[fromTitle]) {\\n\\t\\t\\t\\t\\tif (toTitle.search(/[\\\\[\\\\{<\\\\/]/) >= 0\\n\\t\\t\\t\\t\\t|| utils.isReserved(toTitle, options)) {\\n\\t\\t\\t\\t\\t\\t// can't be an operator or a suffix. we must fail.\\n\\t\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tif (options.wiki.getFilterOperators()[toTitle]\\n\\t\\t\\t\\t\\t\\t|| toTitle.indexOf(':') >= 0) {\\n\\t\\t\\t\\t\\t\\t\\t// It can't use the shorthand without causing problems\\n\\t\\t\\t\\t\\t\\t\\t// we use longhand field operator\\n\\t\\t\\t\\t\\t\\t\\toperator.operator = \\\"field\\\";\\n\\t\\t\\t\\t\\t\\t\\toperator.suffix = toTitle;\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\toperator.operator = toTitle;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\toutput.changed = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn output;\\n};\\n\",\"module-type\":\"relinkfilter\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/filters/search.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/filters/search.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/filters/search.js\\nmodule-type: relinkfilter\\ntype: application/javascript\\n\\nHandles reporting/relinking of the search operator, which is very complicated\\n\\n\\\\*/\\n\\nvar utils = require(\\\"../utils.js\\\");\\n\\nexports.name = \\\"search\\\";\\n\\nexports.report = function(filterParseTree, callback, options) {\\n\\tvar inverted = false;\\n\\teachSuffix(filterParseTree, function(title, rawEntry, operator, index) {\\n\\t\\tif (index === 0 && rawEntry[0] === '-') {\\n\\t\\t\\tinverted = true;\\n\\t\\t}\\n\\t\\tif (!utils.isReserved(title, options)) {\\n\\t\\t\\tvar blurb = inverted? \\\"[search:-\\\": \\\"[search:\\\";\\n\\t\\t\\tif (operator.suffixes[1]) {\\n\\t\\t\\t\\tblurb += ':' + operator.suffixes[1].join(',');\\n\\t\\t\\t}\\n\\t\\t\\tcallback(title, blurb + utils.blurbOperands(operator) + \\\"]\\\", {soft: true});\\n\\t\\t}\\n\\t});\\n};\\n\\nexports.relink = function(filterParseTree, fromTitle, toTitle, options) {\\n\\tvar output = {};\\n\\tif (!utils.isReserved(fromTitle, options)) {\\n\\t\\teachSuffix(filterParseTree, function(title, rawEntry, operator, index) {\\n\\t\\t\\tif (title === fromTitle) {\\n\\t\\t\\t\\tif (utils.isReserved(toTitle, options)\\n\\t\\t\\t\\t|| toTitle.search(/[\\\\[\\\\{<\\\\/,:]/) >= 0\\n\\t\\t\\t\\t|| (index == 0\\n\\t\\t\\t\\t\\t&& rawEntry[0] !== '-'\\n\\t\\t\\t\\t\\t&& (toTitle[0] === '-' || toTitle === '*'))) {\\n\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\toutput.changed = true;\\n\\t\\t\\t\\t\\treturn toTitle;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn output;\\n};\\n\\nfunction eachSuffix(filterParseTree, callback) {\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tvar opChanged = false;\\n\\t\\t\\tif (operator.operator === 'search' && operator.suffix) {\\n\\t\\t\\t\\tvar list = operator.suffixes[0];\\n\\t\\t\\t\\tfor (var index = 0; index < list.length; index++) {\\n\\t\\t\\t\\t\\tvar title = list[index];\\n\\t\\t\\t\\t\\tvar raw = title;\\n\\t\\t\\t\\t\\tif (index === 0) {\\n\\t\\t\\t\\t\\t\\tif (title[0] === '-') {\\n\\t\\t\\t\\t\\t\\t\\ttitle = title.substr(1);\\n\\t\\t\\t\\t\\t\\t} else if (title === '*') {\\n\\t\\t\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar newValue = callback(title, raw, operator, index);\\n\\t\\t\\t\\t\\tif (newValue) {\\n\\t\\t\\t\\t\\t\\tlist[index] = (index === 0 && raw[0] === '-') ?\\n\\t\\t\\t\\t\\t\\t\\t'-' + newValue:\\n\\t\\t\\t\\t\\t\\t\\tnewValue;\\n\\t\\t\\t\\t\\t\\topChanged = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif (opChanged) {\\n\\t\\t\\t\\t// There was a change. reassemble the suffix\\n\\t\\t\\t\\toperator.suffix = operator.suffixes.map(function(part) {\\n\\t\\t\\t\\t\\treturn part.join(',');\\n\\t\\t\\t\\t}).join(':');\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkfilter\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/filters/suffixes.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/filters/suffixes.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/filters/suffixes.js\\nmodule-type: relinkfilter\\ntype: application/javascript\\n\\nHandles reporting/relinking of filter operator suffixes using a hidden whitelist.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"../utils.js\\\");\\n\\nexports.name = \\\"suffixes\\\";\\n\\nexports.report = function(filterParseTree, callback, options) {\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tvar settings = options.settings.getConfig('suffixes')[operator.operator];\\n\\t\\t\\tif (settings) {\\n\\t\\t\\t\\tsettings[1].report(operator.suffix, function(title, blurb, style) {\\n\\t\\t\\t\\t\\tcallback(title, '[' + operator.operator + ':' + (blurb || '') + utils.blurbOperands(operator) + ']', style);\\n\\t\\t\\t\\t}, options);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(filterParseTree, fromTitle, toTitle, options) {\\n\\tvar output = {};\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tvar settings = options.settings.getConfig('suffixes')[operator.operator];\\n\\t\\t\\tvar operatorChanged = false;\\n\\t\\t\\tif (settings) {\\n\\t\\t\\t\\tvar handler = settings[1];\\n\\t\\t\\t\\tif (handler) {\\n\\t\\t\\t\\t\\tvar entry = handler.relink(operator.suffix, fromTitle, toTitle, options);\\n\\t\\t\\t\\t\\tif (entry) {\\n\\t\\t\\t\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\t\\t\\t\\tif (entry.output.search(/[\\\\[\\\\{<\\\\/]/) < 0) {\\n\\t\\t\\t\\t\\t\\t\\t\\toutput.changed = true;\\n\\t\\t\\t\\t\\t\\t\\t\\toperatorChanged = true;\\n\\t\\t\\t\\t\\t\\t\\t\\toperator.suffix = entry.output;\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn output;\\n};\\n\",\"module-type\":\"relinkfilter\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/htmlFields.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/htmlFields.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/htmlFields.js\\nmodule-type: relinkhtml\\ntype: application/javascript\\n\\nThis updates html attribute names which correspond to fields.\\n\\ne.g.\\n\\n<$action-createtiddler myfield=\\\"...\\\" />\\n\\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.name = \\\"fieldnames\\\";\\n\\nexports.report = function(element, parser, callback, options) {\\n\\tvar regexp = parser.context.getConfig(\\\"fieldattributes\\\")[element.tag];\\n\\tif (regexp) {\\n\\t\\tfor (var attributeName in element.attributes) {\\n\\t\\t\\tvar results = regexp.exec(attributeName);\\n\\t\\t\\tif (results\\n\\t\\t\\t&& results[0] === attributeName\\n\\t\\t\\t&& !utils.isReserved(results[1], options)) {\\n\\t\\t\\t\\tvar attr = element.attributes[attributeName];\\n\\t\\t\\t\\tvar blurb;\\n\\t\\t\\t\\tswitch (attr.type) { \\n\\t\\t\\t\\tcase \\\"string\\\":\\n\\t\\t\\t\\t\\tblurb = '\\\"' + utils.abridgeString(attr.value, 33) + '\\\"';\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"indirect\\\":\\n\\t\\t\\t\\t\\tblurb = \\\"{{\\\" + attr.textReference + \\\"}}\\\";\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"filtered\\\":\\n\\t\\t\\t\\t\\tblurb = \\\"{{{\\\" + utils.abridgeString(attr.filter, 33) + \\\"}}}\\\";\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"macro\\\":\\n\\t\\t\\t\\t\\t// Find the equals\\n\\t\\t\\t\\t\\tvar equals = parser.source.indexOf(\\\"=\\\", attr.start);\\n\\t\\t\\t\\t\\t// Now that the macrostart after that equals\\n\\t\\t\\t\\t\\tvar macroStart = parser.source.indexOf(\\\"<\\\", equals);\\n\\t\\t\\t\\t\\tblurb = \\\"<<\\\" + utils.abridgeString(parser.source.substring(macroStart+2, attr.end-2), 33) + \\\">>\\\";\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(results[1], element.tag + ' =' + blurb, {soft: true});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(element, parser, fromTitle, toTitle, options) {\\n\\tvar entry = {};\\n\\tif (!utils.isReserved(fromTitle, options)) {\\n\\t\\tvar regexp = parser.context.getConfig(\\\"fieldattributes\\\")[element.tag];\\n\\t\\tif (regexp) {\\n\\t\\t\\tfor (var attributeName in element.attributes) {\\n\\t\\t\\t\\tvar results = regexp.exec(attributeName);\\n\\t\\t\\t\\tif (results\\n\\t\\t\\t\\t&& results[0] === attributeName\\n\\t\\t\\t\\t&& results[1] === fromTitle) {\\n\\t\\t\\t\\t\\tvar newName = alterAttributeName(attributeName, fromTitle, toTitle, regexp, options);\\n\\t\\t\\t\\t\\tif (newName === undefined) {\\n\\t\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\telement.attributes[attributeName].name = newName;\\n\\t\\t\\t\\t\\t\\tentry.output = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn entry;\\n};\\n\\n// Returns undefined if it doesn't work out.\\nfunction alterAttributeName(attributeName, fromTitle, toTitle, regexp, options) {\\n\\tif (!utils.isReserved(toTitle, options)) {\\n\\t\\tvar newName = attributeName.replace(fromTitle, toTitle);\\n\\t\\tvar match = regexp.exec(newName);\\n\\t\\tif (match && match[0] === newName && match[1] === toTitle) {\\n\\t\\t\\t// Taken from parseutils.js\\n\\t\\t\\tvar reAttributeName = /([^\\\\/\\\\s>\\\"'=]+)/;\\n\\t\\t\\tmatch = reAttributeName.exec(newName);\\n\\t\\t\\tif (match && match[0] === newName) {\\n\\t\\t\\t\\treturn newName;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\",\"module-type\":\"relinkhtml\",\"type\":\"application/javascript\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/firstSearchFilterField\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/firstSearchFilterField\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/macros/keyboard-driven-input/secondSearchFilterField\":{\"title\":\"$:/config/flibbles/relink/macros/keyboard-driven-input/secondSearchFilterField\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/macros/list-links-draggable/field\":{\"title\":\"$:/config/flibbles/relink/macros/list-links-draggable/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/macros/tag-picker/tagField\":{\"title\":\"$:/config/flibbles/relink/macros/tag-picker/tagField\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/macros/timeline/dateField\":{\"title\":\"$:/config/flibbles/relink/macros/timeline/dateField\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/each\":{\"title\":\"$:/config/flibbles/relink/operators/each\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/eachday\":{\"title\":\"$:/config/flibbles/relink/operators/eachday\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/fields\":{\"title\":\"$:/config/flibbles/relink/operators/fields\",\"text\":\"fieldnamelist\"},\"$:/config/flibbles/relink/operators/get\":{\"title\":\"$:/config/flibbles/relink/operators/get\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/has\":{\"title\":\"$:/config/flibbles/relink/operators/has\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/listed\":{\"title\":\"$:/config/flibbles/relink/operators/listed\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/nsort\":{\"title\":\"$:/config/flibbles/relink/operators/nsort\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/nsortcs\":{\"title\":\"$:/config/flibbles/relink/operators/nsortcs\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/sort\":{\"title\":\"$:/config/flibbles/relink/operators/sort\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/sortan\":{\"title\":\"$:/config/flibbles/relink/operators/sortan\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/sortcs\":{\"title\":\"$:/config/flibbles/relink/operators/sortcs\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/operators/has:field\":{\"title\":\"$:/config/flibbles/relink/operators/has:field\",\"text\":\"fieldname\"},\"$:/plugins/flibbles/relink-fieldnames/readme\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/readme\",\"text\":\"\\\\whitespace trim\\n\\nEnables Relink to relink field names associated with renamed tiddlers. The following fields cannot be interacted with in this way:\\n\\n<<<\\n<$set name=blacklisted filter={{$:/config/flibbles/relink-fieldnames/blacklist!!filter}}>\\n''<$list counter=counter filter=\\\"[enlist<blacklisted>sort[]]\\\">\\n<<currentTiddler>><br>\\n</$list>''\\n</$set>\\n<<<\\n\\nSee&#32;<a href={{$:/plugins/flibbles/relink-fieldnames!!source}} class=\\\"tc-tiddlylink-external\\\">the tw5-relink website</a>&#32;for more details and examples.\\n\"},\"$:/plugins/flibbles/relink-fieldnames/reference.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/reference.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/reference.js\\nmodule-type: relinkreference\\ntype: application/javascript\\n\\nTakes care of renaming \\n\\\\*/\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.name = 'fieldname';\\n\\nexports.report = function(reference, callback, options) {\\n\\tif (reference.field\\n\\t&& !utils.isReserved(reference.field, options)) {\\n\\t\\tcallback(reference.field, (reference.title || '') + \\\"!!\\\", {soft: true});\\n\\t}\\n};\\n\\nexports.relink = function(reference, fromTitle, toTitle, options) {\\n\\tif (reference.field === fromTitle\\n\\t&& !utils.isReserved(fromTitle, options)) {\\n\\t\\tif (utils.isReserved(toTitle, options)) {\\n\\t\\t\\treturn {impossible: true};\\n\\t\\t} else {\\n\\t\\t\\treference.field = toTitle;\\n\\t\\t\\treturn {output: reference};\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkreference\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/reference\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/reference\",\"caption\":\"Field Names\",\"tags\":\"$:/tags/flibbles/relink/Configuration\",\"list-after\":\"\",\"text\":\"\\\\define label(arrow, setTo) <$reveal type=\\\"nomatch\\\" state=<<table-state>> text=\\\"$setTo$\\\" default=\\\"no\\\"><$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<table-state>> setTo=\\\"$setTo$\\\">{{$arrow$}} ''<$link to=<<field>>/>''</$button> <span class=\\\"tc-relink-fieldnames-count\\\">(<$text text={{{ [has<field>count[]] }}} />)</span></$reveal>\\n\\n\\\\define entry(field)\\n<$set name=\\\"table-state\\\" value=<<qualify \\\"\\\"\\\"$:/state/flibbles/relink-fieldnames/table/$field$\\\"\\\"\\\">>>\\n<tr class=\\\"tc-relink-fieldnames-field\\\">\\n<td colspan=\\\"3\\\">\\n<<label $:/core/images/right-arrow yes>>\\n<<label $:/core/images/down-arrow no>>\\n</td>\\n</tr>\\n<$list filter=\\\"[has<field>]\\\" >\\n<$reveal tag=\\\"tr\\\" type=\\\"match\\\" state=<<table-state>> text=\\\"yes\\\" default=\\\"no\\\" class=\\\"tc-relink-fieldnames-entry\\\">\\n<td class=\\\"tc-relink-fieldnames-margin\\\"></td>\\n<td class=\\\"tc-relink-fieldnames-title\\\"><$link to=<<currentTiddler>> /></td><td><$text text={{{ [all[current]get<field>] }}} /></td>\\n</$reveal>\\n</$list>\\n</$set>\\n\\\\end\\n\\\\whitespace trim\\n\\nThe following is a table of all tiddlers currently being used as field names.\\n\\n<$set name=blacklisted filter={{$:/config/flibbles/relink-fieldnames/blacklist!!filter}} >\\n<table class=\\\"tc-relink-fieldnames-table\\\">\\n<tbody>\\n<$list variable=\\\"field\\\" filter=\\\"[fields[]is[tiddler]] -[enlist<blacklisted>]\\\">\\n<$macrocall $name=\\\"entry\\\" field=<<field>> />\\n</$list>\\n</tbody>\\n</table>\\n</$set>\\n\"},\"$:/plugins/flibbles/relink-fieldnames/relinkoperator.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/relinkoperator.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/relinkoperator.js\\nmodule-type: relinkoperator\\ntype: application/javascript\\n\\nUpdates the field names if they correspond to the renamed tiddler.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = 'field-names';\\n\\nexports.after = ['fields'];\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.report = function(tiddler, callback, options) {\\n\\tvar fields = tiddler.fields;\\n\\tfor (var field in fields) {\\n\\t\\tif (!utils.isReserved(field, options)) {\\n\\t\\t\\tcallback(field, ': ' + utils.abridgeString(fields[field], 33), {soft: true});\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\tif ($tw.utils.hop(tiddler.fields, fromTitle)\\n\\t&& !utils.isReserved(fromTitle, options)) {\\n\\t\\tif ($tw.utils.hop(tiddler.fields, toTitle)\\n\\t\\t|| utils.isReserved(toTitle, options)\\n\\t\\t|| !utils.isValidFieldName(toTitle)) {\\n\\t\\t\\t// There is already a [toTitle] field, and we won't clobber it.\\n\\t\\t\\t// Or this is an illegal field name\\n\\t\\t\\tchanges[fromTitle] = {impossible: true};\\n\\t\\t} else if ($tw.utils.hop(changes, fromTitle)) {\\n\\t\\t\\t// If the value changed, we need the changed value, assuming there\\n\\t\\t\\t// is one.\\n\\t\\t\\tchanges[toTitle] = {\\n\\t\\t\\t\\toutput: changes[fromTitle].output || tiddler.fields[fromTitle]\\n\\t\\t\\t};\\n\\t\\t\\t// But we leave the original change in place in case it described\\n\\t\\t\\t// an impossible relink or something.\\n\\t\\t\\tchanges[fromTitle].output = null;\\n\\t\\t} else {\\n\\t\\t\\tchanges[toTitle] = {output: tiddler.fields[fromTitle]};\\n\\t\\t\\tchanges[fromTitle] = {output: null};\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkoperator\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/relinkprefix.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/relinkprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/relinkprefix.js\\nmodule-type: relinkprefix\\ntype: application/javascript\\n\\nUpdates the whitelist entries for fields that are being renamed.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar utils = require(\\\"./utils.js\\\");\\n\\nexports.prefix = \\\"$:/config/flibbles/relink/fields/\\\";\\n\\nexports.report = function(tiddler, callback, options) {\\n\\t// If this is a whitelist entry, report it.\\n\\tvar title = tiddler.fields.title.substr(exports.prefix.length);\\n\\tcallback(title, \\\"#relink \\\" + tiddler.fields.text, {soft: true});\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\t// If this is a whitelist entry for the fromTitle field, update it.\\n\\tif (tiddler.fields.title.substr(exports.prefix.length) === fromTitle) {\\n\\t\\tvar newTitle = exports.prefix + toTitle;\\n\\t\\t// Make sure we wouldn't be deleting an existing whitelist entry.\\n\\t\\tchanges.title = (!options.wiki.tiddlerExists(newTitle)) ?\\n\\t\\t\\t{ output: newTitle }:\\n\\t\\t\\t{ impossible: true };\\n\\t}\\n};\\n\",\"module-type\":\"relinkprefix\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/setting/fieldnames.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/setting/fieldnames.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/flibbles/relink-fieldnames/setting/fieldnames.js\\nmodule-type: relinksetting\\ntype: application/javascript\\n\\nThe setting module interfaces with the relink settings to store\\na configuration for the blacklist.\\n\\\\*/\\n\\nexports.name = \\\"fieldnames\\\";\\n\\nexports.generate = function(settings, tiddler, key, wiki) {\\n\\tif (key === \\\"blacklist\\\") {\\n\\t\\tvar tiddlers = wiki.filterTiddlers(tiddler.fields.filter);\\n\\t\\tvar fieldMap = Object.create(null);\\n\\t\\tfor (var i = 0; i < tiddlers.length; i++) {\\n\\t\\t\\tfieldMap[tiddlers[i]] = true;\\n\\t\\t}\\n\\t\\tsettings.blacklist = function(field) {\\n\\t\\t\\treturn fieldMap[field] || false;\\n\\t\\t};\\n\\t}\\n\\t// else { I don't know what else there could be... }\\n};\\n\",\"module-type\":\"relinksetting\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/setting/suffixes.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/setting/suffixes.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/flibbles/relink-fieldnames/setting/suffixes.js\\nmodule-type: relinksetting\\ntype: application/javascript\\n\\nThe setting module interfaces with the relink settings to store\\nthe whitelist for all the operator suffixes\\n\\\\*/\\n\\nvar utils = require('$:/plugins/flibbles/relink/js/utils');\\n\\nexports.name = \\\"suffixes\\\";\\n\\nexports.generate = function(suffixes, tiddler, key) {\\n\\tvar data = utils.getType(tiddler.fields.text.trim());\\n\\tif (data) {\\n\\t\\tdata.source = tiddler.fields.title;\\n\\t\\t// Secret feature. You can access a config tiddler's\\n\\t\\t// fields from inside the fieldtype handler. Cool\\n\\t\\t// tricks can be done with this.\\n\\t\\tdata.fields = tiddler.fields;\\n\\t\\tvar pair = key.split('/');\\n\\t\\tvar name = pair[0];\\n\\t\\tdata.key = key;\\n\\t\\tsuffixes[name] = suffixes[name] || Object.create(null);\\n\\t\\tsuffixes[name][pair[1] || 1] = data;\\n\\t}\\n};\\n\",\"module-type\":\"relinksetting\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-fieldnames/style\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/style\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\".tc-relink-fieldnames-table {\\n\\twidth: 100%;\\n\\tborder: 0px;\\n}\\n\\n.tc-relink-fieldnames-field a {\\n\\tfont-weight: bold;\\n}\\n\\n.tc-relink-fieldnames-field td {\\n\\tborder: 0px;\\n}\\n\\n.tc-relink-fieldnames-count {\\n\\tcolor: lightgray;\\n}\\n\\n.tc-relink-fieldnames-title {\\n\\tmargin-left: 3pt;\\n\\tmin-width: 30%;\\n}\\n\\n.tc-relink-fieldnames-entry td {\\n\\tborder: 0px;\\n\\tborder-bottom: 1px solid <<colour table-border>>;\\n}\\n\\n.tc-relink-fieldnames-margin {\\n\\twidth: 25pt;\\n}\\n\"},\"$:/config/flibbles/relink/suffixes/contains\":{\"title\":\"$:/config/flibbles/relink/suffixes/contains\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/suffixes/days\":{\"title\":\"$:/config/flibbles/relink/suffixes/days\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/suffixes/field\":{\"title\":\"$:/config/flibbles/relink/suffixes/field\",\"text\":\"fieldname\"},\"$:/config/flibbles/relink/suffixes/regexp\":{\"title\":\"$:/config/flibbles/relink/suffixes/regexp\",\"text\":\"fieldname\"},\"$:/plugins/flibbles/relink-fieldnames/utils.js\":{\"title\":\"$:/plugins/flibbles/relink-fieldnames/utils.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-fieldnames/utils.js\\nmodule-type: library\\ntype: application/javascript\\n\\n\\\\*/\\n\\nvar blacklistTiddler = \\\"$:/config/flibbles/relink/fieldnames/blacklist\\\";\\nvar docPrefix = \\\"$:/language/Docs/Fields/\\\";\\n\\nvar whitelist = require('$:/plugins/flibbles/relink/js/utils.js').getContext('whitelist');\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nexports = module.exports = Object.create(utils);\\n\\nwhitelist.hotDirectories.push(docPrefix);\\n\\nexports.isReserved = function(field, options) {\\n\\tvar method = options.settings.getConfig(\\\"fieldnames\\\").blacklist || function() { return true; };\\n\\treturn method(field);\\n};\\n\\n// Pre v5.2.0, this will be false. But we can't rely on utils.isValidFieldName\\n// entirely, because it is forgiving about capitalization when we can't be.\\nvar capitalizationAllowed = $tw.utils.isValidFieldName(\\\"A:\\\");\\n\\nexports.isValidFieldName = function(field) {\\n\\treturn $tw.utils.isValidFieldName(field)\\n\\t\\t&& (capitalizationAllowed || !/[A-Z]/.test(field));\\n};\\n\\nexports.blurbOperands = function(operator) {\\n\\tvar string = ''\\n\\tfor (var index = 0; index < operator.operands.length; index++) {\\n\\t\\tif (index > 0) {\\n\\t\\t\\tstring += ',';\\n\\t\\t}\\n\\t\\tvar operand = operator.operands[index];\\n\\t\\tif (operand.indirect) {\\n\\t\\t\\tstring += '{' + exports.abridgeString(operand.text, 33) + '}';\\n\\t\\t} else if (operand.variable) {\\n\\t\\t\\tstring += '<' + exports.abridgeString(operand.text, 33) + '>';\\n\\t\\t} else {\\n\\t\\t\\tstring += '[' + exports.abridgeString(operand.text, 33) + ']';\\n\\t\\t}\\n\\t}\\n\\treturn string;\\n};\\n\",\"module-type\":\"library\",\"type\":\"application/javascript\"}}}"},{"name":"Relink Markdown","title":"$:/plugins/flibbles/relink-markdown","description":"Markdown support for Relink","author":"Flibbles","version":"2.5.2","core-version":">=5.1.22","stability":"STABILITY_2_STABLE","parent-plugin":"$:/plugins/flibbles/relink","source":"https://github.com/flibbles/tw5-relink","list":"readme","dependents":"","plugin-type":"plugin","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/flibbles/relink-markdown/fieldtypes/markdown.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/fieldtypes/markdown.js\",\"text\":\"/*\\\\\\nmodule-type: relinkfieldtype\\ntitle: $:/plugins/flibbles/relink-markdown/fieldtypes/markdown.js\\ntype: application/javascript\\n\\nThis relinks tiddlers which contain markdown. It tries to be agnostic to\\nwhichever markdown plugin you're using.\\n\\n\\\\*/\\n\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder.js\\\");\\nvar utils = require(\\\"$:/plugins/flibbles/relink-markdown/utils/markdown.js\\\");\\nvar WikiParser = require(\\\"$:/core/modules/parsers/wikiparser/wikiparser.js\\\")['text/vnd.tiddlywiki'];\\n\\nfunction MarkdownWalker(text, options) {\\n\\tthis.wiki = options.wiki;\\n\\tthis.options = options;\\n\\tif(!this.mdInlineRuleClasses) {\\n\\t\\tMarkdownWalker.prototype.mdInlineRuleClasses = $tw.modules.createClassesFromModules(\\\"relinkmarkdownrule\\\",\\\"inline\\\",$tw.MarkdownRuleBase);\\n\\t}\\n\\tif(!this.mdBlockRuleClasses) {\\n\\t\\tMarkdownWalker.prototype.mdBlockRuleClasses = $tw.modules.createClassesFromModules(\\\"relinkmarkdownrule\\\",\\\"block\\\",$tw.MarkdownRuleBase);\\n\\t}\\n\\tthis.source = text || \\\"\\\";\\n\\tthis.sourceLength = this.source.length;\\n\\t// Set current parse position\\n\\tthis.pos = 0;\\n\\t// Instantiate the parser block and inline rules\\n\\tthis.blockRules = this.instantiateRules(this.mdBlockRuleClasses,\\\"block\\\",0);\\n\\tthis.inlineRules = this.instantiateRules(this.mdInlineRuleClasses,\\\"inline\\\",0);\\n\\t// instantiateRules first with indent==undefined so we can match regardless\\n\\t// of tabdepth. Now we need to be strict about it.\\n\\tthis.indent = 0;\\n\\tthis.parseBlocks();\\n};\\n\\nMarkdownWalker.prototype = Object.create(WikiParser.prototype);\\n\\nmodule.exports\\n\\nMarkdownWalker.prototype.parseBlock = function(terminatorRegExpString) {\\n\\tvar terminatorRegExp = /([^\\\\S\\\\n]*\\\\r?\\\\n\\\\r?\\\\n)/mg;\\n\\tthis.skipEmptyLines();\\n\\tif(this.pos >= this.sourceLength) {\\n\\t\\treturn [];\\n\\t}\\n\\t// Look for a block rule that applies at the current position\\n\\tvar nextMatch = this.findNextMatch(this.blockRules, this.pos);\\n\\tif(nextMatch && nextMatch.matchIndex === this.pos) {\\n\\t\\treturn this.handleRule(nextMatch);\\n\\t}\\n\\treturn this.parseInlineRun(terminatorRegExp);\\n};\\n\\nMarkdownWalker.prototype.parseInlineRunTerminated = function(terminatorRegExp,options) {\\n\\toptions = options || {};\\n\\tvar tree = [];\\n\\t// Find the next occurrence of the terminator\\n\\tterminatorRegExp.lastIndex = this.pos;\\n\\tvar terminatorMatch = terminatorRegExp.exec(this.source);\\n\\t// Find the next occurrence of a inlinerule\\n\\tvar inlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t// Loop around until we've reached the end of the text\\n\\twhile(this.pos < this.sourceLength && (terminatorMatch || inlineRuleMatch)) {\\n\\t\\t// Return if we've found the terminator, and it precedes any inline rule match\\n\\t\\tif(terminatorMatch) {\\n\\t\\t\\tif(!inlineRuleMatch || inlineRuleMatch.matchIndex >= terminatorMatch.index) {\\n\\t\\t\\t\\tthis.handleWikitext(this.pos, terminatorMatch.index);\\n\\t\\t\\t\\t//if(options.eatTerminator) {\\n\\t\\t\\t\\t\\tthis.pos += terminatorMatch[0].length;\\n\\t\\t\\t\\t//}\\n\\t\\t\\t\\treturn tree;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Process any inline rule, along with the text preceding it\\n\\t\\tif(inlineRuleMatch) {\\n\\t\\t\\t// Preceding text\\n\\t\\t\\tthis.handleWikitext(this.pos, inlineRuleMatch.matchIndex);\\n\\t\\t\\tthis.handleRule(inlineRuleMatch);\\n\\t\\t\\t// Look for the next inline rule\\n\\t\\t\\tinlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t\\t\\t// Look for the next terminator match\\n\\t\\t\\tterminatorRegExp.lastIndex = this.pos;\\n\\t\\t\\tterminatorMatch = terminatorRegExp.exec(this.source);\\n\\t\\t}\\n\\t}\\n\\t// Process the remaining text\\n\\tthis.handleWikitext(this.pos, this.sourceLength);\\n\\treturn tree;\\n};\\n\\nMarkdownWalker.prototype.skipEmptyLines = function() {\\n\\tvar emptyRegExp = /(?:[^\\\\S\\\\n]*\\\\n)+/mg;\\n\\temptyRegExp.lastIndex = this.pos;\\n\\tvar emptyMatch = emptyRegExp.exec(this.source);\\n\\tif(emptyMatch && emptyMatch.index === this.pos) {\\n\\t\\tthis.pos = emptyRegExp.lastIndex;\\n\\t}\\n};\\n\\nfunction MarkdownReporter(text, callback, options) {\\n\\tthis.callback = callback;\\n\\tMarkdownWalker.call(this, text, options);\\n};\\n\\nMarkdownReporter.prototype = Object.create(MarkdownWalker.prototype);\\n\\nMarkdownReporter.prototype.handleRule = function(ruleInfo) {\\n\\tif (ruleInfo.rule.report) {\\n\\t\\truleInfo.rule.report(this.source, this.callback, this.options);\\n\\t} else {\\n\\t\\tif (ruleInfo.rule.matchRegExp !== undefined) {\\n\\t\\t\\tthis.pos = ruleInfo.rule.matchRegExp.lastIndex;\\n\\t\\t} else {\\n\\t\\t\\t// We can't easily determine the end of this\\n\\t\\t\\t// rule match. We'll \\\"parse\\\" it so that\\n\\t\\t\\t// parser.pos gets updated, but we throw away\\n\\t\\t\\t// the results.\\n\\t\\t\\truleInfo.rule.parse();\\n\\t\\t}\\n\\t}\\n};\\n\\nMarkdownReporter.prototype.handleWikitext = function(startPos, end) {\\n\\tif (startPos < end) {\\n\\t\\tvar config = utils.getSettings(this.wiki);\\n\\t\\tif (config.wikitext) {\\n\\t\\t\\tvar substr = this.source.substring(this.pos, end);\\n\\n\\t\\t\\tvar pragma = config.wikitextPragma;\\n\\t\\t\\tvar wikitextHandler = utils.getType('wikitext');\\n\\t\\t\\tvar wikiEntry = wikitextHandler.report(pragma + substr, this.callback, this.options);\\n\\t\\t}\\n\\t}\\n\\tthis.pos = end;\\n};\\n\\nexports.report = function(markdowntext, callback, options) {\\n\\tnew MarkdownReporter(markdowntext, callback, options);\\n};\\n\\nfunction MarkdownRelinker(text, fromTitle, toTitle, options) {\\n\\tthis.fromTitle = fromTitle;\\n\\tthis.toTitle = toTitle;\\n\\tthis.builder = new Rebuilder(text);\\n\\tMarkdownWalker.call(this, text, options);\\n};\\n\\nMarkdownRelinker.prototype = Object.create(MarkdownWalker.prototype);\\n\\nMarkdownRelinker.prototype.handleRule = function(ruleInfo) {\\n\\tvar newEntry = ruleInfo.rule.relink(this.source, this.fromTitle, this.toTitle, this.options);\\n\\tif (newEntry !== undefined) {\\n\\t\\tif (newEntry.impossible) {\\n\\t\\t\\tthis.impossible = true;\\n\\t\\t}\\n\\t\\tif (newEntry.output) {\\n\\t\\t\\tthis.builder.add(newEntry.output, ruleInfo.matchIndex, this.pos);\\n\\t\\t}\\n\\t}\\n};\\n\\nMarkdownRelinker.prototype.handleWikitext = function(startPos, end) {\\n\\tif (startPos < end) {\\n\\t\\tvar config = utils.getSettings(this.wiki);\\n\\t\\tif (config.wikitext) {\\n\\t\\t\\tvar substr = this.source.substring(this.pos, end);\\n\\n\\t\\t\\tvar pragma = config.wikitextPragma;\\n\\t\\t\\tvar wikitextHandler = utils.getType('wikitext');\\n\\t\\t\\tvar wikiEntry = wikitextHandler.relink(pragma + substr, this.fromTitle, this.toTitle, this.options);\\n\\t\\t\\tif (wikiEntry != undefined) {\\n\\t\\t\\t\\tif (wikiEntry.impossible) {\\n\\t\\t\\t\\t\\tthis.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (wikiEntry.output) {\\n\\t\\t\\t\\t\\tthis.builder.add(wikiEntry.output.slice(pragma.length), startPos, end);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tthis.pos = end;\\n};\\n\\nexports.name = \\\"markdown\\\";\\n\\nexports.relink = function(markdowntext, fromTitle, toTitle, options) {\\n\\tvar relinker = new MarkdownRelinker(markdowntext, fromTitle, toTitle, options),\\n\\t\\tentry;\\n\\tif (relinker.builder.changed() || relinker.impossible) {\\n\\t\\tentry = {\\n\\t\\t\\toutput: relinker.builder.results(),\\n\\t\\t\\timpossible: relinker.impossible };\\n\\t}\\n\\treturn entry;\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/text/markdowntext/codeblock.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/markdowntext/codeblock.js\",\"text\":\"/*\\\\\\nmodule-type: relinkmarkdownrule\\ntitle: $:/plugins/flibbles/relink-markdown/text/markdowntext/codeblock.js\\ntype: application/javascript\\n\\n```javascript\\ncode\\n```\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink-markdown/utils/markdown\\\");\\n\\nexports.name = \\\"codeblock\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /(```+)[^\\\\n`]*(?:\\\\n|$)/mg;\\n\\tthis.maxIndent = 3;\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar endRegExp = new RegExp(\\\"^ {0,3}\\\" + this.match[1] + \\\"+[^\\\\\\\\S\\\\\\\\n]*\\\\\\\\n\\\", \\\"mg\\\");\\n\\tendRegExp.lastIndex = this.matchRegExp.lastIndex;\\n\\tvar endMatch = endRegExp.exec(this.parser.source);\\n\\tif (endMatch) {\\n\\t\\tthis.parser.pos = endRegExp.lastIndex;\\n\\t} else {\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\treturn undefined;\\n};\\n\\nexports.report = exports.relink;\\n\",\"module-type\":\"relinkmarkdownrule\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/text/markdowntext/codeinline.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/markdowntext/codeinline.js\",\"text\":\"/*\\\\\\nmodule-type: relinkmarkdownrule\\ntitle: $:/plugins/flibbles/relink-markdown/text/markdowntext/codeinline.js\\ntype: application/javascript\\n\\nHandles markdown `code` and ``code``.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink-markdown/utils/markdown\\\");\\n\\nexports.name = \\\"codeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tvar match, matchRegExp = /`+/mg;\\n\\tmatchRegExp.lastIndex = startPos;\\n\\twhile (match = matchRegExp.exec(this.parser.source)) {\\n\\t\\tvar next = this.parser.source.indexOf(match[0], matchRegExp.lastIndex);\\n\\t\\t// make sure we find the corresponding ticks\\n\\t\\tif (next >= 0) {\\n\\t\\t\\t// Make sure it's the right length\\n\\t\\t\\tvar end = next + match[0].length;\\n\\t\\t\\tif (match[0].length < 3 || !isLineStart(this.parser.source, next)) {\\n\\t\\t\\t\\tif (this.parser.source.charAt(end) !== '`') {\\n\\t\\t\\t\\t\\t// make sure there aren't paragraph breaks between the points\\n\\t\\t\\t\\t\\tvar nextGraph = utils.indexOfParagraph(this.parser.source, matchRegExp.lastIndex);\\n\\t\\t\\t\\t\\tif (nextGraph < 0 || nextGraph > next) {\\n\\t\\t\\t\\t\\t\\tthis.end = end;\\n\\t\\t\\t\\t\\t\\treturn match.index;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\nfunction isLineStart(text, pos) {\\n\\t// if 3 or less spaces precede it, it's a line start.\\n\\tvar p = text.lastIndexOf('\\\\n', pos);\\n\\tif (pos - p > 3) {\\n\\t\\treturn false;\\n\\t}\\n\\twhile (++p < pos) {\\n\\t\\tif (text.charAt(p) !== ' ') {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\treturn true;\\n};\\n\\nexports.relink = function() {\\n\\tthis.parser.pos = this.end;\\n\\treturn undefined;\\n};\\n\\nexports.report = exports.relink;\\n\",\"module-type\":\"relinkmarkdownrule\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/text/markdowntext/footnote.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/markdowntext/footnote.js\",\"text\":\"/*\\\\\\nmodule-type: relinkmarkdownrule\\ntitle: $:/plugins/flibbles/relink-markdown/text/markdowntext/footnote.js\\ntype: application/javascript\\n\\nHandles markdown footnotes\\n\\n[1]: #link\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink-markdown/utils/markdown\\\");\\n\\nexports.name = \\\"markdownfootnote\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /\\\\[((?:[^\\\\\\\\\\\\]]|\\\\\\\\.)*)\\\\]:(\\\\s*)(#?)(\\\\S+)([^\\\\S\\\\n]*(?:\\\\n|$))/mg;\\n\\tthis.maxIndent = 3;\\n};\\n\\nexports.report = function(text, callback, options) {\\n\\tvar m = this.match,\\n\\t\\tdecodedLink,\\n\\t\\tentry;\\n\\tthis.parser.pos = m.index + m[0].length;\\n\\ttry {\\n\\t\\tdecodedLink = utils.decodeLink(m[4]);\\n\\t} catch (e) {\\n\\t\\t// The link is malformed. Just skip it.\\n\\t\\treturn;\\n\\t}\\n\\tif (isActuallyLink(m, decodedLink, options)) {\\n\\t\\tcallback(decodedLink, '[' + utils.abridgeString(m[1], 18) + ']:');\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar m = this.match,\\n\\t\\tlink = m[4],\\n\\t\\tentry,\\n\\t\\tdecodedLink;\\n\\tthis.parser.pos = m.index + m[0].length;\\n\\ttry {\\n\\t\\tdecodedLink = utils.decodeLink(m[4]);\\n\\t} catch (e) {\\n\\t\\t// The link is malformed. Just skip it.\\n\\t\\treturn;\\n\\t}\\n\\tif (isActuallyLink(m, toTitle, options) && decodedLink === fromTitle) {\\n\\t\\tvar encodedTo = utils.encodeLink(toTitle);\\n\\t\\tif (m[3] !== '#' && (encodedTo !== toTitle)) {\\n\\t\\t\\t// We need to add in a hash, because this old-type footnote can't\\n\\t\\t\\t// support the new title.\\n\\t\\t\\tm[3] = '#';\\n\\t\\t}\\n\\t\\tentry = { output: this.indentString + \\\"[\\\" + m[1] + \\\"]:\\\" + m[2] + m[3] + encodedTo + m[5] };\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction isActuallyLink(match, tiddlerTitle, options) {\\n\\treturn match[1].charAt(0) !== '^'\\n\\t\\t&& (match[3] === '#'\\n\\t\\t\\t|| (options.wiki.isImageTiddler(tiddlerTitle)\\n\\t\\t\\t\\t&& decodeURIComponent(match[4]) === match[4]));\\n};\\n\",\"module-type\":\"relinkmarkdownrule\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/text/markdowntext/link.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/markdowntext/link.js\",\"text\":\"/*\\\\\\nmodule-type: relinkmarkdownrule\\ntitle: $:/plugins/flibbles/relink-markdown/text/markdowntext/link.js\\ntype: application/javascript\\n\\nHandles markdown links\\n\\n[caption](#link)\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink-markdown/utils/markdown\\\");\\nvar markdown = utils.getType('markdown');\\n\\nexports.name = \\\"markdownlink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tthis.endMatch = this.matchLink(this.parser.source, startPos);\\n\\treturn this.endMatch ? this.endMatch.index : undefined;\\n};\\n\\n/**A zero side-effect method which returns a regexp which pretended to match\\n * the whole link, caption and all. I do this instead of just using a\\n * regexp to begin with, because markdown links require context-free grammar\\n * matching.\\n * Currently, it doesn't properly set match[0]. No need as of yet.\\n * 1. \\\"!\\\"\\n * 2. caption\\n * 3. \\\"\\\\s*<?#?\\\"\\n * 4. \\\"link\\\"\\n * 5. \\\"\\\\s*'tooltip'\\\"\\n */\\nexports.matchLink = function(text, pos) {\\n\\tpos = pos-1;\\n\\tvar match = undefined;\\n\\tdo {\\n\\t\\tpos = text.indexOf('[', pos+1);\\n\\t\\tif (pos < 0) {\\n\\t\\t\\treturn undefined;\\n\\t\\t}\\n\\t\\tvar caption = this.getEnclosed(text, pos, '[', ']');\\n\\t\\tif (caption === undefined) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tvar subPos = pos + caption.length+2;\\n\\t\\tif (text.charAt(subPos) !== '(') {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\t++subPos; // Skip over that '('\\n\\t\\t// Now we need to find the preamble before the link.\\n\\t\\tvar preambleRegExp = /(\\\\s*\\\\<\\\\s*#?)|(\\\\s*#?)/g;\\n\\t\\tpreambleRegExp.lastIndex = subPos;\\n\\t\\tvar preambleMatch = preambleRegExp.exec(text);\\n\\t\\tsubPos += preambleMatch[0].length;\\n\\t\\t// Now that we know what kind of link we have, let's try and get it.\\n\\t\\tvar link, closingBracket = '';\\n\\t\\tif (preambleMatch[1]) { // We have the \\\"#<.. ..>\\\" style link\\n\\t\\t\\tvar bracketRegExp = /([^\\\\>\\\\n\\\\r]+?)(\\\\s*>)/g;\\n\\t\\t\\tbracketRegExp.lastIndex = subPos;\\n\\t\\t\\tvar bracketMatch = bracketRegExp.exec(text);\\n\\t\\t\\tif (!bracketMatch) {\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t\\tlink = bracketMatch[1];\\n\\t\\t\\tsubPos = bracketRegExp.lastIndex;\\n\\t\\t\\tclosingBracket = bracketMatch[2];\\n\\t\\t} else { // We have the \\\"#...\\\" style link\\n\\t\\t\\tlink = extractUnquotedLink(text, subPos);\\n\\t\\t\\tif (!link) {\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t\\tsubPos += link.length;\\n\\t\\t}\\n\\t\\t// match[1] and match[2] are the \\\"!\\\" and \\\"caption\\\", filled in later.\\n\\t\\tvar tooltipRegExp = /((?:\\\\s+(?:'(?:[^'\\\\\\\\]|\\\\\\\\.)*'|\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\"|\\\\([^)]*\\\\)))?\\\\s*)\\\\)/g;\\n\\t\\ttooltipRegExp.lastIndex = subPos;\\n\\t\\tvar tooltipMatch = tooltipRegExp.exec(text);\\n\\t\\tif (tooltipMatch\\n\\t\\t&& tooltipMatch.index === subPos\\n\\t\\t&& utils.indexOfParagraph(tooltipMatch[0]) < 0) {\\n\\t\\t\\tmatch = [null, \\\"\\\", caption, preambleMatch[0], link, closingBracket + tooltipMatch[1]];\\n\\t\\t\\tif (text.charAt(pos-1) === \\\"!\\\") {\\n\\t\\t\\t\\tmatch.index = pos-1;\\n\\t\\t\\t\\tmatch[1] = \\\"!\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tmatch.index = pos;\\n\\t\\t\\t}\\n\\t\\t\\tmatch[0] = text.substring(match.index, tooltipRegExp.lastIndex);\\n\\t\\t}\\n\\t} while (!match);\\n\\treturn match;\\n};\\n\\nexports.report = function(text, callback, options) {\\n\\tvar em = this.endMatch,\\n\\t\\tcaption = em[2],\\n\\t\\tprefix = em[1],\\n\\t\\tisImage = (prefix === '!'),\\n\\t\\thash = isImage ? em[3].trim() : '#',\\n\\t\\tlink = em[4],\\n\\t\\thasHash = em[3].lastIndexOf('#') >= 0;\\n\\tthis.parser.pos = em.index + em[0].length;\\n\\tif (!isImage) {\\n\\t\\tmarkdown.report(caption, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, prefix + '[' + (blurb || '') + '](' + hash + link + ')', style);\\n\\t\\t}, options);\\n\\t}\\n\\tif (isImage || hasHash) {\\n\\t\\tvar safeCaption = utils.abridgeString(caption, 18);\\n\\t\\ttry {\\n\\t\\t\\tvar decodedLink = utils.decodeLink(link);\\n\\t\\t\\t// If the link doesn't have a hash, it can't have any escaping\\n\\t\\t\\tif (hasHash || (decodedLink === link)) {\\n\\t\\t\\t\\tcallback(decodedLink, em[1] + '[' + safeCaption + '](' + hash + ')');\\n\\t\\t\\t}\\n\\t\\t} catch (e) {\\n\\t\\t\\t// It must be a malformed link. Not our problem.\\n\\t\\t\\t// Just move on.\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(text, fromTitle, toTitle, options) {\\n\\tvar entry = {},\\n\\t\\tem = this.endMatch,\\n\\t\\tmodified = false,\\n\\t\\tcaption = em[2],\\n\\t\\tisImage = (em[1] === '!'),\\n\\t\\tlink = em[4];\\n\\tthis.parser.pos = em.index + em[0].length;\\n\\tif (!isImage) {\\n\\t\\tvar newCaption = markdown.relink(caption, fromTitle, toTitle, options);\\n\\t\\tif (newCaption) {\\n\\t\\t\\tif (newCaption.output) {\\n\\t\\t\\t\\tif (this.canBeCaption(newCaption.output)) {\\n\\t\\t\\t\\t\\tcaption = newCaption.output;\\n\\t\\t\\t\\t\\tmodified = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif (newCaption.impossible) {\\n\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// I don't know why internal images links don't use the '#', but links\\n\\t// do, but that's just how it is.\\n\\t// image lines can have the '#' or not. Though if they do, they can't\\n\\t// have any escaping.\\n\\tvar hasHash = em[3].lastIndexOf('#') >= 0;\\n\\ttry {\\n\\t\\tvar decodedLink = utils.decodeLink(link);\\n\\t\\tif (hasHash || (isImage && (decodedLink === link))) {\\n\\t\\t\\tif (decodedLink === fromTitle) {\\n\\t\\t\\t\\tlink = utils.encodeLink(toTitle);\\n\\t\\t\\t\\tif (link !== toTitle && !hasHash) {\\n\\t\\t\\t\\t\\t// If this is an image without a hash, and the title\\n\\t\\t\\t\\t\\t// required any escaping at all, then we need to add one.\\n\\t\\t\\t\\t\\tem[3] = (em[3] || '') + '#';\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tmodified = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} catch (e) {\\n\\t\\t// It must be a malformed link. Not our problem.\\n\\t\\t// Keep going in case the caption needs relinking.\\n\\t}\\n\\tif (modified) {\\n\\t\\t// This way preserves whitespace\\n\\t\\tentry.output = em[1]+\\\"[\\\"+caption+\\\"](\\\"+em[3]+link+em[5]+\\\")\\\";\\n\\t}\\n\\tif (modified || entry.impossible) {\\n\\t\\treturn entry;\\n\\t}\\n\\treturn undefined;\\n};\\n\\nexports.canBeCaption = function(caption) {\\n\\treturn this.indexOfClose(caption+']', -1, '[', ']') === caption.length;\\n};\\n\\nexports.getEnclosed = function(text, pos, openChar, closeChar) {\\n\\tvar capEnd = this.indexOfClose(text, pos, openChar, closeChar);\\n\\tif (capEnd < 0) {\\n\\t\\treturn undefined;\\n\\t}\\n\\tvar enclosed = text.substring(pos+1, capEnd);\\n\\tif (enclosed.match(/\\\\n\\\\s*\\\\n/)) {\\n\\t\\t// Paragraph breaks are not allowed\\n\\t\\treturn undefined;\\n\\t}\\n\\treturn enclosed;\\n};\\n\\nexports.indexOfClose = function(text, pos, openChar, closeChar) {\\n\\tvar close = pos-1,\\n\\t\\topen = pos; // First char is open\\n\\tdo {\\n\\t\\tclose = text.indexOf(closeChar, close+1);\\n\\t\\tif (close < 0) {\\n\\t\\t\\treturn -1;\\n\\t\\t}\\n\\t\\topen = text.indexOf(openChar, open+1);\\n\\t} while (open >= 0 && open <= close);\\n\\treturn close;\\n};\\n\\nfunction extractUnquotedLink(text, pos) {\\n\\tvar p = pos;\\n\\tvar depth = 0;\\n\\twhile (true) {\\n\\t\\tvar c = text.charAt(p);\\n\\t\\tif (!c) {\\n\\t\\t\\treturn undefined;\\n\\t\\t} else if (c === '(') {\\n\\t\\t\\tdepth++;\\n\\t\\t} else if(c === ')') {\\n\\t\\t\\tif (depth === 0) {\\n\\t\\t\\t\\treturn text.substring(pos, p);\\n\\t\\t\\t}\\n\\t\\t\\tdepth--;\\n\\t\\t} else if (/\\\\s/.test(c)) {\\n\\t\\t\\tif (depth === 0) {\\n\\t\\t\\t\\treturn text.substring(pos, p);\\n\\t\\t\\t}\\n\\t\\t\\treturn undefined;\\n\\t\\t}\\n\\t\\t++p;\\n\\t}\\n};\\n\",\"module-type\":\"relinkmarkdownrule\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/text/markdowntext/markdownrulebase.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/markdowntext/markdownrulebase.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/flibbles/relink-markdown/text/markdowntext/markdownrulebase.js\\ntype: application/javascript\\nmodule-type: global\\n\\nBase class for markdown parser rules\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink-markdown/utils/markdown\\\");\\n\\nvar MarkdownRuleBase = function() {};\\n\\nMarkdownRuleBase.prototype.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nMarkdownRuleBase.prototype.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\twhile (this.match = this.matchRegExp.exec(this.parser.source)) {\\n\\t\\tif (utils.indexOfParagraph(this.match[0]) >= 0) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\t\\tif (this.maxIndent !== undefined) {\\n\\t\\t\\tvar indent = utils.indentation(this.parser.source,this.match.index);\\n\\t\\t\\tif (indent < 0\\n\\t\\t\\t || (this.parser.indent !== undefined\\n\\t\\t\\t && (indent > this.parser.indent + this.maxIndent))) {\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t\\tvar nl = this.parser.source.lastIndexOf('\\\\n', this.match.index-1)+1;\\n\\t\\t\\tthis.indentString = this.parser.source.substring(nl, this.match.index);\\n\\t\\t\\treturn nl < startPos ? startPos : nl;\\n\\t\\t}\\n\\t\\treturn this.match.index;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n\\nexports.MarkdownRuleBase = MarkdownRuleBase;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/plugins/flibbles/relink-markdown/text/markdowntext.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/markdowntext.js\",\"text\":\"/*\\\\\\nmodule-type: relinktext\\ntitle: $:/plugins/flibbles/relink-markdown/text/markdowntext.js\\ntype: application/javascript\\n\\nThis relinks tiddlers which contain markdown. It tries to be agnostic to\\nwhichever markdown plugin you're using.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar markdownHandler = require('$:/plugins/flibbles/relink/js/utils.js').getType('markdown');\\n\\nexports.type = \\\"text/markdown\\\";\\n\\nexports.report = markdownHandler.report;\\nexports.relink = markdownHandler.relink;\\n\",\"module-type\":\"relinktext\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/text/x-markdowntext.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/text/x-markdowntext.js\",\"text\":\"/*\\\\\\nmodule-type: relinktext\\ntitle: $:/plugins/flibbles/relink-markdown/text/x-markdowntext.js\\ntype: application/javascript\\n\\nsame as \\\"text/markdown\\\", but for \\\"text/x-markdown\\\"\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar MarkdownType = require(\\\"./markdowntext.js\\\");\\n\\nfor (var member in MarkdownType) {\\n\\texports[member] = MarkdownType[member];\\n}\\n\\nexports.type = \\\"text/x-markdown\\\";\\n\",\"module-type\":\"relinktext\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/utils/markdown.js\":{\"title\":\"$:/plugins/flibbles/relink-markdown/utils/markdown.js\",\"text\":\"/*\\\\\\nmodule-type: library\\ntitle: $:/plugins/flibbles/relink-markdown/utils/markdown.js\\ntype: application/javascript\\n\\nMethods used in markdown parsing.\\n\\n\\\\*/\\n\\n// tiddlywiki/markdown can't handle having these characters escaped, so we\\n// need to unescape them.\\n// But we're unescaping everything except '%' and ' ' so this list isn't used.\\n/*\\nvar problemChars = {\\n\\t\\\"23\\\": \\\"#\\\",\\n\\t\\\"24\\\": \\\"$\\\",\\n\\t\\\"26\\\": \\\"&\\\",\\n\\t\\\"2B\\\": \\\"+\\\",\\n\\t\\\"2C\\\": \\\",\\\",\\n\\t\\\"2F\\\": \\\"/\\\",\\n\\t\\\"3A\\\": \\\":\\\",\\n\\t\\\"3B\\\": \\\";\\\",\\n\\t\\\"3D\\\": \\\"=\\\",\\n\\t\\\"3F\\\": \\\"?\\\",\\n\\t\\\"40\\\": \\\"@\\\",\\n};\\n*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nexports = module.exports = Object.create(utils);\\n\\nexports.encodeLink = function(title) {\\n\\tvar balance = 0,\\n\\t\\tencoded = title.replace(/[\\\\(\\\\) %\\\\\\\\]/g, function(p) {\\n\\t\\tswitch (p) {\\n\\t\\tcase '(':\\n\\t\\t\\tif (balance >=1) {\\n\\t\\t\\t\\treturn '%28';\\n\\t\\t\\t}\\n\\t\\t\\tbalance++;\\n\\t\\t\\tbreak;\\n\\t\\tcase ')':\\n\\t\\t\\tif (balance <= 0) {\\n\\t\\t\\t\\treturn '%29';\\n\\t\\t\\t}\\n\\t\\t\\tbalance--;\\n\\t\\t\\tbreak;\\n\\t\\tcase '%':\\n\\t\\t\\treturn '%25';\\n\\t\\tcase ' ':\\n\\t\\t\\treturn '%20';\\n\\t\\tcase '\\\\\\\\':\\n\\t\\t\\treturn '%5C';\\n\\t\\t}\\n\\t\\treturn p;\\n\\t});\\n\\t// If there were open parenthesis without closes, we need to escape them.\\n\\twhile (balance--) {\\n\\t\\tvar i = encoded.lastIndexOf('(');\\n\\t\\tencoded = encoded.substr(0, i) + '%28' + encoded.substr(i+1);\\n\\t}\\n\\treturn encoded;\\n};\\n\\nexports.decodeLink = function(link) {\\n\\tvar array = [];\\n\\tvar index = 0;\\n\\tvar slash;\\n\\twhile ((slash = link.indexOf('\\\\\\\\', index+1)) >= 0) {\\n\\t\\tarray.push(link.substring(index,slash));\\n\\t\\tindex = slash+1;\\n\\t}\\n\\tarray.push(link.substr(index));\\n\\treturn decodeURIComponent(array.join(''));\\n};\\n\\n// Returns index of next paragraph, or -1\\nexports.indexOfParagraph = function(text, startPos) {\\n\\tvar regExp = /\\\\n\\\\s*\\\\n/mg;\\n\\tregExp.lastIndex = startPos || 0;\\n\\tvar match = regExp.exec(text);\\n\\treturn match ? regExp.lastIndex : -1;\\n};\\n\\n/** Returns how much indentation there is between pos and the previous\\n * newline (or other char).\\n * tabs are counted as 4 chars.\\n */\\nexports.indentation = function(text, pos, startChar) {\\n\\tvar p = text.lastIndexOf(startChar || '\\\\n', pos-1);\\n\\tvar count = 0;\\n\\twhile (++p < pos) {\\n\\t\\tvar c = text.charAt(p);\\n\\t\\tif (c === ' ') {\\n\\t\\t\\tcount++;\\n\\t\\t} else if (c === '\\\\t') {\\n\\t\\t\\tcount = count + 4 - (count%4);\\n\\t\\t} else {\\n\\t\\t\\treturn -1;\\n\\t\\t}\\n\\t}\\n\\treturn count;\\n};\\n\\n\\nexports.getSettings = function(wiki) {\\n\\t// Stored here so it's only calculated once, but also so it's different\\n\\t// per tiddler for testing\\n\\tif (wiki._markdownSettings === undefined) {\\n\\t\\tvar settings = Object.create(null);\\n\\t\\tvar text = wiki.getTiddlerText(\\\"$:/config/markdown/renderWikiText\\\");\\n\\t\\tsettings.wikitext = (text === undefined || text.toLowerCase() === \\\"true\\\");\\n\\t\\ttext = wiki.getTiddlerText(\\\"$:/config/markdown/renderWikiTextPragma\\\");\\n\\t\\tif (text) {\\n\\t\\t\\ttext = text.trim() + '\\\\n';\\n\\t\\t} else {\\n\\t\\t\\ttext = '';\\n\\t\\t}\\n\\t\\tsettings.wikitextPragma = text;\\n\\t\\twiki._markdownSettings = settings;\\n\\t}\\n\\treturn wiki._markdownSettings;\\n};\\n\\n/**I don't actually use this, but I've kept the code around anyway.\\n * The only time this plugin is installed and markdown isn't enabled would\\n * be if the user forgot to install a markdown plugin, or they disabled it.\\n * I GUESS Relink should still be Relinking markdown in that case.\\n */\\nexports.markdownEnabled = function() {\\n\\tif (_enabled === undefined) {\\n\\t\\tvar test = $tw.wiki.renderText(\\\"text/html\\\", \\\"text/x-markdown\\\", \\\"[test](#test)\\\");\\n\\t\\t_enabled = (test.indexOf(\\\"<a\\\") >= 0);\\n\\t}\\n\\treturn _enabled;\\n};\\nvar _enabled;\\n\",\"module-type\":\"library\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-markdown/readme\":{\"title\":\"$:/plugins/flibbles/relink-markdown/readme\",\"text\":\"Markdown support for Relink.\\n\\n...or Relink support for Markdown.\\n\\nThis supplimental plugin allows ''text/x-markdown'' files to be relinked. This means markdown linking syntax like `[Caption](#MyTiddler)` is supported. If your markdown supports wikitext markup as well, this will handle that too.\\n\\nThis plugin is designed for `tiddlywiki/markdown`, but it will also work for `anstosa/tw5-markdown` and others.\\n\"}}}"},{"name":"Relink Titles","title":"$:/plugins/flibbles/relink-titles","description":"Renames tiddlers with titles derived from Relinked tiddler","author":"Flibbles","version":"2.5.2","core-version":">=5.1.22","stability":"STABILITY_2_STABLE","parent-plugin":"$:/plugins/flibbles/relink","source":"https://github.com/flibbles/tw5-relink","demo":"http://flibbles.github.io/tw5-relink/","list":"readme configuration","dependents":"","plugin-type":"plugin","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/flibbles/relink-titles/configuration\":{\"title\":\"$:/plugins/flibbles/relink-titles/configuration\",\"caption\":\"{{$:/plugins/flibbles/relink-titles/language/Caption}}\",\"tags\":\"$:/tags/flibbles/relink/Configuration\",\"list-after\":\"\",\"text\":\"\\\\define lingo-base() $:/plugins/flibbles/relink-titles/language/\\n\\\\define prefix() $:/config/flibbles/relink-titles/relink/\\n\\\\whitespace trim\\n\\n<div class=\\\"tc-control-panel\\\">\\n\\n<<lingo Help>>\\n\\n<table>\\n<tbody>\\n<$list filter=\\\"[[relinktitlesrule]modules[]]\\\">\\n<tr>\\n<td>\\n<$checkbox\\n\\ttiddler={{{ [all[current]addprefix<prefix>] }}}\\n\\tfield=\\\"text\\\"\\n\\tchecked=\\\"enabled\\\"\\n\\tunchecked=\\\"disabled\\\"\\n\\tdefault=\\\"enabled\\\">\\n&#32;\\n''{{!!caption}}''\\n</$checkbox></td><td>\\n\\n<$transclude field='description' />\\n\\n</td></tr></$list>\\n</tbody></table></div>\\n\"},\"$:/plugins/flibbles/relink-titles/language/Caption\":{\"title\":\"$:/plugins/flibbles/relink-titles/language/Caption\",\"text\":\"Titles\"},\"$:/plugins/flibbles/relink-titles/language/Directory/Caption\":{\"title\":\"$:/plugins/flibbles/relink-titles/language/Directory/Caption\",\"text\":\"Rename subdirectories\"},\"$:/plugins/flibbles/relink-titles/language/Directory/Description\":{\"title\":\"$:/plugins/flibbles/relink-titles/language/Directory/Description\",\"text\":\"For wikis set up hierarchically using `/`, like a filesystem. This option will update all tiddlers nested inside the target tiddler. i.e. `fromTiddler/path/file` becomes `toTiddler/path/file`.\"},\"$:/plugins/flibbles/relink-titles/language/Lookup/Caption\":{\"title\":\"$:/plugins/flibbles/relink-titles/language/Lookup/Caption\",\"text\":\"Lookup tiddlers\"},\"$:/plugins/flibbles/relink-titles/language/Help\":{\"title\":\"$:/plugins/flibbles/relink-titles/language/Help\",\"text\":\"See the <a href={{{ [{$:/plugins/flibbles/relink-titles!!demo}addsuffix[#Plugins/Titles]] }}} class=\\\"tc-tiddlylink-external\\\">//Relink-titles// documentation page</a> for details.\"},\"$:/plugins/flibbles/relink-titles/readme\":{\"title\":\"$:/plugins/flibbles/relink-titles/readme\",\"text\":\"Highly customizable relinking of tiddler titles //related// to the renamed tiddler.\\n\\n* Rename a hierarchy of subtiddlers when renaming a root tiddler.\\n* Make custom filter rules to rename other tiddlers the way you want when Relinking.\\n* Integrates with other plugins for plugin-specific rules.\\n\\nSee <a href={{$:/plugins/flibbles/relink-titles!!source}} class=\\\"tc-tiddlylink-external\\\">the tw5-relink website</a> for more details and examples.\\n\\n{{$:/core/images/warning}} ''Warning:'' You must use //Relink// v1.10.2 or greater with this, or this plugin may delete some tiddler bodies while trying to relink titles.\\n\"},\"$:/plugins/flibbles/relink-titles/relinkoperations/title.js\":{\"title\":\"$:/plugins/flibbles/relink-titles/relinkoperations/title.js\",\"text\":\"/*\\\\\\nmodule-type: relinkoperator\\ntitle: $:/plugins/flibbles/relink-titles/relinkoperations/title.js\\ntype: application/javascript\\n\\nRenames tiddlers which have titles derived from fromTitle. Then it makes\\nsure that those tiddlers are properly relinked too.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar configPrefix = \\\"$:/config/flibbles/relink-titles/relink/\\\";\\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\\n// This is using hotDirectories, which is a deprecated feature. It should be\\n// using the $:/config/flibbles/relink/{cateogory} directory which would be\\n// automatically maintained and regenerated.\\n// Maybe in time I'll get around to migrating this, but no need to complicate\\n// things now with changes that would require migration, and that would\\n// have no outward effect.\\nutils.getContext('whitelist').hotDirectories.push(configPrefix);\\n\\nvar titleRules = Object.create(null);\\n$tw.modules.forEachModuleOfType('relinktitlesrule', function(title, module) {\\n\\ttitleRules[title] = module;\\n});\\n\\nexports.name = 'title';\\n\\nexports.report = function(tiddler, callback, options) {\\n\\tvar cache = getCache(options),\\n\\t\\trules = cache.rules;\\n\\tfor (var i = 0; i < rules.length; i++) {\\n\\t\\trules[i].report(tiddler.fields.title, function(title, blurb, style) {\\n\\t\\t\\tcallback(title, blurb ? ('title: ' + blurb) : 'title', style);\\n\\t\\t}, options);\\n\\t}\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\tvar cache = getCache(options),\\n\\t\\ttitle = tiddler.fields.title;\\n\\tif (!cache.touched[title]) {\\n\\t\\tvar rules = cache.rules;\\n\\t\\tfor (var i = 0; i < rules.length; i++) {\\n\\t\\t\\tvar rule = rules[i];\\n\\t\\t\\tvar entry = rule.relink(title, fromTitle, toTitle, options);\\n\\t\\t\\tif (entry) {\\n\\t\\t\\t\\tvar result = entry.output;\\n\\t\\t\\t\\tif (result && (result !== title)) {\\n\\t\\t\\t\\t\\tif (options.wiki.getTiddler(result) || cache.touched[result]) {\\n\\t\\t\\t\\t\\t\\t// There's already a tiddler there. We won't clobber it.\\n\\t\\t\\t\\t\\t\\tentry.impossible = true;\\n\\t\\t\\t\\t\\t\\tentry.output = undefined;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcache.touched[result] = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Record that we've touched this one, so we only touch it once.\\n\\t\\t\\t\\t// Both its prior and latter. Neither should be touched again.\\n\\t\\t\\t\\tcache.touched[title] = true;\\n\\t\\t\\t\\tchanges.title = entry;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nfunction getCache(options) {\\n\\treturn utils.getCacheForRun(options, 'titles', function() {\\n\\t\\treturn {\\n\\t\\t\\trules: getRules(options.wiki),\\n\\t\\t\\ttouched: Object.create(null)\\n\\t\\t};\\n\\t});\\n};\\n\\nfunction getRules(wiki) {\\n\\tvar activeRules = [];\\n\\tfor (var rule in titleRules) {\\n\\t\\tvar configTiddler = wiki.getTiddler(configPrefix + rule);\\n\\t\\tif (!configTiddler || configTiddler.fields.text !== \\\"disabled\\\") {\\n\\t\\t\\tactiveRules.push(titleRules[rule]);\\n\\t\\t}\\n\\t}\\n\\treturn activeRules;\\n};\\n\",\"module-type\":\"relinkoperator\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-titles/rules/directory\":{\"title\":\"$:/plugins/flibbles/relink-titles/rules/directory\",\"text\":\"/*\\\\\\ncaption: {{$:/plugins/flibbles/relink-titles/language/Directory/Caption}}\\ndescription: {{$:/plugins/flibbles/relink-titles/language/Directory/Description}}\\nmodule-type: relinktitlesrule\\ntitle: $:/plugins/flibbles/relink-titles/rules/directory\\ntype: application/javascript\\n\\nHandles subdirectory renaming.\\n\\n\\\\*/\\n\\n/*jslint node: false, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = 'directory';\\n\\n/**The report returns all parent directories of a given title which exist.\\n */\\nexports.report = function(title, callback, options) {\\n\\tvar index = -1;\\n\\twhile ((index = title.indexOf('/', index+1)) >= 0) {\\n\\t\\tvar dir = title.substr(0, index);\\n\\t\\tcallback(dir, '.' + title.substr(index), {soft: true});\\n\\t}\\n};\\n\\n/**The relink returns the new title (if any) derived from title for a given\\n * rename of fromTitle to toTitle.\\n */\\nexports.relink = function(title, fromTitle, toTitle, options) {\\n\\tvar length = fromTitle.length;\\n\\tif (title.charAt(length) === '/' && title.substr(0, length) === fromTitle) {\\n\\t\\treturn {output: toTitle + title.substr(length)};\\n\\t}\\n\\treturn undefined;\\n};\\n\",\"caption\":\"{{$:/plugins/flibbles/relink-titles/language/Directory/Caption}}\",\"description\":\"{{$:/plugins/flibbles/relink-titles/language/Directory/Description}}\",\"module-type\":\"relinktitlesrule\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-titles/language/Lookup/Description\":{\"title\":\"$:/plugins/flibbles/relink-titles/language/Lookup/Description\",\"text\":\"This option updates all configuration tiddlers which relate to target tiddlers either through fixed prefixes or suffixes, i.e. `$:/config/Buttons/Visibility/fromFile` becomes `$:/config/Buttons/Visibility/toFile` when \\\"fromFile\\\" is renamed.\\n\\nEach line corresponds to a pattern, where `$(currentTiddler)$` would be the name of the tiddler being renamed, and `$(*)$` matches with anything.\\n\\n<$edit-text\\n\\ttiddler=\\\"$:/config/flibbles/relink-titles/lookup/patterns\\\"\\n\\ttag=\\\"textarea\\\"\\n/>\\n\"},\"$:/config/flibbles/relink-titles/lookup/patterns\":{\"title\":\"$:/config/flibbles/relink-titles/lookup/patterns\",\"text\":\"$:/config/$(*)$/Visibility/$(currentTiddler)$\\n\"},\"$:/plugins/flibbles/relink-titles/rules/lookup\":{\"title\":\"$:/plugins/flibbles/relink-titles/rules/lookup\",\"text\":\"/*\\\\\\ncaption: {{$:/plugins/flibbles/relink-titles/language/Lookup/Caption}}\\ndescription: {{$:/plugins/flibbles/relink-titles/language/Lookup/Description}}\\nmodule-type: relinktitlesrule\\ntitle: $:/plugins/flibbles/relink-titles/rules/lookup\\ntype: application/javascript\\n\\nHandles setting tiddlers which are derived from other tiddlers, like how\\n\\n```\\n$:/config/PageControlButtons/Visibility/$(currentTiddler)$\\n```\\n\\nset the visibility for $(currentTiddler)$\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nexports.name = 'lookup';\\n\\nvar patternTiddler = \\\"$:/config/flibbles/relink-titles/lookup/patterns\\\";\\nvar anyMatcher = /\\\\$\\\\((?:\\\\*|currentTiddler)\\\\)\\\\$/g;\\n\\nexports.report = function(targetTitle, callback, options) {\\n\\tvar patterns = getPatterns(options.wiki);\\n\\tfor (var i = 0; i < patterns.length; i++) {\\n\\t\\tvar pattern = patterns[i];\\n\\t\\tvar index = 0;\\n\\t\\tvar results = match(pattern, targetTitle);\\n\\t\\tif (results) {\\n\\t\\t\\tvar blurb = pattern.string.replace(anyMatcher, function(match) {\\n\\t\\t\\t\\tindex++;\\n\\t\\t\\t\\tif (match === \\\"$(*)$\\\") {\\n\\t\\t\\t\\t\\treturn results[index];\\n\\t\\t\\t\\t} else { // must be \\\"$(currentTiddler)$\\\"\\n\\t\\t\\t\\t\\treturn \\\"...\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tcallback(results.title, blurb);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(targetTitle, fromTitle, toTitle, options) {\\n\\tvar patterns = getPatterns(options.wiki);\\n\\tfor (var i = 0; i < patterns.length; i++) {\\n\\t\\tvar pattern = patterns[i];\\n\\t\\tvar results = match(pattern, targetTitle, fromTitle);\\n\\t\\tif (results) {\\n\\t\\t\\tvar groupIndex = 0;\\n\\t\\t\\t// Make all the correct substitutions to create the new title\\n\\t\\t\\tvar output = pattern.string.replace(anyMatcher, function(match) {\\n\\t\\t\\t\\tgroupIndex++;\\n\\t\\t\\t\\tif (match === \\\"$(*)$\\\") {\\n\\t\\t\\t\\t\\treturn results[groupIndex];\\n\\t\\t\\t\\t} else { // must be \\\"$(currentTiddler)$\\\"\\n\\t\\t\\t\\t\\treturn toTitle;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\treturn {output: output};\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\nfunction match(pattern, string, matchTitle) {\\n\\tvar results = pattern.matcher.exec(string);\\n\\tif (results) {\\n\\t\\t// It superficially matches, but we need to make sure all the right\\n\\t\\t// groups match too.\\n\\t\\tfor (var j = 0; j < pattern.groups.length; j++) {\\n\\t\\t\\tvar index = pattern.groups[j];\\n\\t\\t\\tif (matchTitle === undefined) {\\n\\t\\t\\t\\t// It doesn't matter what matchTitle is, as long as all\\n\\t\\t\\t\\t// groups match the same thing.\\n\\t\\t\\t\\tmatchTitle = results[index];\\n\\t\\t\\t} else if (results[index] !== matchTitle) {\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tresults.title = matchTitle;\\n\\t}\\n\\treturn results;\\n};\\n\\nfunction getPatterns(wiki) {\\n\\treturn wiki.getCacheForTiddler(patternTiddler, \\\"relink-titles\\\", function() {\\n\\t\\tvar text = wiki.getTiddlerText(patternTiddler);\\n\\t\\tvar matchers = []\\n\\t\\tif (text) {\\n\\t\\t\\tvar array = text.split('\\\\n');\\n\\t\\t\\tfor (var i = 0; i < array.length; i++) {\\n\\t\\t\\t\\tvar pattern = formPatternFromString(array[i]);\\n\\t\\t\\t\\tif (pattern) {\\n\\t\\t\\t\\t\\tmatchers.push(pattern);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn matchers;\\n\\t});\\n};\\n\\nfunction formPatternFromString(string) {\\n\\tvar groupIndex = 1;\\n\\tvar matchingGroups = [];\\n\\tstring = $tw.utils.trim(string);\\n\\tvar parts = string.split(\\\"$(currentTiddler)$\\\");\\n\\tif (parts.length <= 1) {\\n\\t\\t// $(currentTiddler)$ must not have been there\\n\\t\\treturn null;\\n\\t}\\n\\tfor (var j = 0; j < parts.length; j++) {\\n\\t\\t// Split it up by the wildcards\\n\\t\\tvar sections = parts[j].split(\\\"$(*)$\\\");\\n\\t\\tfor (var k = 0; k < sections.length; k++) {\\n\\t\\t\\tsections[k] = $tw.utils.escapeRegExp(sections[k]);\\n\\t\\t}\\n\\t\\tparts[j] = sections.join(\\\"(.*)\\\");\\n\\t\\t// If there are 3 sections, then there is 2 $(*)$, so the index\\n\\t\\t// must skip them. etc...\\n\\t\\tgroupIndex += sections.length-1;\\n\\t\\tif (j < parts.length-1) {\\n\\t\\t\\t// If there are 3 parts, that means 2 $(currentTiddler)$, and\\n\\t\\t\\t// so we skip the last part\\n\\t\\t\\tmatchingGroups.push(groupIndex);\\n\\t\\t\\tgroupIndex++;\\n\\t\\t}\\n\\t}\\n\\treturn {\\n\\t\\tstring: string,\\n\\t\\tgroups: matchingGroups,\\n\\t\\tmatcher: new RegExp(\\\"^\\\" + parts.join(\\\"(.*)\\\") + \\\"$\\\")\\n\\t};\\n};\\n\",\"caption\":\"{{$:/plugins/flibbles/relink-titles/language/Lookup/Caption}}\",\"description\":\"{{$:/plugins/flibbles/relink-titles/language/Lookup/Description}}\",\"module-type\":\"relinktitlesrule\",\"type\":\"application/javascript\"}}}"},{"name":"Relink Variables","title":"$:/plugins/flibbles/relink-variables","description":"Reports and renames variables such as `\\procedure` or `\\function`","author":"Flibbles","version":"2.5.2","core-version":">=5.1.22","stability":"STABILITY_2_STABLE","parent-plugin":"$:/plugins/flibbles/relink","source":"https://github.com/flibbles/tw5-relink","demo":"http://flibbles.github.io/tw5-relink/","list":"readme","dependents":"","plugin-type":"plugin","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/flibbles/relink-variables/TiddlerInfo/References\":{\"title\":\"$:/plugins/flibbles/relink-variables/TiddlerInfo/References\",\"caption\":\"{{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Caption}}\",\"list-after\":\"$:/plugins/flibbles/relink/ui/TiddlerInfo/References\",\"tags\":\"$:/tags/TiddlerInfo\",\"text\":\"\\\\whitespace trim\\n\\n<table class=\\\"tc-relink-references-table\\\">\\n<$vars\\n\\t.relink-variables-containingTiddler=<<currentTiddler>>\\n\\t.relink-variables-filter=\\\"[all[current]relink:backreferences[]!prefix[$:/temp/]sort[title]]\\\"\\n\\t.relink-variables-filter-to=\\\"[all[current]get[text]!match[]!search:title:literal[ ]!search:title[(]else<.relink-variables-variable>addprefix<.relink-variables-prefix>]\\\"\\n\\t.relink-variables-default={{{ [all[current]relink:variables[]nth[6]then[hide]else[show]] }}}\\n\\t.relink-variables-prefix={{{ [[$:/temp/flibbles/relink-variables/]addsuffix<currentTiddler>addsuffix[ ]] }}}>\\n<$list\\n\\tvariable=.relink-variables-variable\\n\\tfilter=\\\"[all[current]relink:variables[]]\\\"\\n\\temptyMessage={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Empty}}>\\n<tbody>\\n<$tiddler tiddler={{{ [<.relink-variables-prefix>addsuffix<.relink-variables-variable>] }}}>\\n<$qualify title={{{ [<currentTiddler>addprefix[$:/state/flibbles/relink-variables/info/]] }}} name=\\\".relink-variables-state\\\">\\n<$vars\\n\\t.relink-variables-count={{{ [subfilter<.relink-variables-filter>relink:report<currentTiddler>count[]] }}}>\\n<tr>\\n<th colspan=2 class=\\\"tc-relink-variables\\\">\\n<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=<<.relink-variables-state>> setTo={{{ [<.relink-variables-state>get[text]else<.relink-variables-default>match[show]then[hide]else[show]] }}} >\\n<$reveal type=nomatch state=<<.relink-variables-state>> text=show default=<<.relink-variables-default>>>\\n{{$:/core/images/right-arrow}}\\n</$reveal>\\n<$reveal type=match state=<<.relink-variables-state>> text=show default=<<.relink-variables-default>>>\\n{{$:/core/images/down-arrow}}\\n</$reveal>\\n&#32;\\n<$list filter=\\\"[all[current]is[tiddler]]\\\" emptyMessage=\\\"\\\"\\\"\\\\whitespace trim\\n\\t''<$text text=<<.relink-variables-variable>> />''\\n\\t&#32;\\n\\t<span class=tc-relink-variables-count>(<$text text=<<.relink-variables-count>> />)</span>\\n\\t<$list variable=.relink-editable filter=\\\"[<.relink-variables-containingTiddler>is[tiddler]!type[application/javascript]]\\\">\\n\\t&#32;\\n\\t<$button\\n\\t\\ttooltip={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Edit/Hint}}\\n\\t\\taria-label={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Edit/Caption}}\\n\\t\\tclass=<<tv-config-toolbar-class>>>\\n\\t<$action-createtiddler $basetitle=<<currentTiddler>> text=<<.relink-variables-variable>> />\\n\\t{{$:/core/images/edit-button}}\\n\\t</$button>\\n\\t</$list>\\n\\\"\\\"\\\" >\\n\\t<$vars\\n\\t\\tdone-actions=\\\"\\\"\\\"\\\\whitespace trim\\n\\t\\t\\t<$action-sendmessage\\n\\t\\t\\t\\t$message=tm-relink-tiddler\\n\\t\\t\\t\\tfrom=<<currentTiddler>>\\n\\t\\t\\t\\tto={{{ [all[current]removesuffix<.relink-variables-variable>addsuffix{!!text}] }}} />\\n\\t\\t<$action-deletetiddler $tiddler=<<currentTiddler>> />\\n\\t\\\"\\\"\\\">\\n\\t<$keyboard actions=<<done-actions>> key=enter>\\n\\t<$keyboard actions=\\\"<$action-deletetiddler $tiddler=<<currentTiddler>> />\\\" key=escape>\\n\\t<$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" message=tm-focus-selector>\\n\\t\\t<$edit-text tiddler=<<currentTiddler>> tag=input focus=yes/>\\n\\t</$button>\\n\\t&#32;\\n\\t<$button\\n\\t\\ttooltip={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Cancel/Hint}}\\n\\t\\taria-label={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Cancel/Caption}}\\n\\t\\tclass=<<tv-config-toolbar-class>>>\\n\\t<$action-deletetiddler $tiddler=<<currentTiddler>> />\\n\\t{{$:/core/images/cancel-button}}\\n\\t</$button>\\n\\t&#32;\\n\\t<$button\\n\\t\\tactions=<<done-actions>>\\n\\t\\ttooltip={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Save/Hint}}\\n\\t\\taria-label={{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Save/Caption}}\\n\\t\\tclass=<<tv-config-toolbar-class>>\\n\\t\\tdisabled={{{ [{!!text}!match[]!match<.relink-variables-variable>!search:title:literal[ ]!search:title:literal[(]then[no]else[yes]] }}} >\\n\\t{{$:/core/images/done-button}}\\n\\t</$button>\\n\\t</$keyboard>\\n\\t</$keyboard>\\n\\t</$vars>\\n\\t&#32;\\n\\t<$list variable=existing filter=\\\"[variables[]match{!!text}!match[]] -[<.relink-variables-variable>]\\\">\\n\\t\\t{{$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Exists/Prompt}}:\\n\\t\\t<$list filter=\\\"[all[tiddlers+shadows]] :filter[relink:variables[]match<existing>]\\\">\\n\\t\\t\\t&#32;\\n\\t\\t\\t<$link />\\n\\t\\t</$list>\\n\\t</$list>\\n\\t<$vars toTitle={{{ [subfilter<.relink-variables-filter-to>] }}}>\\n\\t\\t<$list variable=changedTiddler filter=\\\"[relink:impossible<toTitle>first[]]\\\">\\n\\t\\t\\t{{$:/language/EditTemplate/Title/Impossibles/Prompt}}\\n\\t\\t</$list>\\n\\t</$vars>\\n</$list>\\n</$button>\\n</th>\\n</tr>\\n\\n<$list variable=\\\".relink-variables-show\\\" filter=\\\"[<.relink-variables-state>get[text]else<.relink-variables-default>match[show]]\\\">\\n<$vars toTitle={{{ [subfilter<.relink-variables-filter-to>] }}}>\\n<$list\\n\\tfilter=\\\"[all[current]relink:backreferences[]!prefix[$:/temp/]sort[title]]\\\"\\n\\tvariable=\\\"listItem\\\"\\n\\ttemplate=\\\"$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate\\\">\\n</$vars>\\n\"},\"$:/config/flibbles/relink/attributes/$macrocall/$name\":{\"title\":\"$:/config/flibbles/relink/attributes/$macrocall/$name\",\"text\":\"variable\"},\"$:/config/flibbles/relink/attributes/$transclude/$variable\":{\"title\":\"$:/config/flibbles/relink/attributes/$transclude/$variable\",\"text\":\"variable\"},\"$:/plugins/flibbles/relink-variables/def.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/def.js\",\"text\":\"/*\\\\\\nmodule-type: relinkdef\\ntitle: $:/plugins/flibbles/relink-variables/def.js\\ntype: application/javascript\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar varRelinker = utils.getType('variable');\\n\\n\\nexports.name = 'variables';\\n\\nexports.report = function() {\\n\\t// While we'll relink definition names, we don't actually\\n\\t// report on them since that would be redundant.\\n\\t// The user is looking at the definition to see what's referencing it.\\n};\\n\\nexports.relink = function(definition, fromTitle, toTitle, options) {\\n\\t// We skip the immediate context, because that's THIS definition\\n\\tvar tiddler = options.settings.parent.getFocus().title;\\n\\tif (tiddler) {\\n\\t\\tvar entry = varRelinker.relinkForTitle(definition.name, fromTitle, toTitle, tiddler);\\n\\t\\tif (entry && entry.output) {\\n\\t\\t\\tdefinition.name = entry.output;\\n\\t\\t\\tentry.output = true;\\n\\t\\t}\\n\\t\\treturn entry;\\n\\t}\\n};\\n\",\"module-type\":\"relinkdef\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-variables/fieldtype.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/fieldtype.js\",\"text\":\"/*\\\\\\nmodule-type: relinkfieldtype\\ntitle: $:/plugins/flibbles/relink-variables/fieldtype.js\\ntype: application/javascript\\n\\nThis manages the variable type, which is like list, wikitext, markdown, etc...\\nExcept that this type points to a variable, not a tiddler.\\n\\n\\\\*/\\n\\nvar systemPrefix = \\\"$:/temp/flibbles/relink-variables/\\\";\\n\\nexports.name = 'variable';\\n\\nexports.report = function(value, callback, options) {\\n\\tvar def = options.settings.getMacroDefinition(value);\\n\\tif (def && def.tiddler) {\\n\\t\\t// variable reports are soft, because the made-up tiddlers that act as\\n\\t\\t// directives for the variable shouldn't flood the \\\"Missing\\\" panel.\\n\\t\\tcallback(systemPrefix + def.tiddler + ' ' + value, undefined, {soft: true});\\n\\t}\\n};\\n\\nexports.reportForTitle = function(value, callback, defTitle) {\\n\\tcallback(systemPrefix + defTitle + ' ' + value, undefined, {soft: true});\\n};\\n\\nexports.relink = function(value, fromTitle, toTitle, options) {\\n\\tvar def = options.settings.getMacroDefinition(value);\\n\\tif (def) {\\n\\t\\treturn this.relinkForTitle(value, fromTitle, toTitle, def.tiddler);\\n\\t}\\n};\\n\\nexports.relinkForTitle = function(value, fromTitle, toTitle, defTitle) {\\n\\tvar prefix = systemPrefix + defTitle + ' ';\\n\\tif (fromTitle === prefix + value) {\\n\\t\\tif (toTitle.substr(0, prefix.length) !== prefix\\n\\t\\t|| toTitle.indexOf(' ', prefix.length) >= 0\\n\\t\\t|| toTitle.indexOf('(', prefix.length) >= 0) {\\n\\t\\t\\treturn {impossible: true};\\n\\t\\t} else {\\n\\t\\t\\treturn {output: toTitle.substr(prefix.length)};\\n\\t\\t}\\n\\t}\\n};\\n\",\"module-type\":\"relinkfieldtype\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-variables/filter.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/filter.js\",\"text\":\"/*\\\\\\nmodule-type: relinkfilter\\ntitle: $:/plugins/flibbles/relink-variables/filter.js\\ntype: application/javascript\\n\\nTakes care of relinking functions used in filters (i.e. [my.func[]])\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar varRelinker = utils.getType('variable');\\n\\nexports.name = \\\"variables\\\";\\n\\nexports.report = function(filterParseTree, callback, options) {\\n\\tforEachFunctionOperator(filterParseTree, options, function(operator, def) {\\n\\t\\tvarRelinker.reportForTitle(operator.operator, function(title, blurb, style) {\\n\\t\\t\\tblurb = formBlurb(operator, 33);\\n\\t\\t\\tif (blurb.length > 50) {\\n\\t\\t\\t\\tblurb = formBlurb(operator, 18);\\n\\t\\t\\t}\\n\\t\\t\\tif (blurb.length > 50) {\\n\\t\\t\\t\\tblurb = formBlurb(operator);\\n\\t\\t\\t}\\n\\t\\t\\tcallback(title, blurb, style);\\n\\t\\t}, def.tiddler);\\n\\t});\\n};\\n\\nexports.relink = function(filterParseTree, fromTitle, toTitle, options) {\\n\\tvar output = {};\\n\\tforEachFunctionOperator(filterParseTree, options, function(operator, def) {\\n\\t\\tvar entry = varRelinker.relinkForTitle(operator.operator, fromTitle, toTitle, def.tiddler);\\n\\t\\tif (entry) {\\n\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\tif (entry.output.indexOf('.') < 0\\n\\t\\t\\t\\t|| entry.output.search(/[\\\\[\\\\{<\\\\/]/) >= 0) {\\n\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\toperator.operator = entry.output;\\n\\t\\t\\t\\t\\toutput.changed = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn output;\\n};\\n\\nfunction forEachFunctionOperator(filterParseTree, options, method) {\\n\\tfor (var i = 0; i < filterParseTree.length; i++) {\\n\\t\\tvar run = filterParseTree[i];\\n\\t\\tfor (var j = 0; j < run.operators.length; j++) {\\n\\t\\t\\tvar operator = run.operators[j];\\n\\t\\t\\tif (operator.operator.indexOf('.') >= 0) {\\n\\t\\t\\t\\tvar def = options.settings.getMacroDefinition(operator.operator);\\n\\t\\t\\t\\tif (def && def.isFunctionDefinition) {\\n\\t\\t\\t\\t\\tmethod(operator, def);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nfunction formBlurb(operator, maxLength) {\\n\\tvar blurb = [];\\n\\tfor (var i = 0; i < operator.operands.length; i++) {\\n\\t\\tvar operand = operator.operands[i];\\n\\t\\tif (operand.indirect) {\\n\\t\\t\\tblurb.push('{' + operand.text + '}');\\n\\t\\t} else if (operand.variable) {\\n\\t\\t\\tblurb.push('<' + utils.abridgeString(operand.text, maxLength) + '>');\\n\\t\\t} else if (operand.text) {\\n\\t\\t\\tblurb.push('[' + utils.abridgeString(operand.text, maxLength) + ']');\\n\\t\\t} else {\\n\\t\\t\\tblurb.push('');\\n\\t\\t}\\n\\t}\\n\\treturn '[' + blurb.join(',') + ']';\\n};\\n\",\"module-type\":\"relinkfilter\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-variables/html.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/html.js\",\"text\":\"/*\\\\\\nmodule-type: relinkhtml\\ntitle: $:/plugins/flibbles/relink-variables/html.js\\ntype: application/javascript\\n\\nRelinks \\\\widgets in their html element form. (i.e. <$my.widget />)\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar varRelinker = utils.getType('variable');\\n\\nexports.name = 'variables';\\n\\nexports.report = function(element, parser, callback, options) {\\n\\tif (element.tag.indexOf('.') >= 0 && element.tag[0] === '$') {\\n\\t\\tvar def = options.settings.getMacroDefinition(element.tag);\\n\\t\\tif (def && def.isWidgetDefinition) {\\n\\t\\t\\tvarRelinker.reportForTitle(element.tag, function(title, blurb, style) {\\n\\t\\t\\t\\tblurb = formBlurb(element, 33);\\n\\t\\t\\t\\tif (blurb.length > 60) {\\n\\t\\t\\t\\t\\tblurb = formBlurb(element, 18);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (blurb.length > 60) {\\n\\t\\t\\t\\t\\tblurb = formBlurb(element);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(title, blurb, style);\\n\\t\\t\\t}, def.tiddler);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.relink = function(element, parser, fromTitle, toTitle, options) {\\n\\tvar output;\\n\\tif (element.tag.indexOf('.') >= 0 && element.tag[0] === '$') {\\n\\t\\tvar def = options.settings.getMacroDefinition(element.tag);\\n\\t\\tif (def && def.isWidgetDefinition) {\\n\\t\\t\\tvar entry = varRelinker.relinkForTitle(element.tag, fromTitle, toTitle, def.tiddler);\\n\\t\\t\\tif (entry) {\\n\\t\\t\\t\\toutput = output || {};\\n\\t\\t\\t\\tif (entry.output) {\\n\\t\\t\\t\\t\\tif (entry.output[0] !== '$'\\n\\t\\t\\t\\t\\t|| entry.output.indexOf('.') < 0\\n\\t\\t\\t\\t\\t|| entry.output.search(/[^a-zA-Z\\\\-\\\\$\\\\.]/) >= 0) {\\n\\t\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\telement.tag = entry.output;\\n\\t\\t\\t\\t\\t\\toutput.output = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (entry.impossible) {\\n\\t\\t\\t\\t\\toutput.impossible = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn output;\\n};\\n\\nfunction wrapValue(value) {\\n\\tif (!/([\\\\/\\\\s<>\\\"'`=])/.test(value) && value.length > 0) {\\n\\t\\treturn value;\\n\\t} else if (value.indexOf('\\\"') < 0) {\\n\\t\\treturn '\\\"' + value + '\\\"';\\n\\t} else {\\n\\t\\treturn '\\\\'' + value + '\\\\'';\\n\\t}\\n};\\n\\nfunction formBlurb(element, maxLength) {\\n\\tvar blurb = '';\\n\\tvar attrs = element.orderedAttributes;\\n\\tfor (var i = 0; i < attrs.length; i++) {\\n\\t\\tvar attr = attrs[i];\\n\\t\\tblurb += ' ' + attr.name + '=';\\n\\t\\tswitch (attr.type) {\\n\\t\\tcase 'string':\\n\\t\\t\\tblurb += wrapValue(utils.abridgeString(attr.value, maxLength));\\n\\t\\t\\tbreak;\\n\\t\\tcase 'indirect':\\n\\t\\t\\tblurb += '{{' + attr.textReference + '}}';\\n\\t\\t\\tbreak;\\n\\t\\tcase 'filtered':\\n\\t\\t\\tblurb += '{{{' + utils.abridgeString(attr.filter.trim(), maxLength) + '}}}';\\n\\t\\t\\tbreak;\\n\\t\\tcase 'macro':\\n\\t\\t\\tblurb += '<<' + attr.value.name + '>>';\\n\\t\\t\\tbreak;\\n\\t\\tcase 'substituted':\\n\\t\\t\\tblurb += '`' + utils.abridgeString(attr.rawValue, maxLength) + '`';\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\treturn blurb;\\n};\\n\",\"module-type\":\"relinkhtml\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Caption\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Caption\",\"text\":\"//Relink// Variables\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Description\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Description\",\"text\":\"The following are variables any the tiddlers that contain invocations of them:\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Exists/Prompt\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Exists/Prompt\",\"text\":\"''Warning:'' This variable appears to already exist\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Empty\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Empty\",\"text\":\"This tiddler does not contain any importable variables\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Cancel/Caption\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Cancel/Caption\",\"text\":\"cancel\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Cancel/Hint\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Cancel/Hint\",\"text\":\"Cancel rename to this variable\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Edit/Caption\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Edit/Caption\",\"text\":\"edit\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Edit/Hint\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Edit/Hint\",\"text\":\"Edit this variable\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Save/Caption\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Save/Caption\",\"text\":\"ok\"},\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Save/Hint\":{\"title\":\"$:/plugins/flibbles/relink-variables/language/TiddlerInfo/Save/Hint\",\"text\":\"Confirm update to this variable name\"},\"$:/plugins/flibbles/relink-variables/macrocall.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/macrocall.js\",\"text\":\"/*\\\\\\nmodule-type: relinkmacrocall\\ntitle: $:/plugins/flibbles/relink-variables/macrocall.js\\ntype: application/javascript\\n\\nHandles relinking of variables in <<macrocall>> format.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar varRelinker = utils.getType('variable');\\n\\nexports.name = 'variables';\\n\\nexports.report = function(context, macro, callback, options) {\\n\\tvarRelinker.report(macro.name, function(title, blurb, style) {\\n\\t\\tvar blurb = formBlurb(macro, 33);\\n\\t\\tif (blurb.length > 50) {\\n\\t\\t\\tblurb = formBlurb(macro, 18);\\n\\t\\t}\\n\\t\\tif (blurb.length > 50) {\\n\\t\\t\\tblurb = formBlurb(macro, 23, 0);\\n\\t\\t}\\n\\t\\tcallback(title, blurb, style);\\n\\t}, options);\\n};\\n\\nexports.relink = function(context, macro, text, fromTitle, toTitle, options) {\\n\\tvar entry = varRelinker.relink(macro.name, fromTitle, toTitle, options);\\n\\tif (entry && entry.output) {\\n\\t\\tif (entry.output.search(/[>\\\"'=]/) >= 0) {\\n\\t\\t\\treturn {impossible: true};\\n\\t\\t}\\n\\t\\tif (!macro.attributes) {\\n\\t\\t\\tmacro.attributes = {\\\"$variable\\\": {}};\\n\\t\\t}\\n\\t\\tmacro.attributes['$variable'].value = entry.output;\\n\\t\\tentry.output = macro;\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction wrapValue(value) {\\n\\tif (!/([\\\\s>\\\"':])/.test(value) && value.length > 0) {\\n\\t\\treturn value;\\n\\t} else if (value.indexOf('\\\"') < 0) {\\n\\t\\treturn '\\\"' + value + '\\\"';\\n\\t} else if (value.indexOf('\\\\'') < 0) {\\n\\t\\treturn '\\\\'' + value + '\\\\'';\\n\\t} else if (value.indexOf(']]') < 0) {\\n\\t\\treturn '[[' + value + ']]';\\n\\t}\\n\\t// I guess just go with the quotes then\\n\\treturn '\\\"' + value + '\\\"';\\n};\\n\\nfunction formBlurb(macro, maxLength, truncLength) {\\n\\tvar blurb = '';\\n\\tfor (var i = 0; i < macro.params.length; i++) {\\n\\t\\tvar param = macro.params[i];\\n\\t\\tvar value = wrapValue(utils.abridgeString(param.value, maxLength, truncLength));\\n\\t\\tblurb += ' ' + (param.name? param.name + ': ': '') + value;\\n\\t}\\n\\treturn blurb;\\n};\\n\",\"module-type\":\"relinkmacrocall\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-variables/operator.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/operator.js\",\"text\":\"/*\\\\\\nmodule-type: relinkfilteroperator\\ntitle: $:/plugins/flibbles/relink-variables/operator.js\\ntype: application/javascript\\n\\nThis filter operator returns the names of all variables which are exportable by this tiddler. It does not remove duplicates.\\n\\n[[myTiddler]relink:variables[]] -> variables in order of appearance\\n\\n\\\\*/\\n\\nexports.variables = function(source, operator, options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler, title) {\\n\\t\\tif (tiddler && tiddler.fields['module-type'] === \\\"macro\\\") {\\n\\t\\t\\t// This is a javascript module, probably\\n\\t\\t\\tvar module = require(title);\\n\\t\\t\\tif (module && module.name) {\\n\\t\\t\\t\\tresults.push(module.name);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar parser = options.wiki.parseTiddler(title);\\n\\t\\t\\tif (parser) {\\n\\t\\t\\t\\t// ptn stands for parseTreeNode\\n\\t\\t\\t\\tvar ptn = parser.tree[0];\\n\\t\\t\\t\\twhile (ptn && (\\n\\t\\t\\t\\tptn.type === \\\"set\\\"\\n\\t\\t\\t\\t|| ptn.type === \\\"parameters\\\"\\n\\t\\t\\t\\t|| ptn.type === \\\"setvariable\\\")) {\\n\\t\\t\\t\\t\\tif (!ptn.isRelinkDefinition\\n\\t\\t\\t\\t\\t&& (ptn.isMacroDefinition\\n\\t\\t\\t\\t\\t || ptn.isFunctionDefinition\\n\\t\\t\\t\\t\\t || ptn.isProcedureDefinition\\n\\t\\t\\t\\t\\t || ptn.isWidgetDefinition)) {\\n\\t\\t\\t\\t\\t\\tvar name = ptn.attributes.name.value;\\n\\t\\t\\t\\t\\t\\tresults.push(name);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tptn = ptn.children && ptn.children[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\",\"module-type\":\"relinkfilteroperator\",\"type\":\"application/javascript\"},\"$:/config/flibbles/relink/operators/function\":{\"title\":\"$:/config/flibbles/relink/operators/function\",\"text\":\"variable\"},\"$:/plugins/flibbles/relink-variables/readme\":{\"title\":\"$:/plugins/flibbles/relink-variables/readme\",\"text\":\"\\\\rules except wikilink\\n\\nSuplemental //Relink// plugins that allows for renaming of both globally defined and local variables through its own TiddlerInfo panel.\\n\"},\"$:/plugins/flibbles/relink-variables/relink.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/relink.js\",\"text\":\"/*\\\\\\nmodule-type: relinkpragma\\ntitle: $:/plugins/flibbles/relink-variables/relink.js\\ntype: application/javascript\\n\\nTakes care of relinking the \\\\relink pragma itself.\\n\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar varRelinker = utils.getType('variable');\\nvar Rebuilder = require(\\\"$:/plugins/flibbles/relink/js/utils/rebuilder\\\");\\n\\nexports.name = 'variables';\\n\\nexports.report = function(rule, callback, options) {\\n\\tvar defTiddler = resolveDefiningTiddler(rule, rule.match[1], options);\\n\\tvarRelinker.reportForTitle(rule.match[1], function(title, blurb, style) {\\n\\t\\tcallback(title, \\\"\\\\\\\\relink \\\" + rule.match[2].trim(), style);\\n\\t}, defTiddler);\\n};\\n\\nexports.relink = function(rule, fromTitle, toTitle, options) {\\n\\tvar defTiddler = resolveDefiningTiddler(rule, rule.match[1], options);\\n\\tvar entry = varRelinker.relinkForTitle(rule.match[1], fromTitle, toTitle, defTiddler);\\n\\tif (entry && entry.output) {\\n\\t\\tvar signature =rule.match[0];\\n\\t\\tvar builder = new Rebuilder(signature);\\n\\t\\tvar startOfName = signature.indexOf(rule.match[1], 7);\\n\\t\\tbuilder.add(entry.output, startOfName, startOfName + rule.match[1].length);\\n\\t\\tentry.output = builder.results();\\n\\t}\\n\\treturn entry;\\n};\\n\\nfunction resolveDefiningTiddler(rule, macroName, options) {\\n\\tvar current = options.settings.widget.getVariable('currentTiddler');\\n\\tvar def = options.settings.getMacroDefinition(macroName);\\n\\tif (def && def.tiddler === current) {\\n\\t\\t// The definition for this \\\\relink is in this file, and it's in scope.\\n\\t\\t// This is obviously it.\\n\\t\\treturn current;\\n\\t}\\n\\tvar nextDefRegExp = new RegExp(\\\"\\\\\\\\s*\\\\\\\\\\\\\\\\(?:define|procedure|function|widget)\\\\\\\\s+\\\" + $tw.utils.escapeRegExp(macroName) + \\\"\\\\\\\\(\\\", \\\"mg\\\");\\n\\tnextDefRegExp.lastIndex = rule.parser.pos;\\n\\tvar match = nextDefRegExp.exec(rule.parser.source);\\n\\tif (match && match.index === rule.parser.pos) {\\n\\t\\t// The definition for this pragma comes immediately after this.\\n\\t\\t// That's almost certainly the one.\\n\\t\\treturn current;\\n\\t}\\n\\tif (def && def.tiddler) {\\n\\t\\t// There's a global definition elsewhere.\\n\\t\\t// That may be the one.\\n\\t\\treturn def.tiddler;\\n\\t}\\n\\t// We can't find the definition. It's probably later in this file.\\n\\treturn current;\\n};\\n\",\"module-type\":\"relinkpragma\",\"type\":\"application/javascript\"},\"$:/plugins/flibbles/relink-variables/style.css\":{\"title\":\"$:/plugins/flibbles/relink-variables/style.css\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\".tc-relink-variables {\\n\\ttext-align: left;\\n}\\n\\n.tc-relink-variables > button {\\n\\twidth: 100%;\\n}\\n\\n.tc-relink-variables button:disabled > svg {\\n\\tfill: <<colour very-muted-foreground>>;\\n}\\n\\n.tc-relink-variables button:hover > svg {\\n\\tfill: <<colour tiddler-controls-foreground-hover>>;\\n}\\n\\n.tc-relink-variables button:selected > svg {\\n\\tfill: <<colour tiddler-controls-foreground-selected>>;\\n}\\n\\n.tc-relink-variables-count {\\n\\tcolor: <<color muted-foreground>>;\\n}\\n\"},\"$:/plugins/flibbles/relink-variables/whitelist.js\":{\"title\":\"$:/plugins/flibbles/relink-variables/whitelist.js\",\"text\":\"/*\\\\\\nmodule-type: relinkprefix\\ntitle: $:/plugins/flibbles/relink-variables/whitelist.js\\ntype: application/javascript\\n\\nUpdate the Relink whitelist for macro parameters.\\n\\\\*/\\n\\nvar utils = require(\\\"$:/plugins/flibbles/relink/js/utils.js\\\");\\nvar varRelinker = utils.getType('variable');\\n\\nexports.prefix = '$:/config/flibbles/relink/macros/';\\n\\nexports.report = function(tiddler, callback, options) {\\n\\tvar key = tiddler.fields.title.substr(exports.prefix.length);\\n\\tvar name = dir(key);\\n\\tvar macroParam = key.substr(name.length+1);\\n\\tvarRelinker.report(name, function(title, blurb, style) {\\n\\t\\tvar type = tiddler.fields.text;\\n\\t\\tcallback(title, \\\"#relink \\\" + macroParam + ':' + type, style);\\n\\t}, options);\\n};\\n\\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\\n\\tvar key = tiddler.fields.title.substr(exports.prefix.length);\\n\\tvar name = dir(key);\\n\\tvar entry = varRelinker.relink(name, fromTitle, toTitle, options);\\n\\tif (entry) {\\n\\t\\tif (entry.output) {\\n\\t\\t\\tentry.output = exports.prefix + entry.output + key.substr(name.length);\\n\\t\\t}\\n\\t\\tchanges.title = entry;\\n\\t}\\n};\\n\\n/* Returns all but the last bit of a path. path/to/tiddler -> path/to\\n */\\nfunction dir(string) {\\n var index = string.lastIndexOf('/');\\n if (index >= 0) {\\n return string.substr(0, index);\\n }\\n};\\n\",\"module-type\":\"relinkprefix\",\"type\":\"application/javascript\"}}}"},{"author":"Gk0Wk","dependents":"","description":"Use the cursor to resize the width of the sidebar.","list":"readme LICENSE","name":"Sidebar Resizer","plugin-type":"plugin","source":"https://github.com/Gk0Wk/TiddlySeq/tree/master/plugins/Gk0Wk/sidebar-resizer","text":"{\"tiddlers\":{\"$:/plugins/Gk0Wk/sidebar-resizer/LICENSE\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/LICENSE\",\"text\":\"MIT License\\n\\nCopyright (c) 2021 Ke Wang (Gk0Wk in GitHub)\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\\"Software\\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n\",\"type\":\"text/plain\"},\"$:/plugins/Gk0Wk/sidebar-resizer/readme\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/readme\",\"text\":\"\\\\define lingo-base() $:/language/ThemeTweaks/\\n\\n<$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n<$list filter=\\\"[<lang>search[zh]]\\\">\\n\\n会在侧边栏的左侧边缘添加一个可拖动的边框当鼠标移动到左侧边缘时会看到这个边框。拖动这个边框可以改变侧边栏的宽度拖动到靠近窗口右侧边缘时就会自动收起侧边栏。\\n\\n原理是更改[[$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth]]的值。\\n\\n注意首先请将 <$link to=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\"><<lingo Options/SidebarLayout>></$link> 调整为`fluid-fixed`,本插件才可生效。\\n\\n<$button set=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" setTo=\\\"fluid-fixed\\\">点击设置<<lingo Options/SidebarLayout>></$button>\\n\\n> 本插件使用灵活而强大的 <$text text=\\\"TiddlyWiki\\\" /> 开发框架 [[Tiddly.ModernDev|https://github.com/tiddly-gittly/Modern.TiddlyDev]]\\n\\n</$list>\\n\\n<$list filter=\\\"[<lang>!search[zh]]\\\">\\n\\nA draggable border is added to the left edge of the sidebar, which will be visible when the mouse is moved to the left edge. Dragging this border will change the width of the sidebar, and it will automatically close the sidebar when dragged near the right edge of the window.\\n\\nThe principle is to change the value of [[$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth]].\\n\\nNote: First, please adjust <$link to=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\"><<lingo Options/SidebarLayout>></$link> to `fluid-fixed` for this plugin to take effect.\\n\\n<$button set=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" setTo=\\\"fluid-fixed\\\">Click to adjust<<lingo Options/SidebarLayout>></$button>\\n\\n> This plugin uses the flexible and powerful <$text text=\\\"TiddlyWiki\\\" /> development framework [[Tiddly.ModernDev|https://github.com/tiddly-gittly/Modern.TiddlyDev]]\\n\\n</$list>\\n</$list>\\n\"},\"$:/plugins/Gk0Wk/sidebar-resizer/resizer\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/resizer\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"<div id=\\\"gk0wk-sidebar-resize-area\\\"></div>\\n\"},\"$:/plugins/Gk0Wk/sidebar-resizer/style.css\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/style.css\",\"text\":\"<$reveal state=\\\"$:/state/sidebar\\\" type=\\\"match\\\" text=\\\"no\\\">\\n.tc-sidebar-scrollable {\\n\\tdisplay: none;\\n}\\n</$reveal>\\n\\ndiv#gk0wk-sidebar-resize-area {\\n\\theight: 100vh;\\n\\twidth: 10px;\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: -5px;\\n\\tcursor: ew-resize;\\n\\ttransition: all {{$:/config/AnimationDuration}}ms;\\n}\\n\\ndiv#gk0wk-sidebar-resize-area:hover {\\n\\tbackground: <<colour primary>>;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/Gk0Wk/sidebar-resizer/hook.js\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/hook.js\",\"module-type\":\"startup\",\"type\":\"application/javascript\",\"Modern.TiddlyDev#Origin\":\"hook.ts\",\"text\":\"\\\"use strict\\\";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var o in t)__defProp(e,o,{get:t[o],enumerable:!0})},__copyProps=(t,o,r,n)=>{if(o&&\\\"object\\\"==typeof o||\\\"function\\\"==typeof o)for(let e of __getOwnPropNames(o))__hasOwnProp.call(t,e)||e===r||__defProp(t,e,{get:()=>o[e],enumerable:!(n=__getOwnPropDesc(o,e))||n.enumerable});return t},__toCommonJS=e=>__copyProps(__defProp({},\\\"__esModule\\\",{value:!0}),e),hook_exports={},name=(__export(hook_exports,{after:()=>after,name:()=>name,platforms:()=>platforms,startup:()=>startup,synchronous:()=>synchronous}),module.exports=__toCommonJS(hook_exports),\\\"gk0wk-sidebar-resizer\\\"),platforms=[\\\"browser\\\"],after=[\\\"render\\\"],synchronous=!0,startup=()=>{let r=!1,t=null;const n=document[\\\"body\\\"],i=e=>{r=!0,e instanceof PointerEvent&&n.setPointerCapture(e.pointerId),n.style.userSelect=\\\"none\\\",n.style.MozUserSelect=\\\"none\\\"},s=e=>{r&&(r=!1,e instanceof PointerEvent&&n.releasePointerCapture(e.pointerId),n.style.userSelect=\\\"auto\\\",n.style.MozUserSelect=\\\"auto\\\")};$tw.hooks.addHook(\\\"th-page-refreshed\\\",()=>{var e;function o(e){$tw.wiki.setText(\\\"$:/state/sidebar\\\",void 0,void 0,\\\"no\\\"),s(e)}null!=t&&t.ownerDocument.contains(t)||(t=document.querySelector(\\\"#gk0wk-sidebar-resize-area\\\"))&&(r=!1,e=(t=window.event)=>{if(r&&t)return t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),t.returnValue=!1,requestAnimationFrame(()=>{var e=100-t.clientX/window.innerWidth*100;if(80<e)return!1;window.innerWidth-t.clientX<100?($tw.wiki.setText(\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\",void 0,void 0,3e4/window.innerWidth+\\\"vw\\\"),o(t)):$tw.wiki.setText(\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\",void 0,void 0,e+\\\"vw\\\")}),!1},t.addEventListener(\\\"dblclick\\\",o),window.PointerEvent?(t.addEventListener(\\\"pointerdown\\\",i),n.addEventListener(\\\"pointerup\\\",s),n.addEventListener(\\\"blur\\\",s),n.addEventListener(\\\"pointermove\\\",e,!0)):(t.addEventListener(\\\"mousedown\\\",i),n.addEventListener(\\\"mouseup\\\",s),n.addEventListener(\\\"blur\\\",s),n.addEventListener(\\\"mousemove\\\",e,!0),t.addEventListener(\\\"touchstart\\\",i),n.addEventListener(\\\"touchcancel\\\",s),n.addEventListener(\\\"touchend\\\",s),n.addEventListener(\\\"touchmove\\\",e,!0)))})};\"}}}","title":"$:/plugins/Gk0Wk/sidebar-resizer","type":"application/json","version":"0.0.6","Modern.TiddlyDev#SHA256-Hashed":"77a70a968ab8b7a7195afff15fecd901f16d4505df0c6082594b45d813e72c78","revision":"0","bag":"default"},{"text":"{\"tiddlers\":{\"$:/plugins/kookma/commander/config/AutoFocus\":{\"title\":\"$:/plugins/kookma/commander/config/AutoFocus\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"yes\"},\"$:/plugins/kookma/commander/config/commonfields\":{\"title\":\"$:/plugins/kookma/commander/config/commonfields\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"created creator modified modifier revision bag\"},\"$:/plugins/kookma/commander/config/minlength\":{\"title\":\"$:/plugins/kookma/commander/config/minlength\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"3\"},\"$:/plugins/kookma/commander/config/relink\":{\"title\":\"$:/plugins/kookma/commander/config/relink\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define relink-plugin-notExisted() Update title in //tags// and //list// fields of other tiddlers\\n<$checkbox tiddler=\\\"$:/config/RelinkOnRename\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\">\\n<$list filter=\\\"[[$:/plugins/flibbles/relink]] +[has[title]]\\\" emptyMessage=<<relink-plugin-notExisted>> >\\nUse //Relink// to update title across all other tiddlers\\n</$list>\\n</$checkbox>\"},\"$:/plugins/kookma/commander/config/systemfields\":{\"title\":\"$:/plugins/kookma/commander/config/systemfields\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"title text tags \\ncreated modified creator modifier \\ntype bag revision\\nlist caption\"},\"$:/plugins/kookma/commander/field/macros/add\":{\"title\":\"$:/plugins/kookma/commander/field/macros/add\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define add-new-field-bulk(datafieldsTid:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<<create-log-tiddler \\\"add-new-field-bulk\\\">>\\n<$vars datafieldsTid=<<__datafieldsTid__>> >\\n<$list filter=\\\"[subfilter<searchfilter>]\\\" variable=\\\"newTitle\\\">\\n<<add-bulk-fields>>\\n<$wikify name=newFields text=<<getFieldsname>> >\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg={{{[<newFields>addprefix[new fields:]addsuffix[added]]}}} tidItem=<<newTitle>> />\\n</$wikify>\\n</$list>\\n</$vars>\\n</$list>\\n\\\\end\\n<!-- from TiddlyWiki 5.2.0, field name with mixed case is allowed -->\\n\\\\define getFieldsname()\\n<$list filter=\\\"[<__datafieldsTid__>indexes[]prefix[fldn]]\\\" variable=item>\\n{{{ [<__datafieldsTid__>getindex<item>trim[]] }}} \\n</$list>\\n\\\\end\"},\"$:/plugins/kookma/commander/field/macros/bulkfields\":{\"title\":\"$:/plugins/kookma/commander/field/macros/bulkfields\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define numfilter() [range[1,$(flt)$]]\\n\\\\define id_fldName() fldn$(cnt)$\\n\\\\define id_fldValue() fldv$(cnt)$\\n\\n<!-- from TiddlyWiki 5.2.0, field name with mixed case is allowed -->\\n\\\\define add-bulk-fields()\\n<$set name=\\\"flt\\\" tiddler=<<datafieldsTid>> field=\\\"counter\\\" emptyValue=\\\"1\\\"><!-- when the datafieldsTid is not exist, there is at least one field row -->\\n<$list filter=<<numfilter>> variable=\\\"cnt\\\">\\n<$list filter=\\\"[<datafieldsTid>getindex<id_fldName>]\\\" variable=\\\"newField\\\">\\n<$action-setfield $tiddler=<<newTitle>> \\n $field={{{ [<newField>trim[]] }}}\\n $value={{{ [<datafieldsTid>getindex<id_fldValue>] }}} />\\n</$list>\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define getInputs()\\n<$edit-text tiddler=<<datafieldsTid>> index=<<id_fldName>> tag=input default=\\\"\\\" placeholder=\\\"field name\\\" />\\n<$edit-text tiddler=<<datafieldsTid>> index=<<id_fldValue>> tag=input default=\\\"\\\" placeholder=\\\"field value\\\"/>\\n\\\\end\\n\\n\\\\define add-reset()\\n<$button>insert\\n<$action-setfield $tiddler=<<datafieldsTid>> counter={{{[<datafieldsTid>get[counter]add[1]]~[[2]]}}}/>\\n</$button>\\n<$button>reset\\n<$action-setfield $tiddler=<<datafieldsTid>> counter=\\\"1\\\"/>\\n<$action-setfield $tiddler=<<datafieldsTid>> text=\\\"\\\"/>\\n</$button>\\n\\\\end\\n\\n\\\\define create-field-inputbox()\\n<$wikify name=flt text={{{ [<datafieldsTid>get[counter]]~[[1]] }}} >\\n<$list filter=<<numfilter>> variable=cnt>\\n\\n<<getInputs>>\\n</$list>\\n</$wikify>\\n\\\\end\\n\\n\\\\define add-more-fields-ui(datafieldsTid:\\\"\\\")\\n<$vars datafieldsTid=<<__datafieldsTid__>> >\\n<<add-reset>>\\n<<create-field-inputbox>>\\n</$vars>\\n\\\\end\\n\\n\\\\define add-more-fields-selective-ui(datafieldsTid:\\\"\\\", stateTiddler:\\\"$:/state/commander/tiddler-addfields-status\\\")\\n<$checkbox \\n tiddler=<<__stateTiddler__>>\\n field=\\\"text\\\" \\n checked=\\\"addfields\\\" unchecked=\\\"nofields\\\"\\n default=\\\"nofields\\\" > \\n Add fields\\n</$checkbox>\\n<$reveal type=\\\"match\\\" state=<<__stateTiddler__>> text=\\\"addfields\\\" default=\\\"nofields\\\" >\\n<$vars datafieldsTid=<<__datafieldsTid__>> >\\n<<add-reset>>\\n<div style=\\\"padding-left:88px;\\\">\\n<<create-field-inputbox>>\\n</div>\\n</$vars>\\n</$reveal>\\n\\\\end\"},\"$:/plugins/kookma/commander/field/macros/remove\":{\"title\":\"$:/plugins/kookma/commander/field/macros/remove\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define remove-old-field-bulk(oldField:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__oldField__>!is[blank]]\\\">\\n<<create-log-tiddler \\\"remove-old-field-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]+[!is[missing]]+[has:field[$oldField$]]\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-remove-field\\\" $param=<<__oldField__>> />\\n</$fieldmangler>\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"old field `$oldField$` removed\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define set-field-value-bulk(fieldName:\\\"Empty\\\", fieldValue:\\\"Empty\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__fieldName__>!is[blank]]\\\" variable=null>\\n<$list filter=\\\"[<__fieldValue__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"set-field-value-create-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]-[$fieldName$[$fieldValue$]]\\\">\\n<$list filter=\\\"[<currentTiddler>has:field[$fieldName$]]\\\" variable=ignore \\nemptyMessage=\\\"\\\"\\\"<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"//has not `$fieldName$` field. Operation ignored//\\\" tidItem=<<currentTiddler>> />\\\"\\\"\\\" >\\n<$action-setfield $field=<<__fieldName__>> $value=<<__fieldValue__>> />\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"field `$fieldName$` got a value\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\"},\"$:/plugins/kookma/commander/field/macros/rename\":{\"title\":\"$:/plugins/kookma/commander/field/macros/rename\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define rename-field-bulk(oldField:\\\"\\\", newField:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore>\\n<$list filter=\\\"[<__oldField__>!is[blank]]\\\" variable=null>\\n<$list filter=\\\"[<__newField__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"rename-field-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\">\\n<$list filter=\\\"[<currentTiddler>has:field[$oldField$]]\\\" variable=ignore\\n emptyMessage=\\\"\\\"\\\"<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"//has not field `$oldField$`. Operation ignored.//\\\" tidItem=<<currentTiddler>> /> \\\"\\\"\\\">\\n<$set name=oldValue tiddler=<<currentTiddler>> field=<<__oldField__>> >\\t\\n<$action-setfield $tiddler=<<currentTiddler>> $field=<<__newField__>> $value=<<oldValue>>/>\\n</$set>\\n<$action-deletefield $tiddler=<<currentTiddler>> $field=<<__oldField__>> />\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"field `$oldField$` renamed to `$newField$`\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/field/macros/set\":{\"title\":\"$:/plugins/kookma/commander/field/macros/set\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define set-field-value-bulk(fieldName:\\\"\\\", fieldValue:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__fieldName__>!is[blank]]\\\" variable=null>\\n<$list filter=\\\"[<__fieldValue__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"set-field-value-create-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]-[$fieldName$[$fieldValue$]]\\\">\\n<$list filter=\\\"[<currentTiddler>has:field[$fieldName$]]\\\" variable=ignore \\nemptyMessage=\\\"\\\"\\\"<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"//has not `$fieldName$` field. Operation ignored//\\\" tidItem=<<currentTiddler>> />\\\"\\\"\\\" >\\n<$action-setfield $field=<<__fieldName__>> $value=<<__fieldValue__>> />\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"field `$fieldName$` got a value\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\"},\"$:/plugins/kookma/commander/field/ui\":{\"title\":\"$:/plugins/kookma/commander/field/ui\",\"caption\":\"Field\",\"list-after\":\"$:/plugins/kookma/commander/tag/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/FieldOps]!has[draft.of]]\\\"\\ndefault:\\\"$:/plugins/kookma/commander/field/uicomp/add-fields\\\" \\nclass:\\\"tc-vertical cmd-tab-colorful cmd-tab-wd\\\"\\n>>\\n\\n\"},\"$:/plugins/kookma/commander/field/uicomp/add-fields\":{\"title\":\"$:/plugins/kookma/commander/field/uicomp/add-fields\",\"caption\":\"Add fields\",\"tags\":\"$:/tags/Commander/FieldOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<!-- create the interface-->\\n<$macrocall $name=\\\"add-more-fields-ui\\\" datafieldsTid=\\\"$:/temp/commander/tiddler/datafields/addfield\\\" />\\n\\n\\n<!-- call action macro -->\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Add new fields\\n<$macrocall $name=\\\"add-new-field-bulk\\\" \\n datafieldsTid=\\\"$:/temp/commander/tiddler/datafields/addfield\\\" />\\n</$button><br>\\n,,Note: This will overwrite the existing fileds!,,\"},\"$:/plugins/kookma/commander/field/uicomp/remove-fields\":{\"title\":\"$:/plugins/kookma/commander/field/uicomp/remove-fields\",\"caption\":\"Remove fields\",\"list-after\":\"$:/plugins/kookma/commander/field/uicomp/add-fields\",\"tags\":\"$:/tags/Commander/FieldOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<label class=\\\"kk-cmd-label\\\">Old field</label><$select class=\\\"cmd-select-wd\\\" tiddler=\\\"$:/temp/commander/field-remove\\\" default=\\\"\\\">\\n<$list filter=\\\"[subfilter<searchfilter>fields[]sort[]] -title -tags\\\" >\\n<option><$view field=\\\"title\\\"/></option>\\n</$list>\\n</$select>\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Remove old field\\n<$macrocall $name=\\\"remove-old-field-bulk\\\" oldField={{$:/temp/commander/field-remove}} />\\n</$button>\"},\"$:/plugins/kookma/commander/field/uicomp/rename-fields\":{\"title\":\"$:/plugins/kookma/commander/field/uicomp/rename-fields\",\"caption\":\"Rename fields\",\"list-after\":\"$:/plugins/kookma/commander/field/uicomp/remove-fields\",\"tags\":\"$:/tags/Commander/FieldOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<label class=\\\"kk-cmd-label\\\">Old field</label><$select class=\\\"cmd-select-wd\\\" \\n tiddler=\\\"$:/temp/commander/rename-field/old\\\" default=\\\"\\\" >\\n<$list filter=\\\"[subfilter<searchfilter>fields[]sort[]] -[<systemFieldsTid>get[text]split[ ]]\\\" > \\n<option><$view field=\\\"title\\\"/></option>\\n</$list>\\n</$select>\\n\\n<label class=\\\"kk-cmd-label\\\">New field</label><$edit-text\\ntiddler=\\\"$:/temp/commander/rename-field/new\\\"\\ntag=\\\"input\\\"\\ndefault=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\"\\nplaceholder=\\\" new field name\\\"\\n/>\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Rename field\\n<$macrocall $name=\\\"rename-field-bulk\\\" \\noldField={{$:/temp/commander/rename-field/old}} \\nnewField={{{ [[$:/temp/commander/rename-field/new]get[text]trim[]] }}} />\\n</$button>\\n\\n<!--\\nFrom TW 5.2.0 field name can have mixed case and space, so all restrictions are released.\\n-->\"},\"$:/plugins/kookma/commander/field/uicomp/set-field-value\":{\"title\":\"$:/plugins/kookma/commander/field/uicomp/set-field-value\",\"caption\":\"Set field value\",\"list-after\":\"$:/plugins/kookma/commander/field/uicomp/rename-fields\",\"tags\":\"$:/tags/Commander/FieldOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<label class=\\\"kk-cmd-label\\\">Field name</label><$select class=\\\"cmd-select-wd\\\" \\n tiddler=\\\"$:/temp/commander/field-name\\\" default=\\\"\\\" >\\n<$list filter=\\\"[subfilter<searchfilter>fields[]sort[]] -[<systemFieldsTid>get[text]split[ ]]\\\" >\\n<option><$view field=\\\"title\\\"/></option>\\n</$list>\\n</$select>\\n\\n<label class=\\\"kk-cmd-label\\\">Field value</label><$edit-text\\ntiddler=\\\"$:/temp/commander/field-value\\\"\\ntag=\\\"input\\\" default=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\" placeholder=\\\" field value\\\"/>\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Set field value\\n<$macrocall \\n $name=\\\"set-field-value-bulk\\\" \\n fieldName={{$:/temp/commander/field-name}} \\n fieldValue={{$:/temp/commander/field-value}} \\n/>\\n</$button>\"},\"$:/plugins/kookma/commander/filters/Drafts\":{\"title\":\"$:/plugins/kookma/commander/filters/Drafts\",\"description\":\"{{$:/language/Filters/Drafts}}\",\"filter\":\"[has[draft.of]sort[title]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/geneal\":{\"title\":\"$:/plugins/kookma/commander/filters/geneal\",\"description\":\"General filter\",\"filter\":\"[all[shadows+tiddlers]search[your keywrods]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/Missing\":{\"title\":\"$:/plugins/kookma/commander/filters/Missing\",\"description\":\"{{$:/language/Filters/Missing}}\",\"filter\":\"[all[missing]sort[title]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/Orphans\":{\"title\":\"$:/plugins/kookma/commander/filters/Orphans\",\"description\":\"{{$:/language/Filters/Orphans}}\",\"filter\":\"[all[orphans]sort[title]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/RecentSystemTiddlers\":{\"title\":\"$:/plugins/kookma/commander/filters/RecentSystemTiddlers\",\"description\":\"{{$:/language/Filters/RecentSystemTiddlers}}\",\"filter\":\"[has[modified]!sort[modified]limit[50]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/RecentTiddlers\":{\"title\":\"$:/plugins/kookma/commander/filters/RecentTiddlers\",\"description\":\"{{$:/language/Filters/RecentTiddlers}}\",\"filter\":\"[!is[system]has[modified]!sort[modified]limit[50]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/SessionTiddlers\":{\"title\":\"$:/plugins/kookma/commander/filters/SessionTiddlers\",\"description\":\"Tiddlers modified since the wiki was loaded\",\"filter\":\"[haschanged[]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/StoryList\":{\"title\":\"$:/plugins/kookma/commander/filters/StoryList\",\"description\":\"{{$:/language/Filters/StoryList}}\",\"filter\":\"[list[$:/StoryList]] -$:/AdvancedSearch\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/filters/temp-and-state\":{\"title\":\"$:/plugins/kookma/commander/filters/temp-and-state\",\"description\":\"Temporary and state tiddlers\",\"filter\":\"[prefix[$:/temp]] [prefix[$:/state]]\",\"tags\":\"$:/tags/Commander/Filter\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/kookma/commander/help/ui\":{\"title\":\"$:/plugins/kookma/commander/help/ui\",\"caption\":\"Help\",\"icon\":\"$:/core/images/help\",\"list-after\":\"$:/plugins/kookma/commander/setting/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/Help]!has[draft.of]]\\\" \\ndefault:\\\"$:/plugins/kookma/commander/help/uicomp/quick-tutorial\\\"\\nclass:\\\"tc-vertical cmd-tab-colorful cmd-tab-wd\\\">>\\n\\n\\n\"},\"$:/plugins/kookma/commander/help/uicomp/quick-tutorial\":{\"title\":\"$:/plugins/kookma/commander/help/uicomp/quick-tutorial\",\"caption\":\"Quick tutorial\",\"tags\":\"$:/tags/Commander/Help\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"# Use ''Combo search'' to list possible tiddlers\\n#* example: `concept` performs a standard search and find all matches in title, text, and tags\\n#* example: `[tag[xx]]` finds all tiddlers tagged with //xx//\\n#* example: `[prefix[tt]` finds all tiddlers have title started with //tt//\\n#* example: `[has[draft.of]sort[title]]` finds all draft tiddlers\\n\\n# Use ''Select tiddlers'' for the resulting list to identify which specific tiddlers to do a batch operation on\\n#* this step lets you to do a batch operation on selected tiddlers NOT all items by ''Combo search''!\\n#* it is possible to select/deselect all tiddlers from ''Combo search'' result at once! Note that, by default all tiddlers are considered for bulk operation until selective operation is activated!\\n# From ''Batch operations tabs'' select the batch operation you wish to perform on selected tiddlers\\n#* example: title, tag, and field operations\\n#* example: Snr operation\\n#* Inspect tab can be used to inspect tiddlers before or after performing operations\\n\\n* Notes:\\n** Multiple batch operations can be done on the same set (unless you change something in the search criteria)\\n** Sometimes it is useful to use an intermediate batch to help, like tag tiddlers with a \\\"working\\\" tag, using multiple searches, then then use the \\\"working\\\" tag to apply a batch operation to\\n\\n<div class=\\\"commander-alert\\\">''Note'': For good operation a tiddler width of 800px is recommended. You can also use //Sidebar layout// as `Fluid story`.</div>\\n\\n\\nFor detailed docummention go to [[Demo page|https://kookma.github.io/TW-Commander/]]\\n\\n!!! Footenote\\n# [[Use filter expression|https://tiddlywiki.com/prerelease/#Filters:Filters%20%5B%5BFilter%20Expression%5D%5D%20%5B%5BFilter%20Syntax%5D%5D%20%5B%5BFilter%20Operators%5D%5D%20%5B%5BFilter%20Parameter%5D%5D%20%5B%5BFilter%20Run%5D%5D%20%5B%5BFilter%20Step%5D%5D%20%5B%5BFilter%20Whitespace%5D%5D]]\"},\"$:/plugins/kookma/commander/help/uicomp/regular-expression\":{\"title\":\"$:/plugins/kookma/commander/help/uicomp/regular-expression\",\"caption\":\"Regular expressions\",\"list-after\":\"$:/plugins/kookma/commander/help/uicomp/snr\",\"tags\":\"$:/tags/Commander/Help\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! Regular Expressions Quick Reference\\n\\n|FLAGS |<|<|h\\n| i |ignore case|case insensitive matching|\\n| |whole words|match strings of a-z, 0-9 and _|\\n| g |global|field start=^, field end=$, all matches|\\n| m |multi-line|line start=^, line end=$, first match|\\n| |first match|field start=^, field end=$, first match|\\n|MATCH |<|<|h\\n|''Anchors''|<|<|\\n| ^ |start of scope|see Flags, match is zero length|\\n| $ |end of scope|see Flags, match is zero length|\\n| \\\\b |word boundary|anchor to edge of word, zero length|\\n| \\\\B |not word boundary|anchor inside word, zero length|\\n|''Character Classes''|<|<|\\n| [c] |class of characters|any one matches, e.g. [abc123]|\\n| [^c] |negated class of characters|any one doesn't match, e.g. [^abc123]|\\n|''Shorthand Character Classes'' |<|<|\\n| . |any character except newline|same as [^\\\\n]|\\n| \\\\d |decimal|same as [0-9]|\\n| \\\\D |not decimal|same as [^0-9]|\\n| \\\\s |white-space|same as [\\\\ \\\\t\\\\n]|\\n| \\\\S |not white-space|same as [^\\\\ \\\\t\\\\n]|\\n| \\\\t |tab|same as [\\\\t]|\\n| \\\\n |newline|same as [\\\\n]|\\n| \\\\w |word character|same as [a-zA-Z0-9_]|\\n| \\\\W |not word character|same as [^a-zA-Z0-9_]|\\n|''Capturing Groups''|<|<|\\n| (match) |match placed in variable $x|can be used in Replace|\\n| (\\\\x) |repeats match pattern of $x|can be used in Replace|\\n|''Quantifiers''|<|<|\\n| ? |single match|match 0 or 1 time|\\n| * |greedy match 0+|match 0 or as many times as possible|\\n| *? |lazy match 0+|match 0 or as few times as possible|\\n| + |greedy match 1+|match 1 or as many times as possible|\\n| +? |lazy match 1+|match 1 or as few times as possible|\\n| {x} |match x times|match x times|\\n| {x,y} |match x to y times|match x times to exactly y times|\\n| {x,} |match x or more times|match x times or as many as possible|\\n|''Escapes''|<|<|\\n| \\\\ |escape special characters|add to \\\\ [ ] ( ) { } ^ $ . ? * + for literals|\\n|REPLACE |<|<|h\\n| $& |return the full match|<|\\n| $x |return $x where x is the numeric index of a Capturing Group|<|\\n|NOTE |<|<|h\\n|This Reference supports most ordinary uses of regular expressions.<br> For advanced options: [[MDN Reference|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Using_simple_patterns]]; examples: [[regular-expressions.info|https://www.regular-expressions.info/tutorial.html]].|<|<|\\n\\n\"},\"$:/plugins/kookma/commander/help/uicomp/relink\":{\"title\":\"$:/plugins/kookma/commander/help/uicomp/relink\",\"caption\":\"Relink on rename\",\"list-after\":\"$:/plugins/kookma/commander/help/uicomp/regular-expression\",\"tags\":\"$:/tags/Commander/Help\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! Relink on rename\\nWhen Tiddler Commander is used to rename bulk tiddlers in operation like\\n\\n* Title operation\\n** add/remove prefix\\n** add/remove suffix\\n** remove chars from the begining or end of title\\n* ~SnR\\n** Search and replace in tiddlers title\\n\\nIt is possible to update all links to title. This includes //tags// and //list//. If [[Relink|https://flibbles.github.io/tw5-relink/]] plugin is installed, then not only title will be updated in //tags// and //list// field, but also in all filters, transclusions, text field and evrywhere.\\n\\n<div class=\\\"commander-alert\\\"> ''Note'': Relink does not update all forms of title e.g those created from different segments, but it will update any occurances</div>\\n\\n\\n!! How to integrate with Relink?\\n\\nSimply install the [[Relink|https://flibbles.github.io/tw5-relink/]] plugin and it will be appeared as an option when Tiddler Commander title operations including ~SnR are performed!\\n\"},\"$:/plugins/kookma/commander/help/uicomp/snr\":{\"title\":\"$:/plugins/kookma/commander/help/uicomp/snr\",\"caption\":\"Search-n-Replace\",\"list-after\":\"$:/plugins/kookma/commander/help/uicomp/quick-tutorial\",\"tags\":\"$:/tags/Commander/Help\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! Search and replace using Snr\\nSnr stands for search and replace, is a powerful tool uses regular expression for searching all fields and lets replace chars, words, phrases with new values.\\n\\n!! How to use\\n* Enter a search filter or keywords in ''Combo search'' box like `[tag[myTag]]` or `concept`\\n* Use ''Select tiddlers'' for the resulting list to identify which specific tiddlers to do a Snr operation on\\n** If selective operation is unchecked, all tiddlers from step one will be included in Snr operation.\\n* From ''Tiddler title'' drop down menu select a tiddler\\n* From ''Field name'' drop down menu select a tiddler field like `text`\\n** all fileds even `title` can be selected\\n* In the ''Search text'' type the search term for example `this`\\n* In the ''Replace with'' type the term you want to replace with like `that`\\n* Check the ''Differences'' and if you are satisfied with the result, press the `Replace?` button\\n* You can press `Replace all?` if you want to search and replace in all selected tiddlers\\n\\n;Remarks\\n: The `Replace all?` lets you to search and replace in all selected tiddlers at once! It is possible to search and replace even in `title` field!\\n\\n<$list filter=\\\"[[snr.png]is[tiddler]]\\\"><<image-pretty img:\\\"snr.png\\\" width:\\\"60%\\\" align:\\\"center\\\" caption:\\\"Fig 1. Search and replace using regular expression\\\">></$list>\\n\\n!! Special characters\\n<<<\\nAs `SNR` uses ''regexp'' pattern to make search and replace, when special characters are used in the ''Search text'' box, they shall be escaped among them are `*`, `+`, `[]`, `?` ...\\nTo use these characters do like below\\n\\n```\\n\\\\[ \\\\] \\\\( \\\\) \\\\{ \\\\} \\\\. \\\\* \\\\+ \\\\? \\\\^ \\\\$ \\\\\\\\ \\\\|\\n```\\n<<<\\n\\n!! Warning\\n<<<\\n* SNR replace the contents of tiddlers.<br> ''//The action can not be undone//''. So always make a backup before performing any replace action\\n<<<\"},\"$:/plugins/kookma/commander/help/uicomp/warning\":{\"title\":\"$:/plugins/kookma/commander/help/uicomp/warning\",\"caption\":\"Warning\",\"list-after\":\"$:/plugins/kookma/commander/help/uicomp/relink\",\"tags\":\"$:/tags/Commander/Help\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\";Note i\\n:Tiddler Commander is a very powerful tool, it can change any field in any tiddler.// Make sure what you are doing//!\\n\\n;Note ii\\n:Tiddler Commander uses two steps tiddler selection. It uses a combo search box to screen (using standard or filter search) possible tiddlers and then uses a selective list of tiddlers from first step for batch operation!\\n:# If selective operation is unchecked, then all tiddlers from step one are used for batch operation\\n:# If selective operation is checked, then user has to manually select among tiddlers, and the selected ones are used for batch operation \\n\\n;Note iii\\n://Commander do not perform operation on shadow tiddlers//, unless they are overriden. Because shadow tiddlers arent stored as ''real'' tiddlers. They are intentionally excluded from most operations by default so that they dont clutter filters made by users unless explicitly required. \\n\\n<div class=\\\"commander-alert\\\">''Warning''\\nBefore using Tiddler commander for bulk operation on your own valuable, irreplaceable data, ''backup them''.\\n</div>\"},\"$:/plugins/kookma/commander/history\":{\"title\":\"$:/plugins/kookma/commander/history\",\"created\":\"20250707183601941\",\"modified\":\"20250707183646063\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Full change log https://kookma.github.io/TW-Commander/#ChangeLog\\n\\n* ''2.1.14'' -- 2025.07.07 -- updated to TiddlyWiki 5.3.7\\n* ''2.1.9'' -- 2024.09.13 -- development moved to Gatha-Thirdflow\\n* ''2.1.8'' -- 2024.06.13 -- updated to support Tiddlywiki 5.3.3\\n* ''2.1.5'' -- 2023.02.14 -- updated to support Tiddlywiki 5.2.5\\n* ''2.1.3'' -- 2021.10.24 -- commander icon fixed\\n* ''2.1.2'' -- 2021.01.02 -- Saq Imtiaz release\\n* ''2.1.0'' -- 2020.03.25 -- stable release\\n* ''0.1.0'' -- 2019.02.12 -- mature public release\\n\"},\"$:/plugins/kookma/commander/icon\":{\"title\":\"$:/plugins/kookma/commander/icon\",\"text\":\"<svg height=\\\"30\\\" width=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 392.727 392.727\\\" xml:space=\\\"preserve\\\"><path style=\\\"fill:#fff\\\" d=\\\"M259.976 298.537V73.826c0-6.012-4.848-10.925-10.925-10.925H32.873c-6.012 0-10.925 4.848-10.925 10.925v285.996c0 6.012 4.848 10.925 10.925 10.925h154.828\\\"/><path style=\\\"fill:#ffc10d\\\" d=\\\"M227.2 84.752H54.659c-6.012 0-10.925 4.848-10.925 10.925v242.424c0 6.012 4.848 10.925 10.925 10.925h119.467c2.651 0 5.172-1.034 7.176-2.78v-43.119c0-6.012 4.848-10.925 10.925-10.925h43.119c1.745-2.004 2.78-4.461 2.78-7.176V95.677c-.065-6.077-4.914-10.925-10.926-10.925z\\\"/><path style=\\\"fill:#fff\\\" d=\\\"M203.152 313.988v41.374l41.373-41.374z\\\"/><path style=\\\"fill:#194f82\\\" d=\\\"M302.513 41.18c-6.012 0-10.925 4.848-10.925 10.925s4.848 10.925 10.925 10.925c6.012 0 10.925 4.848 10.925 10.925v285.996c0 6.012-4.848 10.925-10.925 10.925h-52.945c-6.012 0-10.925 4.848-10.925 10.925 0 6.012 4.848 10.925 10.925 10.925h52.945c18.036 0 32.711-14.675 32.711-32.711V73.826c.065-17.971-14.61-32.646-32.711-32.646zM359.919 41.18c-6.012 0-10.925 4.848-10.925 10.925s4.848 10.925 10.925 10.925c6.012 0 10.925 4.848 10.925 10.925v285.996c0 6.012-4.848 10.925-10.925 10.925-6.012 0-10.925 4.848-10.925 10.925 0 6.012 4.848 10.925 10.925 10.925 18.036 0 32.711-14.675 32.711-32.711V73.826c0-17.971-14.674-32.646-32.711-32.646z\\\"/><path style=\\\"fill:#194f82\\\" d=\\\"M281.697 303.127V73.826c0-18.036-14.675-32.711-32.711-32.711H124.8v-.129C124.8 18.424 106.44 0 83.814 0S42.828 18.36 42.828 40.986v.129h-9.956C14.771 41.115.096 55.79.096 73.826v285.996c0 18.101 14.675 32.776 32.711 32.776h159.354c2.844 0 5.624-1.164 7.758-3.168l78.61-78.61c2.004-2.068 3.168-4.848 3.168-7.693zM64.614 40.986c0-10.602 8.598-19.135 19.135-19.135s19.135 8.598 19.135 19.135v.129H64.55v-.129h.064zm138.473 314.376v-41.374h41.309l-41.309 41.374zm56.824-63.16h-67.749c-6.012 0-10.925 4.848-10.925 10.925v67.685H32.808c-6.012 0-10.925-4.848-10.925-10.925V73.826c0-6.012 4.848-10.925 10.925-10.925h70.141v50.683c0 4.848-4.008 8.857-8.857 8.857s-8.857-4.008-8.857-8.857V93.673c0-6.012-4.848-10.925-10.925-10.925s-10.925 4.848-10.925 10.925v19.911c0 16.937 13.77 30.707 30.707 30.707s30.707-13.77 30.707-30.707V62.901h124.186c6.012 0 10.925 4.848 10.925 10.925l.001 218.376z\\\"/><path style=\\\"fill:#194f82\\\" d=\\\"M212.137 173.059H69.786c-6.012 0-10.925 4.848-10.925 10.925s4.848 10.925 10.925 10.925h142.352c6.012 0 10.925-4.848 10.925-10.925s-4.913-10.925-10.926-10.925zM212.137 231.434H69.786c-6.012 0-10.925 4.848-10.925 10.925s4.848 10.925 10.925 10.925h142.352c6.012 0 10.925-4.848 10.925-10.925s-4.913-10.925-10.926-10.925zM135.079 289.745H69.786c-6.012 0-10.925 4.848-10.925 10.925s4.848 10.925 10.925 10.925h65.293c6.012 0 10.925-4.849 10.925-10.925s-4.913-10.925-10.925-10.925z\\\"/></svg>\",\"type\":\"image/svg+xml\"},\"$:/plugins/kookma/commander/images/commander.svg\":{\"title\":\"$:/plugins/kookma/commander/images/commander.svg\",\"caption\":\"list-rich\",\"library\":\"Open Iconic\",\"tags\":\"$:/tags/Image\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-list-rich tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 8 7\\\"><path d=\\\"M0 0v3h3V0H0zm4 0v1h4V0H4zm0 2v1h3V2H4zM0 4v3h3V4H0zm4 0v1h4V4H4zm0 2v1h3V6H4z\\\"/></svg>\"},\"$:/plugins/kookma/commander/inspect/comp/edit-fileds\":{\"title\":\"$:/plugins/kookma/commander/inspect/comp/edit-fileds\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/\\n\\\\define config-title()\\n$:/config/EditTemplateFields/Visibility/$(currentField)$\\n\\\\end\\n\\n\\\\define config-filter()\\n[[hide]] -[title{$(config-title)$}] \\n\\\\end\\n\\n\\\\define new-field()\\n<$vars name={{$:/temp/newfieldname}}>\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" default=<<name>>>\\n<$button class=\\\"cmd-btn\\\">\\n<$action-sendmessage $message=\\\"tm-add-field\\\"\\n$name=<<name>>\\n$value={{$:/temp/newfieldvalue}}/>\\n<$action-deletetiddler $tiddler=\\\"$:/temp/newfieldname\\\"/>\\n<$action-deletetiddler $tiddler=\\\"$:/temp/newfieldvalue\\\"/>\\n<<lingo Fields/Add/Button>>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" text=\\\"\\\" default=<<name>>>\\n<$button class=\\\"cmd-btn\\\">\\n<<lingo Fields/Add/Button>>\\n</$button>\\n</$reveal>\\n</$vars>\\n\\\\end\\n\\n\\\\define compInspect-edit-fileds(commonFields:\\\"\\\")\\n\\n<div class=\\\"tc-edit-fields\\\">\\n<table class=\\\"tc-edit-fields\\\">\\n<tbody>\\n<$list filter=\\\"[all[current]fields[]] +[sort[title]]\\\" variable=\\\"currentField\\\">\\n<$list filter=<<config-filter>> variable=\\\"temp\\\">\\n<tr class=\\\"tc-edit-field\\\">\\n<td class=\\\"tc-edit-field-name\\\">\\n<$text text=<<currentField>>/>:</td>\\n<td class=\\\"tc-edit-field-value\\\">\\n<$edit-text tiddler=<<currentTiddler>> field=<<currentField>> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}}/>\\n</td>\\n<td class=\\\"tc-edit-field-remove\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/EditTemplate/Field/Remove/Hint}} aria-label={{$:/language/EditTemplate/Field/Remove/Caption}}>\\n<$action-deletefield $field=<<currentField>>/>\\n{{$:/core/images/delete-button}}\\n</$button>\\n</td>\\n</tr>\\n</$list>\\n</$list>\\n\\n\\n<$list filter=\\\"created creator modified modifier -[enlist<__commonFields__>]\\\" variable=\\\"currentField\\\">\\n<tr class=\\\"tc-edit-field\\\">\\n<td class=\\\"tc-edit-field-name\\\">\\n<$text text=<<currentField>>/>:</td>\\n<td class=\\\"tc-edit-field-value\\\">\\n<$edit-text tiddler=<<currentTiddler>> field=<<currentField>> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}}/>\\n</td>\\n<td class=\\\"tc-edit-field-remove\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/EditTemplate/Field/Remove/Hint}} aria-label={{$:/language/EditTemplate/Field/Remove/Caption}}>\\n<$action-deletefield $field=<<currentField>>/>\\n{{$:/core/images/delete-button}}\\n</$button>\\n</td>\\n</tr>\\n</$list>\\n\\n\\n\\n\\n</tbody>\\n</table>\\n</div>\\n\\n<$fieldmangler>\\n<div class=\\\"tc-edit-field-add\\\">\\n<em class=\\\"tc-edit\\\">\\n<<lingo Fields/Add/Prompt>>\\n</em>\\n<span class=\\\"tc-edit-field-add-name\\\">\\n<$edit-text tiddler=\\\"$:/temp/newfieldname\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}} focusPopup=<<qualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-edit-texteditor tc-popup-handle\\\"/>\\n</span>\\n<$button popup=<<qualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-btn-invisible tc-btn-dropdown\\\" tooltip={{$:/language/EditTemplate/Field/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Field/Dropdown/Caption}}>{{$:/core/images/down-arrow}}</$button>\\n<$reveal state=<<qualify \\\"$:/state/popup/field-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<$linkcatcher to=\\\"$:/temp/newfieldname\\\">\\n<div class=\\\"tc-dropdown-item\\\">\\n<<lingo Fields/Add/Dropdown/User>>\\n</div>\\n<$list filter=\\\"[!is[shadow]!is[system]fields[]search:title{$:/temp/newfieldname}sort[]] -created -creator -draft.of -draft.title -modified -modifier -tags -text -title -type\\\" variable=\\\"currentField\\\">\\n<$link to=<<currentField>>>\\n<<currentField>>\\n</$link>\\n</$list>\\n<div class=\\\"tc-dropdown-item\\\">\\n<<lingo Fields/Add/Dropdown/System>>\\n</div>\\n<$list filter=\\\"[fields[]search:title{$:/temp/newfieldname}sort[]] -[!is[shadow]!is[system]fields[]]\\\" variable=\\\"currentField\\\">\\n<$link to=<<currentField>>>\\n<<currentField>>\\n</$link>\\n</$list>\\n</$linkcatcher>\\n</div>\\n</$reveal>\\n<span class=\\\"tc-edit-field-add-value\\\">\\n<$edit-text tiddler=\\\"$:/temp/newfieldvalue\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}} class=\\\"tc-edit-texteditor\\\"/>\\n</span>\\n<span class=\\\"tc-edit-field-add-button\\\">\\n<$macrocall $name=\\\"new-field\\\"/>\\n</span>\\n</div>\\n</$fieldmangler>\\n\\\\end\"},\"$:/plugins/kookma/commander/inspect/comp/edit-preview\":{\"title\":\"$:/plugins/kookma/commander/inspect/comp/edit-preview\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define compInspect-edit-preview(tiddler, commonFields:\\\"\\\")\\n<div class=\\\"tc-edit-fields\\\">\\n<table class=\\\"tc-edit-fields\\\">\\n<tbody>\\n<tr class=\\\"tc-edit-field\\\"><td class=\\\"tc-edit-field-name\\\">title:</td>\\n<td class=\\\"tc-edit-field-value\\\"><$link to=<<__tiddler__>> ><$text text=<<__tiddler__>> /></$link></td>\\n</tr>\\n<tr class=\\\"tc-edit-field\\\"><td class=\\\"tc-edit-field-name\\\">tags:</td>\\n<td class=\\\"tc-edit-field-value\\\">{{$tiddler$||$:/core/ui/EditTemplate/tags}}</td>\\n</tr>\\n<tr class=\\\"tc-edit-field\\\"><td class=\\\"tc-edit-field-name\\\">text:</td>\\n<td class=\\\"tc-edit-field-value\\\"><$macrocall $name=compInspect-get-field tiddler=<<__tiddler__>> field=\\\"text\\\" tag=\\\"textarea\\\" /></td>\\n</tr>\\n</tbody>\\n</table>\\n</div>\\n\\n<$tiddler tiddler=<<__tiddler__>> >\\n<$macrocall $name=\\\"compInspect-edit-fileds\\\" commonFields=<<__commonFields__>> />\\n</$tiddler>\\n\\\\end\\n\\n\\\\define compInspect-get-field(tiddler, field, tag:\\\"input\\\") \\n<$edit-text class=\\\"tc-edit-texteditor\\\" tiddler=<<__tiddler__>> field=<<__field__>> tag=<<__tag__>> default=\\\"\\\" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>\\n\\\\end\"},\"$:/plugins/kookma/commander/inspect/comp/main\":{\"title\":\"$:/plugins/kookma/commander/inspect/comp/main\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define compInspect(filter, stateTiddler:\\\"thisTiddler\\\")\\n<$set name=\\\"state\\\" \\n value={{{ [[$:/state/compInspect/]addsuffix<__stateTiddler__>] }}} >\\n<$vars\\n slStateTid={{{ [<state>addsuffix[/]addsuffix[selectState-tiddler]] }}}\\n rvStateTid={{{ [<state>addsuffix[/]addsuffix[revealState-tiddler]] }}}\\n chStateTid={{{ [<state>addsuffix[/]addsuffix[checkboxState-tiddler]] }}} >\\n\\nSelect tiddler &nbsp;<$macrocall $name=compSelect filter=<<__filter__>> stateTiddler=<<slStateTid>> />\\n&nbsp;&nbsp;\\n<$macrocall $name=\\\"check-common-fields\\\" stateTiddler=<<chStateTid>> />\\n&nbsp;&nbsp;\\n<$reveal stateTitle=<<rvStateTid>> type=\\\"nomatch\\\" text=\\\"edit\\\">\\n<$button class=\\\"tc-btn-invisible\\\" setTitle=<<rvStateTid>> setTo=\\\"edit\\\" tooltip=\\\"edit tiddler\\\">{{$:/core/images/edit-button}}</$button>\\n<$macrocall $name=compInspect-show-preview tiddler={{{ [<slStateTid>get[text]]+[subfilter<__filter__>] }}} commonFields={{{ [<chStateTid>get[text]] }}}/>\\n</$reveal>\\n<$reveal stateTitle=<<rvStateTid>> type=\\\"match\\\" text=\\\"edit\\\">\\n<$button class=\\\"tc-btn-invisible\\\" setTitle=<<rvStateTid>> setTo=\\\"\\\" tooltip=\\\"confirm changes\\\">{{$:/core/images/done-button}}</$button>\\n<$macrocall $name=compInspect-edit-preview tiddler={{{ [<slStateTid>get[text]]+[subfilter<__filter__>] }}} commonFields={{{ [<chStateTid>get[text]] }}}/>\\n</$reveal>\\n\\n</$vars>\\n</$set>\\n\\\\end\\n\\n\\\\define check-common-fields(stateTiddler)\\n<$vars commonFields={{{[<commonFieldsTid>get[text]]}}}>\\n<$checkbox \\n tiddler=<<__stateTiddler__>>\\n field=\\\"text\\\" \\n checked=<<commonFields>>\\n unchecked=\\\"\\\"\\n default=\\\"\\\"\\n> Exclude common fields?</$checkbox>\\n</$vars>\\n\\\\end\"},\"$:/plugins/kookma/commander/inspect/comp/select\":{\"title\":\"$:/plugins/kookma/commander/inspect/comp/select\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define compSelect(filter:\\\"\\\", stateTiddler:\\\"\\\", default:\\\"\\\", class:\\\"\\\", showButtons:\\\"show\\\")\\n<$select tiddler=<<__stateTiddler__>> default=<<__default__>> class=<<__class__>> >\\n<option value=\\\"\\\">None</option>\\n<$list filter=<<__filter__>> variable=item>\\n<option value=<<item>>><$text text=<<item>> /></option>\\n</$list>\\n</$select>\\n<$reveal type=\\\"match\\\" text=\\\"show\\\" default=<<__showButtons__>> >\\n<$vars myfilter=<<__filter__>> mystateTiddler=<<__stateTiddler__>> myitem={{{ [<__stateTiddler__>get[text]] }}} >\\n<$button actions=<<cs-prev-item>> class=\\\"cmd-btn\\\"> prev </$button>\\n<$button actions=<<cs-next-item>> class=\\\"cmd-btn\\\"> next </$button>\\n</$vars>\\n</$reveal>\\n\\\\end\\n\\n\\\\define cs-prev-item()\\n<$list filter=\\\"[subfilter<myfilter>] +[before<myitem>]\\\" variable=\\\"prev-item\\\" >\\n<$action-setfield $tiddler=<<mystateTiddler>> text=<<prev-item>> />\\n</$list>\\n\\\\end\\n\\n\\\\define cs-next-item()\\n<$list filter=\\\"[subfilter<myfilter>] +[after<myitem>]\\\" variable=\\\"next-item\\\" >\\n<$action-setfield $tiddler=<<mystateTiddler>> text=<<next-item>> />\\n</$list>\\n\\\\end\\n\\n<!-- used by\\n - $:/plugins/kookma/commander/compInspect/main\\n-->\"},\"$:/plugins/kookma/commander/inspect/comp/show-preview\":{\"title\":\"$:/plugins/kookma/commander/inspect/comp/show-preview\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define compInspect-show-preview(tiddler, commonFields:\\\"\\\")\\n<$vars mainFields=\\\"title tags text\\\">\\n<table class=\\\"cmd-ci-table\\\">\\n<tr><td class=\\\"leftcol\\\">title</td>\\n<td class=\\\"rightcol\\\"><$link to=<<__tiddler__>> ><$text text=<<__tiddler__>> /></$link></td>\\n</tr>\\n\\n<tr><td class=\\\"leftcol\\\">tags</td>\\n<td style=\\\"padding:3px;\\\"><$macrocall $name=showTags tiddler=<<__tiddler__>> /></td>\\n</tr>\\n<tr><td class=\\\"leftcol\\\">text</td>\\n<td><$transclude tiddler=<<__tiddler__>> field=\\\"text\\\" mode=\\\"block\\\"/></td>\\n</tr>\\n<$list filter=\\\"[<__tiddler__>fields[]] -[enlist<mainFields>] -[enlist<__commonFields__>]\\\" variable=\\\"otherFld\\\">\\n<tr><td class=\\\"leftcol\\\"><<otherFld>></td>\\n<td class=\\\"rightcol\\\"><$transclude tiddler=<<__tiddler__>> field=<<otherFld>> mode=\\\"inline\\\"/></td>\\n</tr>\\n</$list>\\n</table>\\n</$vars>\\n\\\\end\\n\\n\\\\define showTags(tiddler)\\n<$list filter=\\\"[<__tiddler__>tags[]]\\\" variable=tagItem >\\n<$macrocall $name=tag tag=<<tagItem>> />\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/inspect/ui\":{\"title\":\"$:/plugins/kookma/commander/inspect/ui\",\"caption\":\"Inspect\",\"list-after\":\"$:/plugins/kookma/commander/field/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/InspectOps]!has[draft.of]]\\\" \\ndefault:\\\"$:/plugins/kookma/commander/inspect/uicomp/Inspection\\\"\\nclass:\\\"tc-vertical cmd-tab-wd\\\">>\\n\"},\"$:/plugins/kookma/commander/inspect/uicomp/Inspection\":{\"title\":\"$:/plugins/kookma/commander/inspect/uicomp/Inspection\",\"caption\":\"Inspect\",\"tags\":\"$:/tags/Commander/InspectOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$macrocall \\n $name=compInspect\\n filter=<<searchfilter>>\\n stateTiddler=\\\"commander\\\"\\n/>\"},\"$:/plugins/kookma/commander/license\":{\"title\":\"$:/plugins/kookma/commander/license\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Distributed under an MIT license.\\n\\nCopyright (c) 2018-2024 [[Mohammad Rahmani|https://github.com/kookma]]\\n\\n<<<\\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \\\"Software\\\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\\n<<<\"},\"$:/plugins/kookma/commander/log/ui\":{\"title\":\"$:/plugins/kookma/commander/log/ui\",\"caption\":\"Log status\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<div class=\\\"commander-alert\\\" style=\\\"padding:5px;font-size:0.90em;\\\">\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" actions=<<delete-all-log-tiddlers>>>Clear log</$button>\\n<$set name=\\\"resultCount\\\" value=\\\"\\\"\\\"<$count filter=\\\"[tag[$:/tags/Commander/LogOps]]\\\" />\\\"\\\"\\\">\\n<div class=\\\"tc-search-results\\\">\\n<span class=\\\"kk-commander-log-note\\\">Recent number of operations: <<resultCount>></span><br>\\n<$list filter=\\\"[tag[$:/tags/Commander/LogOps]] +[!sort[created]]\\\" variable=\\\"logTid\\\">\\n<b><$view tiddler=<<logTid>> field=\\\"created\\\" format=\\\"date\\\" template=\\\"YYYY-0MM-0DD 0hh:0mm:0ss\\\"/> \\n<$view tiddler=<<logTid>> field=\\\"caption\\\">\\n <$view tiddler=<<logTid>> field=\\\"title\\\"></$view>\\n</$view>\\n</b>\\n<ol><$list filter=\\\"[<logTid>indexes[]]\\\" variable=\\\"item\\\">\\n<li><$link to=<<item>>><<item>></$link>\\n<$set name=\\\"myItem\\\" tiddler=<<logTid>> index=<<item>> >\\n<$list filter=\\\"[<myItem>!search[existed]]\\\" variable=\\\"ignore\\\" \\n emptyMessage=\\\"\\\"\\\"<span style=\\\"color:red;\\\"><<myItem>></span>\\\"\\\"\\\" >\\n<span class=\\\"kk-commander-log-item\\\"><<myItem>></span>\\n</$list>\\n</$set>\\n</li>\\n</$list></ol>\\n</$list>\\n</div>\\n</$set>\\n</div>\"},\"$:/plugins/kookma/commander/macros/compConfirmAction\":{\"title\":\"$:/plugins/kookma/commander/macros/compConfirmAction\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define compConfirmAction(\\nbtnLabel:\\\"Delete these tiddlers\\\", \\nconfirmMessage:\\\"Are you sure you wish to delete\\\", \\nstateTiddler:\\\"\\\"\\ncountFilter:\\\"\\\", \\nactionMacro:\\\"\\\")\\n<$set name=resultCount value={{{ [subfilter<__countFilter__>count[]] }}} >\\n<$reveal type=\\\"gt\\\" text=\\\"0\\\" default=<<resultCount>> >\\n<$button popup=<<qualify \\\"\\\"\\\"$stateTiddler$\\\"\\\"\\\">> class=\\\"cmd-btn\\\">$btnLabel$</$button>\\n</$reveal>\\n<$reveal state=<<qualify \\\"\\\"\\\"$stateTiddler$\\\"\\\"\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n$confirmMessage$ <<resultCount>> tiddler(s)?\\n</div>\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$button class=\\\"cmd-btn\\\"> $btnLabel$\\n<$macrocall $name=<<__actionMacro__>> />\\n</$button>\\n</div>\\n</div>\\n</div>\\n</$reveal>\\n</$set>\\n\\\\end\"},\"$:/plugins/kookma/commander/macros/definition\":{\"title\":\"$:/plugins/kookma/commander/macros/definition\",\"description\":\"some macro are not used REMOVE THEM\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define tempPath() $:/temp/commander\\n\\n\\\\define searchboxTid() $(tempPath)$/search-box\\n\\\\define selectiveOpsTid() $(tempPath)$/selective-operation\\n\\n\\n\\\\define workingTag() $:/tags/Commander/Working\\n\\\\define exportTagTid() $:/temp/commander/exportTag\\n\\\\define systemFieldsTid() $:/plugins/kookma/commander/config/systemfields\\n\\\\define commonFieldsTid() $:/plugins/kookma/commander/config/commonfields\"},\"$:/plugins/kookma/commander/macros/logging\":{\"title\":\"$:/plugins/kookma/commander/macros/logging\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define set-title() $:/temp/commander/logs/tid-{{{[tag[$:/tags/Commander/LogOps]count[]add[1]]}}}\\n\\n\\\\define create-log-tiddler(msg)\\n<$wikify name=\\\"myTitle\\\" text=\\\"\\\"\\\"<<set-title>>\\\"\\\"\\\">\\n<$wikify name=\\\"myCaption\\\" text=\\\"\\\"\\\"<$macrocall $name=\\\"set-caption\\\" msg=<<__msg__>> />\\\"\\\"\\\">\\n<$action-createtiddler $basetitle=<<myTitle>>\\n$savetitle=\\\"$:/state/commander/log-tiddler\\\"\\ntags=\\\"$:/tags/Commander/LogOps\\\"\\ntype=\\\"application/json\\\"\\ncaption=<<__msg__>>\\n/>\\n</$wikify>\\n</$wikify>\\n\\\\end\\n\\n\\\\define log-add-single-operation(msg:\\\"commander operation\\\", tidItem:\\\"no item\\\")\\n<$action-setfield $tiddler={{$:/state/commander/log-tiddler}} $index=<<__tidItem__>> $value=<<__msg__>> />\\n\\\\end\\n\\n\\n\\\\define delete-all-log-tiddlers()\\n<$action-deletetiddler $filter=\\\"[tag[$:/tags/Commander/LogOps]]\\\" />\\n\\\\end\"},\"$:/plugins/kookma/commander/macros/remove-workingtag\":{\"title\":\"$:/plugins/kookma/commander/macros/remove-workingtag\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define remove-working-tag(oldTag)\\n<$list filter=\\\"[all[shadows+tiddlers]tag<workingTag>limit[1]]\\\" variable=ignore>\\n<<create-log-tiddler \\\"remove-workingTag\\\">>\\n<$list filter=\\\"[all[shadows+tiddlers]tag<workingTag>]\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=<<__oldTag__>> />\\n</$fieldmangler>\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"working tag `$oldTag$` removed\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\n\"},\"$:/plugins/kookma/commander/macros/slider\":{\"title\":\"$:/plugins/kookma/commander/macros/slider\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define commander-slider(title, default:\\\"closed\\\")\\n<$set name=\\\"revealState\\\" value=<<qualify \\\"$:/state/commander/reveal/$title$\\\">>>\\n<h3>\\n <$reveal type=\\\"nomatch\\\" state=<<revealState>> text=\\\"open\\\" default=\\\"$default$\\\">\\n <$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" set=<<revealState>> setTo=\\\"open\\\">\\n {{$:/core/images/right-arrow}}\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" state=<<revealState>> text=\\\"open\\\" default=\\\"$default$\\\">\\n <$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" set=<<revealState>> setTo=\\\"closed\\\">\\n {{$:/core/images/down-arrow}}\\n </$button>\\n </$reveal>\\n <$view tiddler=\\\"$title$\\\" field=\\\"caption\\\">\\n <$view tiddler=\\\"$title$\\\" field=\\\"title\\\"></$view>\\n </$view>\\n</h3>\\n\\n<$reveal type=\\\"match\\\" state=<<revealState>> text=\\\"open\\\" default=\\\"$default$\\\">\\n<$transclude tiddler=\\\"$title$\\\" mode=\\\"block\\\" />\\n</$reveal>\\n</$set>\\n\\\\end\"},\"$:/plugins/kookma/commander/macros/utility\":{\"title\":\"$:/plugins/kookma/commander/macros/utility\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define display(label,text)\\n<$set name=\\\"stateTid\\\" value=\\\"$:/temp/commander/display/popup/$label$\\\" >\\n<$button popup=<<stateTid>> class=\\\"tc-btn-invisible\\\"><span style=\\\"text-decoration: underline\\\">$label$</span></$button>\\n<$reveal type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" state=<<stateTid>> animate=\\\"yes\\\">\\n<span style=\\\"color:blue;\\\"><$text text=<<__text__>> /></span></$reveal>\\n</$set>\\n\\\\end\\n\\n\\\\define is-filterSeearch-newer-than-selectedTitles(TidA, TidB)\\n<$set name=\\\"tidAMod\\\" value={{{ [[$TidA$]get[modified]] }}}>\\n<$set name=\\\"tidBMod\\\" value={{{ [[$TidB$]get[modified]] }}}>\\n<$set name=\\\"tidAText\\\" value={{{ [[$TidA$]get[text]] }}}>\\n<$set name=\\\"tidBText\\\" value={{{ [[$TidB$]get[text]] }}}>\\n<$list filter=\\\"[<__TidB__>get[text]minlength[1]]\\\" variable=ignore>\\n<$reveal type=\\\"nomatch\\\" default=<<tidAText>> text=<<tidBText>>>\\n<$list filter=\\\"[<tidAMod>] [<tidBMod>] +[nsort[]last[1]removesuffix<tidBMod>]\\\">\\nA new filter search has been detected, click on the search button to apply it.\\n</$list>\\n</$reveal>\\n</$list>\\n</$set>\\n</$set>\\n</$set>\\n</$set>\\n\\\\end\\n\\n!!Remarks\\n;is-filterSeearch-newer-than-selectedTitles\\n* Checks `TidA` and `TidB` for modified date and text\\n* If They are not empty, then\\n** checks if the text of two are equal, if not\\n** checks to see if `TidB` is newer or not\\n** if newer shows a message, to apply the new search filter\\n* Note\\n** `TidA=\\\"$:/temp/commander\\\"`\\n** `TidB=\\\"$:/temp/commander/search-box\\\"`\\n* is-filterSeearch-newer-than-selectedTitles is called from $:/plugins/kookma/commander/search/ui\\n\\n;display\\n* gets a label and a text\\n* create an inline label\\n* on click label, the text is displayed as temporary popup\\n* losing focus, the text goes hidden\\n* this macro is used in customized compSelective to show the active filter\"},\"$:/plugins/kookma/commander/plugin.info\":{\"created\":\"20250707191023860\",\"title\":\"$:/plugins/kookma/commander/plugin.info\",\"type\":\"application/json\",\"text\":\"{\\n \\\"title\\\": \\\"$:/plugins/kookma/commander\\\",\\n \\\"version\\\": \\\"2.1.14\\\",\\n \\\"stability\\\": \\\"STABILITY_2_STABLE\\\",\\n \\\"name\\\": \\\"Tiddler Commander\\\",\\n \\\"description\\\": \\\"Streamline tiddler management: bulk operations for titles, tags, and fields\\\",\\n \\\"author\\\": \\\"Mohammad Rahmani\\\",\\n \\\"source\\\": \\\"https://github.com/kookma/TW-Commander\\\",\\n \\\"list\\\": \\\"readme license history\\\",\\n \\\"plugin-priority\\\": \\\"\\\",\\n \\\"parent-plugin\\\": \\\"\\\",\\n \\\"dependents\\\": \\\"\\\",\\n \\\"plugin-type\\\": \\\"plugin\\\",\\n \\\"core-version\\\": \\\">=5.3.5\\\",\\n \\\"packaged-by\\\": \\\"Gatha on 7th July 2025, 22:40:23\\\"\\n}\",\"modified\":\"20250707191023861\"},\"$:/plugins/kookma/commander/readme\":{\"title\":\"$:/plugins/kookma/commander/readme\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"; Tiddler Commander\\nTiddler Commander, in short ''Commander'' is a unique tool for batch operations on tiddlers. Commander has the below features\\n\\n* Bulk tiddler creation/deletion\\n* Combo search to filter and select tiddlers\\n* Title operation: add, remove prefixes and suffixes, also remove cahras form begining and end of title (on renaming tiddlers, [[relink|$:/plugins/kookma/commander/help/uicomp/relink]] can be used to update title in other tiddlers)\\n* Tag operation: add, remove, replace\\n* Field operation: add, remove, rename, and set field value\\n* SNR, search and replace in all fields including text, tags, //title//, and common fields\\n* Inspect, to review and inspect tiddlers in one place, scroll among them and edit all fields (including common fields), tags, text (title is an exception!)\\n* Log, create logs of all operations\\n* Search, //save and load// any combination of filter search\\n\\n; Start Commander\\n* Normally Commander adds its icon: <span class=\\\"cmd-doc\\\">{{$:/plugins/kookma/commander/images/commander.svg}}</span> to page controls.\\n* Open the right sidebar and click on the <span class=\\\"cmd-doc\\\">{{$:/plugins/kookma/commander/images/commander.svg}}</span> Commander is started\\n* In standard Tiddlywiki, control buttons are shown on the right sidebar under site title.\\n\\n; Code and demo\\nFor learning plugin features, syntax, tutorial and examples see the plugin demo and code pages\\n\\n* Demo: https://kookma.github.io/TW-Commander/\\n* Code: https://github.com/kookma/TW-Commander\\n\\n<style>\\n.cmd-doc svg{\\nwidth: 1.2em;\\nheight: 1.2em;\\nvertical-align: middle;}\\n</style>\"},\"$:/plugins/kookma/commander/search/filter-button/clear\":{\"title\":\"$:/plugins/kookma/commander/search/filter-button/clear\",\"list-after\":\"$:/plugins/kookma/commander/search/filter-button/search\",\"tags\":\"$:/tags/Commander/Search/FilterButton\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/kookma/commander/macros/definition\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<searchboxTid>> stateField=\\\"text\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip=\\\"clear search box and selected tiddlers\\\">\\n<$action-setfield $tiddler=<<searchboxTid>> $field=\\\"text\\\" $value=\\\"\\\"/>\\n<$action-setfield $tiddler=\\\"$:/temp/commander\\\" $field=\\\"text\\\" $value=\\\"\\\"/>\\n<$action-setfield $tiddler=\\\"$:/state/commander/snr/select-tiddler\\\" $field=\\\"text\\\" $value=\\\"\\\"/><!-- SNR selection -->\\n<$action-setfield $tiddler=\\\"$:/state/compInspect/temp/commander/selectState-tiddler\\\" $field=\\\"text\\\" $value=\\\"\\\"/> <!-- Inspect selection -->\\n{{$:/core/images/close-button}}\\n</$button>\\n</$reveal>\\n\\n<!--\\nthere is extra action should be removed\\n-->\"},\"$:/plugins/kookma/commander/search/filter-button/dropdown\":{\"title\":\"$:/plugins/kookma/commander/search/filter-button/dropdown\",\"tags\":\"$:/tags/Commander/Search/FilterButton\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/kookma/commander/macros/definition\\n\\\\whitespace trim\\n\\n<span class=\\\"tc-popup-keep\\\">\\n<$button popup=<<qualify \\\"$:/state/commander/filterDropdown\\\">> class=\\\"tc-btn-invisible\\\" tooltip=\\\"select a search filter\\\">\\n{{$:/core/images/down-arrow}}\\n</$button>\\n</span>\\n\\n<$reveal state=<<qualify \\\"$:/state/commander/filterDropdown\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n<$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n<$linkcatcher to=<<searchboxTid>> >\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/Filter]!is[draft]]\\\">\\n<$link to={{!!filter}}><$let tv-wikilinks=\\\"no\\\"><$transclude field=\\\"description\\\"/></$let></$link>\\n</$list>\\n</div>\\n</div>\\n</$linkcatcher>\\n</$set>\\n</$reveal>\"},\"$:/plugins/kookma/commander/search/filter-button/save\":{\"title\":\"$:/plugins/kookma/commander/search/filter-button/save\",\"list-after\":\"$:/plugins/kookma/commander/search/filter-button/clear\",\"tags\":\"$:/tags/Commander/Search/FilterButton\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/kookma/commander/macros/definition\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<searchboxTid>> stateField=\\\"text\\\" text=\\\"\\\">\\n<$button class=\\\"tc-btn-invisible\\\" tooltip=\\\"save current search\\\" popup=<<qualify \\\"$:/state/commander/SaveDropdown\\\">> >\\n{{$:/core/images/file}}\\n</$button>\\n</$reveal>\\n\\n<$reveal state=<<qualify \\\"$:/state/commander/SaveDropdown\\\">> type=\\\"popup\\\" class=\\\"tc-popup-keep\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<div class=\\\"tc-dropdown-item-plain\\\">\\nSave new search filter<br><br>\\n<$edit-text\\ntiddler=\\\"$:/temp/commander/save-new-filter\\\"\\ntag=\\\"input\\\"\\ndefault=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\"\\nplaceholder=\\\"description for new filter\\\"\\n/> <br><br>\\n\\n<$button class=\\\"tc-btn\\\"> Save new filter\\n<$macrocall $name=\\\"create-new-filter\\\" \\n description={{$:/temp/commander/save-new-filter}} \\n\\tbasetitle=\\\"$:/plugins/kookma/commander/filters/yourFilter\\\" \\n\\tfilter={{{[<searchboxTid>get[text]]}}} \\t/>\\n<$action-deletetiddler $tiddler=\\\"$:/temp/commander/save-new-filter\\\"/>\\n<$action-deletetiddler $tiddler=<<qualify \\\"$:/state/commander/SaveDropdown\\\">> />\\n</$button>\\n</div>\\n</div>\\n</div>\\n</$reveal>\\n\\n<!-- ToDO\\ncorrect classes for textbox\\n-->\"},\"$:/plugins/kookma/commander/search/macros/create-new-filter\":{\"title\":\"$:/plugins/kookma/commander/search/macros/create-new-filter\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define create-new-filter(description:\\\"\\\", basetitle:\\\"\\\", filter:\\\"\\\")\\n<$list filter=\\\"[<__description__>!is[blank]]\\\" variable=\\\"ignore\\\">\\n<$action-createtiddler \\n $basetitle=\\\"\\\"\\\"$basetitle$\\\"\\\"\\\"\\n tags=\\\"$:/tags/Commander/Filter\\\"\\n description=<<__description__>>\\n filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\"\\n /> \\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/search/macros/select-deselect\":{\"title\":\"$:/plugins/kookma/commander/search/macros/select-deselect\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define select-all()\\n<$list filter=\\\"[subfilter<filtertext>!is[missing]!tag<workingTag>]\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<workingTag>> />\\n</$fieldmangler>\\n\\\\end\\n\\n\\\\define deselect-all()\\n<$list filter=\\\"[tag<workingTag>]\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=<<workingTag>> />\\n</$fieldmangler>\\n\\\\end\"},\"$:/plugins/kookma/commander/search/macros/warning\":{\"title\":\"$:/plugins/kookma/commander/search/macros/warning\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define warn-for-selectedTids-from-previous-operation()\\n<$list filter=\\\"[tag<workingTag>]-[subfilter<filtertext>]+[count[]!match[0]] \\\">\\n<span style=\\\"color:red;font-size:0.85em\\\">There are remained selected tiddlers from previous search! Remove them by pressing ''deselect all''!</span>\\n</$list>\\n\\\\end\"},\"$:/plugins/kookma/commander/search/selection\":{\"title\":\"$:/plugins/kookma/commander/search/selection\",\"caption\":\"Select tiddlers\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/kookma/commander/macros/definition\\n<$checkbox tiddler=<<selectiveOpsTid>> field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\" uncheckactions=<<deselect-all>> > Selective operation?</$checkbox>\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<selectiveOpsTid>> stateField=\\\"text\\\" text=\\\"yes\\\" tag=\\\"div\\\" class=\\\"kk-commander-tiddler-list kk-commander-columns3\\\">\\n<$list filter=\\\"[subfilter<filtertext>!prefix[$:/temp/commander]!is[missing]]\\\"><$link/><br></$list>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<selectiveOpsTid>> stateField=\\\"text\\\" text=\\\"yes\\\" tag=\\\"div\\\">\\n<$button actions=<<select-all>> > Select all</$button> <$button actions=<<deselect-all>> > Deselect all</$button>\\n<small style=\\\"margin-left:10px;\\\">Number of tiddlers selected: <$count filter=\\\"[tag<workingTag>]\\\" /></small><br>\\n<<warn-for-selectedTids-from-previous-operation>>\\n</$reveal>\\n\\n\\n<$reveal type=\\\"match\\\" stateTitle=<<selectiveOpsTid>> stateField=\\\"text\\\" text=\\\"yes\\\" tag=\\\"div\\\" class=\\\"kk-commander-tiddler-list kk-commander-columns3\\\">\\n<$list filter=\\\"[subfilter<filtertext>!prefix[$:/temp/commander]!is[missing]]\\\">\\n<$checkbox tag=<<workingTag>>> <$link/></$checkbox><br>\\n</$list>\\n</$reveal>\\n\\n<!-- Description\\nThis tiddler implement interface to selectivly add tiddlers for commander operations.\\nEach selected tiddler gets a working tag\\n-->\"},\"$:/plugins/kookma/commander/search/ui\":{\"title\":\"$:/plugins/kookma/commander/search/ui\",\"caption\":\"Commander filter search\",\"code-body\":\"yes\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<div class=\\\"tc-search tc-advanced-search\\\" style=\\\"margin-bottom:-12px;\\\"><!-- negative margin for displaying matches -->\\nCombo search &nbsp;<$edit-text tiddler=<<searchboxTid>> type=\\\"search\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder=\\\"enter keywords or make a filter search e.g. [tag[myTag]]\\\" focus={{$:/plugins/kookma/commander/config/AutoFocus}}/>\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/Search/FilterButton]!has[draft.of]]\\\"><$transclude/></$list>\\n</div>\"},\"$:/plugins/kookma/commander/setting/ui\":{\"title\":\"$:/plugins/kookma/commander/setting/ui\",\"caption\":\"Setting\",\"icon\":\"$:/core/images/options-button\",\"list-after\":\"$:/plugins/kookma/commander/inspect/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/Setting]!has[draft.of]]\\\" \\ndefault:\\\"$:/plugins/kookma/commander/setting/uicomp/snr\\\"\\nclass:\\\"tc-vertical cmd-tab-colorful cmd-tab-wd\\\">>\\n\"},\"$:/plugins/kookma/commander/setting/uicomp/delete-all-temp-tiddlers\":{\"title\":\"$:/plugins/kookma/commander/setting/uicomp/delete-all-temp-tiddlers\",\"caption\":\"Temporary tiddlers\",\"list-after\":\"$:/plugins/kookma/commander/setting/uicomp/relink\",\"tags\":\"$:/tags/Commander/Setting\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define delete-all-temps()\\n<$action-deletetiddler $filter=\\\"[search:title[$:/temp/commander/]]\\\" />\\n\\\\end\\n\\n<$set name=numTids value={{{ [search:title[$:/temp/commander/]count[]] }}}>\\n<$reveal type=\\\"match\\\" text=\\\"0\\\" default=<<numTids>> >\\nNo temporary tiddlers is existed to delete!\\n</$reveal>\\n<$reveal type=\\\"gt\\\" text=\\\"0\\\" default=<<numTids>> >\\nNumber of temporary tiddlers (including log tiddlers): <<numTids>><br>\\n</$reveal>\\n</$set>\\n\\n<$macrocall $name=\\\"compConfirmAction\\\"\\nbtnLabel=\\\"Delete temp tiddlers\\\" \\nconfirmMessage=\\\"Are you sure you wish to delete\\\"\\nstateTiddler=\\\"$:/state/commander/setting/delete-temps\\\"\\ncountFilter=\\\"[search:title[$:/temp/commander/]]\\\"\\nactionMacro=\\\"delete-all-temps\\\"/>\"},\"$:/plugins/kookma/commander/setting/uicomp/minlength\":{\"title\":\"$:/plugins/kookma/commander/setting/uicomp/minlength\",\"caption\":\"Search minimum length\",\"tags\":\"$:/tags/Commander/Setting\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Controls the minimum length of a search string before results are displayed.\\n\\n<label class=\\\"kk-cmd-label\\\">Minlength</label><$edit-text tiddler=\\\"$:/plugins/kookma/commander/config/minlength\\\" field=text default=3 placeholder=\\\"enter a number\\\" tag=input/>\"},\"$:/plugins/kookma/commander/setting/uicomp/search-filters\":{\"title\":\"$:/plugins/kookma/commander/setting/uicomp/search-filters\",\"caption\":\"Search filter\",\"tags\":\"$:/tags/Commander/Setting\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"The below list shows the Commander search filter. To edit click on the link and edit tiddler for filter syntax or description\\n\\n<details>\\n<summary>Commander saved filter search</summary>\\n<dl>\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/Commander/Filter]]\\\" >\\n<dt><$link/></dt>\\n<dd><span style=\\\"display:inline-block;font-weight:700;width:100px\\\">Description:</span><$view field=\\\"description\\\"/></dd>\\n<dd><span style=\\\"display:inline-block;font-weight:700;width:100px\\\">Filter:</span><$view field=\\\"filter\\\"/></dd>\\n</$list>\\n</dl>\\n</details>\"},\"$:/plugins/kookma/commander/setting/uicomp/snr\":{\"title\":\"$:/plugins/kookma/commander/setting/uicomp/snr\",\"caption\":\"Snr setting\",\"tags\":\"$:/tags/Commander/Setting\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<snr-difftext-cleanup>>\\n<div style=\\\"padding-left:25px;font-size:0.9em\\\">\\n\\nThe cleanup attribute determines which optional post-processing should be applied to the diffs:\\n\\n* none: no cleanup is performed\\n* semantic (default): rewrites the diffs for human readability\\n* efficient: rewrites the diffs to minimise the number of operations for subsequent processing\\n</div>\"},\"$:/plugins/kookma/commander/snr/macros/actions\":{\"title\":\"$:/plugins/kookma/commander/snr/macros/actions\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define regexp-flags()\\n{{$:/config/commander/snr/gm}}{{$:/config/commander/snr/case-sensitive}}{{$:/config/commander/snr/unicode}}\\n\\\\end\\n\\n\\\\define snr-ui-show-diffs()\\n<form class=\\\"cmd-snr-form\\\" style=\\\"width:100%;\\\">\\n <fieldset>\\n <legend style=\\\"color:#FF0000;\\\">Differences</legend>\\nTiddler: <$link to={{$:/state/commander/snr/select-tiddler}}><$text text={{$:/state/commander/snr/select-tiddler}}/></$link>\\n\\n<$wikify name=flags text=<<regexp-flags>> >\\n\\n<$macrocall $name=\\\"replace-text-diff\\\" \\n tiddler={{$:/state/commander/snr/select-tiddler}} \\n field={{$:/state/commander/snr/select-tiddler/field}} \\n replace={{$:/state/commander/snr/replace-text}} \\n replaceWith={{$:/state/commander/snr/replace-text-with}} \\n flags=<<flags>> \\n wholeWords={{$:/config/commander/snr/whole-words}}\\n/>\\n\\n</$wikify>\\n</fieldset>\\n</form>\\n\\\\end\\n\\n\\\\define snr-check-diffs(tiddler:\\\"\\\", field:\\\"\\\")\\n\\\\whitespace trim\\n<$wikify name=flags text=<<regexp-flags>> >\\n<$wikify name=\\\"result\\\" text=\\\"\\\"\\\"\\n<$macrocall $name=\\\"replace-text\\\" \\n tiddler=<<__tiddler__>>\\n field=<<__field__>>\\n replace={{$:/state/commander/snr/replace-text}} \\n replaceWith={{$:/state/commander/snr/replace-text-with}} \\n flags=<<flags>> \\n wholeWords={{$:/config/commander/snr/whole-words}}\\n/>\\\"\\\"\\\">\\n<$reveal type=\\\"match\\\" text={{{ [<__tiddler__>get<__field__>] }}} default=<<result>> >\\nsame\\n</$reveal>\\n<$reveal type=\\\"nomatch\\\" text={{{ [<__tiddler__>get<__field__>] }}} default=<<result>> >\\ndifferent\\n</$reveal>\\n</$wikify>\\n</$wikify>\\n\\\\end\\n\\n\\\\define search-replace-in-tiddler-field(tiddler:\\\"\\\",field:\\\"\\\",replace:\\\"\\\",replaceWith:\\\"\\\")\\n<$wikify name=ss text=<<snr-check-diffs \\\"\\\"\\\"$tiddler$\\\"\\\"\\\" \\\"\\\"\\\"$field$\\\"\\\"\\\">> >\\n<$list filter=\\\"[<ss>] -same\\\" variable=ignore>\\n<$list filter=\\\"[<__tiddler__>has[title]]\\\" variable=\\\"ignore\\\">\\n<$wikify name=flags text=<<regexp-flags>> >\\n<$macrocall $name=\\\"replace-text-button\\\" \\n tiddler=<<__tiddler__>> \\n field=<<__field__>>\\n replace=<<__replace__>>\\n replaceWith=<<__replaceWith__>> \\n flags=<<flags>> \\n wholeWords={{$:/config/commander/snr/whole-words}}\\n/>\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"`$field$` field has been changed\\\"\\\"\\\" tidItem=<<__tiddler__>> />\\n<$macrocall $name=\\\"clear-select-tiddler-if-field-is-title\\\" tiddler=<<__tiddler__>> field=<<__field__>> />\\n</$wikify>\\n</$list>\\n</$list>\\n</$wikify>\\n\\\\end\\n\\n\\\\define clear-select-tiddler-if-field-is-title(tiddler, field)\\n<$list filter=\\\"[<__field__>] +[search[title]]\\\" variable=\\\"ignore\\\">\\n<$action-setfield $tiddler=\\\"$:/state/commander/snr/select-tiddler\\\" text=\\\"\\\"/>\\n<$action-setfield $tiddler=\\\"$:/temp/commander/selected-titles\\\" $index=<<__tiddler__>> />\\n</$list>\\n\\\\end\\n\\n\\\\define search-replace-in-field-bulk()\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<<create-log-tiddler \\\"SNR operation\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]]\\\" >\\n <$macrocall \\n $name=\\\"search-replace-in-tiddler-field\\\"\\n tiddler=<<currentTiddler>> \\n field={{$:/state/commander/snr/select-tiddler/field}} \\n replace={{$:/state/commander/snr/replace-text}} \\n replaceWith={{$:/state/commander/snr/replace-text-with}} \\n />\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define search-replace-in-field-single-tiddler()\\n<<create-log-tiddler \\\"SNR operation\\\">>\\n <$macrocall \\n $name=\\\"search-replace-in-tiddler-field\\\"\\n tiddler={{$:/state/commander/snr/select-tiddler}}\\n field={{$:/state/commander/snr/select-tiddler/field}} \\n replace={{$:/state/commander/snr/replace-text}} \\n replaceWith={{$:/state/commander/snr/replace-text-with}} \\n />\\n\\\\end\\n\\n\\\\define snr-actions()\\n<$button actions=<<search-replace-in-field-single-tiddler>> tooltip=\\\"search and replace in a single tiddler\\\" class=\\\"cmd-btn\\\">\\nReplace?\\n</$button>&nbsp;\\n<!-- replace in bulk tiddler with confirmation -->\\n<$macrocall $name=\\\"compConfirmAction\\\"\\ncountFilter=<<searchfilter>>\\nactionMacro=\\\"search-replace-in-field-bulk\\\"\\nstateTiddler=\\\"$:/state/commander/SelectiveReplaceAllDropdown\\\"\\nconfirmMessage=\\\"Are you sure you wish to replace text in\\\" \\nbtnLabel=\\\"Replace all?\\\"/>\\n\\\\end\"},\"$:/plugins/kookma/commander/snr/macros/inputs\":{\"title\":\"$:/plugins/kookma/commander/snr/macros/inputs\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define snr-ui-inputs()\\n<form class=\\\"cmd-snr-form\\\">\\n <fieldset>\\n <legend>Search and Replace</legend>\\n\\n<div class=\\\"item\\\">\\n<label>Tiddler title</label>\\n<$select tiddler=\\\"$:/state/commander/snr/select-tiddler\\\" default=\\\"\\\" class=\\\"cmd-snr-textbox\\\">\\n<option value=\\\"\\\">None</option>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\" >\\n<option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option>\\n</$list>\\n</$select>\\n</div>\\n\\n<div class=\\\"item\\\">\\n<label>Field name</label>\\n<$select tiddler=\\\"$:/state/commander/snr/select-tiddler/field\\\" default=\\\"text\\\">\\n<$list filter=\\\"[subfilter<searchfilter>fields[]]\\\">\\n<option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option>\\n</$list>\\n</$select>\\n</div>\\n\\n<div class=\\\"item\\\">\\n<label>Search text</label>\\n<$edit-text \\n tiddler=\\\"$:/state/commander/snr/replace-text\\\" \\n tag=\\\"input\\\" \\n default=\\\"\\\" \\n placeholder=\\\" text to replace\\\"\\n class=\\\"cmd-snr-textbox\\\"/>\\n</div>\\n\\n<div class=\\\"item\\\">\\n<label>Replace with </label>\\n<$edit-text \\n tiddler=\\\"$:/state/commander/snr/replace-text-with\\\" \\n tag=\\\"input\\\" \\n default=\\\"\\\" \\n placeholder=\\\" new text\\\"\\n class=\\\"cmd-snr-textbox\\\"/>\\n</div>\\n<!-- Use relink to update titles -->\\n<$list filter=\\\"[[$:/state/commander/snr/select-tiddler/field]get[text]match[title]]\\\" variable=ignore>\\n<div class=\\\"item-relink\\\">{{$:/plugins/kookma/commander/config/relink}}</div>\\n</$list>\\n</fieldset>\\n</form>\\n\\n\\n\\\\end\"},\"$:/plugins/kookma/commander/snr/macros/regexp-flags\":{\"title\":\"$:/plugins/kookma/commander/snr/macros/regexp-flags\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define snr-regexp-flags()\\n\\n<form class=\\\"cmd-snr-form\\\">\\n<fieldset>\\n<legend>Search flags</legend>\\n\\n<$checkbox \\n tiddler=\\\"$:/config/commander/snr/case-sensitive\\\" \\n field=\\\"text\\\" \\n checked=\\\"i\\\" \\n unchecked=\\\"\\\"\\n/>&nbsp; ignore case<br>\\n\\n<$checkbox \\n tiddler=\\\"$:/config/commander/snr/whole-words\\\" \\n field=\\\"text\\\" \\n checked=\\\"words\\\" \\n unchecked=\\\"characters\\\"\\n/>&nbsp; whole words<br>\\n\\n<$checkbox \\n tiddler=\\\"$:/config/commander/snr/unicode\\\" \\n field=\\\"text\\\" \\n checked=\\\"u\\\" \\n unchecked=\\\"\\\"\\n/>&nbsp; unicode<br>\\n\\n<br>\\n\\n<$radio\\n tiddler=\\\"$:/config/commander/snr/gm\\\" \\n field=\\\"text\\\" \\n value=\\\"\\\">&nbsp; first match \\n</$radio><br>\\n\\n<$radio\\n tiddler=\\\"$:/config/commander/snr/gm\\\" \\n field=\\\"text\\\" \\n value=\\\"g\\\">&nbsp; global match\\n</$radio><br>\\n\\n<$radio\\n tiddler=\\\"$:/config/commander/snr/gm\\\" \\n field=\\\"text\\\" \\n value=\\\"m\\\">&nbsp; multiline mode\\n</$radio><br>\\n\\n<$radio\\n tiddler=\\\"$:/config/commander/snr/gm\\\" \\n field=\\\"text\\\" \\n value=\\\"mg\\\">&nbsp; global multiline mode\\n</$radio>\\n\\n</fieldset>\\n</form>\\n\\\\end\"},\"$:/plugins/kookma/commander/snr/macros/regexpsub.js\":{\"title\":\"$:/plugins/kookma/commander/snr/macros/regexpsub.js\",\"text\":\"/*\\\\\\ncreated: 20190214160253135\\ntype: application/javascript\\ntitle: $:/plugins/kookma/commander/snr/macros/regexpsub.js\\nmodified: 20200307092210323\\nmodule-type: macro\\n\\nMake regular expression substitutions\\nDeveloped by Mark S\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"regexpsub\\\";\\n\\nexports.params = [\\n\\t{name: \\\"searchValue\\\"},\\n\\t{name: \\\"replaceValue\\\"},\\n\\t{name: \\\"sourceText\\\"},\\n\\t{name: \\\"flags\\\"},\\n {name: \\\"wholeWords\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(searchValue, replaceValue, sourceText, flags = \\\"gi\\\", wholeWords = \\\"characters\\\") {\\n \\n try {\\n \\n\\tvar searchText;\\n if(wholeWords.toLowerCase() === 'words'){\\n searchText = \\\"\\\\\\\\b\\\" + searchValue + \\\"\\\\\\\\b\\\";\\n } else{\\n searchText = searchValue;\\n }\\n\\t\\t\\n searchText = new RegExp(searchText, flags);\\n return sourceText.replace(searchText,replaceValue);\\n\\n } \\n catch(err) { \\n return \\\"ERROR IN REG EXPRESSION. YOU MAY NEED TO ESCAPE VALUES\\\"; \\n }\\n \\n };\\n\\n})();\\n\",\"created\":\"20190214160253135\",\"type\":\"application/javascript\",\"modified\":\"20200307092210323\",\"module-type\":\"macro\"},\"$:/plugins/kookma/commander/snr/macros/replace-text\":{\"title\":\"$:/plugins/kookma/commander/snr/macros/replace-text\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define nothing-to-replace(tiddler, field:\\\"text\\\") \\n<$diff-text source={{{ [<__tiddler__>get<__field__>] }}} dest={{{ [<__tiddler__>get<__field__>] }}} />\\n\\\\end\\n\\n\\\\define replace-text(tiddler:\\\"\\\",field:\\\"text\\\",replace:\\\"\\\",replaceWith:\\\"\\\",flags:\\\"\\\", wholeWords:\\\"\\\")\\n\\\\whitespace trim\\n<$wikify name=\\\"source\\\" text=\\\"\\\"\\\"<$view tiddler=<<__tiddler__>> field=<<__field__>> mode=\\\"block\\\" format=\\\"text\\\"/>\\\"\\\"\\\">\\n<$wikify name=\\\"result\\\" \\n text=\\\"\\\"\\\"<$macrocall $name=\\\"regexpsub\\\" $type=\\\"text/plain\\\" \\n sourceText=<<source>> \\n searchValue=<<__replace__>> \\n replaceValue=<<__replaceWith__>> \\n flags=<<__flags__>> \\n wholeWords=<<__wholeWords__>> />\\\"\\\"\\\" \\n >\\n<$text text=<<result>>/>\\n</$wikify>\\n</$wikify>\\n\\\\end\\n\\n\\\\define replace-text-diff(tiddler:\\\"\\\", field:\\\"text\\\", replace, replaceWith, flags:\\\"\\\", wholeWords:\\\"\\\")\\n<$list filter=\\\"[<__tiddler__>get<__field__>minlength[1]]\\\" variable=null emptyMessage=\\\"No tiddler is selected, or tiddler is empty.\\\">\\n<$list filter=\\\"[<__replace__>minlength[1]]\\\" variable=null emptyMessage=<<nothing-to-replace \\\"\\\"\\\"$tiddler$\\\"\\\"\\\" \\\"\\\"\\\"$field$\\\"\\\"\\\">> >\\n\\n<$wikify name=\\\"result\\\" \\n text=\\\"\\\"\\\"<$macrocall $name=\\\"replace-text\\\" \\n tiddler=<<__tiddler__>> field=<<__field__>> \\n replace=<<__replace__>> \\n replaceWith=<<__replaceWith__>> \\n flags=<<__flags__>>\\n wholeWords=<<__wholeWords__>> />\\\"\\\"\\\"\\n >\\n<$diff-text source={{{ [<__tiddler__>get<__field__>] }}} dest=<<result>> cleanup={{$:/state/commander/snr/setting/cleanup}}/>\\n</$wikify>\\n\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define replace-text-button(tiddler:\\\"\\\", field:\\\"text\\\", replace:\\\"\\\", replaceWith:\\\"\\\", flags:\\\"\\\", wholeWords:\\\"\\\")\\n\\\\whitespace trim\\n<$list filter=\\\"[<__tiddler__>get<__field__>minlength[1]]\\\" variable=null>\\n<$list filter=\\\"[<__replace__>minlength[1]]\\\" variable=null>\\n<$wikify name=\\\"result\\\" \\n text=\\\"\\\"\\\"<$macrocall $name=\\\"replace-text\\\" \\n tiddler=<<__tiddler__>> \\n field=<<__field__>> \\n replace=<<__replace__>> \\n replaceWith=<<__replaceWith__>> \\n flags=<<__flags__>>\\n wholeWords=<<__wholeWords__>> />\\\"\\\"\\\"\\n >\\n<$reveal type=\\\"nomatch\\\" default=\\\"title\\\" text=<<__field__>> >\\n <$action-setfield $tiddler=<<__tiddler__>> $field=<<__field__>> $value=<<result>>/>\\n</$reveal>\\n<$reveal type=\\\"match\\\" default=\\\"title\\\" text=<<__field__>> >\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<__tiddler__>> to=<<result>> />\\n</$reveal>\\n</$wikify>\\n</$list>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/snr/ui\":{\"title\":\"$:/plugins/kookma/commander/snr/ui\",\"caption\":\"Snr\",\"icon\":\"$:/core/images/gitter\",\"list-after\":\"$:/plugins/kookma/commander/inspect/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Search and replcae in tiddler fields!\\n\\n<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/SnrOps]!has[draft.of]]\\\" \\ndefault:\\\"$:/plugins/kookma/commander/snr/uicomp/replace-text\\\"\\nclass:\\\"tc-vertical cmd-tab-colorful cmd-tab-wd\\\">>\\n\\n\"},\"$:/plugins/kookma/commander/snr/uicomp/replace-text\":{\"title\":\"$:/plugins/kookma/commander/snr/uicomp/replace-text\",\"caption\":\"Search and replace\",\"icon\":\"$:/core/images/gitter\",\"tags\":\"$:/tags/Commander/SnrOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<div class=\\\"cmd-snr-row\\\">\\n<div class=\\\"cmd-snr-double-column\\\">\\n<<snr-ui-inputs>>\\n</div>\\n<div class=\\\"cmd-snr-column\\\">\\n<<snr-regexp-flags>> \\n</div>\\n</div>\\n<<snr-ui-show-diffs>>\\n<<snr-actions>>\"},\"$:/plugins/kookma/commander/styles/buttons\":{\"title\":\"$:/plugins/kookma/commander/styles/buttons\",\"text\":\"/*\\n.cmd-btn{\\n\\tfont-size:0.85em;\\n\\tfont-size:300;\\n\\tcolor: #666666;\\n\\tbackground-color: #d8d8d8;\\n\\tpadding: 3px 8px 3px 8px;\\n\\tborder: 1px solid #a1a1a1;\\n}\\n*/\\n\\n.cmd-btn-wd{\\n\\twidth:20ch;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/styles/compInspect/table\":{\"title\":\"$:/plugins/kookma/commander/styles/compInspect/table\",\"text\":\"/*compInspect table*/\\n.cmd-ci-table{\\n\\tborder-collapse: collapse;\\n}\\n\\n.cmd-ci-table .leftcol{\\n\\twidth:20%;\\n\\tvertical-align: top;\\n\\ttext-align: right;\\n\\tbackground-color:#f0f0f0;\\n}\\n.cmd-ci-table .rightcol{\\n\\twidth:650px;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/styles/log\":{\"title\":\"$:/plugins/kookma/commander/styles/log\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\".commander-alert {\\n\\tpadding: 0.75rem 1.25rem;\\n\\tmargin-bottom: 1rem;\\n\\t/*border: 1px dotted gray;*/\\n\\tborder-radius: 0.25rem;\\n\\t\\n\\tcolor: <<colour message-foreground>>; /*#0c5460;*/\\n\\tbackground-color:<<colour message-background>>; /*#d1ecf1;*/\\n\\tborder-color: <<colour message-border>>; /*#bee5eb;*/\\n}\\n\\n.kk-commander-log-note{\\n\\tfont-style:italic; font-size:small;\\n}\\n.kk-commander-log-item {\\n\\t/*color:green;*/\\n}\"},\"$:/plugins/kookma/commander/styles/other\":{\"title\":\"$:/plugins/kookma/commander/styles/other\",\"text\":\"\\n/* This is missing and I added it */\\n.cmd-txt-area{\\n\\tmin-width:25ch;\\n}\\n\\n.cmd-txt-area2{\\n\\tmin-width:50ch;\\n}\\n\\n/* Correct this later*/\\n.kk-cmd-label{\\n\\tdisplay:inline-block;\\n\\twidth:85px;\\n}\\n\\n.kk-cmd-label2{\\n\\tdisplay:inline-block;\\n\\twidth:120px;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/styles/select-width\":{\"title\":\"$:/plugins/kookma/commander/styles/select-width\",\"text\":\".cmd-sl{\\n width:8ch;\\n}\\n\\n.cmd-select-wd{\\n min-width:25ch;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/styles/snr/flexbox\":{\"title\":\"$:/plugins/kookma/commander/styles/snr/flexbox\",\"text\":\".cmd-snr-row {\\n display: flex;\\n flex-direction: row;\\n flex-wrap: wrap;\\n width: 100%;\\n}\\n.cmd-snr-column {\\n display: flex;\\n flex-direction: column;\\n flex-basis: 100%;\\n flex: 1\\n}\\n\\n.cmd-snr-double-column {\\n display: flex;\\n flex-direction: column;\\n flex-basis: 100%;\\n flex: 2\\n}\\n\\n@media screen and (min-width: 800px) {\\n .cmd-snr-column {\\n flex: 1\\n }\\n\\n .cmd-snr-double-column {\\n flex: 2\\n }\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/styles/snr/form\":{\"title\":\"$:/plugins/kookma/commander/styles/snr/form\",\"text\":\".cmd-snr-form{\\n width:100%;\\n}\\n\\n.cmd-snr-textbox {\\n width:100%;\\n box-sizing: border-box;\\n max-width:40ch;\\n }\\n\\n.cmd-snr-form select, .cmd-snr-form input{\\n margin: 0.2rem;\\n}\\n.cmd-snr-form legend{\\n background: #f5f5f5;\\n padding: 3px 6px;\\n}\\n\\n.cmd-snr-form { padding:20px; }\\n.cmd-snr-form .item { padding: 2px; margin:2px; }\\n.cmd-snr-form .item label { display:inline-block; width:100px; margin-left:5px; }\\n.cmd-snr-form .item input { display:inline-block; }\\n.cmd-snr-form .item select { display:inline-block; }\\n\\n/* only for relink checkbox on renaming tiddler */\\n.cmd-snr-form .item-relink { padding: 2px; margin:2px; }\\n\\n \",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/styles/tiddler-list\":{\"title\":\"$:/plugins/kookma/commander/styles/tiddler-list\",\"text\":\".kk-commander-tiddler-list {\\n\\tfont-size:small; \\n\\tborder-left:0.5px dotted grey;\\n\\tpadding-left:10px;\\n\\toverflow-y:auto;\\n\\tmax-width:100%;\\n/*\\tmax-height:$(height)$; */\\n}\\n\\n.kk-commander-columns1 { display:block; column-count:1; column-gap:1em; }\\n.kk-commander-columns2 { display:block; column-count:2; column-gap:1em; }\\n.kk-commander-columns3 { display:block; column-count:3; column-gap:1em; }\\n.kk-commander-columns4 { display:block; column-count:4; column-gap:1em; }\\n.kk-commander-columns5 { display:block; column-count:5; column-gap:1em; }\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/commander/tag/macros/add-remove-replace\":{\"title\":\"$:/plugins/kookma/commander/tag/macros/add-remove-replace\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define add-new-tag-bulk(newTag:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__newTag__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"add-new-tag-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>!tag<__newTag__>]\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<__newTag__>> />\\n</$fieldmangler>\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"new tag `$newTag$` added\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define remove-old-tag-bulk(oldTag:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore>\\n<$list filter=\\\"[<__oldTag__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"remove-old-tag-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>tag<__oldTag__>]\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=<<__oldTag__>> />\\n</$fieldmangler>\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"old tag `$oldTag$` removed\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define replace-tag-bulk(oldTag:\\\"\\\", newTag:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore>\\n<$list filter=\\\"[<__oldTag__>!is[blank]]\\\" variable=null>\\n<$list filter=\\\"[<__newTag__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"replace-tag-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\">\\n<$list filter=\\\"[<currentTiddler>tag<__oldTag__>]\\\" variable=ignore\\n emptyMessage=\\\"\\\"\\\"<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"//has not tag `$oldTag$`. Operation ignored.//\\\" tidItem=<<currentTiddler>> /> \\\"\\\"\\\">\\n<$fieldmangler>\\n<$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<__newTag__>> />\\n<$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=<<__oldTag__>> />\\n</$fieldmangler>\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"tag `$oldTag$` replaced with `$newTag$`\\\"\\\"\\\" tidItem=<<currentTiddler>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\"},\"$:/plugins/kookma/commander/tag/ui\":{\"title\":\"$:/plugins/kookma/commander/tag/ui\",\"caption\":\"Tag\",\"list-after\":\"$:/plugins/kookma/commander/title/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/TagOps]!has[draft.of]]\\\" default:\\\"$:/plugins/kookma/commander/tag/uicomp/add-remove-tags\\\" \\nclass:\\\"tc-vertical cmd-tab-wd\\\">>\\n\\n\"},\"$:/plugins/kookma/commander/tag/uicomp/add-remove-tags\":{\"title\":\"$:/plugins/kookma/commander/tag/uicomp/add-remove-tags\",\"caption\":\"Add remove tags\",\"tags\":\"$:/tags/Commander/TagOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<label class=\\\"kk-cmd-label\\\">New tag</label><$edit-text\\ntiddler=\\\"$:/temp/commander/tag-add-remove/new\\\"\\ntag=\\\"input\\\"\\ndefault=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\"\\nplaceholder=\\\" new tag\\\"/>\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Add new tag\\n<$macrocall $name=\\\"add-new-tag-bulk\\\" newTag={{$:/temp/commander/tag-add-remove/new}} />\\n</$button>\\n\\n<label class=\\\"kk-cmd-label\\\">Old tag</label><$select class=\\\"cmd-select-wd\\\" tiddler=\\\"$:/temp/commander/tag-add-remove/old\\\" default=\\\"\\\" >\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]tags[]sort[]]-[<workingTag>]\\\" >\\n<option><$view field=\\\"title\\\"/></option>\\n</$list>\\n</$select>\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Remove old tag\\n<$macrocall $name=\\\"remove-old-tag-bulk\\\" oldTag={{$:/temp/commander/tag-add-remove/old}} />\\n</$button>\\n\\n\"},\"$:/plugins/kookma/commander/tag/uicomp/replace-tags\":{\"title\":\"$:/plugins/kookma/commander/tag/uicomp/replace-tags\",\"caption\":\"Replace tags\",\"list-after\":\"$:/plugins/kookma/commander/tag/uicomp/add-remove-tags\",\"tags\":\"$:/tags/Commander/TagOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<label class=\\\"kk-cmd-label\\\">Old tag</label><$select class=\\\"cmd-select-wd\\\" tiddler=\\\"$:/temp/commander/replace-tags/old\\\" default=\\\"\\\">\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]tags[]sort[]]-[<workingTag>]\\\" >\\n<option><$view field=\\\"title\\\"/></option>\\n</$list>\\n</$select>\\n\\n<label class=\\\"kk-cmd-label\\\">New tag</label><$edit-text\\ntiddler=\\\"$:/temp/commander/replace-tags/new\\\"\\ntag=\\\"input\\\"\\ndefault=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\"\\nplaceholder=\\\" new tag\\\"\\n/>\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Replace tag\\n<$macrocall $name=\\\"replace-tag-bulk\\\" \\noldTag={{$:/temp/commander/replace-tags/old}} \\nnewTag={{$:/temp/commander/replace-tags/new}} />\\n</$button>\\n\\n\"},\"$:/plugins/kookma/commander/template/base\":{\"title\":\"$:/plugins/kookma/commander/template/base\",\"caption\":\"base\",\"tags\":\"$:/tags/Commander/Template\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"This is a simple one!\"},\"$:/plugins/kookma/commander/template/doc\":{\"title\":\"$:/plugins/kookma/commander/template/doc\",\"caption\":\"documentation\",\"tags\":\"$:/tags/Commander/Template\",\"type\":\"text/vnd.tiddlywiki\",\"version\":\"beta\",\"text\":\"!! Introduction\\n<<<\\nshort introduction\\n<<<\\n\\n!! Content and parameters\\n<<<\\nThe content, attributes and parameters\\n\\n|!Parameter |!Description |\\n|par1 |description |\\n|par2 |description |\\n<<<\\n\\n!! Example i\\n<<<\\nexample here\\n<<<\\n\\n!! Example ii\\n<<<\\nanother example here\\n<<<\\n\\n!! References\\n<<<\\n# one\\n# Two\\n<<<\"},\"$:/plugins/kookma/commander/template/simple\":{\"title\":\"$:/plugins/kookma/commander/template/simple\",\"caption\":\"simple\",\"tags\":\"$:/tags/Commander/Template\",\"type\":\"text/vnd.tiddlywiki\",\"version\":\"beta\",\"text\":\"! Heading one\\nThis is sunsection i\\n\\n!! Heading two\\nThis is subsection ii.\\n\\n* one\\n* two\\n* three\\n\\n!!! Heading three\\nThis is subsction iii\\n\\n```\\nA sample code\\n```\\n\\n!! Sample table\\n|Table 1. This is caption|c\\n|Heading one|Heading Two|Heading Three|h\\n|r1|100|200|\\n|r2|02|03|\\n|r3|-1|-2|\\n\"},\"$:/plugins/kookma/commander/tiddler/macros/create\":{\"title\":\"$:/plugins/kookma/commander/tiddler/macros/create\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define log-create(msg:\\\"Tiddler existed, operation ignored\\\")\\n<$action-setfield $tiddler={{$:/state/commander/log-tiddler}} $index=\\\"$(newTitle)$\\\" $value=\\\"$msg$\\\" />\\n\\\\end\\n\\n\\\\define bulk-tiddler-creator(baseTitle, baseTags, datafieldsTid, numberTiddler:\\\"1\\\")\\n<$list filter=\\\"[<__baseTitle__>!is[blank]]\\\" variable=ignore>\\n<<create-log-tiddler \\\"bulk-tiddler-creator\\\">>\\n<$list filter=\\\"[range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,500]] +[limit<__numberTiddler__>]\\\" variable=\\\"L1\\\">\\n<$list filter=\\\"[<__baseTitle__>addsuffix<L1>]\\\" variable=\\\"newTitle\\\">\\n<$list filter=\\\"[<newTitle>] -[has[title]]\\\" variable=\\\"ignore\\\" emptyMessage=<<log-create>> >\\n<$action-createtiddler $basetitle=<<newTitle>> tags=<<__baseTags__>> /> \\n<$vars datafieldsTid=<<__datafieldsTid__>> >\\n<<add-bulk-fields>>\\n</$vars>\\n<<log-create \\\"Tiddler created\\\">>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define oneTid-with-template()\\n<$tiddler tiddler=<<newTitle>> >\\n <$action-setfield $tiddler=<<myTemplate>> title=<<currentTiddler>> /> \\n <$fieldmangler>\\n <$list filter=\\\"[enlist<myTags>]\\\" variable=newTag>\\n <$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<newTag>> />\\n </$list><!--next remove extra tag used by template from new created tiddler-->\\n <$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=\\\"$:/tags/Commander/Template\\\" />\\n</$fieldmangler>\\n</$tiddler>\\n\\\\end\\n\\n\\n\\\\define bulk-tiddler-with-template-creator(baseTitle, baseTags, datafieldsTid, numberTiddler:\\\"1\\\", template:\\\"\\\")\\n<$list filter=\\\"[<__baseTitle__>!is[blank]]\\\" variable=ignore>\\n<<create-log-tiddler \\\"bulk-tiddler-creator with template\\\">>\\n<$vars datafieldsTid=<<__datafieldsTid__>>\\n myTags=<<__baseTags__>> \\n myTemplate=<<__template__>> >\\n<$list filter=\\\"[range[9]addprefix[00]] [range[10,99]addprefix[0]] [range[100,500]] +[limit<__numberTiddler__>]\\\" variable=\\\"L1\\\">\\n<$list filter=\\\"[<__baseTitle__>addsuffix<L1>]\\\" variable=\\\"newTitle\\\">\\n<$list filter=\\\"[<newTitle>!has[title]]\\\" variable=\\\"ignore\\\" emptyMessage=<<log-create>> >\\n <<oneTid-with-template>>\\n <<add-bulk-fields>>\\n <<log-create \\\"Tiddler created\\\">>\\n</$list>\\n</$list>\\n</$list>\\n</$vars>\\n</$list>\\n\\\\end\\n\\n\"},\"$:/plugins/kookma/commander/tiddler/macros/delete\":{\"title\":\"$:/plugins/kookma/commander/tiddler/macros/delete\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define log-delete-selectively(item, msg:\\\"Tiddler deleted\\\")\\n<$action-setfield $tiddler={{$:/state/commander/log-tiddler}} $index=<<__item__>> $value=\\\"$msg$\\\" />\\n\\\\end\\n\\n\\\\define delete-tiddlers-selective-bulk()\\n<$list filter=\\\"[subfilter<searchfilter>limit[1]]\\\" variable=\\\"ignore\\\"><!-- at least searchfilter shall return one tiddler-->\\n<<create-log-tiddler \\\"delete-tiddler-selectively\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\" variable=\\\"Item\\\">\\n<$action-deletetiddler $tiddler=<<Item>> />\\n<$macrocall $name=\\\"log-delete-selectively\\\" item=<<Item>> />\\n</$list>\\n</$list>\\n\\\\end\"},\"$:/plugins/kookma/commander/tiddler/macros/export\":{\"title\":\"$:/plugins/kookma/commander/tiddler/macros/export\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define add-export-tag()\\n<$list filter=<<searchfilter>> >\\n<$fieldmangler>\\n<$list filter=\\\"[enlist{$(exportTagTid)$}]~[[exported]]\\\" variable=\\\"exportTag\\\" ><!-- add all export tags-->\\n<$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<exportTag>> />\\n</$list>\\n<$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=<<workingTag>> />\\n</$fieldmangler>\\n</$list>\\n\\\\end\\n\\n\\\\define remove-export-tag()\\n<$list filter=<<searchfilter>> >\\n<$fieldmangler>\\n<$list filter=\\\"[<selectiveOpsTid>get[text]match[yes]]\\\" variable=ignore>\\n<$action-sendmessage $message=\\\"tm-add-tag\\\" $param=<<workingTag>> />\\n</$list>\\n<$list filter=\\\"[enlist{$(exportTagTid)$}]~[[exported]]\\\" variable=\\\"exportTag\\\" ><!-- remove all export tags-->\\n<$action-sendmessage $message=\\\"tm-remove-tag\\\" $param=<<exportTag>> />\\n</$list>\\n</$fieldmangler>\\n</$list>\\n\\\\end\\n\\n\\\\define log-export-selectively(msg:\\\"Tiddler exported\\\")\\n<$list filter=\\\"[subfilter<searchfilter>]\\\" variable=\\\"item\\\">\\n<$action-setfield $tiddler={{$:/state/commander/log-tiddler}} $index=<<item>> $value=\\\"$msg$\\\" />\\n</$list>\\n\\\\end\\n\\n\\n\\\\define commander-exportButton(exportFilter:\\\"[!is[system]sort[title]]\\\",lingoBase,baseFilename:\\\"tiddlers\\\")\\n<span class=\\\"tc-popup-keep\\\"><$button popup=<<qualify \\\"$:/state/popup/export\\\">> tooltip={{$lingoBase$Hint}} aria-label={{$lingoBase$Caption}} class=<<tv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n<$list filter=\\\"[<tv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/export-button}}\\n</$list>\\n<$list filter=\\\"[<tv-config-toolbar-text>match[yes]]\\\">\\n<span class=\\\"tc-btn-text\\\"><$text text={{$lingoBase$Caption}}/></span>\\n</$list>\\n</$button></span><$reveal state=<<qualify \\\"$:/state/popup/export\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-drop-down\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Exporter]]\\\">\\n<$set name=\\\"extension\\\" value={{!!extension}}>\\n<$button class=\\\"tc-btn-invisible\\\">\\n<<create-log-tiddler \\\"exportButton: bulk tiddlers exported\\\">>\\n<$macrocall $name=\\\"log-export-selectively\\\"/><!--log any tiddler exported-->\\n<<add-export-tag>><!-- by Mohammad-->\\n<$action-sendmessage $message=\\\"tm-download-file\\\" $param=<<currentTiddler>> exportFilter=\\\"\\\"\\\"$exportFilter$\\\"\\\"\\\" filename=<<exportButtonFilename \\\"\\\"\\\"$baseFilename$\\\"\\\"\\\">>/>\\n<$action-deletetiddler $tiddler=<<qualify \\\"$:/state/popup/export\\\">>/>\\n<$transclude field=\\\"description\\\"/>\\n<<remove-export-tag>><!-- by Mohammad-->\\n</$button>\\n</$set>\\n</$list>\\n</div>\\n</$reveal>\\n\\\\end\"},\"$:/plugins/kookma/commander/tiddler/ui\":{\"title\":\"$:/plugins/kookma/commander/tiddler/ui\",\"caption\":\"Tiddler\",\"list-before\":\"$:/plugins/kookma/commander/title/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/TiddlerOps]!has[draft.of]]\\\"\\ndefault:\\\"$:/plugins/kookma/commander/tiddler/uicomp/create-tiddlers\\\"\\nclass:\\\"tc-vertical cmd-tab-colorful cmd-tab-wd\\\">>\\n\"},\"$:/plugins/kookma/commander/tiddler/uicomp/create-tiddlers\":{\"title\":\"$:/plugins/kookma/commander/tiddler/uicomp/create-tiddlers\",\"caption\":\"Create tiddlers\",\"tags\":\"$:/tags/Commander/TiddlerOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<label class=\\\"kk-cmd-label\\\">Base title</label>\\n<$edit-text \\n tiddler=\\\"$:/temp/commander/tiddler-base-title\\\" \\n tag=\\\"input\\\" default=\\\"\\\"\\n placeholder=\\\" base title\\\" \\n class=\\\"cmd-txt-area\\\"/><br>\\n\\n<label class=\\\"kk-cmd-label\\\">Tags</label>\\n<$edit-text \\n tiddler=\\\"$:/temp/commander/tiddler-base-tags\\\" \\n tag=\\\"input\\\" default=\\\"\\\"\\n placeholder=\\\" tags\\\" \\n class=\\\"cmd-txt-area\\\"\\n/> \\n\\n<!-- add interface for adding fields -->\\n<$macrocall $name=\\\"add-more-fields-selective-ui\\\"\\n datafieldsTid=\\\"$:/temp/commander/tiddler/datafields/createTiddler\\\"\\n stateTiddler=\\\"$:/state/commander/tiddler-addfields-status\\\" />\\n\\n\\n<$checkbox \\n tiddler=\\\"$:/state/commander/tiddler-template-status\\\" \\n field=\\\"text\\\" \\n checked=\\\"use-template\\\" unchecked=\\\"no-template\\\"\\n default=\\\"no-template\\\"> \\n Use template?\\n</$checkbox>\\n\\n<$reveal type=\\\"match\\\" state=\\\"$:/state/commander/tiddler-template-status\\\" text=\\\"use-template\\\" default=\\\"no-template\\\" >\\nTemplate\\n<$select tiddler=\\\"$:/temp/commander/template-newtiddler\\\" \\n default=\\\"$:/plugins/kookma/commander/template/base\\\">\\n<$list filter='[all[shadows+tiddlers]tag[$:/tags/Commander/Template]]'>\\n<option value=<<currentTiddler>> >\\n<$view field=\\\"caption\\\"><$view field=\\\"title\\\"/></$view>\\n</option>\\n</$list>\\n</$select>\\n<$button class=\\\"tc-btn-invisible\\\"> {{$:/core/images/edit-button}}\\n <$action-sendmessage $message=\\\"tm-edit-tiddler\\\" \\n $param={{{ [[$:/temp/commander/template-newtiddler]get[text]]~[[$:/plugins/kookma/commander/template/base]] }}} />\\n</$button>\\n\\n</$reveal>\\n\\nNumber of tiddlers &nbsp;\\n<$select tiddler=\\\"$:/temp/commander/tiddler-base-number\\\" default='1'>\\n<$list filter='[range[1,19, 1]] [range[20,50, 5]] [range[60,100,10]] [range[200,500,100]]'>\\n<option value=<<currentTiddler>>><$view field='title'/></option>\\n</$list>\\n</$select>\\n\\n<!-- call macros for create tiddlers -->\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/state/commander/tiddler-template-status\\\" text=\\\"use-template\\\" default=\\\"no-template\\\">\\n <$button class=\\\"cmd-btn cmd-btn-wd\\\"> Create tiddlers\\n <$macrocall $name=\\\"bulk-tiddler-creator\\\"\\n baseTitle={{$:/temp/commander/tiddler-base-title}}\\n baseTags={{$:/temp/commander/tiddler-base-tags}}\\n datafieldsTid=\\\"$:/temp/commander/tiddler/datafields/createTiddler\\\"\\n numberTiddler={{$:/temp/commander/tiddler-base-number}} />\\n </$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=\\\"$:/state/commander/tiddler-template-status\\\" text=\\\"use-template\\\" default=\\\"no-template\\\">\\n <$button class=\\\"cmd-btn cmd-btn-wd\\\"> Create tiddlers\\n <$macrocall $name=\\\"bulk-tiddler-with-template-creator\\\"\\n baseTitle={{$:/temp/commander/tiddler-base-title}}\\n baseTags={{$:/temp/commander/tiddler-base-tags}}\\n datafieldsTid=\\\"$:/temp/commander/tiddler/datafields/createTiddler\\\"\\n numberTiddler={{$:/temp/commander/tiddler-base-number}}\\n template={{$:/temp/commander/template-newtiddler}}/>\\n </$button>\\n</$reveal>\\n\"},\"$:/plugins/kookma/commander/tiddler/uicomp/delete-tiddlers\":{\"title\":\"$:/plugins/kookma/commander/tiddler/uicomp/delete-tiddlers\",\"caption\":\"Delete tiddlers\",\"list-after\":\"$:/plugins/kookma/commander/tiddler/uicomp/create-tiddlers\",\"tags\":\"$:/tags/Commander/TiddlerOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$set name=numTids value={{{[subfilter<searchfilter>!is[missing]count[]] }}}>\\n<$reveal type=\\\"match\\\" text=\\\"0\\\" default=<<numTids>> >\\nNo tiddlers is selected for deleteion!\\n</$reveal>\\n<$reveal type=\\\"gt\\\" text=\\\"0\\\" default=<<numTids>> >\\n\\nNumber of tiddlers selected for deletion: <<numTids>><br>\\nNote that, the delete operation cannot be undone!!\\n<br>\\n\\n<$macrocall $name=\\\"compConfirmAction\\\"\\ncountFilter=\\\"[subfilter<searchfilter>]\\\"\\nactionMacro=\\\"delete-tiddlers-selective-bulk\\\"\\nstateTiddler=\\\"$:/state/commander/SelectiveDeleteDropdown\\\"\\n/>\\n\\n</$reveal>\\n</$set>\\n\\n\\n\"},\"$:/plugins/kookma/commander/tiddler/uicomp/export-tiddlers\":{\"title\":\"$:/plugins/kookma/commander/tiddler/uicomp/export-tiddlers\",\"caption\":\"Export tiddlers\",\"list-after\":\"$:/plugins/kookma/commander/tiddler/uicomp/delete-tiddlers\",\"tags\":\"$:/tags/Commander/TiddlerOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define export-tiddler-ui(baseFilename)\\n<$set name=\\\"exportList\\\" filter=<<searchfilter>> ><!-- without this $SetWidget the exportButton does not work -->\\n<$vars tv-config-toolbar-text=\\\"yes\\\" tv-config-toolbar-class=\\\"tc-button tt-button\\\">\\n<$macrocall $name=\\\"commander-exportButton\\\" exportFilter=<<exportList>> lingoBase=\\\"$:/language/Buttons/ExportTiddlers/\\\" baseFilename=\\\"\\\"\\\"$baseFilename$\\\"\\\"\\\"/>\\n</$vars>\\n</$set>\\n\\\\end\\n\\n\\\\define exportFileName-and-Tags-ui() \\n<label class=\\\"kk-cmd-label2\\\">Export filename</label><$edit-text tiddler=\\\"$:/temp/commander/exportFilename\\\" tag=input default=\\\"tiddlers\\\" placeholder=\\\"tiddlers\\\" class=\\\"cmd-txt-area\\\"/>\\n<br>\\n\\n<label class=\\\"kk-cmd-label2\\\">Export tags</label><$edit-text tiddler=\\\"$:/temp/commander/exportTag\\\" tag=input default=\\\"exported\\\" placeholder=\\\"exported\\\" class=\\\"cmd-txt-area\\\"/><br>\\n\\\\end\\n\\n<$set name=numTids value={{{[subfilter<searchfilter>!is[missing]count[]] }}}>\\n<$reveal type=\\\"match\\\" text=\\\"0\\\" default=<<numTids>> >\\nNo tiddlers is selected for export!\\n</$reveal>\\n\\n<$reveal type=\\\"gt\\\" text=\\\"0\\\" default=<<numTids>> >\\n\\nNumber of tiddlers selected for export: <<numTids>><br>\\n\\n<<exportFileName-and-Tags-ui>>\\n<$macrocall $name=\\\"export-tiddler-ui\\\" baseFilename={{{[[$:/temp/commander/exportFilename]get[text]]~[[tiddlers]]}}} />\\n</$reveal>\\n</$set>\\n\\n\"},\"$:/plugins/kookma/commander/title/macros/prefix\":{\"title\":\"$:/plugins/kookma/commander/title/macros/prefix\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define log-changePrefix(message, oldTitle, newTitle)\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"$message$. New title [[$newTitle$]]\\\"\\\"\\\" tidItem=<<__oldTitle__>> />\\n\\\\end\\n\\n\\\\define addPrefix-to-tiltle-bulk(prefix:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__prefix__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"addPrefix-to-tiltle-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\">\\n<$list filter=\\\"\\\"\\\"[<currentTiddler>addprefix[$prefix$]] -[<currentTiddler>]\\\"\\\"\\\" variable=\\\"newTitle\\\">\\n<$list filter=\\\"[<newTitle>] -[has[title]]\\\" variable=\\\"ignore\\\">\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<currentTiddler>> to=<<newTitle>> />\\n <$macrocall $name=log-changePrefix message=\\\"title prefix: `$prefix$` added\\\" oldTitle=<<currentTiddler>> newTitle=<<newTitle>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define removePrefix-from-tiltle-bulk(prefix:\\\"\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__prefix__>!is[blank]]\\\" variable=null>\\n<<create-log-tiddler \\\"removePrefix-from-tiltle-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\">\\n<$list filter=\\\"\\\"\\\"[<currentTiddler>removeprefix[$prefix$]] -[<currentTiddler>]\\\"\\\"\\\" variable=\\\"newTitle\\\">\\n<$list filter=\\\"[<newTitle>] -[has[title]]\\\" variable=\\\"ignore\\\">\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<currentTiddler>> to=<<newTitle>> />\\n <$macrocall $name=log-changePrefix message=\\\"title prefix: `$prefix$` removed\\\" oldTitle=<<currentTiddler>> newTitle=<<newTitle>> />\\n</$list> \\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/title/macros/remove-cahrs-end\":{\"title\":\"$:/plugins/kookma/commander/title/macros/remove-cahrs-end\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define suffix-actions2()\\n<$list filter=\\\"[subfilter<searchfilter>]+[prefix<sfx>]\\\" variable=\\\"item\\\">\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<item>> to=<<sfx>> />\\n <$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"characters removed from end. New title [[$(sfx)$]]\\\"\\\"\\\" tidItem=<<item>> />\\n</$list>\\n\\\\end\\n\\n\\n\\\\define makelink2() [[$(newTitle)$]]\\n\\n\\\\define generate-suffixes2(n:\\\"0\\\")\\n<$list filter=\\\"[<__n__>] -0\\\" variable=null>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\" variable=\\\"item\\\">\\n<$list filter=\\\"\\\"\\\"[<item>split[]butlast[$n$]join[]trim[]]\\\"\\\"\\\" variable=\\\"newTitle\\\">\\n<$text text=<<makelink2>>/>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define remove-chars-from-end-tiltle-bulk(num:\\\"0\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__num__>] -0\\\" variable=null>\\n<<create-log-tiddler \\\"remove-chars-from-end-tiltle-bulk\\\">>\\n<$vars n=<<__num__>> >\\n<$wikify text=\\\"\\\"\\\"<<generate-suffixes2 n:\\\"$num$\\\">>\\\"\\\"\\\" name=\\\"outputs\\\">\\n <$list filter=\\\"[subfilter<outputs>]\\\" variable=\\\"sfx\\\">\\n<$list filter=\\\"[subfilter<searchfilter>]+[prefix<sfx>limit[2]count[]regexp[2]]\\\" emptyMessage=<<suffix-actions2>> variable=\\\"cnt\\\">\\n</$list>\\n</$list>\\n</$wikify>\\n</$vars>\\n</$list>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/title/macros/remove-cahrs-start\":{\"title\":\"$:/plugins/kookma/commander/title/macros/remove-cahrs-start\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define suffix-actions()\\n<$list filter=\\\"[subfilter<searchfilter>]+[suffix<sfx>]\\\" variable=\\\"item\\\">\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<item>> to=<<sfx>> />\\n <$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"characters removed from start. New title [[$(sfx)$]]\\\"\\\"\\\" tidItem=<<item>> />\\n</$list>\\n\\\\end\\n\\n\\n\\\\define makelink() [[$(newTitle)$]]\\n\\n\\\\define generate-suffixes(n:\\\"0\\\")\\n<$list filter=\\\"[<__n__>] -0\\\" variable=null>\\n<$list filter=\\\"[subfilter<searchfilter>has[title]]\\\" variable=\\\"item\\\">\\n<$list filter=\\\"\\\"\\\"[<item>split[]rest[$n$]join[]trim[]]\\\"\\\"\\\" variable=\\\"newTitle\\\">\\n<$text text=<<makelink>>/>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define remove-chars-from-begining-tiltle-bulk(num:\\\"0\\\")\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<$list filter=\\\"[<__num__>] -0\\\" variable=null>\\n<<create-log-tiddler \\\"remove-chars-from-begining-tiltle-bulk\\\">>\\n<$vars n=<<__num__>> >\\n<$wikify text=\\\"\\\"\\\"<<generate-suffixes n:\\\"$num$\\\">>\\\"\\\"\\\" name=\\\"outputs\\\">\\n <$list filter=\\\"[subfilter<outputs>]\\\" variable=\\\"sfx\\\">\\n <$list filter=\\\"[subfilter<searchfilter>]+[suffix<sfx>limit[2]count[]regexp[2]]\\\" \\n emptyMessage=<<suffix-actions>> variable=\\\"cnt\\\">\\n </$list>\\n </$list>\\n</$wikify>\\n</$vars>\\n</$list>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/title/macros/suffix\":{\"title\":\"$:/plugins/kookma/commander/title/macros/suffix\",\"tags\":\"$:/tags/Commander/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define log-changeSuffix(message, oldTitle, newTitle)\\n<$macrocall $name=\\\"log-add-single-operation\\\" msg=\\\"\\\"\\\"$message$. New title [[$newTitle$]]\\\"\\\"\\\" tidItem=<<__oldTitle__>> />\\n\\\\end\\n\\n\\\\define addSuffix-to-tiltle-bulk(suffix:\\\"\\\")\\n<$list filter=\\\"[<__suffix__>!is[blank]]\\\" variable=null>\\n<$list filter=\\\"[subfilter<searchfilter>limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<<create-log-tiddler \\\"addSufffix-to-tiltle-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\">\\n<$list filter=\\\"\\\"\\\"[<currentTiddler>addsuffix[$suffix$]] -[<currentTiddler>]\\\"\\\"\\\" variable=\\\"newTitle\\\">\\n<$list filter=\\\"[<newTitle>] -[has[title]]\\\" variable=\\\"ignore\\\">\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<currentTiddler>> to=<<newTitle>> />\\n <$macrocall $name=log-changeSuffix message=\\\"title suffix: `$suffix$` added\\\" oldTitle=<<currentTiddler>> newTitle=<<newTitle>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define removeSuffix-from-tiltle-bulk(suffix:\\\"\\\")\\n<$list filter=\\\"[<__suffix__>!is[blank]]\\\" variable=null>\\n<$list filter=\\\"[subfilter<searchfilter>!is[missing]limit[1]]\\\" variable=ignore><!--check if filter is empty -->\\n<<create-log-tiddler \\\"removeSuffix-from-tiltle-bulk\\\">>\\n<$list filter=\\\"[subfilter<searchfilter>]\\\">\\n<$list filter=\\\"\\\"\\\"[<currentTiddler>removesuffix[$suffix$]] -[<currentTiddler>]\\\"\\\"\\\" variable=\\\"newTitle\\\">\\n<$list filter=\\\"[<newTitle>] -[has[title]]\\\" variable=\\\"ignore\\\">\\n <$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<currentTiddler>> to=<<newTitle>> />\\n <$macrocall $name=log-changeSuffix message=\\\"title suffix: `$suffix$` removed\\\" oldTitle=<<currentTiddler>> newTitle=<<newTitle>> />\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/commander/title/ui\":{\"title\":\"$:/plugins/kookma/commander/title/ui\",\"caption\":\"Title\",\"list-after\":\"$:/plugins/kookma/commander/tiddler/ui\",\"tags\":\"$:/tags/Commander\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tabs \\ntabsList:\\\"[all[shadows+tiddlers]tag[$:/tags/Commander/TitleOps]!has[draft.of]]\\\" \\ndefault:\\\"$:/plugins/kookma/commander/title/uicomp/add-remove-prefix\\\"\\nclass:\\\"tc-vertical cmd-tab-colorful cmd-tab-wd\\\">>\\n\\n<!-- relink checkbox for renaming title -->\\n{{$:/plugins/kookma/commander/config/relink}}\"},\"$:/plugins/kookma/commander/title/uicomp/add-remove-chars\":{\"title\":\"$:/plugins/kookma/commander/title/uicomp/add-remove-chars\",\"caption\":\"Remove chars\",\"list-after\":\"$:/plugins/kookma/commander/title/uicomp/add-remove-suffix\",\"tags\":\"$:/tags/Commander/TitleOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define rngcat() [range[0,$(minchars)$]] -0 \\n\\n<label style=\\\"width:30ch;\\\">Number of chars</label>\\n<$select tiddler=\\\"$:/temp/commander/title-remove-chars\\\" default=\\\"0\\\" class=\\\"cmd-sl\\\">\\n<$list filter=\\\"[subfilter<searchfilter>length[]minall[]subtract[1]] -Infinity\\\" variable=\\\"minchars\\\">\\n<$list filter=<<rngcat>> >\\n<option value=<<currentTiddler>>><$view field='title'/></option>\\n</$list>\\n</$list>\\n</$select><br>\\n\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> First n characters\\n<$macrocall \\n $name=\\\"remove-chars-from-begining-tiltle-bulk\\\" \\n num={{$:/temp/commander/title-remove-chars}} />\\n</$button>\\n\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Last n characters\\n<$macrocall \\n $name=\\\"remove-chars-from-end-tiltle-bulk\\\" \\n num={{$:/temp/commander/title-remove-chars}} />\\n</$button>\\n\\n\\n\"},\"$:/plugins/kookma/commander/title/uicomp/add-remove-prefix\":{\"title\":\"$:/plugins/kookma/commander/title/uicomp/add-remove-prefix\",\"caption\":\"Add remove prefix\",\"tags\":\"$:/tags/Commander/TitleOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$edit-text\\ntiddler=\\\"$:/temp/commander/title-prefix\\\"\\ntag=\\\"input\\\"\\ndefault=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\"\\nplaceholder=\\\" prefix\\\"\\n/> <br>\\n\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Add prefix\\n<$macrocall \\n $name=\\\"addPrefix-to-tiltle-bulk\\\" \\n prefix={{$:/temp/commander/title-prefix}} \\n/>\\n</$button>\\n\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Remove prefix\\n<$macrocall \\n $name=\\\"removePrefix-from-tiltle-bulk\\\" \\n prefix={{$:/temp/commander/title-prefix}} \\n/>\\n</$button>\\n\\n\"},\"$:/plugins/kookma/commander/title/uicomp/add-remove-suffix\":{\"title\":\"$:/plugins/kookma/commander/title/uicomp/add-remove-suffix\",\"caption\":\"Add remove suffix\",\"list-after\":\"$:/plugins/kookma/commander/title/uicomp/add-remove-prefix\",\"tags\":\"$:/tags/Commander/TitleOps\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$edit-text\\ntiddler=\\\"$:/temp/commander/title-suffix\\\"\\ntag=\\\"input\\\" default=\\\"\\\"\\nclass=\\\"cmd-txt-area\\\" placeholder=\\\" suffix\\\" /><br>\\n\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Add suffix\\n<$macrocall \\n $name=\\\"addSuffix-to-tiltle-bulk\\\" \\n suffix={{$:/temp/commander/title-suffix}} />\\n</$button>\\n\\n<$button class=\\\"cmd-btn cmd-btn-wd\\\"> Remove suffix\\n<$macrocall \\n $name=\\\"removeSuffix-from-tiltle-bulk\\\" \\n suffix={{$:/temp/commander/title-suffix}} \\n/>\\n</$button>\\n\\n\"},\"$:/plugins/kookma/commander/ui/Actions/open-commander\":{\"title\":\"$:/plugins/kookma/commander/ui/Actions/open-commander\",\"caption\":\"{{$:/language/Buttons/Commander/Caption}}\",\"description\":\"{{$:/language/Buttons/Commander/Hint}}\",\"tags\":\"$:/tags/Actions\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\whitespace trim\\n<$action-navigate $to=\\\"$:/Commander\\\" $scroll=\\\"yes\\\"/>\\n<!-- This is used with plugins like Command Palette See: https://github.com/kookma/TW-Commander/pull/36-->\"},\"$:/plugins/kookma/commander/ui/Buttons/open-commander\":{\"title\":\"$:/plugins/kookma/commander/ui/Buttons/open-commander\",\"caption\":\"{{$:/plugins/kookma/commander/images/commander.svg}} {{$:/language/Buttons/Commander/Caption}}\",\"description\":\"{{$:/language/Buttons/Commander/Hint}}\",\"list-after\":\"$:/core/ui/Buttons/advanced-search\",\"tags\":\"$:/tags/PageControls\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\whitespace trim\\n\\n\\\\define commander-button(class)\\n\\\\whitespace trim\\n<$button to=\\\"$:/Commander\\\" tooltip={{$:/language/Buttons/Commander/Hint}} aria-label={{$:/language/Buttons/Commander/Caption}} class=\\\"\\\"\\\"$(tv-config-toolbar-class)$ $class$\\\"\\\"\\\">\\n<$list filter=\\\"[<tv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/plugins/kookma/commander/images/commander.svg}}\\n</$list>\\n<$list filter=\\\"[<tv-config-toolbar-text>match[yes]]\\\">\\n<span class=\\\"tc-btn-text\\\"><$text text={{$:/language/Buttons/Commander/Caption}}/></span>\\n</$list>\\n</$button>\\n\\\\end\\n\\n<$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/Commander]]\\\" emptyMessage=<<commander-button>>>\\n<<commander-button \\\"tc-selected\\\">>\\n</$list>\\n\"},\"$:/plugins/kookma/commander/ui/KeyboardShortcuts/open-commander\":{\"title\":\"$:/plugins/kookma/commander/ui/KeyboardShortcuts/open-commander\",\"key\":\"((open-commander))\",\"tags\":\"$:/tags/KeyboardShortcut\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\whitespace trim\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n<$action-navigate $to=\\\"$:/Commander\\\" $scroll=\\\"yes\\\"/>\\n</$navigator>\"},\"$:/plugins/kookma/commander/viewtemplate/import\":{\"title\":\"$:/plugins/kookma/commander/viewtemplate/import\",\"tags\":\"$:/tags/ViewTemplate\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[all[current]match[$:/Import]status[complete]]\\\" variable=\\\"null\\\">\\n<$button actions=\\\"\\\"\\\"<$action-setfield $tiddler=\\\"$:/temp/commander/search-box\\\" text=\\\"[[$:/Import]links[]]\\\"/><$action-navigate $to=\\\"$:/Commander\\\"/>\\\"\\\"\\\">\\n{{$:/plugins/kookma/commander/images/commander.svg}} Batch edit\\n</$button>\\n</$list>\"},\"$:/Commander\":{\"title\":\"$:/Commander\",\"icon\":\"$:/plugins/kookma/commander/images/commander.svg\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import [all[shadows+tiddlers]tag[$:/tags/Commander/Macro]]\\n{{$:/plugins/kookma/commander/search/ui}}\\n<!-- Create the search filter based on searchbox and selective operation (if active) -->\\n<$vars searchTerms={{{ [<searchboxTid>get[text]minlength{$:/plugins/kookma/commander/config/minlength}]~[[$:/errorCode:-23500]] }}} pattern=\\\"^\\\\[\\\"><!-- this part checks the combo search and selective ops-->\\n<$set name=\\\"filtertext\\\" filter=\\\"[<searchTerms>regexp<pattern>]\\\" value=\\\"[subfilter<searchTerms>]\\\" emptyValue=\\\"[!is[system]search<searchTerms>]\\\">\\n<$set name=\\\"searchfilter\\\" filter=\\\"[<selectiveOpsTid>get[text]match[yes]]\\\" \\n value= \\\"[subfilter<filtertext>!prefix[$:/temp/commander]!prefix[$:/state/commander]]+[tag<workingTag>]\\\"\\n emptyValue=\\\"[subfilter<filtertext>!prefix[$:/temp/commander]!prefix[$:/state/commander]]\\\" >\\n<small style=\\\"margin-left:17ch;\\\"><i><$count filter=\\\"[subfilter<filtertext>!prefix[$:/temp/commander]!prefix[$:/state/commander]!is[missing]]\\\" /> matches </i></small>\\n\\n<!-- Display search results and let selective operation -->\\n<<commander-slider title:\\\"$:/plugins/kookma/commander/search/selection\\\" default:\\\"open\\\">>\\n\\n<!-- Display operation UIs-->\\n<<tabs \\\"[all[shadows+tiddlers]tag[$:/tags/Commander]!has[draft.of]]\\\" default:\\\"$:/plugins/kookma/commander/tiddler/ui\\\">>\\n\\n</$set>\\n</$set>\\n<$vars>\\n\\n---\\n\\n<<commander-slider title:\\\"$:/plugins/kookma/commander/log/ui\\\">>\\n\"},\"$:/language/Buttons/Commander/Hint\":{\"title\":\"$:/language/Buttons/Commander/Hint\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Open tiddler commander\"},\"$:/language/Buttons/Commander/Caption\":{\"title\":\"$:/language/Buttons/Commander/Caption\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"tiddler commander\"},\"$:/config/ShortcutInfo/open-commander\":{\"title\":\"$:/config/ShortcutInfo/open-commander\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Commander plugin - Open Tiddler Commander\"},\"$:/config/shortcuts/open-commander\":{\"title\":\"$:/config/shortcuts/open-commander\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"ctrl-shift-backslash\"}}}","type":"application/json","author":"Mohammad Rahmani","core-version":">=5.3.5","created":"20250707183550829","description":"Streamline tiddler management: bulk operations for titles, tags, and fields","list":"readme license history","modified":"20250707183553485","name":"Tiddler Commander","source":"https://github.com/kookma/TW-Commander","stability":"STABILITY_2_STABLE","title":"$:/plugins/kookma/commander","version":"2.1.14","plugin-type":"plugin","packaged-by":"Gatha on 11th August 2025, 12:16:11"},{"text":"{\"tiddlers\":{\"$:/plugins/kookma/shiraz/history\":{\"title\":\"$:/plugins/kookma/shiraz/history\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Full change log: [[https://kookma.github.io/TW-Shiraz/#ChangeLog]]\\n\\n* ''2.9.7'' -- 2024.07.13 -- update to work with TiddlyWiki 5.3.5\\n* ''2.9.5'' -- 2024.06.05 -- minor bug fixes. Reverted to work with TW 5.2.7+\\n* ''2.9.4'' -- 2024.05.31 -- update to use some new features of 5.3.3\\n* ''2.7.1'' -- 2022.12.17 -- update to Tiddlywiki 5.2.4, few bug fixes\\n* ''2.6.9'' -- 2022.10.17 -- improved Node Explorer, and task Explorer\\n* ''2.6.1'' -- 2022.09.27 -- new subplug Formatter, better task manager\\n* ''2.5.0'' -- 2022.08.02 -- new data block, updated to Tiddlywiki 5.2.3\\n* ''2.4.4'' -- 2021.09.19 -- added css class for tbl-expand customization\\n* ''2.4.2'' -- 2021.09.10 -- quick table with bunch of column formatting\\n* ''2.3.3'' -- 2021.05.20 -- small bug fixes in switch palette\\n* ''2.3.1'' -- 2021.05.19 -- tbl-linktype template to be used for generating node-explorer\\n* ''2.3.0'' -- 2021.05.10 -- switch palette for dim/dark and light palette selection\\n* ''2.2.2'' -- 2021.04.22 -- several issues fixed for pagination, notebook and image classes\\n* ''2.2.0'' -- 2021.02.26 -- updated to TW 5.1.23 and pagination added to dynamic tables\\n* ''2.1.1'' -- 2020.03.25 -- slider macro with initial status\\n* ''2.1.0'' -- 2020.03.23 -- stable release on TW-5.1.22pre\\n* ''1.0.0'' -- 2018.10.05 -- first public release\\n\"},\"$:/plugins/kookma/shiraz/images/palette-switch\":{\"title\":\"$:/plugins/kookma/shiraz/images/palette-switch\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg width=\\\"22pt\\\" height=\\\"22pt\\\" class=\\\"tc-image-palette-button tc-image-button\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\\\"/></svg>\"},\"$:/plugins/kookma/shiraz/license\":{\"title\":\"$:/plugins/kookma/shiraz/license\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Distributed under an MIT license.\\n\\nCopyright (c) 2018-2022 [[Mohammad Rahmani|https://github.com/kookma]]\\n\\n<<<\\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \\\"Software\\\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\\n<<<\"},\"$:/plugins/kookma/shiraz/macros/alerts\":{\"title\":\"$:/plugins/kookma/shiraz/macros/alerts\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define alert(type:\\\"primary\\\" src:\\\"\\\", width:\\\"100%\\\", class:\\\"\\\")\\n<div class=\\\"alert alert-$type$ $class$\\\" style=\\\"width:$width$;\\\">\\n$src$\\n</div>\\n\\\\end\\n\\n\\\\define alert-leftbar(type:\\\"primary\\\" src:\\\"\\\", width:\\\"100%\\\", class:\\\"\\\")\\n<div class=\\\"alert alert-$type$ bg-transparent leftbar border-$type$ $class$\\\" style=\\\"width:$width$;\\\">\\n$src$\\n</div>\\n\\\\end\\n\"},\"$:/plugins/kookma/shiraz/macros/badge\":{\"title\":\"$:/plugins/kookma/shiraz/macros/badge\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define badge(type:\\\"primary\\\" src:\\\"\\\")\\n<span class=\\\"badge badge-$type$\\\">$src$</span>\\n\\\\end\\n\\n\\\\define badge-pill(type:\\\"primary\\\" src:\\\"\\\")\\n<span class=\\\"badge badge-pill badge-$type$\\\">$src$</span>\\n\\\\end\\n\"},\"$:/plugins/kookma/shiraz/macros/card\":{\"title\":\"$:/plugins/kookma/shiraz/macros/card\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define card(header:\\\"Empty\\\", title:\\\"Empty\\\" subtitle:\\\"Empty\\\" text:\\\"Empty\\\",footer:\\\"Empty\\\", width:\\\"100%\\\" class:\\\"\\\")\\n<div class=\\\"card mb-3 $class$\\\" style=\\\"width:$width$;\\\">\\n<$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__header__>> >\\n <div class=\\\"card-header\\\">$header$</div>\\n</$reveal>\\n<div class=\\\"card-body\\\">\\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__title__>> >\\n <div class=\\\"h5 card-title\\\">$title$</div>\\n </$reveal>\\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__subtitle__>> >\\n <div class=\\\"h6 card-subtitle mb-2 text-muted\\\">$subtitle$</div>\\n </$reveal>\\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__text__>> >\\n <div class=\\\"card-text\\\"><<__text__>></div>\\n </$reveal>\\n</div>\\n<$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__footer__>> >\\n <div class=\\\"card-footer text-muted\\\">$footer$</div>\\n</$reveal>\\n</div>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/csvtables/apps\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/apps\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define nomenclature(id:\\\"nomenclature\\\", delimiter:\\\",\\\")\\n<<table-csv id:\\\"$id$\\\" format:\\\"katex-inline transclude pu\\\" class:\\\"table-borderless\\\" header:no delimiter:\\\"\\\"\\\"$delimiter$\\\"\\\"\\\">>\\n\\\\end\\n\\n\\\\define mathbox(id:\\\"\\\", format:\\\"\\\", delimiter:\\\",\\\")\\n<<table-csv id:\\\"$id$\\\" format:\\\"transclude katex $format$\\\" class:\\\"table-borderless table-mathbox\\\" header:no delimiter:\\\"\\\"\\\"$delimiter$\\\"\\\"\\\">>\\n\\\\end\\n\\n\\\\define subscripts(id:\\\"subscripts\\\", delimiter:\\\",\\\")\\n<<table-csv id:\\\"$id$\\\" format:\\\"katex-inline transclude\\\" class:\\\"table-borderless\\\" header:no delimiter:\\\"\\\"\\\"$delimiter$\\\"\\\"\\\">>\\n\\\\end\\n\\n\\\\define superscripts(id:\\\"superscripts\\\", delimiter:\\\",\\\")\\n<<table-csv id:\\\"$id$\\\" format:\\\"katex-inline transclude\\\" class:\\\"table-borderless\\\" header:no delimiter:\\\"\\\"\\\"$delimiter$\\\"\\\"\\\">>\\n\\\\end\\n\\n<!-- \\n- these macros uses the table-csv to display nice looking outputs\\n- apps means application\\n-->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/formats-basic\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/formats-basic\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define text() <$text text=<<entry>> />\\n\\\\define code() <code><<text>></code>\\n\\\\define transclude() <$transclude tiddler=<<entry>> field=title/>\\n\\n\\n<!-- these macro are used by table-csv to display entries -->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/formats-date\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/formats-date\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define date() <$view field=title tiddler={{{[<entry>splitregexp[\\\\D+]!is[blank]join[]]}}} format=date template=\\\"YYYY-0MM-0DD\\\"/>\\n\\\\define shortdate() <$view field=title tiddler={{{[<entry>splitregexp[\\\\D+]!is[blank]join[]]}}} format=date template=\\\"mmm DDth, YYYY\\\"/>\\n\\\\define longdate() <$view field=title tiddler={{{[<entry>splitregexp[\\\\D+]!is[blank]join[]]}}} format=date template=\\\"DDD, MMM 0DD, YYYY\\\"/>\\n\\n<!-- these macro are used by table-csv to display entries -->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/formats-math\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/formats-math\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define katex() <span class=\\\"falign\\\"><$latex text=<<entry>> displayMode=\\\"true\\\"></$latex></span>\\n\\\\define katex-inline() <$latex text=<<entry>> displayMode=\\\"false\\\"></$latex>\\n\\\\define pu() <$latex text={{{ [<entry>addprefix[\\\\pu{]addsuffix[}]] }}} displayMode=\\\"false\\\"></$latex>\\n\\\\define equation() <$latex text={{{ [<entry>addprefix[\\\\begin{equation}]addsuffix[\\\\end{equation}]] }}} displayMode=\\\"true\\\"></$latex>\\n\\n<!-- \\n- these macros are used by table-csv to display entries KaTeX\\n- pu stands for physical uints\\n- the math formating require the official KaTeX plugin is installed!\\n- see $:/plugins/kookma/shiraz/styles/csvtable-katex\\n-->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/formats-misc\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/formats-misc\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define email() <a class=\\\"tc-tiddlylink-external\\\" href=\\\"mailto:$(entry)$\\\" rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\"><<text>></a>\\n\\n\\\\define rate()\\n<$list filter=\\\"[<entry>split[]match[*]]\\\" variable=ignore>\\n<span class=\\\"shiraz-star\\\"><$transclude tiddler=\\\"$:/core/images/star-filled\\\" /></span>\\n</$list>\\n\\\\end\\n\\n<!-- these macro are used by table-csv to display entries -->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/formats-task\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/formats-task\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define checkbox()\\n<!-- show done item -->\\n<$list filter=\\\"[<entry>trim[]match[x]]\\\" variable=ignore><input type=checkbox checked disabled/></$list>\\n<!-- show task item -->\\n<$list filter=\\\"[<entry>trim[]match[-]]\\\" variable=ignore><input type=checkbox disabled/></$list>\\n\\\\end\\n\\n\\n\\\\define todo-action(param)\\n<!-- toggle a line done (x) / undone (-) . the lbr is used to prevent replace \\\"x, Hi\\\" with \\\"x, Hi Jeremy\\\"-->\\n<$vars lbr=\\\"\\n\\\">\\n <$vars in={{{ [<row>addsuffix<lbr>] }}} out={{{[<row>splitregexp<delimiter>rest[]join<delimiter>addprefix<delimiter>addprefix[$param$]addsuffix<lbr>]}}} >\\n <$action-setfield $tiddler=<<src>> text={{{ [<src>get[text]search-replace:g:<in>,<out>] }}}/>\\n </$vars>\\n</$vars>\\t\\n\\\\end\\n\\n\\\\define todo()\\n<!-- show task item -->\\n<$list filter=\\\"[<entry>trim[]match[-]]\\\" variable=ignore>\\n<$button class=\\\"tc-btn-invisible\\\" actions=<<todo-action \\\"x\\\">>><input type=checkbox/></$button>\\n</$list>\\n<!-- show done item -->\\n<$list filter=\\\"[<entry>trim[]match[x]]\\\" variable=ignore>\\n<$button class=\\\"tc-btn-invisible\\\" actions=<<todo-action \\\"-\\\">>><input type=checkbox checked/></$button>\\n</$list>\\n\\n\\\\end\\n\\n<!-- these macro are used by table-csv to display entries -->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/table-csv\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/table-csv\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define table-csv(tiddler:\\\"\\\", delimiter:\\\",\\\", sortType:\\\"alphanumeric\\\", format:\\\"\\\", caption:\\\"\\\", class:\\\"\\\", header:\\\"yes\\\", stateTiddler:\\\"\\\", id:\\\"\\\", dclass:\\\"dblock\\\" )\\n\\\\whitespace trim\\n\\\\import [[$:/plugins/kookma/shiraz/macros/csvtables/table-csv-utility]]\\n\\\\import [all[tiddlers+shadows]prefix[$:/plugins/kookma/shiraz/macros/csvtables/formats]]\\n\\n<$vars src = {{{ [<__tiddler__>is[tiddler]then<__tiddler__>else<currentTiddler>] }}} \\n stateTiddler = {{{ [<__stateTiddler__>!is[blank]then<__stateTiddler__>else[01]] }}} >\\n<$vars sortCol = {{{ [<tempTableSort>getindex[sortIndex]] }}} \\n sortNegate = {{{ [<tempTableSort>getindex[negate]] }}} \\n delimiter = {{{ [<__delimiter__>match[\\\\t]then[°≡°]else<__delimiter__>] }}}\\n dataBlockStartDelimiter ={{{ [<__id__>is[blank]then[@@.$dclass$]] ~[[@.$dclass$.]addsuffix<__id__>] }}}\\n dataBlockEndDelimiter = \\\"@@\\\" >\\n\\n<!-- extract the data block -->\\n<$let dblock0 = {{{ [<src>get[text]splitregexp<dataBlockStartDelimiter>butfirst[1]] }}}\\n dblock1 = {{{ [<dblock0>splitregexp<dataBlockEndDelimiter>butlast[1]] }}}\\n dblock = {{{ [<delimiter>!match[°≡°]then<dblock1>] :else[<dblock1>search-replace:g:regexp[\\\\t],[°≡°]] }}} >\\n\\n<!-- create table -->\\n<table class=\\\"$class$\\\">\\n<$list filter=\\\"[<__caption__>!is[blank]]\\\" variable=ignorw><caption>$caption$</caption></$list>\\n<!--check if there is a header row-->\\n<$list filter=\\\"[<__header__>match[yes]then[1]else[0]]\\\" variable=header_row>\\n<!-- process all extracted rows-->\\n<$vars allRows=\\\"[<dblock>splitregexp[\\\\n]!is[blank]]\\\">\\n<!--create table header-->\\n<$list filter=\\\"[subfilter<allRows>first<header_row>]\\\" variable=row >\\n<tr><$list filter=\\\"[<row>splitregexp<delimiter>!is[blank]trim[]]\\\" variable=currentColumn><<column-header-template>></$list></tr>\\n</$list>\\n<!--create table body-->\\n<$vars sortPos = {{{ [subfilter<allRows>first<header_row>splitregexp<delimiter>!is[blank]trim[]] +[allbefore:include<sortCol>count[]] }}} >\\n<$vars sortType = {{{ [enlist:raw<__sortType__>nth<sortPos>else[alphanumeric]] }}} >\\n<$list filter=<<mainFilter>> variable=row><!-- parse all other rows -->\\n<tr><$list filter=\\\"[<row>splitregexp<delimiter>!is[blank]trim[]]\\\" variable=entry counter=pos>\\n<td><$macrocall $name={{{ [enlist:raw<__format__>nth<pos>else[text]] }}} /></td>\\n</$list></tr>\\n</$list><!-- end of parse all other rows -->\\n</$vars>\\n</$vars><!-- sorPs-->\\n</$vars> <!-- end of process all extracted rows-->\\n</$list><!-- end of check header -->\\n</table>\\n\\n</$let><!-- dblock0-->\\n</$vars><!-- sortCol-->\\n</$vars>\\n\\\\end\\n\\n<!--\\n- the default format is text, if format is not set for any column\\n- the default sort type is alphanumeric, if the sort type is not sent \\n- tab delimited data cannot be processed as enlist list them as sparate title on tab and do not keep them as a single row, so befor processing the \\\\tab is replaced with a rarely used combination like `°≡°`\\n- leading and trailing blanks (spaces) are always trimmed\\n- when use column header, you cannot have two column with the same header, this causes problem with sort routine\\n-->\"},\"$:/plugins/kookma/shiraz/macros/csvtables/table-csv-utility\":{\"title\":\"$:/plugins/kookma/shiraz/macros/csvtables/table-csv-utility\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\whitespace trim\\n\\n\\\\define mainFilter() [subfilter<allRows>butfirst<header_row>] :sort:$(sortType)$:$(sortNegate)$[split<delimiter>!is[blank]trim[]nth<sortPos>]\\n\\\\define tempTableSort() $:/state/tablecsv/$(currentTiddler)$/$(stateTiddler)$\\n\\n\\n\\\\define column-header-template()\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableSort>> stateIndex=\\\"sortIndex\\\" text=<<currentColumn>> tag=\\\"th\\\">\\n<$button setTitle=<<tempTableSort>> setIndex=\\\"sortIndex\\\" setTo=<<currentColumn>> class=\\\"tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"hasnegate\\\" $value=\\\"false\\\"/>\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"negate\\\" $value=\\\"\\\"/>\\n<span style=\\\"text-transform: capitalize;\\\"><$text text=<<currentColumn>>/></span>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableSort>> stateIndex=\\\"sortIndex\\\" text=<<currentColumn>> tag=\\\"th\\\">\\n<$list filter=\\\"[<tempTableSort>getindex[hasnegate]match[false]]\\\" variable=ignore><!--set negate for sort-->\\n<$button setTitle=<<tempTableSort>> setIndex=\\\"hasnegate\\\" setTo=\\\"true\\\" class=\\\"tbl-sort-svg tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"negate\\\" $value=\\\"reverse\\\"/>\\n<span style=\\\"text-transform: capitalize;\\\"><$text text=<<currentColumn>>/></span> {{$:/core/images/down-arrow}}\\n</$button>\\n</$list>\\n<$list filter=\\\"[<tempTableSort>getindex[hasnegate]match[true]]\\\" variable=ignore><!--remove negate for sort-->\\n<$button setTitle=<<tempTableSort>> setIndex=\\\"hasnegate\\\" setTo=\\\"false\\\" class=\\\"tbl-sort-svg tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"negate\\\" $value=\\\"\\\"/>\\n<span style=\\\"text-transform: capitalize;\\\"><$text text=<<currentColumn>>/></span> {{$:/core/images/up-arrow}}\\n</$button>\\n</$list>\\n</$reveal>\\n\\\\end\\n\\n<!-- these macro are used by table-csv to display entries -->\"},\"$:/plugins/kookma/shiraz/macros/dbadge\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dbadge\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define dbadge(subject,status, type:\\\"primary\\\")\\n<div class=\\\"dbadge\\\"><span class=\\\"dbadge-subject\\\">$subject$</span><span class=\\\"dbadge-status dbadge-$type$ \\\">$status$</span></div>\\n\\\\end\\n\"},\"$:/plugins/kookma/shiraz/macros/details\":{\"title\":\"$:/plugins/kookma/shiraz/macros/details\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define details(label:\\\"\\\", src:\\\"source\\\", status:\\\"\\\", labelClass:\\\"\\\", srcClass:\\\"\\\")\\n<$vars source = {{{ [<__src__>get[text]else<__src__>] }}} >\\n<details class=\\\"kk-shiraz-details\\\" $status$>\\n <$let tv-wikilinks=\\\"no\\\">\\n <summary class=\\\"$labelClass$\\\">$label$</summary>\\n </$let>\\n <div class=\\\"$srcClass$\\\">\\n <$transclude tiddler=<<source>> field=title mode=block/>\\n </div>\\n</details>\\n</$vars>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/dtables/confirm-delete\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/confirm-delete\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define confirm-delete()\\n<!-- reveals deletion confirmation -->\\n<$list filter=\\\"[subfilter<inputFilter>limit[1]]\\\" variable=ignore>\\n<$reveal class=\\\"tbl-delete-confirm\\\" type=\\\"match\\\" default={{{ [[$:/temp/tables/delete-all]has:index<currentTable>then[yes]] }}} text=\\\"yes\\\" tag=\\\"tr\\\">\\n<th colspan=<<ncols>> >\\n<$list filter=\\\"[[$:/temp/tables/delete-all]getindex<currentTable>match[delete-confirmed]]\\\" \\n variable=ignore emptyMessage=<<ask-for-delete>> >\\n <<perform-delete>>\\n</$list>\\n</th>\\n</$reveal>\\n</$list>\\n\\\\end\\n\\n\\\\define ask-for-delete()\\n<$set name=ntids filter=\\\"[subfilter<inputFilter>count[]]\\\">\\n Delete all <<ntids>> records?\\n\\t<$button class=\\\"tc-btn-invisible\\\">\\n <$action-setfield $tiddler=\\\"$:/temp/tables/delete-all\\\" $index=<<currentTable>> $value=\\\"delete-confirmed\\\"/>\\n {{$:/core/images/delete-button}} yes\\n </$button> or \\n <$button class=\\\"tc-btn-invisible\\\">\\n <$action-setfield $tiddler=\\\"$:/temp/tables/delete-all\\\" $index=<<currentTable>>/>\\n {{$:/core/images/close-button}} no\\n </$button>\\n</$set>\\t\\t\\t\\t\\n\\\\end\\n\\n\\\\define perform-delete()\\n Warning! this action cannot be undone!\\n\\t<$button class=\\\"tc-btn-invisible\\\">\\n\\t <$action-setfield $tiddler=\\\"$:/temp/tables/delete-all\\\" $index=<<currentTable>>/>\\n <$list filter=<<inputFilter>> variable=\\\"currentRecord\\\">\\n <$action-deletetiddler $tiddler=<<currentRecord>>/>\\n </$list>\\n\\t\\t {{$:/core/images/delete-button}} delete\\n </$button> or \\n <$button class=\\\"tc-btn-invisible\\\">\\n <$action-setfield $tiddler=\\\"$:/temp/tables/delete-all\\\" $index=<<currentTable>>/>\\n\\t\\t\\t{{$:/core/images/close-button}} cancel \\n </$button>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/dtables/helper\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/helper\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define columnFilter() $(columns)$ tbl-delete\\n\\n\\\\define tempTable() $:/state/dynamictables/$(currentTable)$\\n\\n\\\\define tempTableSort() $(tempTable)$/sortby\\n\\\\define tempTagPopup() $(tempTable)$/$(currentRecord)$/$(currentTiddler)$\\n\\\\define tempTableExpand() $(tempTable)$/expand\\n\\\\define tempPathExpand() $(tempTableExpand)$##$(currentRecord)$\\n\\\\define tempTableEdit() $(tempTable)$/edit-view-status\\n\\n\\\\define keepstate() $:/keepstate/dynamictables/$(currentTable)$\\n\\n\\\\define tempTableFooter() $(keepstate)$/footer\\n\\\\define tempTableStyle() $(keepstate)$/style\\n\\\\define tempWarningMsg() $(keepstate)$/warning\\n\\n\\\\define pageStateTiddler() $(keepstate)$/page-number\\n\\\\define entryPerPageStateTiddler() $(keepstate)$/entry-per-page\\n\\n<!-- \\n Those tiddlers based on keepstate are permanent.\\n These are tiddlers hold the data and setting for footer, styles and warning (needs to be hold).\\n These state and temporary tiddlers are independent of currentTiddler (host tiddler) and on changing\\n the title of host tiddler will not disconnected to table\\n-->\"},\"$:/plugins/kookma/shiraz/macros/dtables/maths\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/maths\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define average(pn:0) <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>average[]] }}}/>\\n\\\\define median(pn:0) <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>median[]] }}}/>\\n\\n\\\\define count() <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>count[]] }}}/>\\n\\\\define sum() <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>sum[]] }}}/>\\n\\\\define product() <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>product[]] }}}/>\\n\\n\\\\define minall() <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>minall[]] }}}/>\\n\\\\define maxall() <$text text={{{ [subfilter<inputFilter>$(getFieldOrIndex)$<currentColumn>maxall[]] }}}/>\\n\\n\\n\\n\\n\\n\"},\"$:/plugins/kookma/shiraz/macros/dtables/pagination\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/pagination\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define prev-button()\\n<!-- create previous page button --->\\n<$list filter=\\\"[<page-number>compare:number:lt[2]then[yes]else[no]]\\\" variable=state>\\n<$button disabled=<<state>> class=\\\"shiraz-dtable-page-prev tc-btn-invisible\\\">\\n{{$:/core/images/chevron-left}}&nbsp;<strong>Prev</strong>\\n<$action-listops $tiddler=<<pageStateTiddler>> $field=text $subfilter=\\\"+[subtract[1]] ~[[1]]\\\"/>\\n</$button>\\n</$list>\\n\\\\end\\n\\n\\\\define next-button()\\n<!-- create next page button --->\\n<$list filter=\\\"[<high>compare:number:gteq<total-entries>then[yes]else[no]]\\\" variable=state> \\n<$button disabled=<<state>> class=\\\"shiraz-dtable-page-next tc-btn-invisible\\\">\\n<strong>Next</strong>&nbsp;{{$:/core/images/chevron-right}} \\n<$action-listops $tiddler=<<pageStateTiddler>> $field=text $subfilter=\\\"+[add[1]] ~[[2]]\\\"/>\\n</$button>\\n</$list>\\n\\\\end\\n\\n\\\\define limit-entries()\\n<!-- set number of entries per page -->\\n<$select tiddler=<<entryPerPageStateTiddler>> default=25 actions=\\\"\\\"\\\"<$action-setfield $tiddler=<<pageStateTiddler>> text=1/>\\\"\\\"\\\">\\n<$list filter='5 10 15 20 25 30 40 50' variable=num>\\n<option value=<<num>>>Limit <$text text=<<num>>/></option>\\n</$list>\\n<option value=<<total-entries>> >Show all</option>\\n</$select>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/dtables/show-edit-cell\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/show-edit-cell\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define showCell()\\n <$list filter=\\\"[<fieldOrIndex>]-index\\\">\\n <$transclude tiddler=<<currentRecord>> field=<<currentColumn>> mode=\\\"inline\\\" />\\n </$list>\\n <$list filter=\\\"[<fieldOrIndex>]-field\\\">\\n <$transclude tiddler=<<currentRecord>> index=<<currentColumn>> mode=\\\"inline\\\" />\\n </$list>\\n\\\\end\\t\\n\\\\define editCell()\\n <$list filter=\\\"[<fieldOrIndex>]-index\\\">\\n <$edit-text tiddler=<<currentRecord>> field=<<currentColumn>> tag=\\\"input\\\" class=\\\"shiraz-dtable-textbox\\\"/>\\n </$list>\\n <$list filter=\\\"[<fieldOrIndex>]-field\\\">\\n <$edit-text tiddler=<<currentRecord>> index=<<currentColumn>> tag=\\\"input\\\" class=\\\"shiraz-dtable-textbox\\\"/>\\n </$list>\\n\\\\end\\n\\n\\\\define showCell_Locked()\\n <span style=\\\"font-style:oblique;\\\"><<showCell>></span>\\n\\\\end \"},\"$:/plugins/kookma/shiraz/macros/dtables/table-dynamic\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/table-dynamic\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define table-dynamic(filter, fields:\\\"\\\", indexes:\\\"\\\", sortOp:\\\"sort\\\", caption:\\\"\\\", class:\\\"\\\",\\n footerRows:\\\"0\\\", stateTiddler:\\\"\\\", editButton:\\\"yes\\\", pagination:\\\"no\\\", emptyMessage:\\\"filter input is empty\\\")\\n\\n\\\\import [all[shadows+tiddlers]tag[$:/tags/Table/Macro]]\\n\\n<!--above commands import utility macros-->\\n<$vars \\n inputFilter=\\\"[subfilter<__filter__>!has[draft.of]]\\\"\\n sortType=<<__sortOp__>>\\n pagination=<<__pagination__>>\\n> \\n<$set name=currentTable value=<<__stateTiddler__>> emptyValue=<<currentTiddler>> >\\n<!-- check what type of columns are sent, fileds or indexes (data tiddlers as records) -->\\n<$set name=fieldOrIndex filter=\\\"[<__fields__>!is[blank]]\\\" value=\\\"field\\\" emptyValue=\\\"index\\\">\\n<$set name=columns filter=\\\"[<fieldOrIndex>]-index\\\" value=<<__fields__>> emptyValue=<<__indexes__>> >\\n<!--check input filter parameter-->\\n<$list filter=\\\"[subfilter<inputFilter>limit[1]]\\\" emptyMessage=<<__emptyMessage__>> variable=ignore>\\n<$set name=sortneg tiddler=<<tempTableSort>> index=\\\"negate\\\">\\n<!--calculate the number of columns in edit and view mode -->\\n<$set name=ncols filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" value={{{ [subfilter<columnFilter>count[]] }}} emptyValue= {{{ [subfilter<columnFilter>count[]subtract[1]] }}}>\\n<div class=\\\"tbl-container\\\" style=\\\"max-width:100%;\\\">\\n<table class=<<__class__>> style=\\\"caption-side:top\\\">\\n<!-- reveal caption and edit button -------------------->\\n<caption style=\\\"text-align:left;\\\">\\n<$list filter=\\\"[<__editButton__>match[yes]]\\\" variable=ignore>\\n<span style=\\\"padding-right:5px;padding-left:3px;\\\"><<toggle-edit-view>></span></$list>\\n$caption$</caption>\\n\\n<!-- create header -------------------->\\n<thead>\\n<<confirm-delete>>\\n<<check_tiddlers_type_for_table_from_indexes>>\\n<tr class=\\\"shiraz-dtable-header\\\">\\n<$list filter=<<columnFilter>> variable=currentColumn>\\n<$set name=\\\"headerLookup\\\" filter=\\\"[all[tiddlers+shadows]tag[$:/tags/Table/HeaderTemplate]contains:tbl-column-list<currentColumn>limit[1]get[title]]\\\" value=<<headerLookup>> emptyValue=\\\"$:/plugins/kookma/shiraz/templates/header/default\\\">\\n <$transclude tiddler=<<headerLookup>> field=\\\"text\\\" mode=\\\"inline\\\"/>\\n</$set>\\n</$list>\\n</tr>\\n</thead>\\n\\n<!-- create footer -------------------->\\n<$reveal type=\\\"gt\\\" default=<<__footerRows__>> text=\\\"0\\\" tag=\\\"tfoot\\\" class=\\\"shiraz-dtable-footer\\\">\\n<tr><td colspan=<<ncols>> style=\\\"font-weight:bold;background-color:transparent;\\\">Numerical summary</td></tr>\\n<$list filter=\\\"[range[1,$footerRows$]addprefix[footer-]]\\\" variable=footerRow>\\n<tr>\\n<$list filter=<<columnFilter>> variable=currentColumn>\\n<$set name=\\\"footerLookup\\\" filter=\\\"[all[tiddlers+shadows]tag[$:/tags/Table/FooterTemplate]contains:tbl-column-list<currentColumn>limit[1]get[title]]\\\" value=<<footerLookup>> emptyValue=\\\"$:/plugins/kookma/shiraz/templates/footer/default\\\">\\n<$transclude tiddler=<<footerLookup>> field=\\\"text\\\" mode=\\\"inline\\\"/>\\n</$set>\\n</$list>\\n</tr>\\n</$list>\\n</$reveal>\\n\\n<!-- reveal main body of table (generate records) -------------------->\\n<tbody>\\n<$set name=tableBody filter=\\\"[<fieldOrIndex>]-index\\\" value=\\\"display_body_fields\\\" emptyValue=\\\"display_body_indexes\\\" >\\n<!-- setup pagination variables -->\\n<$vars total-entries={{{[subfilter<inputFilter>count[]] }}}\\n\\t\\t\\t page-number={{{[<pageStateTiddler>get[text]] ~[[1]]}}} \\n\\t\\t\\t entries-per-page={{{ [<entryPerPageStateTiddler>get[text]] ~[[25]] }}} >\\n<$vars low={{{ [<page-number>subtract[1]multiply<entries-per-page>] }}} \\n high={{{[<page-number>multiply<entries-per-page>] }}} >\\t \\n<$macrocall $name=<<tableBody>> />\\n<!--on demand display the pagination row-->\\n<$reveal type=\\\"match\\\" default=<<pagination>> text=\\\"yes\\\" tag=\\\"tr\\\" class=\\\"shiraz-dtable-page-footer\\\">\\n<td colspan=<<ncols>> >\\n<<prev-button>>\\nDisplaying <$text text={{{[<low>add[1]]}}}/> through <$text text={{{ [<high>compare:number:lt<total-entries>then<high>else<total-entries>] }}}/> of <<total-entries>> Results | <<limit-entries>>\\n<<next-button>>\\n</td>\\n</$reveal><!-- end of pagination ui -->\\n</$vars>\\n</$vars>\\n</$set>\\n</tbody>\\n</table>\\n</div><!-- container-->\\n</$set>\\n</$set>\\n</$list><!--check input filter parameter-->\\n</$set>\\n</$set>\\n</$set>\\n</$vars>\\n\\\\end\\n\\n\"},\"$:/plugins/kookma/shiraz/macros/dtables/table-utility\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/table-utility\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define tableFilter_fields() $(inputFilter)$+[$(sortneg)$$(sortType)${$(tempTableSort)$##sortIndex}]\\n\\\\define tableFilter_indexes() [enlist<items>]+[$(sortneg)$$(sortType)$[]]\\n\\n\\\\define getitems()\\n<$set name=Index tiddler=<<tempTableSort>> index=\\\"sortIndex\\\">\\n<$list filter=\\\"[subfilter<inputFilter>!has[draft.of]]\\\" >\\n<$text text= {{{ [<currentTiddler>getindex<Index>] \\\"°≡°\\\" [<currentTiddler>] +[join[]format:titlelist[]] }}} />\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define display_one_record()\\n<$wikify name=\\\"rowStyle\\\" text=\\\"\\\"\\\"<$transclude tiddler=<<tempTableStyle>> index=<<currentRecord>> />\\\"\\\"\\\" mode=\\\"inline\\\">\\n<tr style=<<rowStyle>>>\\n<$list filter=<<columnFilter>> variable=currentColumn>\\n<$set name=\\\"bodyLookup\\\" \\n filter=\\\"[all[tiddlers+shadows]tag[$:/tags/Table/BodyTemplate]contains:tbl-column-list<currentColumn>]\\n +[limit[1]get[title]]\\\"\\n value=<<bodyLookup>> \\n emptyValue=\\\"$:/plugins/kookma/shiraz/templates/body/default\\\">\\n<$transclude tiddler=<<bodyLookup>> field=\\\"text\\\" mode=\\\"inline\\\"/>\\n</$set>\\n</$list>\\n</tr>\\n<!-- reveal expanded record-->\\n<$reveal type=\\\"match\\\" state=<<tempPathExpand>> text=\\\"show\\\" tag=\\\"tr\\\">\\n<<display-expanded-record>>\\n</$reveal>\\n</$wikify>\\n\\\\end\\n\\n\\\\define display_body_fields() \\n<$set name=finalFilter filter=\\\"[<pagination>match[yes]]\\\" value=\\\"[subfilter<tableFilter_fields>first<high>] -[subfilter<tableFilter_fields>first<low>]\\\" emptyValue=\\\"[subfilter<tableFilter_fields>]\\\">\\n<$list filter=\\\"[subfilter<finalFilter>]\\\" variable=\\\"currentRecord\\\">\\n<<display_one_record>>\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define display_body_indexes()\\n<$wikify name=\\\"items\\\" text=<<getitems>> > \\n<$set name=finalFilter filter=\\\"[<pagination>match[yes]]\\\" value=\\\"[subfilter<tableFilter_indexes>first<high>] -[subfilter<tableFilter_indexes>first<low>]\\\" emptyValue=\\\"[subfilter<tableFilter_indexes>]\\\">\\n<$list filter=\\\"[subfilter<finalFilter>]\\\" variable=\\\"currentItem\\\">\\n<$list filter=\\\"[<currentItem>split[°≡°]last[]]\\\" variable=\\\"currentRecord\\\">\\n <<display_one_record>>\\n</$list>\\n</$list>\\n</$set>\\n</$wikify>\\n\\\\end\\n\\n\"},\"$:/plugins/kookma/shiraz/macros/dtables/tbl-expand\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/tbl-expand\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define display-expanded-record()\\n<td colspan=<<ncols>> class=\\\"shiraz-dtable-expanded-record\\\">\\n<$tiddler tiddler=<<currentRecord>> >\\n\\n<!-- in edit mode select between two editors: simple textbox or TW main editor e.g. codemirror -->\\n<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore\\n emptyMessage=\\\"\\\"\\\"{{||$:/core/ui/ViewTemplate/body}}\\\"\\\"\\\" >\\n<$reveal type=\\\"nomatch\\\" state=\\\"$:/config/shiraz/dynamictables/editor-type\\\" text=\\\"main-editor\\\" tag=\\\"div\\\">\\n<$edit-text class=\\\"tbl-inpt-edit\\\" tiddler=<<currentRecord>> field=\\\"text\\\" tag=textarea/>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=\\\"$:/config/shiraz/dynamictables/editor-type\\\" text=\\\"main-editor\\\" tag=\\\"div\\\" class=\\\"shiraz-dtable-maineditor\\\">\\n{{||$:/core/ui/EditTemplate/body}}\\n</$reveal>\\n</$list>\\n\\n</$tiddler>\\n</td>\\n\\\\end\\n\"},\"$:/plugins/kookma/shiraz/macros/dtables/toggle-edit-view\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/toggle-edit-view\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define toggle-edit-view()\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\">\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" setTitle=<<tempTableEdit>> setIndex=\\\"mode\\\" setTo=\\\"edit\\\">{{$:/core/images/edit-button}}</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\">\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" setTitle=<<tempTableEdit>> setIndex=\\\"mode\\\" setTo=\\\"view\\\">{{$:/core/images/done-button}}</$button>\\n</$reveal>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/dtables/warning_message\":{\"title\":\"$:/plugins/kookma/shiraz/macros/dtables/warning_message\",\"tags\":\"$:/tags/Table/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define filterCriteria() [subfilter<inputFilter>!type[application/x-tiddler-dictionary]!type[application/json]]\\n\\\\define show_tiddler_types()\\n<div style=\\\"text-align:left\\\">\\nList tiddlers with wrong type\\n<ul>\\n<$list filter=<<filterCriteria>> >\\n<li><$link/>&nbsp;(type: <$view field=type/>)</li>\\n</$list>\\n</ul>\\n</div>\\n\\\\end\\n\\n\\\\define dismissButton()\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" style=\\\"fill:white;\\\" tooltip=\\\"Dismiss alert and continue with the current selection!\\\">\\n{{$:/core/images/close-button}}\\n<$action-setfield $tiddler=<<tempWarningMsg>> text=\\\"dissmiss\\\"/>\\n</$button>\\n\\\\end\\n\\n\\\\define check_tiddlers_type_for_table_from_indexes()\\n<$list filter=\\\"[<fieldOrIndex>]-field\\\" variable=ignore><!-- only dataTiddler -->\\n<$list filter=\\\"[<__editButton__>match[yes]]\\\" variable=ignore> <!-- only editable table -->\\n<$list filter=\\\"[<tempWarningMsg>is[missing]]\\\" variable=ignore><!-- dismiss if tempWarningMsg is set -->\\n<$list filter=\\\"[subfilter<filterCriteria>] :and[limit[1]]\\\" variable=ignore>\\n<tr class=\\\"tbl-delete-confirm\\\">\\n<th colspan=<<ncols>> >\\nDanger: Editable dynamic table from idexes with mixed types of tiddlers! &nbsp;<<dismissButton>>\\n<<show_tiddler_types>>\\n</th>\\n</tr>\\n</$list>\\n</$list>\\n</$list>\\n</$list>\\n\\\\end\\t\\n\"},\"$:/plugins/kookma/shiraz/macros/image-basic\":{\"title\":\"$:/plugins/kookma/shiraz/macros/image-basic\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-basic(img, width:\\\"30%\\\", align:\\\"none\\\", caption:\\\"\\\", tooltip:\\\"\\\", alt:\\\"\\\")\\n<figure class=\\\"image-basic image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <$image source=<<__img__>> tooltip=<<__tooltip__>> alt=<<__alt__>> /> \\n <figcaption>$caption$</figcaption>\\n</figure> \\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/image-card\":{\"title\":\"$:/plugins/kookma/shiraz/macros/image-card\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-card(img, width:\\\"30%\\\", align:\\\"none\\\", title:\\\"Empty\\\", text:\\\"Empty\\\", footer:\\\"Empty\\\", pos:\\\"top\\\", alt:\\\"\\\")\\n\\\\import $:/plugins/kookma/shiraz/macros/image-card-utility\\n<$reveal tag=\\\"div\\\" type=\\\"match\\\" default=\\\"top\\\" text=<<__pos__>> >\\n<$macrocall $name=image-card-top img=<<__img__>> title=<<__title__>> text=<<__text__>>\\n footer=<<__footer__>> width=<<__width__>> align=<<__align__>> alt=<<__alt__>> />\\n</$reveal>\\n<$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"top\\\" text=<<__pos__>> >\\n<$macrocall $name=image-card-bottom img=<<__img__>> title=<<__title__>> text=<<__text__>>\\n footer=<<__footer__>> width=<<__width__>> align=<<__align__>> alt=<<__alt__>> />\\n</$reveal>\\n\\\\end\\n\\n\\\\define image-card-top(img, width:\\\"30%\\\", align:\\\"none\\\", title:\\\"Empty\\\", text:\\\"Empty\\\", footer:\\\"Empty\\\", alt:\\\"\\\")\\n<div class=\\\"card image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <$image class=\\\"card-img-top\\\" source=<<__img__>> alt=<<__alt__>> />\\n <div class=\\\"card-body\\\">\\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__title__>> >\\n <div class=\\\"h5 card-title\\\">$title$</div>\\n </$reveal> \\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__text__>> >\\n <div class=\\\"card-text\\\">$text$</div>\\n </$reveal> \\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__footer__>> >\\n <p class=\\\"card-text\\\"><small class=\\\"text-muted\\\">$footer$</small></p>\\n </$reveal>\\n </div> \\n</div>\\n\\\\end\\n\\n\\\\define image-card-bottom(img, width:\\\"30%\\\", align:\\\"none\\\", title:\\\"Empty\\\", text:\\\"Empty\\\", footer:\\\"Empty\\\", alt:\\\"\\\")\\n<div class=\\\"card image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <div class=\\\"card-body\\\">\\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__title__>> >\\n <div class=\\\"h5 card-title\\\">$title$</div>\\n </$reveal> \\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__text__>> >\\n <div class=\\\"card-text\\\">$text$</div>\\n </$reveal> \\n <$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" default=\\\"Empty\\\" text=<<__footer__>> >\\n <p class=\\\"card-text\\\"><small class=\\\"text-muted\\\">$footer$</small></p>\\n </$reveal>\\n </div> \\n <$image class=\\\"card-img-bottom\\\" source=<<__img__>> alt=<<__alt__>> />\\n</div>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/image-overlay\":{\"title\":\"$:/plugins/kookma/shiraz/macros/image-overlay\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-overlay(img, width:\\\"30%\\\", align:\\\"none\\\", caption:\\\"\\\", title:\\\"\\\", text:\\\"\\\", fadein:\\\"left\\\", alt:\\\"\\\")\\n<div class=\\\"image-overlay-container image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <h3 class=\\\"image-overlay-title\\\">$caption$</h3>\\n <div class=\\\"image-overlay-content\\\">\\n <div class=\\\"image-overlay-content-overlay\\\"></div>\\n <$image class=\\\"image-overlay-content-image\\\" source=<<__img__>> alt=<<__alt__>>/>\\n <$set name=\\\"fdcls\\\" filter=\\\"$fadein$ +[splitbefore[ ]] +[addprefix[image-overlay-fadeIn-]]\\\">\\n <div class={{{ image-overlay-content-details [<fdcls>] :and[join[ ]] }}} >\\n <h3 class=\\\"image-overlay-content-title\\\">$title$</h3>\\n <p class=\\\"image-overlay-content-text\\\">$text$</p>\\n </div>\\n </$set>\\n </div>\\n</div>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/image-polaroid\":{\"title\":\"$:/plugins/kookma/shiraz/macros/image-polaroid\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-polaroid(img, width:\\\"30%\\\", align:\\\"none\\\", caption:\\\"\\\", tooltip:\\\"\\\", alt:\\\"\\\")\\n<figure class=\\\"image-polaroid image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <$image source=\\\"\\\"\\\"$img$\\\"\\\"\\\" tooltip=\\\"\\\"\\\"$tooltip$\\\"\\\"\\\"/>\\n <figcaption class=\\\"image-polaroid-caption\\\">$caption$</figcaption>\\n</figure> \\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/image-pretty\":{\"title\":\"$:/plugins/kookma/shiraz/macros/image-pretty\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-pretty(img, width:\\\"30%\\\", align:\\\"none\\\", caption:\\\"\\\", tooltip:\\\"\\\", alt:\\\"\\\")\\n<figure class=\\\"image-pretty image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <$image source=<<__img__>> tooltip=<<__tooltip__>> alt=<<__alt__>> /> \\n <figcaption class=\\\"image-pretty-caption\\\">$caption$</figcaption>\\n</figure> \\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/image-slidein\":{\"title\":\"$:/plugins/kookma/shiraz/macros/image-slidein\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-slidein(img, width:\\\"30%\\\", align:\\\"none\\\", caption:\\\"\\\", tooltip:\\\"\\\", slidein:\\\"left\\\", alt:\\\"\\\")\\n<figure class=\\\"image-slidein mr-cap-$slidein$ image-align-$align$\\\" style=\\\"width:$width$;\\\">\\n <$image source=<<__img__>> tooltip=<<__tooltip__>> alt=<<__alt__>>/>\\n <figcaption>$caption$</figcaption>\\n</figure> \\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/list-search\":{\"title\":\"$:/plugins/kookma/shiraz/macros/list-search\",\"author\":\"Jeremy Ruston\",\"description\":\"creates few paragraphs of dumy text\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define list-search( filter:\\\"[!is[system]]\\\", search:\\\"search:title\\\", template:\\\"$:/core/ui/ListItemTemplate\\\",\\n class:\\\"my-3\\\", stateTiddler:\\\"\\\", placeholder:\\\"keywords\\\")\\n<$set name=\\\"state\\\" filter=\\\"[[$:/temp/list-search/]addsuffix<__stateTiddler__>addsuffix<qualify>]\\\">\\n<div class=<<__class__>> >\\n<$keyboard key=\\\"escape\\\" actions='<$action-deletetiddler $tiddler=<<state>>/>' >\\n<$edit-text tiddler=<<state>> type=\\\"search\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder=\\\"$placeholder$\\\" class=\\\"w-100\\\"/>\\n</$keyboard>\\n</div>\\n<$reveal stateTitle=<<state>> stateField=text type=\\\"match\\\" text=\\\"\\\" class=<<__class__>> tag=div>\\n<$list filter=<<__filter__>> template=<<__template__>>/>\\n</$reveal>\\n<$reveal stateTitle=<<state>> stateField=text type=\\\"nomatch\\\" text=\\\"\\\" class=<<__class__>> tag=div>\\n<$let term={{{ [<state>get[text]] }}}\\n sub= {{{ \\\"[\\\" [<__search__>] \\\"<term>]\\\" :and[join[]] }}} ><!-- this line creates a dynamic filter and stores in a string variable-->\\n<$list filter=\\\"[subfilter<__filter__>]:and[subfilter<sub>]\\\" template=<<__template__>>/>\\n</$let>\\n</$reveal>\\n</$set>\\n\\\\end\\n<!-- from Tobias Beer list-search with modification\\nThe old style dynamic filters are:\\n1. <$list filter=\\\"$filter$+[$search$<term>]\\\" template=<<__template__>>/>\\n2. <$list filter=\\\"$filter$\\\" template=<<__template__>>/>\\nThe new style is: not to use text substitution\\n-->\"},\"$:/plugins/kookma/shiraz/macros/multicol\":{\"title\":\"$:/plugins/kookma/shiraz/macros/multicol\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define multicol(src, ncol:\\\"\\\", class:\\\"\\\")\\n<div class=\\\"sh-multicol$ncol$ $class$\\\">\\n\\n$src$\\n</div>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/slider\":{\"title\":\"$:/plugins/kookma/shiraz/macros/slider\",\"description\":\"Slider macro shows (hides) its content.\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define slider(label, src, labelClass, srcClass, status:\\\"closed\\\")\\n<$let revealState = \\\"\\\"\\\"$:/state/shiraz/slider-macro/$(currentTiddler)$/$label$\\\"\\\"\\\"\\n source = {{{ [<__src__>get[text]else<__src__>] }}} >\\n<h3 class=\\\"$labelClass$\\\">\\n <$reveal type=\\\"nomatch\\\" state=<<revealState>> text=\\\"open\\\" default=\\\"$status$\\\">\\n <$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" set=<<revealState>> setTo=\\\"open\\\">\\n <span class=\\\"kk-sh-slider\\\"><$transclude tiddler=\\\"$:/core/images/right-arrow\\\" /></span>\\n </$button>\\n </$reveal>\\n <$reveal type=\\\"match\\\" state=<<revealState>> text=\\\"open\\\" default=\\\"$status$\\\">\\n <$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" set=<<revealState>> setTo=\\\"closed\\\">\\n <span class=\\\"kk-sh-slider\\\"><$transclude tiddler=\\\"$:/core/images/down-arrow\\\" /></span>\\n </$button>\\n </$reveal>\\n <$let tv-wikilinks=\\\"no\\\">$label$</$let>\\n</h3>\\n<$reveal type=\\\"match\\\" state=<<revealState>> text=\\\"open\\\" default=\\\"$status$\\\" class=\\\"$srcClass$\\\" tag=div>\\n<$transclude tiddler=<<source>> field=title mode=block/>\\n</$reveal>\\n\\n</$let>\\n\\\\end\"},\"$:/plugins/kookma/shiraz/macros/space\":{\"title\":\"$:/plugins/kookma/shiraz/macros/space\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define vspace(height:\\\"25px\\\")\\n<p style=\\\"margin-bottom: $height$;\\\"></p>\\n\\\\end\\n\\n\\\\define hspace(width:\\\"25px\\\")\\n<span style=\\\"margin-left: $width$;\\\"></span>\\n\\\\end\\n\"},\"$:/plugins/kookma/shiraz/macros/text-utility\":{\"title\":\"$:/plugins/kookma/shiraz/macros/text-utility\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define tc(src:\\\"\\\", color:\\\"red\\\") <span style=\\\"color:$color$;\\\">$src$</span>\\n\\\\define bc(src:\\\"\\\", color:\\\"yellow\\\") <span style=\\\"background-color:$color$;\\\">$src$</span>\\n\\\\define mono(src:\\\"\\\", class:\\\"\\\") <code class=\\\"mono $class$\\\">$src$</code>\\n\\\\define transform(case:\\\"\\\", src:\\\"\\\", class:\\\"\\\") <span class=\\\"text-$case$ $class$\\\">$src$</span>\\n\\n<!-- simple highlight -->\\n\\\\define hl(src:\\\"\\\", color:\\\"yellow\\\") <mark class=\\\"kk-sh-highlight\\\" style=\\\"background-color:$color$;\\\">$src$</mark>\\n\\n<!-- drop shadow highlight -->\\n\\\\define hls(src:\\\"\\\", color:\\\"yellow\\\") <mark class=\\\"kk-sh-highlight\\\" style=\\\"filter: drop-shadow(0 0 0.4rem $color$);\\\">$src$</mark>\\n\\n<!-- pen highlight -->\\n\\\\define hlp(src:\\\"\\\", color:\\\"yellow\\\") <mark class=\\\"kk-sh-highlight-pen\\\" style=\\\"background-image: linear-gradient(to top, $color$ 50%, transparent 0);\\\">$src$</mark>\\n\"},\"$:/plugins/kookma/shiraz/readme\":{\"title\":\"$:/plugins/kookma/shiraz/readme\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"; Shiraz\\nShiraz is a small framework of stylesheets, templates and macros to create stylish contents in Tiddlywiki. Shiraz has customized elements like alerts, cards, panels, images, static tables, dynamic tables, quick table, badges, texts, etc. Shiraz uses some modified CSS classes from [[Bootstrap|https://getbootstrap.com/]] 4.3.1.\\n\\n;Code and demo\\nFor learning plugin features, syntax, tutorial and examples see the plugin demo and code pages\\n\\n* Demo: https://kookma.github.io/TW-Shiraz/\\n* Code: https://github.com/kookma/TW-Shiraz\\n\"},\"$:/plugins/kookma/shiraz/styles/alerts-leftbar\":{\"title\":\"$:/plugins/kookma/shiraz/styles/alerts-leftbar\",\"text\":\".leftbar{\\n border-width:0px !important;\\n border-radius:0px !important;\\n border-left-width: 5px !important;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bglowtone-colors\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bglowtone-colors\",\"text\":\"/* Colors taked from [1] https://www.bg-w3schools.bg-com/colors/colors_names.bg-asp \\n[2] http://www.bg-workwithcolor.bg-com/color-chart-full-01.bg-htm*/\\n/*Low tone background colors*/\\n.bg-mistyrose{background-color:#ffe4e1;}\\n.bg-lemonchiffon{background-color:#fffacd;}\\n.bg-lavenderblush{background-color:#fff0f5;}\\n.bg-lavender{background-color:#e6e6fa;}\\n.bg-honeydew{background-color:#f0fff0;}\\n.bg-lightcyan{background-color:#e0ffff;}\\n.bg-aliceblue{background-color:#f0f8ff;}\\n.bg-cornsilk{background-color:#fff8dc;}\\n.bg-gainsboro{background-color:#dcdcdc;}\\n.bg-bisque{background-color:#ffe4c4;}\\n.bg-snow{background-color:#fffafa;}\",\"list\":\"mistyrose lemonchiffon lavenderblush lavender honeydew lightcyan aliceblue cornsilk gainsboro bisque snow\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/alerts\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/alerts\",\"text\":\"/*Was taken from bootstrap 4.1.3*/\\n.alert {\\n position: relative;\\n padding: 0.75rem 1.25rem;\\n margin-bottom: 1rem;\\n border: 1px solid transparent;\\n border-radius: 0.25rem;\\n}\\n.alert-primary {\\n color: #004085;\\n background-color: #cce5ff;\\n border-color: #b8daff;\\n}\\n\\n.alert-primary hr {\\n border-top-color: #9fcdff;\\n}\\n.alert-secondary {\\n color: #383d41;\\n background-color: #e2e3e5;\\n border-color: #d6d8db;\\n}\\n\\n.alert-secondary hr {\\n border-top-color: #c8cbcf;\\n}\\n\\n.alert-success {\\n color: #155724;\\n background-color: #d4edda;\\n border-color: #c3e6cb;\\n}\\n\\n.alert-success hr {\\n border-top-color: #b1dfbb;\\n}\\n.alert-info {\\n color: #0c5460;\\n background-color: #d1ecf1;\\n border-color: #bee5eb;\\n}\\n\\n.alert-info hr {\\n border-top-color: #abdde5;\\n}\\n.alert-warning {\\n color: #856404;\\n background-color: #fff3cd;\\n border-color: #ffeeba;\\n}\\n\\n.alert-warning hr {\\n border-top-color: #ffe8a1;\\n}\\n\\n.alert-danger {\\n color: #721c24;\\n background-color: #f8d7da;\\n border-color: #f5c6cb;\\n}\\n\\n.alert-danger hr {\\n border-top-color: #f1b0b7;\\n}\\n.alert-light {\\n color: #818182;\\n background-color: #fefefe;\\n border-color: #fdfdfe;\\n}\\n\\n.alert-light hr {\\n border-top-color: #ececf6;\\n}\\n.alert-dark {\\n color: #1b1e21;\\n background-color: #d6d8d9;\\n border-color: #c6c8ca;\\n}\\n\\n.alert-dark hr {\\n border-top-color: #b9bbbe;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/background-colors\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/background-colors\",\"text\":\".bg-primary {\\n background-color: #007bff !important;\\n}\\n\\na.bg-primary:hover, a.bg-primary:focus,\\nbutton.bg-primary:hover,\\nbutton.bg-primary:focus {\\n background-color: #0062cc !important;\\n}\\n\\n.bg-secondary {\\n background-color: #6c757d !important;\\n}\\n\\na.bg-secondary:hover, a.bg-secondary:focus,\\nbutton.bg-secondary:hover,\\nbutton.bg-secondary:focus {\\n background-color: #545b62 !important;\\n}\\n\\n.bg-success {\\n background-color: #28a745 !important;\\n}\\n\\na.bg-success:hover, a.bg-success:focus,\\nbutton.bg-success:hover,\\nbutton.bg-success:focus {\\n background-color: #1e7e34 !important;\\n}\\n\\n.bg-info {\\n background-color: #17a2b8 !important;\\n}\\n\\na.bg-info:hover, a.bg-info:focus,\\nbutton.bg-info:hover,\\nbutton.bg-info:focus {\\n background-color: #117a8b !important;\\n}\\n\\n.bg-warning {\\n background-color: #ffc107 !important;\\n}\\n\\na.bg-warning:hover, a.bg-warning:focus,\\nbutton.bg-warning:hover,\\nbutton.bg-warning:focus {\\n background-color: #d39e00 !important;\\n}\\n\\n.bg-danger {\\n background-color: #dc3545 !important;\\n}\\n\\na.bg-danger:hover, a.bg-danger:focus,\\nbutton.bg-danger:hover,\\nbutton.bg-danger:focus {\\n background-color: #bd2130 !important;\\n}\\n\\n.bg-light {\\n background-color: #f8f9fa !important;\\n}\\n\\na.bg-light:hover, a.bg-light:focus,\\nbutton.bg-light:hover,\\nbutton.bg-light:focus {\\n background-color: #dae0e5 !important;\\n}\\n\\n.bg-dark {\\n background-color: #343a40 !important;\\n}\\n\\na.bg-dark:hover, a.bg-dark:focus,\\nbutton.bg-dark:hover,\\nbutton.bg-dark:focus {\\n background-color: #1d2124 !important;\\n}\\n\\n.bg-white {\\n background-color: #fff !important;\\n}\\n\\n.bg-transparent {\\n background-color: transparent !important;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/badge\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/badge\",\"text\":\"/* Extracted from bootstrap 4.1.3 */\\n.badge {\\n display: inline-block;\\n padding: 0.25em 0.4em;\\n font-size: 75%;\\n font-weight: 700;\\n line-height: 1;\\n text-align: center;\\n white-space: nowrap;\\n vertical-align: baseline;\\n border-radius: 0.25rem;\\n}\\n\\n.badge:empty {\\n display: none;\\n}\\n\\n.btn .badge {\\n position: relative;\\n top: -1px;\\n}\\n\\n.badge-pill {\\n padding-right: 0.6em;\\n padding-left: 0.6em;\\n border-radius: 10rem;\\n}\\n\\n.badge-primary {\\n color: #fff;\\n background-color: #007bff;\\n}\\n\\n.badge-primary[href]:hover, .badge-primary[href]:focus {\\n color: #fff;\\n text-decoration: none;\\n background-color: #0062cc;\\n}\\n\\n.badge-secondary {\\n color: #fff;\\n background-color: #6c757d;\\n}\\n\\n.badge-secondary[href]:hover, .badge-secondary[href]:focus {\\n color: #fff;\\n text-decoration: none;\\n background-color: #545b62;\\n}\\n\\n.badge-success {\\n color: #fff;\\n background-color: #28a745;\\n}\\n\\n.badge-success[href]:hover, .badge-success[href]:focus {\\n color: #fff;\\n text-decoration: none;\\n background-color: #1e7e34;\\n}\\n\\n.badge-info {\\n color: #fff;\\n background-color: #17a2b8;\\n}\\n\\n.badge-info[href]:hover, .badge-info[href]:focus {\\n color: #fff;\\n text-decoration: none;\\n background-color: #117a8b;\\n}\\n\\n.badge-warning {\\n color: #212529;\\n background-color: #ffc107;\\n}\\n\\n.badge-warning[href]:hover, .badge-warning[href]:focus {\\n color: #212529;\\n text-decoration: none;\\n background-color: #d39e00;\\n}\\n\\n.badge-danger {\\n color: #fff;\\n background-color: #dc3545;\\n}\\n\\n.badge-danger[href]:hover, .badge-danger[href]:focus {\\n color: #fff;\\n text-decoration: none;\\n background-color: #bd2130;\\n}\\n\\n.badge-light {\\n color: #212529;\\n background-color: #f8f9fa;\\n}\\n\\n.badge-light[href]:hover, .badge-light[href]:focus {\\n color: #212529;\\n text-decoration: none;\\n background-color: #dae0e5;\\n}\\n\\n.badge-dark {\\n color: #fff;\\n background-color: #343a40;\\n}\\n\\n.badge-dark[href]:hover, .badge-dark[href]:focus {\\n color: #fff;\\n text-decoration: none;\\n background-color: #1d2124;\\n}\\n\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/borders\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/borders\",\"text\":\".border {\\n border: 1px solid #dee2e6 !important;\\n}\\n\\n.border-top {\\n border-top: 1px solid #dee2e6 !important;\\n}\\n\\n.border-right {\\n border-right: 1px solid #dee2e6 !important;\\n}\\n\\n.border-bottom {\\n border-bottom: 1px solid #dee2e6 !important;\\n}\\n\\n.border-left {\\n border-left: 1px solid #dee2e6 !important;\\n}\\n\\n.border-0 {\\n border: 0 !important;\\n}\\n\\n.border-top-0 {\\n border-top: 0 !important;\\n}\\n\\n.border-right-0 {\\n border-right: 0 !important;\\n}\\n\\n.border-bottom-0 {\\n border-bottom: 0 !important;\\n}\\n\\n.border-left-0 {\\n border-left: 0 !important;\\n}\\n\\n.border-primary {\\n border-color: #007bff !important;\\n}\\n\\n.border-secondary {\\n border-color: #6c757d !important;\\n}\\n\\n.border-success {\\n border-color: #28a745 !important;\\n}\\n\\n.border-info {\\n border-color: #17a2b8 !important;\\n}\\n\\n.border-warning {\\n border-color: #ffc107 !important;\\n}\\n\\n.border-danger {\\n border-color: #dc3545 !important;\\n}\\n\\n.border-light {\\n border-color: #f8f9fa !important;\\n}\\n\\n.border-dark {\\n border-color: #343a40 !important;\\n}\\n\\n.border-white {\\n border-color: #fff !important;\\n}\\n\\n.rounded {\\n border-radius: 0.25rem !important;\\n}\\n\\n.rounded-top {\\n border-top-left-radius: 0.25rem !important;\\n border-top-right-radius: 0.25rem !important;\\n}\\n\\n.rounded-right {\\n border-top-right-radius: 0.25rem !important;\\n border-bottom-right-radius: 0.25rem !important;\\n}\\n\\n.rounded-bottom {\\n border-bottom-right-radius: 0.25rem !important;\\n border-bottom-left-radius: 0.25rem !important;\\n}\\n\\n.rounded-left {\\n border-top-left-radius: 0.25rem !important;\\n border-bottom-left-radius: 0.25rem !important;\\n}\\n\\n.rounded-circle {\\n border-radius: 50% !important;\\n}\\n\\n.rounded-0 {\\n border-radius: 0 !important;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/btn\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/btn\",\"text\":\"/* Button and btn classes Mohammad*/\\n.btn {\\n display: inline-block;\\n font-weight: 400;\\n text-align: center;\\n white-space: nowrap;\\n vertical-align: middle;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n border: 1px solid transparent;\\n padding: 0.375rem 0.75rem;\\n font-size: 1rem;\\n line-height: 1.5;\\n border-radius: 0.25rem;\\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\\n}\\n\\n\\n.btn:hover, .btn:focus {\\n text-decoration: none;\\n}\\n\\n.btn:focus, .btn.focus {\\n outline: 0;\\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);\\n}\\n\\n.btn.disabled, .btn:disabled {\\n opacity: 0.65;\\n}\\n\\n.btn:not(:disabled):not(.disabled) {\\n cursor: pointer;\\n}\\n\\na.btn.disabled,\\nfieldset:disabled a.btn {\\n pointer-events: none;\\n}\\n\\n.btn-primary {\\n color: #fff;\\n background-color: #007bff;\\n border-color: #007bff;\\n}\\n\\n.btn-primary:hover {\\n color: #fff;\\n background-color: #0069d9;\\n border-color: #0062cc;\\n}\\n\\n.btn-primary:focus, .btn-primary.focus {\\n box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);\\n}\\n\\n.btn-primary.disabled, .btn-primary:disabled {\\n color: #fff;\\n background-color: #007bff;\\n border-color: #007bff;\\n}\\n\\n.btn-secondary {\\n color: #fff;\\n background-color: #6c757d;\\n border-color: #6c757d;\\n}\\n\\n.btn-secondary:hover {\\n color: #fff;\\n background-color: #5a6268;\\n border-color: #545b62;\\n}\\n\\n.btn-secondary:focus, .btn-secondary.focus {\\n box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);\\n}\\n\\n.btn-secondary.disabled, .btn-secondary:disabled {\\n color: #fff;\\n background-color: #6c757d;\\n border-color: #6c757d;\\n}\\n\\n.btn-success {\\n color: #fff;\\n background-color: #28a745;\\n border-color: #28a745;\\n}\\n\\n.btn-success:hover {\\n color: #fff;\\n background-color: #218838;\\n border-color: #1e7e34;\\n}\\n\\n.btn-success:focus, .btn-success.focus {\\n box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);\\n}\\n\\n.btn-success.disabled, .btn-success:disabled {\\n color: #fff;\\n background-color: #28a745;\\n border-color: #28a745;\\n}\\n\\n.btn-info {\\n color: #fff;\\n background-color: #17a2b8;\\n border-color: #17a2b8;\\n}\\n\\n.btn-info:hover {\\n color: #fff;\\n background-color: #138496;\\n border-color: #117a8b;\\n}\\n\\n.btn-info:focus, .btn-info.focus {\\n box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);\\n}\\n\\n.btn-info.disabled, .btn-info:disabled {\\n color: #fff;\\n background-color: #17a2b8;\\n border-color: #17a2b8;\\n}\\n\\n.btn-warning {\\n color: #212529;\\n background-color: #ffc107;\\n border-color: #ffc107;\\n}\\n\\n.btn-warning:hover {\\n color: #212529;\\n background-color: #e0a800;\\n border-color: #d39e00;\\n}\\n\\n.btn-warning:focus, .btn-warning.focus {\\n box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);\\n}\\n\\n.btn-warning.disabled, .btn-warning:disabled {\\n color: #212529;\\n background-color: #ffc107;\\n border-color: #ffc107;\\n}\\n\\n.btn-danger {\\n color: #fff;\\n background-color: #dc3545;\\n border-color: #dc3545;\\n}\\n\\n.btn-danger:hover {\\n color: #fff;\\n background-color: #c82333;\\n border-color: #bd2130;\\n}\\n\\n.btn-danger:focus, .btn-danger.focus {\\n box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);\\n}\\n\\n.btn-danger.disabled, .btn-danger:disabled {\\n color: #fff;\\n background-color: #dc3545;\\n border-color: #dc3545;\\n}\\n\\n.btn-light {\\n color: #212529;\\n background-color: #f8f9fa;\\n border-color: #f8f9fa;\\n}\\n\\n.btn-light:hover {\\n color: #212529;\\n background-color: #e2e6ea;\\n border-color: #dae0e5;\\n}\\n\\n.btn-light:focus, .btn-light.focus {\\n box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);\\n}\\n\\n.btn-light.disabled, .btn-light:disabled {\\n color: #212529;\\n background-color: #f8f9fa;\\n border-color: #f8f9fa;\\n}\\n\\n.btn-dark {\\n color: #fff;\\n background-color: #343a40;\\n border-color: #343a40;\\n}\\n\\n.btn-dark:hover {\\n color: #fff;\\n background-color: #23272b;\\n border-color: #1d2124;\\n}\\n\\n.btn-dark:focus, .btn-dark.focus {\\n box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);\\n}\\n\\n.btn-dark.disabled, .btn-dark:disabled {\\n color: #fff;\\n background-color: #343a40;\\n border-color: #343a40;\\n}\\n\\n.btn-link {\\n font-weight: 400;\\n color: #007bff;\\n background-color: transparent;\\n}\\n\\n.btn-link:hover {\\n color: #0056b3;\\n text-decoration: underline;\\n background-color: transparent;\\n border-color: transparent;\\n}\\n\\n.btn-link:focus, .btn-link.focus {\\n text-decoration: underline;\\n border-color: transparent;\\n box-shadow: none;\\n}\\n\\n.btn-link:disabled, .btn-link.disabled {\\n color: #6c757d;\\n pointer-events: none;\\n}\\n\\n/* button size */\\n\\n.btn-lg{\\n padding: 0.5rem 1rem;\\n font-size: 1.25rem;\\n line-height: 1.5;\\n border-radius: 0.3rem;\\n}\\n\\n.btn-sm{\\n padding: 0.25rem 0.5rem;\\n font-size: 0.875rem;\\n line-height: 1.5;\\n border-radius: 0.2rem;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/card\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/card\",\"text\":\"/* Extracted from bootstrap 4.1.3 */\\n.card {\\n position: relative;\\n display: -ms-flexbox;\\n display: flex;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n min-width: 0;\\n word-wrap: break-word;\\n background-color: #fff;\\n background-clip: border-box;\\n border: 1px solid rgba(0, 0, 0, 0.125);\\n border-radius: 0.25rem;\\n}\\n\\n.card > hr {\\n margin-right: 0;\\n margin-left: 0;\\n}\\n\\n.card > .list-group:first-child .list-group-item:first-child {\\n border-top-left-radius: 0.25rem;\\n border-top-right-radius: 0.25rem;\\n}\\n\\n.card > .list-group:last-child .list-group-item:last-child {\\n border-bottom-right-radius: 0.25rem;\\n border-bottom-left-radius: 0.25rem;\\n}\\n\\n.card-body {\\n -ms-flex: 1 1 auto;\\n flex: 1 1 auto;\\n padding: 1.25rem;\\n}\\n\\n.card-title {\\n margin-bottom: 0.75rem;\\n}\\n\\n.card-subtitle {\\n margin-top: -0.375rem;\\n margin-bottom: 0;\\n}\\n\\n.card-text:last-child {\\n margin-bottom: 0;\\n}\\n\\n.card-link:hover {\\n text-decoration: none;\\n}\\n\\n.card-link + .card-link {\\n margin-left: 1.25rem;\\n}\\n\\n.card-header {\\n padding: 0.75rem 1.25rem;\\n margin-bottom: 0;\\n background-color: rgba(0, 0, 0, 0.03);\\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\\n}\\n\\n.card-header:first-child {\\n border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;\\n}\\n\\n.card-header + .list-group .list-group-item:first-child {\\n border-top: 0;\\n}\\n\\n.card-footer {\\n padding: 0.75rem 1.25rem;\\n background-color: rgba(0, 0, 0, 0.03);\\n border-top: 1px solid rgba(0, 0, 0, 0.125);\\n}\\n\\n.card-footer:last-child {\\n border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);\\n}\\n\\n.card-header-tabs {\\n margin-right: -0.625rem;\\n margin-bottom: -0.75rem;\\n margin-left: -0.625rem;\\n border-bottom: 0;\\n}\\n\\n.card-header-pills {\\n margin-right: -0.625rem;\\n margin-left: -0.625rem;\\n}\\n\\n.card-img-overlay {\\n position: absolute;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n padding: 1.25rem;\\n}\\n\\n.card-img {\\n width: 100%;\\n border-radius: calc(0.25rem - 1px);\\n}\\n\\n.card-img-top {\\n width: 100%;\\n border-top-left-radius: calc(0.25rem - 1px);\\n border-top-right-radius: calc(0.25rem - 1px);\\n}\\n\\n.card-img-bottom {\\n width: 100%;\\n border-bottom-right-radius: calc(0.25rem - 1px);\\n border-bottom-left-radius: calc(0.25rem - 1px);\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/card-column\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/card-column\",\"text\":\"/* Extracted from bootstrap 4.3.1 */\\n.card-columns .card {\\n margin-bottom: 0.75rem;\\n}\\n\\n@media (min-width: 576px) {\\n .card-columns {\\n -webkit-column-count: 3;\\n -moz-column-count: 3;\\n column-count: 3;\\n -webkit-column-gap: 1.25rem;\\n -moz-column-gap: 1.25rem;\\n column-gap: 1.25rem;\\n orphans: 1;\\n widows: 1;\\n }\\n .card-columns .card {\\n display: inline-block;\\n width: 100%;\\n }\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/card-deck\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/card-deck\",\"text\":\"/* Extracted from bootstrap 4.1.3 */\\n\\n.card-deck {\\n display: -ms-flexbox;\\n display: flex;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n}\\n\\n.card-deck .card {\\n margin-bottom: 15px;\\n}\\n\\n@media (min-width: 576px) {\\n .card-deck {\\n -ms-flex-flow: row wrap;\\n flex-flow: row wrap;\\n margin-right: -15px;\\n margin-left: -15px;\\n }\\n .card-deck .card {\\n display: -ms-flexbox;\\n display: flex;\\n -ms-flex: 1 0 0%;\\n flex: 1 0 0%;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n margin-right: 15px;\\n margin-bottom: 0;\\n margin-left: 15px;\\n }\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/card-group\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/card-group\",\"text\":\"/* Extracted from bootstrap 4.1.3 */\\n.card-group {\\n display: -ms-flexbox;\\n display: flex;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n}\\n\\n.card-group > .card {\\n margin-bottom: 15px;\\n}\\n\\n@media (min-width: 576px) {\\n .card-group {\\n -ms-flex-flow: row wrap;\\n flex-flow: row wrap;\\n }\\n .card-group > .card {\\n -ms-flex: 1 0 0%;\\n flex: 1 0 0%;\\n margin-bottom: 0;\\n }\\n .card-group > .card + .card {\\n margin-left: 0;\\n border-left: 0;\\n }\\n .card-group > .card:first-child {\\n border-top-right-radius: 0;\\n border-bottom-right-radius: 0;\\n }\\n .card-group > .card:first-child .card-img-top,\\n .card-group > .card:first-child .card-header {\\n border-top-right-radius: 0;\\n }\\n .card-group > .card:first-child .card-img-bottom,\\n .card-group > .card:first-child .card-footer {\\n border-bottom-right-radius: 0;\\n }\\n .card-group > .card:last-child {\\n border-top-left-radius: 0;\\n border-bottom-left-radius: 0;\\n }\\n .card-group > .card:last-child .card-img-top,\\n .card-group > .card:last-child .card-header {\\n border-top-left-radius: 0;\\n }\\n .card-group > .card:last-child .card-img-bottom,\\n .card-group > .card:last-child .card-footer {\\n border-bottom-left-radius: 0;\\n }\\n .card-group > .card:only-child {\\n border-radius: 0.25rem;\\n }\\n .card-group > .card:only-child .card-img-top,\\n .card-group > .card:only-child .card-header {\\n border-top-left-radius: 0.25rem;\\n border-top-right-radius: 0.25rem;\\n }\\n .card-group > .card:only-child .card-img-bottom,\\n .card-group > .card:only-child .card-footer {\\n border-bottom-right-radius: 0.25rem;\\n border-bottom-left-radius: 0.25rem;\\n }\\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {\\n border-radius: 0;\\n }\\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,\\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,\\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,\\n .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {\\n border-radius: 0;\\n }\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/clearfix\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/clearfix\",\"text\":\".clearfix::after {\\n display: block;\\n clear: both;\\n content: \\\"\\\";\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/float\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/float\",\"text\":\".float-left {\\n float: left;\\n}\\n\\n.float-right {\\n float: right;\\n}\\n\\n.float-none {\\n float: none;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/my-adjustment\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/my-adjustment\",\"text\":\"/* My adjustments to bootstrap 4.1.3 css classes */\\na {\\n color: #007bff;\\n text-decoration: none;\\n background-color: transparent;\\n -webkit-text-decoration-skip: objects;\\n}\\n/* Link is hacked to be compatible with bootstrap \\nclasses remove it if the TW core objects break\\n*/\\n\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/shadow\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/shadow\",\"text\":\".shadow-sm {\\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\\n}\\n\\n.shadow {\\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;\\n}\\n\\n.shadow-lg {\\n box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;\\n}\\n\\n.shadow-none {\\n box-shadow: none !important;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/sizing-spacing\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/sizing-spacing\",\"text\":\"/* Extracted from bootstrap 4.3.1 */\\n/*Defines margins, paddings, width and height*/\\n.w-25 {\\n width: 25% !important;\\n}\\n.w-50 {\\n width: 50% !important;\\n}\\n.w-75 {\\n width: 75% !important;\\n}\\n.w-100 {\\n width: 100% !important;\\n}\\n.w-auto {\\n width: auto !important;\\n}\\n.h-25 {\\n height: 25% !important;\\n}\\n.h-50 {\\n height: 50% !important;\\n}\\n.h-75 {\\n height: 75% !important;\\n}\\n.h-100 {\\n height: 100% !important;\\n}\\n.h-auto {\\n height: auto !important;\\n}\\n.mw-100 {\\n max-width: 100% !important;\\n}\\n.mh-100 {\\n max-height: 100% !important;\\n}\\n.m-0 {\\n margin: 0 !important;\\n}\\n.mt-0,\\n.my-0 {\\n margin-top: 0 !important;\\n}\\n.mr-0,\\n.mx-0 {\\n margin-right: 0 !important;\\n}\\n.mb-0,\\n.my-0 {\\n margin-bottom: 0 !important;\\n}\\n.ml-0,\\n.mx-0 {\\n margin-left: 0 !important;\\n}\\n.m-1 {\\n margin: 0.25rem !important;\\n}\\n.mt-1,\\n.my-1 {\\n margin-top: 0.25rem !important;\\n}\\n.mr-1,\\n.mx-1 {\\n margin-right: 0.25rem !important;\\n}\\n.mb-1,\\n.my-1 {\\n margin-bottom: 0.25rem !important;\\n}\\n.ml-1,\\n.mx-1 {\\n margin-left: 0.25rem !important;\\n}\\n.m-2 {\\n margin: 0.5rem !important;\\n}\\n.mt-2,\\n.my-2 {\\n margin-top: 0.5rem !important;\\n}\\n.mr-2,\\n.mx-2 {\\n margin-right: 0.5rem !important;\\n}\\n.mb-2,\\n.my-2 {\\n margin-bottom: 0.5rem !important;\\n}\\n.ml-2,\\n.mx-2 {\\n margin-left: 0.5rem !important;\\n}\\n\\n.m-3 {\\n margin: 1rem !important;\\n}\\n\\n.mt-3,\\n.my-3 {\\n margin-top: 1rem !important;\\n}\\n\\n.mr-3,\\n.mx-3 {\\n margin-right: 1rem !important;\\n}\\n\\n.mb-3,\\n.my-3 {\\n margin-bottom: 1rem !important;\\n}\\n\\n.ml-3,\\n.mx-3 {\\n margin-left: 1rem !important;\\n}\\n\\n.m-4 {\\n margin: 1.5rem !important;\\n}\\n\\n.mt-4,\\n.my-4 {\\n margin-top: 1.5rem !important;\\n}\\n\\n.mr-4,\\n.mx-4 {\\n margin-right: 1.5rem !important;\\n}\\n\\n.mb-4,\\n.my-4 {\\n margin-bottom: 1.5rem !important;\\n}\\n\\n.ml-4,\\n.mx-4 {\\n margin-left: 1.5rem !important;\\n}\\n\\n.m-5 {\\n margin: 3rem !important;\\n}\\n\\n.mt-5,\\n.my-5 {\\n margin-top: 3rem !important;\\n}\\n\\n.mr-5,\\n.mx-5 {\\n margin-right: 3rem !important;\\n}\\n\\n.mb-5,\\n.my-5 {\\n margin-bottom: 3rem !important;\\n}\\n\\n.ml-5,\\n.mx-5 {\\n margin-left: 3rem !important;\\n}\\n\\n.p-0 {\\n padding: 0 !important;\\n}\\n\\n.pt-0,\\n.py-0 {\\n padding-top: 0 !important;\\n}\\n\\n.pr-0,\\n.px-0 {\\n padding-right: 0 !important;\\n}\\n\\n.pb-0,\\n.py-0 {\\n padding-bottom: 0 !important;\\n}\\n\\n.pl-0,\\n.px-0 {\\n padding-left: 0 !important;\\n}\\n\\n.p-1 {\\n padding: 0.25rem !important;\\n}\\n\\n.pt-1,\\n.py-1 {\\n padding-top: 0.25rem !important;\\n}\\n\\n.pr-1,\\n.px-1 {\\n padding-right: 0.25rem !important;\\n}\\n\\n.pb-1,\\n.py-1 {\\n padding-bottom: 0.25rem !important;\\n}\\n\\n.pl-1,\\n.px-1 {\\n padding-left: 0.25rem !important;\\n}\\n\\n.p-2 {\\n padding: 0.5rem !important;\\n}\\n\\n.pt-2,\\n.py-2 {\\n padding-top: 0.5rem !important;\\n}\\n\\n.pr-2,\\n.px-2 {\\n padding-right: 0.5rem !important;\\n}\\n\\n.pb-2,\\n.py-2 {\\n padding-bottom: 0.5rem !important;\\n}\\n\\n.pl-2,\\n.px-2 {\\n padding-left: 0.5rem !important;\\n}\\n\\n.p-3 {\\n padding: 1rem !important;\\n}\\n\\n.pt-3,\\n.py-3 {\\n padding-top: 1rem !important;\\n}\\n\\n.pr-3,\\n.px-3 {\\n padding-right: 1rem !important;\\n}\\n\\n.pb-3,\\n.py-3 {\\n padding-bottom: 1rem !important;\\n}\\n\\n.pl-3,\\n.px-3 {\\n padding-left: 1rem !important;\\n}\\n\\n.p-4 {\\n padding: 1.5rem !important;\\n}\\n\\n.pt-4,\\n.py-4 {\\n padding-top: 1.5rem !important;\\n}\\n\\n.pr-4,\\n.px-4 {\\n padding-right: 1.5rem !important;\\n}\\n\\n.pb-4,\\n.py-4 {\\n padding-bottom: 1.5rem !important;\\n}\\n\\n.pl-4,\\n.px-4 {\\n padding-left: 1.5rem !important;\\n}\\n\\n.p-5 {\\n padding: 3rem !important;\\n}\\n\\n.pt-5,\\n.py-5 {\\n padding-top: 3rem !important;\\n}\\n\\n.pr-5,\\n.px-5 {\\n padding-right: 3rem !important;\\n}\\n\\n.pb-5,\\n.py-5 {\\n padding-bottom: 3rem !important;\\n}\\n\\n.pl-5,\\n.px-5 {\\n padding-left: 3rem !important;\\n}\\n\\n.m-auto {\\n margin: auto !important;\\n}\\n\\n.mt-auto,\\n.my-auto {\\n margin-top: auto !important;\\n}\\n\\n.mr-auto,\\n.mx-auto {\\n margin-right: auto !important;\\n}\\n\\n.mb-auto,\\n.my-auto {\\n margin-bottom: auto !important;\\n}\\n\\n.ml-auto,\\n.mx-auto {\\n margin-left: auto !important;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/text-alignment\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/text-alignment\",\"text\":\".text-justify {\\n text-align: justify !important;\\n}\\n\\n.text-nowrap {\\n white-space: nowrap !important;\\n}\\n\\n.text-truncate {\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n\\n.text-left {\\n text-align: left !important;\\n}\\n\\n.text-right {\\n text-align: right !important;\\n}\\n\\n.text-center {\\n text-align: center !important;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/text-colors\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/text-colors\",\"text\":\"/* from bootstrap 4.1.3 */\\n\\n.text-white {\\n color: #fff !important;\\n}\\n\\n.text-primary {\\n color: #007bff !important;\\n}\\n\\na.text-primary:hover, a.text-primary:focus {\\n color: #0062cc !important;\\n}\\n\\n.text-secondary {\\n color: #6c757d !important;\\n}\\n\\na.text-secondary:hover, a.text-secondary:focus {\\n color: #545b62 !important;\\n}\\n\\n.text-success {\\n color: #28a745 !important;\\n}\\n\\na.text-success:hover, a.text-success:focus {\\n color: #1e7e34 !important;\\n}\\n\\n.text-info {\\n color: #17a2b8 !important;\\n}\\n\\na.text-info:hover, a.text-info:focus {\\n color: #117a8b !important;\\n}\\n\\n.text-warning {\\n color: #ffc107 !important;\\n}\\n\\na.text-warning:hover, a.text-warning:focus {\\n color: #d39e00 !important;\\n}\\n\\n.text-danger {\\n color: #dc3545 !important;\\n}\\n\\na.text-danger:hover, a.text-danger:focus {\\n color: #bd2130 !important;\\n}\\n\\n.text-light {\\n color: #f8f9fa !important;\\n}\\n\\na.text-light:hover, a.text-light:focus {\\n color: #dae0e5 !important;\\n}\\n\\n.text-dark {\\n color: #343a40 !important;\\n}\\n\\na.text-dark:hover, a.text-dark:focus {\\n color: #1d2124 !important;\\n}\\n\\n.text-body {\\n color: #212529 !important;\\n}\\n\\n.text-muted {\\n color: #6c757d !important;\\n}\\n\\n.text-black-50 {\\n color: rgba(0, 0, 0, 0.5) !important;\\n}\\n\\n.text-white-50 {\\n color: rgba(255, 255, 255, 0.5) !important;\\n}\\n\\n.text-hide {\\n font: 0/0 a;\\n color: transparent;\\n text-shadow: none;\\n background-color: transparent;\\n border: 0;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/bs/text-utility\":{\"title\":\"$:/plugins/kookma/shiraz/styles/bs/text-utility\",\"text\":\"/* Can be removed latter. This is used for illustration of bootstrap cards */\\n\\n.text-lowercase {\\n text-transform: lowercase !important;\\n}\\n\\n.text-uppercase {\\n text-transform: uppercase !important;\\n}\\n\\n.text-capitalize {\\n text-transform: capitalize !important;\\n}\\n\\n.font-weight-light {\\n font-weight: 300 !important;\\n}\\n\\n.font-weight-normal {\\n font-weight: 400 !important;\\n}\\n\\n.font-weight-bold {\\n font-weight: 700 !important;\\n}\\n\\n.font-italic {\\n font-style: italic !important;\\n}\\n\\n\\n.h1, .h2, .h3, .h4, .h5, .h6 {\\n margin-bottom: 0.5rem;\\n font-family: inherit;\\n font-weight: 500;\\n line-height: 1.2;\\n color: inherit;\\n}\\n\\n.h1 {\\n font-size: 2.5rem;\\n}\\n\\n.h2 {\\n font-size: 2rem;\\n}\\n\\n.h3 {\\n font-size: 1.75rem;\\n}\\n\\n.h4 {\\n font-size: 1.5rem;\\n}\\n\\n.h5 {\\n font-size: 1.25rem;\\n}\\n\\n.h6 {\\n font-size: 1rem;\\n}\\n\\n.lead {\\n font-size: 1.25rem;\\n font-weight: 300;\\n}\\n\\n.display-1 {\\n font-size: 6rem;\\n font-weight: 300;\\n line-height: 1.2;\\n}\\n\\n.display-2 {\\n font-size: 5.5rem;\\n font-weight: 300;\\n line-height: 1.2;\\n}\\n\\n.display-3 {\\n font-size: 4.5rem;\\n font-weight: 300;\\n line-height: 1.2;\\n}\\n\\n.display-4 {\\n font-size: 3.5rem;\\n font-weight: 300;\\n line-height: 1.2;\\n}\\n\\n.hr {\\n margin-top: 1rem;\\n margin-bottom: 1rem;\\n border: 0;\\n border-top: 1px solid rgba(0, 0, 0, 0.1);\\n}\\n\\n.small {\\n font-size: 80%;\\n font-weight: 400;\\n}\\n\\n.mark {\\n padding: 0.2em;\\n background-color: #fcf8e3;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/clear-float\":{\"title\":\"$:/plugins/kookma/shiraz/styles/clear-float\",\"text\":\"/* Resolve issue for floating objects which cross the tiddler frame!\\nThe below code should force the tiddler to always wrap around floating elements, so that they are always inside\\nRef: https://groups.google.com/d/msg/tiddlywiki/5bZwwj6cyac/2LzFeA7AAwAJ\\n*/\\n\\n.tc-tiddler-body:before, .tc-tiddler-body:after {\\n content: \\\"\\\";\\n display: table;\\n}\\n.tc-tiddler-body:after {\\n clear: both;\\n}\\n.tc-tiddler-body {\\n zoom: 1;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/colorful-sidebar-tab\":{\"title\":\"$:/plugins/kookma/shiraz/styles/colorful-sidebar-tab\",\"text\":\".tc-sidebar-lists .tc-tab-buttons button.tc-tab-selected {\\n background: none;\\n border: none;\\n border-bottom: solid 1px #737373;\\n font-weight: bold;\\n color: #DB4C3F;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/csvtable\":{\"title\":\"$:/plugins/kookma/shiraz/styles/csvtable\",\"text\":\"/* todo section ------------*/\\n.tc-tiddler-body p.dblock,\\n.tc-tiddler-preview-preview p.dblock {\\n\\tdisplay:none;\\n}\\n\\n/*\\nOnly used with csv table\\nSee $:/plugins/kookma/shiraz/macros/csvtables/table-csv\\nThe @@ produces a p tag.\\n*/\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/csvtable-katex\":{\"title\":\"$:/plugins/kookma/shiraz/styles/csvtable-katex\",\"text\":\".falign .katex-display > .katex {text-align:left;}\\n.ralign .katex-display > .katex {text-align:right;}\\n.table-mathbox tr td{vertical-align: baseline;} /* baseline aligned text and fomula in table cell*/\\n\\n/*\\nOnly used with csv table + katex\\nSee $:/plugins/kookma/shiraz/macros/csvtables/formats-math\\n*/\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/csvtable-star\":{\"title\":\"$:/plugins/kookma/shiraz/styles/csvtable-star\",\"text\":\"/* Styles for star rating used with table-csv macro */\\n.shiraz-star svg{\\nwidth: 1.2em;\\nheight: 1.2em;\\nvertical-align: middle;\\nfill:#FF9529; /*Deep Saffron*/\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/dbadge\":{\"title\":\"$:/plugins/kookma/shiraz/styles/dbadge\",\"text\":\"/*Credits: \\nNishant Srivastava https://codepen.io/nisrulz/pen/bpQWLW\\nMohammad Rahmani: https://github.com/kookma\\n*/\\n.dbadge {\\n display: inline-block;\\n margin: 0.0em;\\n}\\n.dbadge > span {\\n color: #ffffff;\\n font-size: 0.8em;\\n font-weight: 400;\\n line-height: 1;\\n padding: .2em .6em;\\n text-align: center;\\n vertical-align: baseline;\\n white-space: nowrap;}\\n\\n.dbadge-subject{\\n background-color: #656565;\\n border-bottom-left-radius: 0.25em;\\n border-top-left-radius: 0.25em;}\\n.dbadge-status {\\n border-bottom-right-radius: 0.25em;\\n border-top-right-radius: 0.25em;}\\n\\n.dbadge-primary {\\n background-color: #337ab7;}\\n.dbadge-success {\\n background-color: #5cb85c;}\\n.dbadge-info {\\n background-color: #5bc0de;}\\n.dbadge-warning {\\n background-color: #f0ad4e;}\\n.dbadge-danger {\\n background-color: #d9534f;}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/details-slider\":{\"title\":\"$:/plugins/kookma/shiraz/styles/details-slider\",\"text\":\"/*details html5 macro*/\\ndetails.kk-shiraz-details > summary {\\n padding: 2px 6px;\\n font-weight:500;\\n outline:none;\\n}\\ndetails.kk-shiraz-details > div {\\n padding: 2px 6px;\\n margin: 0;\\n}\\n\\n\\n/* Styles for summary cursor\\nurl: https://css-tricks.com/two-issues-styling-the-details-element-and-how-to-solve-them/\\n*/\\n\\ndetails.kk-shiraz-details summary {\\n cursor: pointer;\\n}\\n\\ndetails.kk-shiraz-details summary > * {\\n display: inline;\\n}\\n\\n\\nbutton .kk-sh-slider svg{\\nwidth: 0.8em;\\nheight: 0.8em;\\nvertical-align: middle;\\n}\\n\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/dynamic-tables\":{\"title\":\"$:/plugins/kookma/shiraz/styles/dynamic-tables\",\"text\":\"/* main editor toolbar settings for dynamic table */\\n.shiraz-dtable-maineditor .tc-editor-toolbar button svg{\\n\\theight:0.9em; /* make toolbar buttons smaller */\\n\\twidth:0.9em\\n}\\n/* make third party plugins like KaTeX button smaller */\\n.shiraz-dtable-maineditor .tc-editor-toolbar button .katex{\\n\\tfont-size: 0.9em;\\n\\tline-height:1em;\\n}\\n\\n/* edit-text box for dynamic table */\\n.shiraz-dtable-textbox {\\n\\twidth:100%;\\n\\tpadding-left: 5px;\\n\\tborder: none;\\n}\\n\\n.shiraz-dtable-textbox:focus {\\n\\toutline: none;\\n\\tborder: 1px solid #5778d8;\\n\\tbackground: transparent;\\n}\\n\\n.tbl-inpt-edit { width: 100%; background-color: transparent; border: none; color: #000000;}\\n\\nbutton.tbl-sort-svg > svg { text-shadow: none; fill:#000000; height:10px; padding:0 0 2px 0; }\\n\\nth .tc-tiddlylink, th a { text-shadow: none; margin: 0 0 0 0; padding: 0 0 0 0; color:unset; font-weight: bold; }\\n\\n\\n/* DELETE CONFIRMATION */\\ntable thead .tbl-delete-confirm > th {\\n\\tcolor: white;\\n\\tbackground-color:#ff0033;\\n\\tpadding: 8px;\\n\\tmargin: 0px;\\n\\ttext-align:center;\\n\\tfont-weight:normal;\\n}\\n\\ntable thead .tbl-delete-confirm > th > button,\\ntable thead .tbl-delete-confirm > th > a {\\n\\tcolor: white;\\n\\tfill: white;\\n}\\n\\n/* -- pagination --*/\\n.shiraz-dtable-page-footer td{\\n\\tmargin: 0 0 0 0;\\n\\tpadding: 4px 7px 4px 7px;\\n}\\n\\n.shiraz-dtable-page-footer select{\\n\\tpadding:0;\\n\\tmargin:0;\\n\\tborder:none;\\t\\n}\\n\\n.shiraz-dtable-page-footer {\\n\\ttext-align:center;\\n}\\n\\n.shiraz-dtable-page-prev{\\n\\tfloat:left;\\n\\tmargin-right:8px;\\n}\\n\\n.shiraz-dtable-page-next{\\n\\tfloat:right;\\n\\tmargin-left:8px;\\n}\\n\\n.shiraz-dtable-page-footer button svg {height:0.7em;}\\n.shiraz-dtable-page-footer button {outline: none; line-height:normal;}\\n.shiraz-dtable-page-footer button:disabled {display:none;}\\n\\n/* format the expanded record (tiddler body) - for local customization like KaTeX numbering */\\n.shiraz-dtable-expanded-record{ }\\n\\n/* adjust the column width for date/due-date/status/linktype fields*/\\n.shiraz-dtable-col-fixedsize{\\n\\twidth:5.5rem;\\n\\twhite-space: nowrap;\\n}\\n.shiraz-dtable-priority{\\n\\twidth:6.5rem;\\n\\twhite-space: nowrap;\\n}\\n/* adjust the size of column with svg icons like: tbl-expand, tbl-clone, tbl-delete, tbl-checkbox */\\n.shiraz-dtable-svg{\\n\\twidth:28px;\\n\\tmax-width:28px;\\n}\\n\\n\\n/* this ensure short title in small width table */\\n.shiraz-dtable-title{\\n\\tmax-width: 15rem;\\n\\toverflow: hidden;\\n\\ttext-overflow: ellipsis;\\n\\twhite-space: nowrap;\\n}\\n\\n/* Newly added 2024.05.31 */\\n.shiraz-default-cursore{ /* for tbl-linktype */\\n\\tcursor:default;\\n}\\n.shiraz-dtable-locked-cell{\\n\\t/* for styling the locked cell */\\n\\tfont-style:oblique;\\n}\\n.shiraz-cell-centered { /* centered table cell */\\n\\ttext-align: center;\\n\\tvertical-align: middle;\\n}\\n\\n/* button caption style on dynamic table header\\nthis style can be overriden locally by user */\\ntable thead .shiraz-dtable-header th button {\\n text-transform: capitalize; /* Capitalize the first letter of every word */\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/dynamic-tables-var\":{\"title\":\"$:/plugins/kookma/shiraz/styles/dynamic-tables-var\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"/* these are dynamic or variable properties based on the tiddlywiki palette */\\n\\n.shiraz-dtable-page-footer select{\\n\\tbackground-color: <<color table-header-background>>;\\n\\tcolor:<<color foreground>>;\\n}\\n\\n.shiraz-dtable-page-footer > td{\\n\\tbackground-color: <<color table-header-background>>;\\n}\\n\\n/* customize the table footer used for numerical summary*/\\n.shiraz-dtable-footer tr td{\\n\\tbackground-color: <<color table-footer-background>>;\\n\\tborder:none;\\n}\\n\\n/* correct button color to support dark theme */\\n.tbl-container table thead th button{\\n\\tcolor:<<colour button-foreground>>\\n}\\n.tbl-container table thead th button svg {\\n\\tfill:<<colour button-foreground>>;\\n}\"},\"$:/plugins/kookma/shiraz/styles/highlight\":{\"title\":\"$:/plugins/kookma/shiraz/styles/highlight\",\"text\":\"mark.kk-sh-highlight {\\n\\tbackground-color: unset;\\n\\tborder-radius:0.4em;\\n\\tpadding:0 0.25em 0.1em;\\n}\\n\\nmark.kk-sh-highlight-pen {\\n\\tbackground-color: unset;\\n\\tbackground-position: top left;\\n\\tbackground-repeat: no-repeat;\\n\\tbackground-size: 100% auto;\\n}\\n\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/image-alignment\":{\"title\":\"$:/plugins/kookma/shiraz/styles/image-alignment\",\"text\":\"/*Image aligning classes*/\\n.image-align-right{\\n float:right;\\n margin:0.5em 0 1.3em 1.4em;\\n}\\n.image-align-left{\\n float:left;\\n margin: 0.5em 1.4em 1.3em 0;\\n}\\n.image-align-center{\\n display:block;\\n margin: 0.5em auto 1.3em; \\n}\\n\\n.image-float-none {\\n float: none !important;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/image-basic\":{\"title\":\"$:/plugins/kookma/shiraz/styles/image-basic\",\"text\":\".image-basic {\\n text-align: center;\\n font-style: italic;\\n font-size: smaller;\\n text-indent: 0;\\n padding: 0.5em;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/image-overlay\":{\"title\":\"$:/plugins/kookma/shiraz/styles/image-overlay\",\"text\":\".image-overlay-container{\\n width: 50%; \\n box-sizing: border-box;\\n}\\n\\n@media screen and (max-width: 640px){\\n .image-overlay-container{\\n display: block;\\n width: 100%;\\n }\\n}\\n\\n@media screen and (min-width: 900px){\\n .image-overlay-container{\\n width: 33.33%;\\n }\\n}\\n\\n.image-overlay-container .image-overlay-title{\\n color: #1a1a1a;\\n text-align: center;\\n margin-bottom:10px;\\n}\\n\\n.image-overlay-content {\\n position: relative;\\n width: 90%;\\n max-width: 400px;\\n margin: auto;\\n overflow: hidden;\\n}\\n\\n.image-overlay-content .image-overlay-content-overlay {\\n background: rgba(0,0,0,0.7);\\n position: absolute;\\n height: 99%;\\n width: 100%;\\n left: 0;\\n top: 0;\\n bottom: 0;\\n right: 0;\\n opacity: 0;\\n -webkit-transition: all 0.4s ease-in-out 0s;\\n -moz-transition: all 0.4s ease-in-out 0s;\\n transition: all 0.4s ease-in-out 0s;\\n}\\n\\n.image-overlay-content:hover .image-overlay-content-overlay{\\n opacity: 1;\\n}\\n\\n.image-overlay-content-image{\\n width: 100%;\\n}\\n\\n.image-overlay-content-details {\\n position: absolute;\\n text-align: center;\\n padding-left: 1em;\\n padding-right: 1em;\\n width: 100%;\\n top: 50%;\\n left: 50%;\\n opacity: 0;\\n -webkit-transform: translate(-50%, -50%);\\n -moz-transform: translate(-50%, -50%);\\n transform: translate(-50%, -50%);\\n -webkit-transition: all 0.3s ease-in-out 0s;\\n -moz-transition: all 0.3s ease-in-out 0s;\\n transition: all 0.3s ease-in-out 0s;\\n}\\n\\n.image-overlay-content:hover .image-overlay-content-details{\\n top: 50%;\\n left: 50%;\\n opacity: 1;\\n}\\n\\n.image-overlay-content-details h3{\\n color: #fff;\\n font-weight: 500;\\n letter-spacing: 0.15em;\\n margin-bottom: 0.5em;\\n text-transform: uppercase;\\n}\\n\\n.image-overlay-content-details p{\\n color: #fff;\\n font-size: 0.8em;\\n}\\n\\n.image-overlay-fadeIn-bottom{\\n top: 80%;\\n}\\n\\n.image-overlay-fadeIn-top{\\n top: 20%;\\n}\\n\\n.image-overlay-fadeIn-left{\\n left: 20%;\\n}\\n\\n.image-overlay-fadeIn-right{\\n left: 80%;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/image-polaroid\":{\"title\":\"$:/plugins/kookma/shiraz/styles/image-polaroid\",\"text\":\".image-polaroid {\\n min-width:64px;\\n background-color: #f8f9fa;\\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\\n}\\n.image-polaroid img {\\n width: 100%;\\n padding:10px;\\n height: auto;\\n}\\n.image-polaroid .image-polaroid-caption {\\n padding:10px 15px 10px;\\n text-align: center; \\n line-height: 1.4em;\\n font-weight:300;\\n font-size: 0.9em; \\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/image-pretty\":{\"title\":\"$:/plugins/kookma/shiraz/styles/image-pretty\",\"text\":\".image-pretty {\\n min-width:64px;\\n border: 1px solid #c8ccd1;\\n background-color:#f8f9fa;\\n}\\n.image-pretty:hover {\\n border: 1px solid #777;\\n}\\n.image-pretty img {\\n padding:2px;\\n width: 100%;\\n height: auto;\\n}\\n.image-pretty .image-pretty-caption {\\n padding:10px 15px 10px;\\n text-align: center; \\n line-height: 1.4em;\\n font-weight:300;\\n font-size: 0.9em; \\n}\\n\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/image-slidein\":{\"title\":\"$:/plugins/kookma/shiraz/styles/image-slidein\",\"text\":\".image-slidein { \\n display: block; \\n position: relative; \\n /*float: left;*/\\n overflow: hidden; \\n /* margin: 0 20px 20px 0;*/\\n}\\n\\n.image-slidein img {\\n width: 100%;\\n height: auto;\\n}\\n\\n.image-slidein figcaption { \\n position: absolute; \\n background: rgba(0,0,0,0.75); \\n color: white; \\n padding: 10px 20px; \\n opacity: 0;\\n -webkit-transition: all 0.6s ease;\\n -moz-transition: all 0.6s ease;\\n -o-transition: all 0.6s ease;\\n}\\n.image-slidein:hover figcaption {\\n opacity: 1;\\n}\\n.image-slidein:before { \\n content: \\\"?\\\"; \\n position: absolute; \\n font-weight: 800; \\n background: rgba(255,255,255,0.75); \\n text-shadow: 0 0 5px white;\\n color: black;\\n width: 24px;\\n height: 24px;\\n -webkit-border-radius: 12px;\\n -moz-border-radius: 12px;\\n border-radius: 12px;\\n text-align: center;\\n font-size: 14px;\\n line-height: 24px;\\n -moz-transition: all 0.6s ease;\\n opacity: 0.75;\\t\\n}\\n.image-slidein:hover:before {\\n opacity: 0;\\n}\\n\\n.mr-cap-left:before { bottom: 10px; left: 10px; }\\n.mr-cap-left figcaption { bottom: 0; left: -30%; }\\n.mr-cap-left:hover figcaption { left: 0; }\\n\\n.mr-cap-right:before { bottom: 10px; right: 10px; }\\n.mr-cap-right figcaption { bottom: 0; right: -30%; }\\n.mr-cap-right:hover figcaption { right: 0; }\\n\\n.mr-cap-top:before { top: 10px; left: 10px; }\\n.mr-cap-top figcaption { left: 0; top: -30%; }\\n.mr-cap-top:hover figcaption { top: 0; }\\n\\n.mr-cap-bottom:before { bottom: 10px; left: 10px; }\\n.mr-cap-bottom figcaption { left: 0; bottom: -30%;}\\n.mr-cap-bottom:hover figcaption { bottom: 0; }\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/mono\":{\"title\":\"$:/plugins/kookma/shiraz/styles/mono\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\".mono {\\n\\tcolor:unset;\\n\\tbackground-color: <<colour \\\"code-background\\\">>;\\n\\tborder: 1px solid #e1e1e8;\\n\\twhite-space: pre-wrap;\\n\\tpadding: 0 3px 2px;\\n\\tborder-radius: 3px;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}}\\n}\"},\"$:/plugins/kookma/shiraz/styles/multicols/column\":{\"title\":\"$:/plugins/kookma/shiraz/styles/multicols/column\",\"text\":\"/* multicolumn layouts with fixed column number works on the whole tiddler */\\n.multicol .tc-tiddler-body {\\n column-width: 14em;\\n column-rule: 1px solid #ccc;\\n}\\n/* two columns responsive*/\\n.multicol2 .tc-tiddler-body {\\n\\tcolumn-count:2; \\n\\tcolumn-width:15em;\\n}\\n/* three columns responsive*/\\n.multicol3 .tc-tiddler-body {\\n\\tcolumn-count:3; \\n\\tcolumn-width:10em;\\n}\\n\\n\\n/* remove the extra space from first paragraph */\\n.multicol .tc-tiddler-body > :first-child, \\n.multicol2 .tc-tiddler-body > :first-child, \\n.multicol3 .tc-tiddler-body > :first-child { margin-top: 0;}\\n\\n/*-------------------------------------------------------------------------------*/\\n/* Classes for using with macro and div elements */\\n.sh-multicol {\\n column-width: 14em;\\n column-rule: 1px solid #ccc;\\n}\\n/* two columns responsive*/\\n.sh-multicol2 {\\n\\tcolumn-count:2; \\n\\tcolumn-width:15em;\\n}\\n/* three columns responsive*/\\n.sh-multicol3 {\\n\\tcolumn-count:3; \\n\\tcolumn-width:10em;\\n}\\n\\n/* remove the extra space from first paragraph */\\n.sh-multicol > :first-child,\\n.sh-multicol2 > :first-child,\\n.sh-multicol3 > :first-child { margin-top: 0;}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/multicols/flex\":{\"title\":\"$:/plugins/kookma/shiraz/styles/multicols/flex\",\"text\":\"/* multicolumn layout using flexbox courtesy from Bootstrap 4.3.1*/\\n.flex-row {\\n display: flex;\\n flex-direction: row;\\n flex-wrap: wrap;\\n/* margin-right: -15px;\\n margin-left: -15px;*/\\n}\\n\\n.flex-col,\\n.flex-col-1, \\n.flex-col-2, \\n.flex-col-3,\\n.flex-col-4 {\\n position: relative;\\n width: 100%;\\n padding-right: 15px;\\n padding-left: 15px;\\n}\\n\\n/* for small screen width>=576px\\nhttps://getbootstrap.com/docs/4.3/layout/grid/\\n*/\\n@media (min-width: 576px) {\\n.flex-col {flex: 1 1 0; max-width: 100%;}\\n.flex-col-1 {flex: 0 0 25%; max-width:25%}\\n.flex-col-2 {flex: 0 0 50%; max-width:50%}\\n.flex-col-3 {flex: 0 0 75%; max-width:75%}\\n.flex-col-4 {flex: 0 0 100%; max-width:100%}\\n}\\n\\n.flex-col > :first-child,\\n.flex-col-1 > :first-child,\\n.flex-col-2 > :first-child,\\n.flex-col-3 > :first-child,\\n.flex-col-4 > :first-child {\\n margin-top: 0;}\\n\\n\\n/* Alignment */\\n.flex-align-items-center {\\n align-items: center !important;\\n}\\n.flex-justify-content-center {\\n justify-content: center !important;\\n}\\n\\n.flex-no-gutters {\\n margin-right: 0;\\n margin-left: 0;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/multicols/flex backup\":{\"title\":\"$:/plugins/kookma/shiraz/styles/multicols/flex backup\",\"text\":\"/* multicolumn layout using flexbox courtesy from Bootstrap 4.3.1*/\\n.flex-row {\\n display: flex;\\n flex-wrap: wrap;\\n margin-right: -15px;\\n margin-left: -15px;\\n}\\n.flex-col-1, \\n.flex-col-2, \\n.flex-col-3 {\\n position: relative;\\n width: 100%;\\n padding-right: 15px;\\n padding-left: 15px;\\n}\\n\\n.flex-col-1{flex: 1 1 0;}\\n.flex-col-2{flex: 2 1 0;}\\n.flex-col-3{flex: 3 1 0;}\\n\\n.flex-col-1 > :first-child,\\n.flex-col-2 > :first-child,\\n.flex-col-3 > :first-child {\\n\\tmargin-top: 0;}\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/multicols/storyriver\":{\"title\":\"$:/plugins/kookma/shiraz/styles/multicols/storyriver\",\"text\":\"/* create story river in two column layout */\\n.tc-story-river {\\n display: flex;\\n flex-wrap: wrap;\\n}\\n\\n.tc-tiddler-frame\\n{\\n max-width: 49%; margin-right: 1%;\\n /*max-width: 32%; margin-right: 1%; */\\n}\\n\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/notebook\":{\"title\":\"$:/plugins/kookma/shiraz/styles/notebook\",\"text\":\"@media print{\\n .notebook .tc-tiddler-body {\\n padding-left:60px;\\n margin-top:25px;\\n }\\n .notebook .tc-tiddler-title,\\n .notebook .tc-subtitle,\\n\\t.notebook .tc-tags-wrapper {\\n padding-left:60px;\\n }\\n}\\n\\n@media screen{\\n .notebook .tc-tiddler-title,\\n .notebook .tc-subtitle,\\n\\t.notebook .tc-tags-wrapper,\\n\\t.notebook .tc-tiddler-body {\\n padding-left:30px;\\n }\\n\\n}\\t\\n\\n@media screen and (max-width:960px) {\\n .notebook .tc-tiddler-title,\\n .notebook .tc-subtitle,\\n .notebook .tc-tags-wrapper,\\n .notebook .tc-tiddler-body {\\n padding-left:60px;\\n }\\n\\n}\\n/*prevent applying left border in edit mode */\\n.notebook:not([data-tiddler-title^=\\\"Draft of\\\"]):before {\\n content: '';\\n position: absolute;\\n top: 0; bottom: 0; left: 0;\\n width: 50px;\\n background: radial-gradient(#575450 6px, transparent 7px) repeat-y;\\n background-size: 30px 30px;\\n border-right: 3px solid #D44147;\\n\\t z-index:1;\\n}\\n\\n.notebook .tc-tiddler-body {\\n\\t position: relative;\\n background: linear-gradient(transparent, transparent 1.95em, #91D1D3 1.95em);\\n background-size: 2em 2em;\\n\\t min-height:90px; \\n}\\n\\n.notebook .tc-tiddler-body{\\n\\t padding-top:20px;\\n font-family: \\\"Handlee\\\", cursive;\\n font-weight:300;\\n line-height:2em;\\n color:#696969;\\n}\\n\\n/* Setting font for other elements */\\n.notebook .tc-tiddler-body pre,\\n.notebook .tc-tiddler-body code,\\n.notebook .tc-tiddler-body pre code\\n{\\n font-family: \\\"Handlee\\\", cursive;\\n font-weight:300;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/sticky-footer\":{\"title\":\"$:/plugins/kookma/shiraz/styles/sticky-footer\",\"text\":\".sticky-footer {\\n position: absolute;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n padding: 0.5rem;\\n background-color: #efefef;\\n text-align: center;\\n margin-top: 5px;\\n box-sizing: border-box;\\n width: 100%;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/tables\":{\"title\":\"$:/plugins/kookma/shiraz/styles/tables\",\"text\":\".table-tight{\\n\\tfont-size:0.8em;\\n}\\n\\n\\n/*\\nThis tiddler defines the custom stylesheet for tables \\nApril 13, 2018\\n*/\\n\\n/*center aligned table*/\\n.table-center {\\n margin:0 auto;\\n}\\n\\n/* Table caption at top */\\n.table-caption-top caption {\\n caption-side:top;\\n margin-bottom:0.2rem;\\n}\\n\\n/* Striped row table */\\n.table-striped-row tr:nth-child(even) td{\\n background-color:#F3F6F6; \\n}\\n\\n/* Striped column table */\\n.table-striped-col tbody tr td:nth-child(odd) {\\n\\tbackground-color: #F3F6F6;\\n}\\n\\n/*Borderless table*/\\n.table-borderless, \\n.table-borderless thead td, \\n.table-borderless th, \\n.table-borderless tr, \\n.table-borderless td{\\n border:0;\\n}\\n\\n/* Table lines should be used with table-borderless for abbreviations and two column layout */\\n\\n.table-lines thead td, .table-lines th{\\n border-bottom: 2px solid #dddddd;\\n\\t background-color:unset;\\n }\\n.table-lines td{\\n border-bottom: 1px solid #dddddd;\\n background-color:unset;\\n }\\n\\n/* Table hover (yellow background on mouse over) */\\n.table-hover tbody tr:hover{\\n color: #212529;\\n background-color: #e6e6e6;\\n}\\n.table-hover-yellow tbody tr:hover{background-color: #ffffcc;}\\n.table-hover-cyan tbody tr:hover{background-color: #e6ffff;}\\n\\n/* Table with colored header */\\n.thead-primary thead td, .thead-primary th{background-color: #007bff; color: #fff;}\\n.thead-secondary thead td, .thead-secondary th{background-color: #6c757d; color: #fff;}\\n.thead-success thead td, .thead-success th{background-color: #28a745; color: #fff;}\\n.thead-warning thead td, .thead-warning th{background-color: #ffc107; color: #fff;}\\n.thead-danger thead td, .thead-danger th{background-color: #dc3545; color: #fff;}\\n.thead-info thead td, .thead-info th{background-color: #17a2b8; color: #fff;}\\n.thead-dark thead td, .thead-dark th{background-color: #343a40; color: #fff;}\\n.thead-light thead td, .thead-light th{background-color: #f8f9fa; color: #212529;}\\n\\n/* Table with colored header correct to fill svgs with white color */\\n.thead-primary > thead> tr > td svg, .thead-primary > thead> tr > th svg,\\n.thead-secondary > thead> tr > td svg, .thead-secondary > thead> tr > th svg,\\n.thead-success > thead> tr > td svg, .thead-success > thead> tr > th svg,\\n.thead-warning > thead> tr > td svg, .thead-warning > thead> tr > th svg,\\n.thead-danger > thead> tr > td svg, .thead-danger > thead> tr > th svg,\\n.thead-info > thead> tr > td svg, .thead-info > thead> tr > th svg,\\n.thead-dark > thead> tr > td svg, .thead-dark > thead> tr > th svg\\n {fill:#ffffff; padding:0 0 3px 0; }\\n\\n\\n.thead-primary th .tc-tiddlylink, .thead-primary th a,\\n.thead-secondary th .tc-tiddlylink, .thead-primary th a,\\n.thead-success th .tc-tiddlylink, .thead-primary th a,\\n.thead-warning th .tc-tiddlylink, .thead-primary th a,\\n.thead-danger th .tc-tiddlylink, .thead-primary th a,\\n.thead-info th .tc-tiddlylink, .thead-primary th a,\\n.thead-dark th .tc-tiddlylink, .thead-primary th a{color:#ffffff}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/tiddler-title-class\":{\"title\":\"$:/plugins/kookma/shiraz/styles/tiddler-title-class\",\"text\":\".title-primary .tc-title {\\n color: #007bff;\\n}\\n.title-secondary .tc-title {\\n color: #6c757d;\\n}\\n.title-success .tc-title {\\n color: #28a745;\\n}\\n.title-info .tc-title {\\n color: #17a2b8;\\n}\\n.title-warning .tc-title {\\n color: #ffc107;\\n}\\n.title-danger .tc-title {\\n color: #dc3545;\\n}\\n.title-light .tc-title {\\n color: #f8f9fa;\\n}\\n.title-dark .tc-title {\\n color: #343a40;\\n}\\n.title-white .tc-title {\\n color: #fff;\\n}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/ui/colorify-buttons\":{\"title\":\"$:/plugins/kookma/shiraz/styles/ui/colorify-buttons\",\"text\":\"/* These css rules makes page control buttons in beatiful color */\\n\\n/*page control buttons*/\\n.tc-page-controls .tc-image-new-button { fill: #5EB95E; } /*New tiddler button*/\\n.tc-page-controls .tc-image-options-button { fill:#8058A5; } /*Open control pannel*/\\n\\n/* These css rules makes tiddler viewtoolbar buttons in beatiful color */\\n\\n.tc-tiddler-controls .tc-image-edit-button{fill:#f37b1d}\\n.tc-tiddler-controls .tc-image-info-button{fill:#0e90d2}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/ui/edit-toolbar-buttons\":{\"title\":\"$:/plugins/kookma/shiraz/styles/ui/edit-toolbar-buttons\",\"text\":\"/*Tiddler edit toolbar buttons as traffic lights*/\\n.tc-tiddler-controls .tc-image-delete-button {fill:#ebb;}\\n.tc-tiddler-controls .tc-image-cancel-button {fill:#ed9;}\\n.tc-tiddler-controls .tc-image-done-button {fill:#beb;}\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/styles/ui/view-toolbar-button-visibility\":{\"title\":\"$:/plugins/kookma/shiraz/styles/ui/view-toolbar-button-visibility\",\"text\":\"/* Mouseover toolbar visibility: courtesy from Tobias Beer*/\\n.tc-tiddler-frame .tc-titlebar button {\\n opacity: 0;\\n transition: opacity .5s ease-in-out;\\n}\\n.tc-tiddler-frame:hover .tc-titlebar button {\\n zoom: 1;\\n filter: alpha(opacity=100);\\n opacity: 1;\\n}\\n\",\"type\":\"text/css\"},\"$:/plugins/kookma/shiraz/templates/body/color\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/color\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"color\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\procedure box(stroke-color, fill)\\n\\\\parameters (width:40, height:18)\\n<svg width=<<width>> height=<<height>> >\\n<rect width=<<width>> height=<<height>> x=\\\"0\\\" y=\\\"0\\\" rx=\\\"10\\\" ry=\\\"10\\\" stroke=<<stroke-color>> fill=<<fill>> stroke-width=\\\"0\\\"/>\\n</svg>\\n\\\\end\\n\\\\procedure show-cell() <$transclude $variable=box fill={{{ [<currentRecord>get[color]else[transparent]] }}}/>\\n\\\\procedure show-cell-locked() <span class=\\\"\\\"><<show-cell>></span>\\n\\\\procedure edit-cell() <$edit-text tag=input type=color tiddler=<<currentRecord>> field=<<currentColumn>>/>\\n\\n\\n<td class=\\\"shiraz-cell-centered\\\">\\n<%if [<tempTableEdit>getindex[mode]!match[edit]] %>\\n<<show-cell>>\\n<%elseif [<tempTableSort>getindex[sortIndex]match<currentColumn>] %><!--check if the current column is not selected for sorting-->\\n<<show-cell-locked>>\\n<%else%>\\n<<edit-cell>>\\n<%endif%>\\n</td>\\n<!-- when tiddler has no color\\ntransparent is used. You can make it black by leaving it empty.\\n-->\"},\"$:/plugins/kookma/shiraz/templates/body/date\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/date\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"created modified\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<td class=\\\"shiraz-dtable-col-fixedsize\\\">\\n<$view tiddler=<<currentRecord>> field=<<currentColumn>> format=\\\"date\\\" template=\\\"YYYY.0MM.0DD\\\"/>\\n</td>\"},\"$:/plugins/kookma/shiraz/templates/body/default\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/default\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<<showCell>>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<!--check if the current column is not selected for sorting-->\\n<$list filter=\\\"[<tempTableSort>getindex[sortIndex]match<currentColumn>]\\\" variable=ignore\\nemptyMessage=<<editCell>> >\\n <<showCell_Locked>>\\n</$list>\\n</$reveal>\"},\"$:/plugins/kookma/shiraz/templates/body/due-date\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/due-date\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"due-date due\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\procedure show-cell()\\n<$let fmt=\\\"[UTC]YYYY.0MM.0DD\\\">\\n<$set tiddler=<<currentRecord>> field=<<currentColumn>> name=due-date>\\n<$text text={{{[<due-date>split[-]split[.]join[]format:date<fmt>]}}} />\\n</$set>\\n</$let>\\n\\\\end\\n\\n\\\\procedure show-cell-locked() <span class=\\\"shiraz-dtable-locked-cell\\\"><<show-cell>></span>\\n\\n\\\\procedure edit_date() \\n<$list filter=\\\"[[$:/plugins/kookma/pikaday]!is[missing]] :filter[lookup:no[$:/config/Plugins/Disabled/]match[no]]\\\"\\n emptyMessage='<$edit-text tag=input type=date tiddler=<<currentRecord>> field=<<currentColumn>>/>'\\n\\tvariable=null >\\n <<edit-cell>>\\n</$list>\\n\\\\end\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\" class=\\\"shiraz-dtable-date\\\">\\n<<show-cell>>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<!--check if the current column is not selected for sorting-->\\n<$list filter=\\\"[<tempTableSort>getindex[sortIndex]match<currentColumn>]\\\" variable=ignore\\nemptyMessage=<<edit_date>> >\\n <<show-cell-locked>>\\n</$list>\\n</$reveal>\\n\\n<!-- Part of Task Manager\\n this template ALWAYS works on fields -->\"},\"$:/plugins/kookma/shiraz/templates/body/email\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/email\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"email\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define display-email-address()\\n<$let href={{{[<currentRecord>get<currentColumn>addprefix[mailto:]]}}} >\\n<a class=\\\"tc-tiddlylink-external\\\" href=<<href>> rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">\\n<<showCell>>\\n</a>\\n</$let>\\n\\\\end\\n\\\\define display-email-address_Locked()\\n<$let href={{{[<currentRecord>get<currentColumn>addprefix[mailto:]]}}} >\\n<a class=\\\"tc-tiddlylink-external\\\" href=<<href>> rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">\\n<<showCell_Locked>>\\n</a>\\n</$let>\\n\\\\end\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<<display-email-address>>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<!--check if the current column is not selected for sorting-->\\n<$list filter=\\\"[<tempTableSort>getindex[sortIndex]match<currentColumn>]\\\" variable=ignore\\nemptyMessage=<<editCell>> >\\n<<display-email-address_Locked>>\\n</$list>\\n</$reveal>\\n\\n\"},\"$:/plugins/kookma/shiraz/templates/body/priority\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/priority\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"priority\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define circle(color, fill)\\n<svg width=\\\"12\\\" height=\\\"12\\\" >\\n<circle cx=\\\"6\\\" cy=\\\"6\\\" r=\\\"5\\\" stroke=<<__color__>> fill=<<__fill__>> stroke-width=\\\"1\\\"/>\\n</svg>\\n\\\\end\\n\\n\\\\define show-cell()\\n<$list filter=\\\"[<currentRecord>get<currentColumn>match[5]]\\\" variable=ignore>\\n<$macrocall $name=\\\"circle\\\" color=\\\"#dc3545\\\" fill=\\\"#f8d7da\\\"/>&nbsp;very high\\n</$list>\\n<$list filter=\\\"[<currentRecord>get<currentColumn>match[4]]\\\" variable=ignore>\\n<$macrocall $name=\\\"circle\\\" color=\\\"#ff8c00\\\" fill=\\\"#fff3cd\\\"/>&nbsp;high\\n</$list>\\n<$list filter=\\\"[<currentRecord>get<currentColumn>match[3]]\\\" variable=ignore>\\n<$macrocall $name=\\\"circle\\\" color=\\\"#17a2b8\\\" fill=\\\"#d1ecf1\\\"/>&nbsp;normal\\n</$list>\\n<$list filter=\\\"[<currentRecord>get<currentColumn>match[2]]\\\" variable=ignore>\\n<$macrocall $name=\\\"circle\\\" color=\\\"#007bff\\\" fill=\\\"#cce5ff\\\"/>&nbsp;low\\n</$list>\\n<$list filter=\\\"[<currentRecord>get<currentColumn>match[1]]\\\" variable=ignore>\\n<$macrocall $name=\\\"circle\\\" color=\\\"#6c757d\\\" fill=\\\"#e2e3e5\\\"/>&nbsp;very low\\n</$list>\\n\\\\end\\n\\n\\\\define show-cell-locked() <span class=\\\"shiraz-dtable-locked-cell\\\"><<show-cell>></span>\\n\\n\\\\define select_priority()\\n<$select tiddler=<<currentRecord>> field=<<currentColumn>> default=\\\"\\\"><option value=''>Select...</option><option value='5'>very high</option><option value='4'>high</option><option value='3'>normal</option><option value='2'>low</option><option value='1'>very low</option><option value=''>no priority</option></$select>\\n\\\\end\\n\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\" class=\\\"shiraz-dtable-priority\\\">\\n<<show-cell>>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<!--check if the current column is not selected for sorting-->\\n<$list filter=\\\"[<tempTableSort>getindex[sortIndex]match<currentColumn>]\\\" variable=ignore\\nemptyMessage=<<select_priority>> >\\n <<show-cell-locked>>\\n</$list>\\n<$reveal>\\n\\n<!-- Part of Task Manager\\n this template ALWAYS works on fields\\n -->\"},\"$:/plugins/kookma/shiraz/templates/body/status\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/status\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"status\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define show-cell() <$transclude tiddler=<<currentRecord>> field=<<currentColumn>> mode=\\\"inline\\\" />\\n\\\\define show-cell-locked() <span class=\\\"shiraz-dtable-locked-cell\\\"><<show-cell>></span>\\n\\\\define select_status()\\n<$select tiddler=<<currentRecord>> field=<<currentColumn>> default=\\\"\\\">\\n<option value=''>Select...</option>\\n<$list filter=\\\"open in-work on-hold complete rework closed\\\" variable=status><option><$text text=<<status>>/></option></$list>\\n</$select>\\n\\\\end\\n\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\" class=\\\"shiraz-dtable-col-fixedsize\\\">\\n<<show-cell>>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<!--check if the current column is not selected for sorting-->\\n<$list filter=\\\"[<tempTableSort>getindex[sortIndex]match<currentColumn>]\\\" variable=ignore\\nemptyMessage=<<select_status>> >\\n <<show-cell-locked>>\\n</$list>\\n</$reveal>\\n\\n<!-- Part of Task Manager\\n this template ALWAYS works on fields\\n\\tchange default staus values `open in-work on-hold complete rework closed` as you like-->\"},\"$:/plugins/kookma/shiraz/templates/body/tag-template\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tag-template\",\"code-body\":\"yes\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<!-- This is a copy of core tiddler: $:/core/ui/TagTemplate.\\nThis is NOT a dynamic table body tempalte. This template itself used by $:/plugins/kookma/shiraz/templates/body/tags\\nOn update Shiraz to a new release of TiddlyWiki, check the latest TiddlyWiki $:/core/ui/TagTemplate core tiddler.\\n\\nRemarks: In $:/core/ui/TagTemplate every: <<qualify \\\"$:/state/popup/tag\\\">> has been changed to: {{{ [<qualify \\\"$:/state/popup/tag\\\">][<currentTable>][<currentRecord>]+[join[/]] }}}\\nThis solution allows to to get unique popups in a list widget (here in dyanmic table, tags column template)\\nSee https://tiddlywiki.com to learn how substituted attributes work! \\n-->\\n\\n\\n\\\\whitespace trim\\n<span class=\\\"tc-tag-list-item\\\" data-tag-title=<<currentTiddler>>>\\n<$set name=\\\"transclusion\\\" value=<<currentTiddler>>>\\n\\t<$macrocall $name=\\\"tag-pill-body\\\"\\n\\t\\ttag=<<currentTiddler>>\\n\\t\\ticon={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}\\n\\t\\tcolour={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t\\tpalette={{$:/palette}}\\n\\t\\telement-tag=\\\"$button\\\"\\n\\t\\telement-attributes=\\\"\\\"\\\"popup={{{ [<qualify \\\"$:/state/popup/tag\\\">][<currentTable>][<currentRecord>]+[join[/]] }}} dragFilter=\\\"[all[current]tagging[]]\\\" tag='span'\\\"\\\"\\\"\\n\\t/>\\n\\t<$reveal state={{{ [<qualify \\\"$:/state/popup/tag\\\">][<currentTable>][<currentRecord>]+[join[/]] }}} type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\" class=\\\"tc-drop-down\\\">\\n\\t\\t<$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\\t\\t\\t<$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\\t\\t</$set>\\n\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]\\\" variable=\\\"listItem\\\"> \\n\\t\\t\\t<$transclude tiddler=<<listItem>>/> \\n\\t\\t</$list>\\n\\t\\t<hr>\\n\\t\\t<$macrocall $name=\\\"list-tagged-draggable\\\" tag=<<currentTiddler>>/>\\n\\t</$reveal>\\n</$set>\\n</span>\\n\"},\"$:/plugins/kookma/shiraz/templates/body/tags\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tags\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"tags\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<$list filter=\\\"[<currentRecord>tags[]sort[title]] :except[subfilter<sv-exclude-tags>]\\\">\\n<$transclude tiddler=\\\"$:/plugins/kookma/shiraz/templates/body/tag-template\\\"/>\\n</$list>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<!--check if the current column is not selected for sorting-->\\n<$list filter=\\\"[<tempTableSort>getindex[sortIndex]match<currentColumn>]\\\" variable=\\\"transclusion\\\"\\nemptyMessage=<<editCell>> >\\n <<showCell_Locked>>\\n</$list>\\n</$reveal>\"},\"$:/plugins/kookma/shiraz/templates/body/tbl-checkbox\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tbl-checkbox\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"tbl-checkbox\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define rowStyle() color:<<colour foreground>>; background-color:<<colour table-header-background>>;\\n<td style=\\\"width:28px;text-align:center;\\\">\\n<$checkbox tiddler=<<currentRecord>> tag=\\\"Done\\\"\\ncheckactions=\\\"\\\"\\\"<$action-setfield $tiddler=<<tempTableStyle>> $index=<<currentRecord>> $value=<<rowStyle>> /><$action-setfield $tiddler=<<currentRecord>> status=\\\"complete\\\"/>\\\"\\\"\\\"\\nuncheckactions=\\\"\\\"\\\"<$action-setfield $tiddler=<<tempTableStyle>> $index=<<currentRecord>> /><$action-setfield $tiddler=<<currentRecord>> status=\\\"rework\\\"/>\\\"\\\"\\\" />\\n</td>\\n\\n<!-- classic style\\n\\\"color:#155724;background-color:#d4edda;\\\"\\n<<colour tab-foreground>>; background-color:<<colour tab-background>>\\n-->\"},\"$:/plugins/kookma/shiraz/templates/body/tbl-clone\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tbl-clone\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"tbl-clone\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define cloneTiddler() <$action-createtiddler $basetitle=<<currentRecord>> $template=<<currentRecord>> />\\n\\n<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore>\\n<td style=\\\"width:28px;text-align:center;\\\">\\n <$button actions=<<cloneTiddler>> class=\\\"tc-btn-invisible\\\">\\n\\t {{$:/core/images/clone-button}}\\n\\t</$button>\\n</td>\\n</$list>\"},\"$:/plugins/kookma/shiraz/templates/body/tbl-delete\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tbl-delete\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"tbl-delete\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore>\\n<td style=\\\"width:28px;text-align:center;\\\">\\n <$button class=\\\"tc-btn-invisible\\\">\\n <$action-sendmessage $message=\\\"tm-delete-tiddler\\\" $param=<<currentRecord>>/>\\n {{$:/core/images/delete-button}}\\n </$button>\\n</td>\\n</$list>\"},\"$:/plugins/kookma/shiraz/templates/body/tbl-expand\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tbl-expand\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"tbl-expand\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$reveal type=\\\"nomatch\\\" state=<<tempPathExpand>> text=\\\"show\\\" tag=\\\"td\\\">\\n <$button class=\\\"tc-btn-invisible tc-tiddlylink\\\">\\n <$action-setfield $tiddler=<<tempTableExpand>> $index=<<currentRecord>> $value=\\\"show\\\" />\\n {{$:/core/images/right-arrow}}\\n </$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" state=<<tempPathExpand>> text=\\\"show\\\" tag=\\\"td\\\">\\n <$button class=\\\"tc-btn-invisible tc-tiddlylink\\\">\\n <$action-setfield $tiddler=<<tempTableExpand>> $index=<<currentRecord>>/>\\n {{$:/core/images/down-arrow}}\\n </$button>\\n</$reveal>\"},\"$:/plugins/kookma/shiraz/templates/body/tbl-linktype\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/tbl-linktype\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"tbl-linktype\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<td class=\\\"shiraz-dtable-col-fixedsize\\\">\\n<$let subtiddler-pattern=`(^${[<currentTiddler>escaperegexp[]]}$\\\\s*/|^${[<currentTiddler>escaperegexp[]]}$\\\\s*:)` >\\n<$text text={{{ \\n[all[current]links[]match<currentRecord>then[link]]\\n[all[current]backlinks[]match<currentRecord>then[backlink]]\\n[all[current]tagging[]match<currentRecord>then[tagging]]\\n[<currentRecord>regexp<subtiddler-pattern>then[subtiddler]]\\n~[<currentRecord>search:text<currentTiddler>then[backtransclusion]else[transclusion]] }}} />\\n</$let>\\n</td>\\n<!-- \\ntb-linktype is not sortable not editable. The priority is as below:\\nlink, backlink, tagging, subtiddler, transclusion, and backtransclusion\\n-->\"},\"$:/plugins/kookma/shiraz/templates/body/title\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/title\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"title\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<td class=\\\"shiraz-dtable-title\\\">\\n<$link to=<<currentRecord>>><$text text=<<currentRecord>> /></$link>\\n</td>\"},\"$:/plugins/kookma/shiraz/templates/body/type\":{\"title\":\"$:/plugins/kookma/shiraz/templates/body/type\",\"code-body\":\"yes\",\"tags\":\"$:/tags/Table/BodyTemplate\",\"tbl-column-list\":\"type\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define showCell() <$transclude tiddler=<<currentRecord>> field=<<currentColumn>> mode=\\\"inline\\\" />\\n<td>\\n<<showCell>>\\n</td>\\n<!-- Note that the showCell here overrides the global showCell from table-dynamic macro -->\"},\"$:/plugins/kookma/shiraz/templates/footer/default\":{\"title\":\"$:/plugins/kookma/shiraz/templates/footer/default\",\"tags\":\"$:/tags/Table/FooterTemplate\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$vars idx={{{ [<currentColumn>addsuffix[/]addsuffix<footerRow>] }}}>\\n<$set name=getFieldOrIndex filter=\\\"[<fieldOrIndex>]-index\\\" value=\\\"get\\\" emptyValue=\\\"getindex\\\">\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<$transclude tiddler=<<tempTableFooter>> index=<<idx>> mode=\\\"inline\\\" />\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableEdit>> stateIndex=\\\"mode\\\" text=\\\"edit\\\" tag=\\\"td\\\">\\n<$edit-text tiddler=<<tempTableFooter>> index=<<idx>> tag=\\\"input\\\" class=\\\"shiraz-dtable-textbox\\\"/>\\n</$reveal>\\n</$set>\\n</$vars>\"},\"$:/plugins/kookma/shiraz/templates/footer/tbl-clone\":{\"title\":\"$:/plugins/kookma/shiraz/templates/footer/tbl-clone\",\"tags\":\"$:/tags/Table/FooterTemplate\",\"tbl-column-list\":\"tbl-clone\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore>\\n<td></td>\\n</$list>\"},\"$:/plugins/kookma/shiraz/templates/footer/tbl-delete\":{\"title\":\"$:/plugins/kookma/shiraz/templates/footer/tbl-delete\",\"tags\":\"$:/tags/Table/FooterTemplate\",\"tbl-column-list\":\"tbl-delete\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore>\\n<td></td>\\n</$list>\"},\"$:/plugins/kookma/shiraz/templates/footer/tbl-expand\":{\"title\":\"$:/plugins/kookma/shiraz/templates/footer/tbl-expand\",\"tags\":\"$:/tags/Table/FooterTemplate\",\"tbl-column-list\":\"tbl-expand\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<td style=\\\"width:28px;\\\"></td>\"},\"$:/plugins/kookma/shiraz/templates/header/default\":{\"title\":\"$:/plugins/kookma/shiraz/templates/header/default\",\"tags\":\"$:/tags/Table/HeaderTemplate\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$reveal type=\\\"nomatch\\\" stateTitle=<<tempTableSort>> stateIndex=\\\"sortIndex\\\" text=<<currentColumn>> tag=\\\"th\\\">\\n<$button setTitle=<<tempTableSort>> setIndex=\\\"sortIndex\\\" setTo=<<currentColumn>> class=\\\"tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"hasnegate\\\" $value=\\\"false\\\"/>\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"negate\\\" $value=\\\"\\\"/>\\n<span style=\\\"text-transform: capitalize;\\\"><$text text=<<currentColumn>>/></span>\\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<tempTableSort>> stateIndex=\\\"sortIndex\\\" text=<<currentColumn>> tag=\\\"th\\\">\\n<$list filter=\\\"[<tempTableSort>getindex[hasnegate]match[false]]\\\" variable=ignore><!--set negate for sort-->\\n<$button setTitle=<<tempTableSort>> setIndex=\\\"hasnegate\\\" setTo=\\\"true\\\" class=\\\"tbl-sort-svg tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"negate\\\" $value=\\\"!\\\"/>\\n<span style=\\\"text-transform: capitalize;\\\"><$text text=<<currentColumn>>/></span> {{$:/core/images/down-arrow}}\\n</$button>\\n</$list>\\n<$list filter=\\\"[<tempTableSort>getindex[hasnegate]match[true]]\\\" variable=ignore><!--remove negate for sort-->\\n<$button setTitle=<<tempTableSort>> setIndex=\\\"hasnegate\\\" setTo=\\\"false\\\" class=\\\"tbl-sort-svg tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-setfield $tiddler=<<tempTableSort>> $index=\\\"negate\\\" $value=\\\"\\\"/>\\n<span style=\\\"text-transform: capitalize;\\\"><$text text=<<currentColumn>>/></span> {{$:/core/images/up-arrow}}\\n</$button>\\n</$list>\\n</$reveal>\\n\"},\"$:/plugins/kookma/shiraz/templates/header/tbl-checkbox\":{\"title\":\"$:/plugins/kookma/shiraz/templates/header/tbl-checkbox\",\"tags\":\"$:/tags/Table/HeaderTemplate\",\"tbl-column-list\":\"tbl-checkbox\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define rowStyle() color:<<colour foreground>>; background-color:<<colour table-header-background>>;\\n\\n\\\\define chk-checkactions()\\n<$list filter=\\\"[subfilter<inputFilter>]\\\" variable=\\\"currentRecord\\\">\\n<$action-listops $tiddler=<<currentRecord>> $tags=\\\"+[append[Done]]\\\" />\\n<$action-setfield $tiddler=<<currentRecord>> status=\\\"complete\\\"/>\\n<$action-setfield $tiddler=<<tempTableStyle>> $index=<<currentRecord>> $value=<<rowStyle>> />\\n</$list>\\n\\\\end\\n\\\\define chk-uncheckactions()\\n<$list filter=\\\"[subfilter<inputFilter>]\\\" variable=\\\"currentRecord\\\">\\n<$action-listops $tiddler=<<currentRecord>> $tags=\\\"+[remove[Done]]\\\" />\\n<$action-setfield $tiddler=<<currentRecord>> status=\\\"rework\\\"/>\\n<$action-setfield $tiddler=<<tempTableStyle>> $index=<<currentRecord>> />\\n</$list>\\n\\\\end\\n\\n<th class=\\\"shiraz-dtable-svg\\\">\\n<$checkbox checkactions=<<chk-checkactions>> uncheckactions=<<chk-uncheckactions>> />\\n</th>\\n\\n<!-- old style for checked row\\n\\\"color:#155724;background-color:#d4edda;\\\"\\n-->\"},\"$:/plugins/kookma/shiraz/templates/header/tbl-clone\":{\"title\":\"$:/plugins/kookma/shiraz/templates/header/tbl-clone\",\"tags\":\"$:/tags/Table/HeaderTemplate\",\"tbl-column-list\":\"tbl-clone\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore>\\n<th class=\\\"shiraz-dtable-svg\\\">\\n<span>\\n<$button class=\\\"tc-btn-invisible\\\" disabled=yes tooltip=\\\"disabled button\\\" style=\\\"cursor:default\\\">\\n{{$:/core/images/clone-button}}\\n</$button>\\n</span>\\n</th>\\n</$list>\"},\"$:/plugins/kookma/shiraz/templates/header/tbl-delete\":{\"title\":\"$:/plugins/kookma/shiraz/templates/header/tbl-delete\",\"tags\":\"$:/tags/Table/HeaderTemplate\",\"tbl-column-list\":\"tbl-delete\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[<tempTableEdit>getindex[mode]match[edit]]\\\" variable=ignore>\\n<th class=\\\"shiraz-dtable-svg\\\">\\n <span>\\n <$button class=\\\"tc-btn-invisible\\\">\\n <$action-setfield $tiddler=\\\"$:/temp/tables/delete-all\\\" $index=<<currentTable>> $value=\\\"to-be-deleted\\\"/>\\n {{$:/core/images/delete-button}}\\n </$button>\\n </span>\\n</th>\\n</$list>\"},\"$:/plugins/kookma/shiraz/templates/header/tbl-expand\":{\"title\":\"$:/plugins/kookma/shiraz/templates/header/tbl-expand\",\"tags\":\"$:/tags/Table/HeaderTemplate\",\"tbl-column-list\":\"tbl-expand\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<th class=\\\"shiraz-dtable-svg\\\">\\n <$list filter=\\\"[<tempTableExpand>indexes[]limit[1]]\\\">\\n <$button class=\\\"tc-btn-invisible\\\">{{$:/core/images/fold-button}}\\n <$action-setfield $tiddler=<<tempTableExpand>> text=\\\"\\\"/>\\n </$button>\\n </$list>\\n</th>\"},\"$:/plugins/kookma/shiraz/templates/header/tbl-linktype\":{\"title\":\"$:/plugins/kookma/shiraz/templates/header/tbl-linktype\",\"tags\":\"$:/tags/Table/HeaderTemplate\",\"tbl-column-list\":\"tbl-linktype\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<th class=\\\"shiraz-default-cursore\\\">Linktype</th>\\n<!-- \\ntb-linktype is not sortable not editable\\n-->\"},\"$:/plugins/kookma/shiraz/ui/Buttons/SwitchPalette\":{\"title\":\"$:/plugins/kookma/shiraz/ui/Buttons/SwitchPalette\",\"caption\":\"{{$:/plugins/kookma/shiraz/images/palette-switch}} {{$:/language/Buttons/Shiraz/Caption}}\",\"dark-palette\":\"$:/palettes/Nord\",\"description\":\"Toggle between light/warm/dark color palette\",\"light-palette\":\"$:/palettes/Vanilla\",\"list-after\":\"\",\"tags\":\"$:/tags/PageControls\",\"type\":\"text/vnd.tiddlywiki\",\"warm-palette\":\"$:/palettes/SolarFlare\",\"text\":\"\\\\define switchActions() <$action-setfield $tiddler=\\\"$:/palette\\\" $field=\\\"text\\\" $value=<<next-palette>> />\\n\\\\whitespace trim\\n<$let \\nselected-palettes={{{\\n [<thisTiddler>get[light-palette]]\\n [<thisTiddler>get[warm-palette]]\\n\\t[<thisTiddler>get[dark-palette]] +[join[ ]] }}}\\n\\t\\ndefault-palette={{{\\n [<thisTiddler>get[light-palette]]\\n\\t[[$:/palettes/Vanilla]] +[first[]] }}}\\t\\t\\t\\t\\t \\nnext-palette={{{\\n [[$:/palette]get[text]]\\n +[cycle<selected-palettes>] +[last[]]\\n :else[<default-palette>] }}}\\t\\t\\t\\t\\n>\\n<$button \\n tooltip={{$:/language/Buttons/Shiraz/Hint}} \\n aria-label={{$:/language/Buttons/Shiraz/Caption}} \\n class=<<tv-config-toolbar-class>>\\n\\tactions=<<switchActions>>\\n>\\n <$list filter=\\\"[<tv-config-toolbar-icons>match[yes]]\\\">\\n {{$:/plugins/kookma/shiraz/images/palette-switch}}\\n </$list>\\n\\n <$list filter=\\\"[<tv-config-toolbar-text>match[yes]]\\\">\\n <span class=\\\"tc-btn-text\\\">switch palettes</span>\\n </$list>\\n</$button>\\n</$let>\"},\"$:/plugins/kookma/shiraz/ui/ControlPanel/Settings\":{\"title\":\"$:/plugins/kookma/shiraz/ui/ControlPanel/Settings\",\"caption\":\"Shiraz\",\"tags\":\"$:/tags/ControlPanel/SettingsTab $:/tags/MoreSideBar\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define dynamictables-editortype() $:/config/shiraz/dynamictables/editor-type\\n\\nThese settings let you customise the behaviour of Shiraz plugin.\\n\\n---\\n\\n;Show Shiraz setting in more sidebar\\n:<$checkbox tiddler=\\\"$:/plugins/kookma/shiraz/ui/ControlPanel/Settings\\\" tag=\\\"$:/tags/MoreSideBar\\\"> Show setting in more sidebar</$checkbox>\\n\\n;Options\\n:<$checkbox tiddler=\\\"$:/plugins/kookma/shiraz/styles/multicols/storyriver\\\" tag=\\\"$:/tags/Stylesheet\\\"> Multicolumn story river</$checkbox>\\n:<$checkbox tiddler=\\\"$:/plugins/kookma/shiraz/styles/ui/colorify-buttons\\\" tag=\\\"$:/tags/Stylesheet\\\"> Colorful UI buttons</$checkbox>\\n:<$checkbox tiddler=\\\"$:/plugins/kookma/shiraz/styles/ui/view-toolbar-button-visibility\\\" tag=\\\"$:/tags/Stylesheet\\\"> Hide tiddler's view toolbar and show on mouse hover</$checkbox>\\n:<$checkbox tiddler=\\\"$:/plugins/kookma/shiraz/styles/ui/edit-toolbar-buttons\\\" tag=\\\"$:/tags/Stylesheet\\\"> Traffic lights for edit toolbar buttons</$checkbox>\\n:<$checkbox tiddler=\\\"$:/plugins/kookma/shiraz/styles/colorful-sidebar-tab\\\" tag=\\\"$:/tags/Stylesheet\\\"> Colorify sidebar tabs</$checkbox>\\n\\n;Set dark and light palettes\\n{{$:/plugins/kookma/shiraz/ui/set-palette}}\\n\\n; Choose Local Editor for Dynamic Table\\n:<$checkbox tiddler=<<dynamictables-editortype>> field=\\\"text\\\" checked=\\\"main-editor\\\" unchecked=\\\"simple-textarea\\\" default=\\\"simple-textarea\\\"> Use Tiddlywiki main editor </$checkbox>\\n:<$checkbox tiddler=<<dynamictables-editortype>> field=\\\"text\\\" checked=\\\"simple-textarea\\\" unchecked=\\\"main-editor\\\" default=\\\"simple-textarea\\\"> Use simple text area </$checkbox>\"},\"$:/plugins/kookma/shiraz/ui/set-palette\":{\"title\":\"$:/plugins/kookma/shiraz/ui/set-palette\",\"dark-palette\":\"$:/palettes/Nord\",\"light-palette\":\"$:/palettes/Vanilla\",\"type\":\"text/vnd.tiddlywiki\",\"warm-palette\":\"$:/palettes/SolarFlare\",\"text\":\"\\\\define switchpaletteTid() $:/plugins/kookma/shiraz/ui/Buttons/SwitchPalette\\n\\\\define filterDay() [all[tiddlers+shadows]tag[$:/tags/Palette]] :filter[get[color-scheme]match[light]] -[enlist<filterWarm>]\\n\\\\define filterNight() [all[tiddlers+shadows]tag[$:/tags/Palette]] :filter[get[color-scheme]match[dark]] -[enlist<filterWarm>]\\n\\\\define filterWarm() \\n$:/palettes/DesertSand\\n$:/palettes/SolarFlare\\n$:/palettes/SolarizedLight\\n\\\\end\\n\\n\\\\define selectPelette(title, filter, default, tiddler, field)\\n<label class=\\\"kk-switch-label\\\">$title$</label>\\n<$select tiddler=<<__tiddler__>> field=<<__field__>> default=\\\"\\\">\\n<$list filter=<<__filter__>> >\\n<option value=<<currentTiddler>> >\\n<$view field='name'>\\n <$view field='title'/>\\n</$view>\\n</option>\\n</$list>\\n</$list>\\n\\\\end\\n\\n<div style=\\\"margin-left:40px\\\">\\n\\n<$macrocall $name=selectPelette \\n title=\\\"Light palette\\\" filter=<<filterDay>> \\n\\tdefault=\\\"$:/palettes/Vanilla\\\" field=\\\"light-palette\\\" \\n\\ttiddler=<<switchpaletteTid>> />\\t\\n\\t\\n<$macrocall $name=selectPelette \\n title=\\\"Warm palette\\\" filter=<<filterWarm>> \\n\\tdefault=\\\"$:/palettes/SolarFlare\\\" field=\\\"warm-palette\\\" \\n\\ttiddler=<<switchpaletteTid>> />\\n\\n<$macrocall $name=selectPelette \\n title=\\\"Dark palette\\\" filter=<<filterNight>> \\n\\tdefault=\\\"$:/palettes/Nord\\\" field=\\\"dark-palette\\\" \\n\\ttiddler=<<switchpaletteTid>> /><br>\\n\\n<label class=\\\"kk-switch-label\\\">Reset to default</label>\\n<$button> {{$:/core/images/erase}}\\n\\n<$action-setfield \\n $tiddler=<<switchpaletteTid>> \\n\\t$field=dark-palette \\n $value={{!!dark-palette}} />\\n\\n<$action-setfield \\n $tiddler=<<switchpaletteTid>> \\n\\t$field=warm-palette \\n\\t$value={{!!warm-palette}} />\\t\\n\\t\\n<$action-setfield \\n $tiddler=<<switchpaletteTid>> \\n\\t$field=light-palette \\n\\t$value={{!!light-palette}} />\\t\\n\\t\\n<$action-setfield \\n $tiddler=\\\"$:/palette\\\" \\n\\t$field=text\\n\\t$value={{!!light-palette}} />\\t\\t\\n</$button>\\n</div>\\n<style>\\n.kk-switch-label{\\n width:105px;\\n display: inline-block;\\n}\\n</style>\\t\"},\"$:/plugins/kookma/shiraz/viewtemplates/sticky-footer\":{\"title\":\"$:/plugins/kookma/shiraz/viewtemplates/sticky-footer\",\"list-after\":\"\",\"tags\":\"$:/tags/ViewTemplate\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[all[current]has[sticky-footer]]\\\">\\n<div class=\\\"sticky-footer\\\">\\n{{!!sticky-footer}}\\n</div>\\n</$list>\\n\"},\"$:/language/Buttons/Shiraz/Hint\":{\"title\":\"$:/language/Buttons/Shiraz/Hint\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"switch light/warm/dark color palette\"},\"$:/language/Buttons/Shiraz/Caption\":{\"title\":\"$:/language/Buttons/Shiraz/Caption\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Switch light/warm/dark color palette\"}}}","type":"application/json","author":"Mohammad Rahmani","core-version":">=5.2.7","description":"Extended markups, styles, images, tables, and macros","list":"readme license history","name":"Shiraz","plugin-type":"plugin","source":"https://github.com/kookma/TW-Shiraz","stability":"STABILITY_2_STABLE","tags":"","title":"$:/plugins/kookma/shiraz","version":"2.9.7"},{"text":"{\"tiddlers\":{\"$:/plugins/kookma/trashbin/history\":{\"title\":\"$:/plugins/kookma/trashbin/history\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Full change log https://kookma.github.io/TW-Trashbin/#ChangeLog\\n\\n* ''1.3.5'' -- 2024.05.17 -- update to TW 5.3.6 and some bug fixes\\n* ''1.3.3'' -- 2024.05.17 -- update to TW 5.3.3 and some bug fixes\\n* ''1.2.4'' -- 2022.12.02 -- update to TW 5.2.3 and minor bug fixes\\n* ''1.2.3'' -- 2022.01.11 -- update to TW 5.2.1\\n* ''1.2.2'' -- 2020.04.10 -- bug fix in remove draft tiddlers to trashbin\\n* ''1.2.1'' -- 2020.03.30 -- bug fix and doc improvement and UI fade correction\\n* ''1.1.2'' -- 2020.03.28 -- stable release with new features and bug fixes\\n* ''0.1.0'' -- 2019.02.12 -- mature public release\\n\"},\"$:/plugins/kookma/trashbin/icon\":{\"title\":\"$:/plugins/kookma/trashbin/icon\",\"text\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" xml:space=\\\"preserve\\\" width=\\\"30px\\\" height=\\\"30px\\\" viewBox=\\\"0 0 508 508\\\"><path d=\\\"M434.3 119.9c0-7.8-6.3-14.1-14.1-14.1H87.8c-7.8 0-14.1 6.3-14.1 14.1v23.2h360.7v-23.2h-.1z\\\" style=\\\"fill:#56ace0\\\"/><path d=\\\"M385.6 479.8c7.8 0 14.1-6.3 14.1-14.1V171.4H108.3v294.3c0 7.8 6.3 14.1 14.1 14.1h263.2z\\\" style=\\\"fill:#fff\\\"/><path d=\\\"M136.5 199.6h235v251.9h-235z\\\" style=\\\"fill:#ffc10d\\\"/><path d=\\\"M420.2 77.6h-69.3V42.3c0-23.3-19-42.3-42.3-42.3H199.4c-23.3 0-42.3 19-42.3 42.3v35.3H87.8c-23.3 0-42.3 19-42.3 42.3v37.4c0 7.8 6.3 14.1 14.1 14.1H80v294.3C80 489 99 508 122.3 508h263.3c23.3 0 42.3-19 42.3-42.3V171.4h20.5c7.8 0 14.1-6.3 14.1-14.1v-37.4c0-23.3-18.9-42.3-42.3-42.3zM185.3 42.3c0-7.8 6.3-14.1 14.1-14.1h109.2c7.8 0 14.1 6.3 14.1 14.1v35.3H185.3V42.3zm214.4 423.4c0 7.8-6.3 14.1-14.1 14.1H122.4c-7.8 0-14.1-6.3-14.1-14.1V171.4h291.5v294.3h-.1zm34.6-322.5H73.7V120c0-7.8 6.3-14.1 14.1-14.1h332.4c7.8 0 14.1 6.3 14.1 14.1v23.2z\\\" style=\\\"fill:#194f82\\\"/><path d=\\\"M180.3 433.9c7.8 0 14.1-6.3 14.1-14.1V231.4c0-7.8-6.3-14.1-14.1-14.1s-14.1 6.3-14.1 14.1v188.5c0 7.7 6.3 14 14.1 14zM254 433.9c7.8 0 14.1-6.3 14.1-14.1V231.4c0-7.8-6.3-14.1-14.1-14.1s-14.1 6.3-14.1 14.1v188.5c0 7.7 6.3 14 14.1 14zM327.7 433.9c7.8 0 14.1-6.3 14.1-14.1V231.4c0-7.8-6.3-14.1-14.1-14.1s-14.1 6.3-14.1 14.1v188.5c0 7.7 6.3 14 14.1 14z\\\" style=\\\"fill:#194f82\\\"/></svg>\",\"type\":\"image/svg+xml\",\"tags\":\"\"},\"$:/plugins/kookma/trashbin/images/recycle\":{\"title\":\"$:/plugins/kookma/trashbin/images/recycle\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-recycle tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/images/sort-alpha-down\":{\"title\":\"$:/plugins/kookma/trashbin/images/sort-alpha-down\",\"caption\":\"sort-alpha-down\",\"tags\":\"$:/tags/Image\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-sort-alpha-down tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 448 512\\\"><path d=\\\"M176 352h-48V48a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16v304H16c-14.19 0-21.36 17.24-11.29 27.31l80 96a16 16 0 0 0 22.62 0l80-96C197.35 369.26 190.22 352 176 352zm240-64H288a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h56l-61.26 70.45A32 32 0 0 0 272 446.37V464a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-56l61.26-70.45A32 32 0 0 0 432 321.63V304a16 16 0 0 0-16-16zm31.06-85.38l-59.27-160A16 16 0 0 0 372.72 32h-41.44a16 16 0 0 0-15.07 10.62l-59.27 160A16 16 0 0 0 272 224h24.83a16 16 0 0 0 15.23-11.08l4.42-12.92h71l4.41 12.92A16 16 0 0 0 407.16 224H432a16 16 0 0 0 15.06-21.38zM335.61 144L352 96l16.39 48z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/images/sort-alpha-up\":{\"title\":\"$:/plugins/kookma/trashbin/images/sort-alpha-up\",\"caption\":\"sort-alpha-up (Solid)\",\"tags\":\"$:/tags/Image\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-sort-alpha-up-alt tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 448 512\\\"><path d=\\\"M16 160h48v304a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16V160h48c14.21 0 21.38-17.24 11.31-27.31l-80-96a16 16 0 0 0-22.62 0l-80 96C-5.35 142.74 1.78 160 16 160zm272 64h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-56l61.26-70.45A32 32 0 0 0 432 65.63V48a16 16 0 0 0-16-16H288a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h56l-61.26 70.45A32 32 0 0 0 272 190.37V208a16 16 0 0 0 16 16zm159.06 234.62l-59.27-160A16 16 0 0 0 372.72 288h-41.44a16 16 0 0 0-15.07 10.62l-59.27 160A16 16 0 0 0 272 480h24.83a16 16 0 0 0 15.23-11.08l4.42-12.92h71l4.41 12.92A16 16 0 0 0 407.16 480H432a16 16 0 0 0 15.06-21.38zM335.61 400L352 352l16.39 48z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/images/sort-numeric-down\":{\"title\":\"$:/plugins/kookma/trashbin/images/sort-numeric-down\",\"caption\":\"sort-numeric-down\",\"tags\":\"$:/tags/Image\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-sort-numeric-down tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 448 512\\\"><path d=\\\"M304 96h16v64h-16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h96a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-14.29 8.83l-16 32A16 16 0 0 0 304 96zm26.15 162.91a79 79 0 0 0-55 54.17c-14.25 51.05 21.21 97.77 68.85 102.53a84.07 84.07 0 0 1-20.85 12.91c-7.57 3.4-10.8 12.47-8.18 20.34l9.9 20c2.87 8.63 12.53 13.49 20.9 9.91 58-24.76 86.25-61.61 86.25-132V336c-.02-51.21-48.4-91.34-101.85-77.09zM352 356a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm-176-4h-48V48a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16v304H16c-14.19 0-21.36 17.24-11.29 27.31l80 96a16 16 0 0 0 22.62 0l80-96C197.35 369.26 190.22 352 176 352z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/images/sort-numeric-up\":{\"title\":\"$:/plugins/kookma/trashbin/images/sort-numeric-up\",\"caption\":\"sort-numeric-up (Solid)\",\"tags\":\"$:/tags/Image\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-sort-numeric-up-alt tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 448 512\\\"><path d=\\\"M107.31 36.69a16 16 0 0 0-22.62 0l-80 96C-5.35 142.74 1.78 160 16 160h48v304a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16V160h48c14.21 0 21.38-17.24 11.31-27.31zM400 416h-16V304a16 16 0 0 0-16-16h-48a16 16 0 0 0-14.29 8.83l-16 32A16 16 0 0 0 304 352h16v64h-16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h96a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM330.17 34.91a79 79 0 0 0-55 54.17c-14.27 51.05 21.19 97.77 68.83 102.53a84.07 84.07 0 0 1-20.85 12.91c-7.57 3.4-10.8 12.47-8.18 20.34l9.9 20c2.87 8.63 12.53 13.49 20.9 9.91 58-24.77 86.25-61.61 86.25-132V112c-.02-51.21-48.4-91.34-101.85-77.09zM352 132a20 20 0 1 1 20-20 20 20 0 0 1-20 20z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/images/times.svg\":{\"title\":\"$:/plugins/kookma/trashbin/images/times.svg\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg class=\\\"tc-image-times tc-image-button\\\" width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"0 0 352 512\\\"><path d=\\\"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/images/trash-alt\":{\"title\":\"$:/plugins/kookma/trashbin/images/trash-alt\",\"caption\":\"trash-alt\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg width=\\\"22pt\\\" height=\\\"22pt\\\" class=\\\"tc-image-fa-trash-alt tc-image-button\\\" viewBox=\\\"0 0 448 512\\\"><path d=\\\"M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z\\\"/></svg>\"},\"$:/plugins/kookma/trashbin/license\":{\"title\":\"$:/plugins/kookma/trashbin/license\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Distributed under an MIT license.\\n\\nCopyright (c) 2019-2023 [[Mohammad Rahmani|https://github.com/kookma]]\\n\\n<<<\\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \\\"Software\\\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\\n<<<\"},\"$:/plugins/kookma/trashbin/macros/bulk-operation\":{\"title\":\"$:/plugins/kookma/trashbin/macros/bulk-operation\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define delete-trashed-tiddlers()\\n<$list filter=\\\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\\\" variable=\\\"Item\\\">\\n<$action-deletetiddler $tiddler=<<Item>> />\\n</$list>\\n\\\\end\\n\\n\\\\define trashbin-empty-bin()\\n<$macrocall $name=\\\"trashbin-confirm-delete\\\"\\nbtnLabel=\\\"Empty Trashbin\\\"\\ncountFilter=\\\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]]\\\"\\nactionMacro=<<delete-trashed-tiddlers>>\\nstateTiddler=\\\"$:/state/trashbin/emptyTrashBin\\\"\\n/>\\n\\\\end\\n\\n\\\\define restore-all()\\n<$button tooltip=\\\"Restore all\\\" class=\\\"tc-btn-invisible tc-tiddlylink\\\"> {{$:/plugins/kookma/trashbin/images/recycle}}\\n<$list filter=\\\"[tag[$:/tags/trashbin]search:title[$:/trashbin/]sort[]]\\\" variable=\\\"Item\\\">\\n<$macrocall $name=\\\"restore\\\" tiddler=<<Item>> />\\n</$list>\\n</$button>\\n\\\\end\"},\"$:/plugins/kookma/trashbin/macros/confirm-empty\":{\"title\":\"$:/plugins/kookma/trashbin/macros/confirm-empty\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define trashbin-confirm-delete(\\nbtnLabel:\\\"Delete these tiddlers\\\", \\nconfirmMessage:\\\"Are you sure you wish to delete\\\", \\nstateTiddler:\\\"\\\", \\ncountFilter:\\\"\\\", \\nactionMacro:\\\"\\\")\\n\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" tooltip=\\\"Empty Trashbin\\\" popup=<<qualify \\\"\\\"\\\"$stateTiddler$\\\"\\\"\\\">> > {{$:/core/images/delete-button}}\\n</$button>\\n\\n<$reveal state=<<qualify \\\"\\\"\\\"$stateTiddler$\\\"\\\"\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n<div class=\\\"tc-block-dropdown-wrapper\\\">\\n<div class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$set name=\\\"resultCount\\\" value=\\\"\\\"\\\"<$count filter=<<__countFilter__>> />\\\"\\\"\\\">\\n$confirmMessage$ <<resultCount>> tiddler(s)?\\n</$set>\\n</div>\\n<div class=\\\"tc-dropdown-item-plain\\\">\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" tooltip=\\\"Empty archive\\\"\\nactions=<<__actionMacro__>> > \\n{{$:/core/images/delete-button}} Delete all?\\n</$button>\\n</div>\\n</div>\\n</div>\\n</$reveal>\\n\\\\end\"},\"$:/plugins/kookma/trashbin/macros/move-to-trashbin\":{\"title\":\"$:/plugins/kookma/trashbin/macros/move-to-trashbin\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define trashTidName() <<unusedtitle baseName:\\\"$(trashTiddler)$\\\">>\\n\\n\\\\define move-to-trashbin(tiddler)\\n<$list filter=\\\"[<__tiddler__>has[title]]\\\" variable=ignore> <!-- ignore missing tiddlers -->\\n<$vars trashTiddler={{{ [<__tiddler__>addprefix[$:/trashbin/]] }}}>\\n<$wikify name=\\\"trashTid\\\" text=<<trashTidName>> >\\n<$list filter=\\\"[<__tiddler__>fields[]]\\\" variable=\\\"fieldName\\\">\\n<$action-setfield \\n $tiddler=<<trashTid>>\\n $index=<<fieldName>>\\n $value={{{[<__tiddler__>get<fieldName>] }}}\\n/>\\n</$list>\\n<$action-setfield $tiddler=<<trashTid>> tags=\\\"$:/tags/trashbin\\\"/>\\n</$wikify>\\n<$action-sendmessage $message=\\\"tm-close-tiddler\\\" $param=<<__tiddler__>> />\\n<$list filter=\\\"[<__tiddler__>has[draft.of]]\\\" variable=ignore emptyMessage=\\\"\\\"\\\"<$action-deletetiddler $tiddler=<<__tiddler__>> />\\\"\\\"\\\">\\n<$action-deletetiddler $tiddler={{{[<__tiddler__>get[draft.of]]}}} /><!--delete main tiddler-->\\n<$action-deletetiddler $tiddler=<<__tiddler__>> /> <!--delete draft tiddler-->\\n</$list>\\n</$vars>\\n</$list>\\n\\\\end\\n\"},\"$:/plugins/kookma/trashbin/macros/preview-option\":{\"title\":\"$:/plugins/kookma/trashbin/macros/preview-option\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define viewTemplateTid() $:/plugins/kookma/trashbin/viewtemplate/trash-item\\n\\\\define styleTid() $:/plugins/kookma/trashbin/styles/show-trashed\\n\\n\\\\define preview-option()\\n<$reveal type=\\\"nomatch\\\" stateTitle=<<viewTemplateTid>> stateField=\\\"tags\\\" text=\\\"$:/tags/ViewTemplate\\\" default=\\\"\\\">\\n<$button setTitle=<<viewTemplateTid>> setField=\\\"tags\\\" setTo=\\\"$:/tags/ViewTemplate\\\" class=\\\"tc-btn-invisible\\\" tooltip=\\\"Show trash item preview\\\"> \\n{{$:/core/images/preview-open}}\\n<$action-setfield $tiddler=<<styleTid>> tags=\\\"$:/tags/Stylesheet\\\"/> \\n</$button>\\n</$reveal>\\n<$reveal type=\\\"match\\\" stateTitle=<<viewTemplateTid>> stateField=\\\"tags\\\" text=\\\"$:/tags/ViewTemplate\\\" default=\\\"\\\">\\n<$button setTitle=<<viewTemplateTid>> setField=\\\"tags\\\" setTo=\\\"\\\" class=\\\"tc-btn-invisible\\\" tooltip=\\\"Hide trash item preview\\\"> \\n{{$:/core/images/preview-closed}}\\n<$action-setfield $tiddler=<<styleTid>> tags=\\\"\\\"/> \\n</$button>\\n</$reveal>\\n\\\\end\\n\\n<<preview-option>>\"},\"$:/plugins/kookma/trashbin/macros/restore\":{\"title\":\"$:/plugins/kookma/trashbin/macros/restore\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define open-restoredTid-in-story-river()\\n<$action-listops $tiddler=\\\"$:/StoryList\\\" $field='list' $subfilter=\\\"\\\"\\\"[[$(restoredTid)$]]+[putfirst[]]\\\"\\\"\\\"/>\\n\\\\end\\n\\n\\\\define restoreTid(tiddler)\\n<$list filter=\\\"[<__tiddler__>indexes[]] -title\\\" variable=\\\"fieldName\\\">\\n <$action-setfield \\n $tiddler=<<restoredTid>> \\n\\t $field=<<fieldName>> \\n\\t $value={{{ [<__tiddler__>getindex<fieldName>] }}} \\n />\\n</$list>\\n<$action-sendmessage $message=\\\"tm-close-tiddler\\\" $param=<<__tiddler__>> />\\n<$action-deletetiddler $tiddler=<<__tiddler__>> />\\n<$macrocall $name=\\\"open-restoredTid-in-story-river\\\" />\\n\\\\end\\n\\n\\n\\\\define restore(tiddler)\\n<$vars \\n restoredTid={{{ [<__tiddler__>getindex[title]] }}} \\n isExisted= {{{ [<__tiddler__>getindex[title]has[title]] }}} \\n >\\n<$reveal type=\\\"nomatch\\\" text=<<isExisted>> default=<<restoredTid>> >\\n<$macrocall $name=\\\"restoreTid\\\" tiddler=<<__tiddler__>> />\\n</$reveal>\\n\\n<$reveal type=\\\"match\\\" text=<<isExisted>> default=<<restoredTid>> >\\n <$action-sendmessage $message=\\\"tm-notify\\\" \\n $param=\\\"$:/plugins/kookma/trashbin/restore-notification\\\" \\n\\t restoredTiddler=<<restoredTid>>\\n\\t/>\\n</$reveal>\\n\\n</$vars>\\n\\\\end\"},\"$:/plugins/kookma/trashbin/macros/sort\":{\"title\":\"$:/plugins/kookma/trashbin/macros/sort\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define tempSortTid() $:/keepstate/trashbin/sort\\n\\n\\\\define show-icons()\\n<$vars state-alpha-down=\\\"sortan[title]\\\" state-alpha-up=\\\"!sortan[title]\\\"\\n state-numeric-down=\\\"sort[modified]\\\" state-numeric-up=\\\"!sort[modified]\\\" >\\n<$list filter=\\\"[<tempSortTid>get[text]match<state-alpha-down>]\\\">\\n{{$:/plugins/kookma/trashbin/images/sort-alpha-down}}\\n</$list>\\n<$list filter=\\\"[<tempSortTid>get[text]match<state-alpha-up>]\\\">\\n{{$:/plugins/kookma/trashbin/images/sort-alpha-up}}\\n</$list>\\n<$list filter=\\\"[<tempSortTid>get[text]match<state-numeric-down>]\\\">\\n{{$:/plugins/kookma/trashbin/images/sort-numeric-down}}\\n</$list>\\n<$list filter=\\\"[<tempSortTid>get[text]match<state-numeric-up>]\\\">\\n{{$:/plugins/kookma/trashbin/images/sort-numeric-up}}\\n</$list>\\n<$list filter=\\\"[<tempSortTid>!has[title]]\\\">\\nClick to sort\\n</$list>\\n</$vars>\\n\\\\end\\n\\n\\n\\\\define trashbin-cycle(arraySet:\\\"\\\", stateTiddler:\\\"\\\", stateField:\\\"text\\\")\\n<$vars array=<<__arraySet__>> currentItem={{{[<__stateTiddler__>get<__stateField__>]}}} \\n tooltip={{{[<tempSortTid>get[text]]}}} >\\n <$button tooltip=<<tooltip>> class=\\\"tc-btn-invisible\\\"> <<show-icons>>\\n <$set\\n filter='[enlist<array>after<currentItem>]'\\n name=NextItem\\n emptyValue={{{[enlist<array>first[]]}}}\\n >\\n <$action-setfield\\n $tiddler=<<__stateTiddler__>>\\n $field=<<__stateField__>>\\n $value=<<NextItem>> />\\n </$set>\\n </$button>\\n</$vars>\\t\\n\\\\end\\n\\n\\\\define sort-by()\\n<$macrocall $name=\\\"trashbin-cycle\\\" \\n arraySet=\\\"sortan[title] !sortan[title] sort[modified] !sort[modified]\\\" \\n stateTiddler=<<tempSortTid>> />\\n\\\\end\"},\"$:/plugins/kookma/trashbin/plugin.info\":{\"title\":\"$:/plugins/kookma/trashbin/plugin.info\",\"type\":\"application/json\",\"text\":\"{\\n \\\"title\\\": \\\"$:/plugins/kookma/trashbin\\\",\\n \\\"version\\\": \\\"1.3.5\\\",\\n \\\"stability\\\": \\\"STABILITY_2_STABLE\\\",\\n \\\"name\\\": \\\"Trashbin\\\",\\n \\\"description\\\": \\\"A trashbin mechanism for Tiddlywiki\\\",\\n \\\"author\\\": \\\"Mohammad Rahmani\\\",\\n \\\"source\\\": \\\"https://github.com/kookma/TW-Trashbin\\\",\\n \\\"list\\\": \\\"readme license history\\\",\\n \\\"plugin-priority\\\": \\\"\\\",\\n \\\"parent-plugin\\\": \\\"\\\",\\n \\\"dependents\\\": \\\"\\\",\\n \\\"plugin-type\\\": \\\"plugin\\\",\\n \\\"core-version\\\": \\\">= 5.1.22\\\",\\n \\\"packaged-by\\\": \\\"Gatha on 16th February 2025, 23:38:32\\\"\\n}\"},\"$:/plugins/kookma/trashbin/readme\":{\"title\":\"$:/plugins/kookma/trashbin/readme\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"; Trashbin\\nThe concept behind Trashbin plugin is to have a simple mechanism to move deleted tiddlers to Trashbin and be able to restore them later if required.\\n\\n; Code and demo\\nFor learning plugin features, mechanism, terminology, syntax, tutorial and examples see the plugin demo and code pages\\n\\n* Demo: https://kookma.github.io/TW-Trashbin/\\n* Code: https://github.com/kookma/TW-Trashbin\\n\"},\"$:/plugins/kookma/trashbin/restore-notification\":{\"title\":\"$:/plugins/kookma/trashbin/restore-notification\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"{{$:/plugins/kookma/trashbin/images/recycle}} \\n\\n''Warning''<br>\\nThe target tiddler <b><$text text=<<restoredTiddler>>/></b> already exists.<br>\\nIt cannot be overwritten!\"},\"$:/plugins/kookma/trashbin/sidebar-tab\":{\"title\":\"$:/plugins/kookma/trashbin/sidebar-tab\",\"caption\":\"Trashbin\",\"list-after\":\"\",\"tags\":\"$:/tags/SideBar\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"{{$:/plugins/kookma/trashbin/ui/sidebar}}\"},\"$:/plugins/kookma/trashbin/styles/main.css\":{\"title\":\"$:/plugins/kookma/trashbin/styles/main.css\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"/* trashbin main ui */\\n.kk-trashbin-ui{\\n\\tmin-width:320px; /* controls the minimum width of whole ui */\\n}\\n\\n.kk-trahbin-ui svg{\\n fill:#aaaaaa;\\n}\\n\\n.kk-trahbin-ui .kk-trahbin-ui-controls svg{\\n width:1.2em;\\n height:1.2em;\\t\\n}\\n\\n\\n/* trashbin items list ui */\\n.kk-trashbin-row{\\n\\tdisplay: flex;\\t\\n\\twidth: 95%;\\n\\tflex-wrap: wrap;\\n}\\n\\n.kk-trashbin-controls-row{\\n\\tmargin-bottom: 10px;\\n}\\n\\n.kk-trashbin-row .kk-trashbin-delete,\\n.kk-trashbin-row .kk-trashbin-restore {\\n\\tflex-grow:0; width:20px;\\n\\tmargin-left:5px;\\n}\\n\\n.kk-trashbin-row .kk-trashbin-link{\\n\\tflex-grow:1; \\n\\twidth: calc(100% - 50px); \\n\\tpadding-right: 10px;\\n}\\n\\n/* old: .kk-trashbin-row:hover { background-color: #f6f6f6; } */\\n.kk-trashbin-row:hover { background-color: <<colour pre-background>>; }\\n\\n/* UI button fade-in*/\\n.kk-trahbin-ui button:hover svg { fill: #000000; }\\n.kk-trahbin-ui .kk-trashbin-ui-btn { opacity:0.5; }\\n.kk-trahbin-ui .kk-trashbin-ui-btn:hover { opacity:1.0; }\\n\\n\\n\"},\"$:/plugins/kookma/trashbin/styles/show-trashed\":{\"title\":\"$:/plugins/kookma/trashbin/styles/show-trashed\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"[data-tags~=\\\"$:/tags/trashbin\\\"] .tc-tiddler-body,\\n[data-tags~=\\\"$:/tags/trashbin\\\"] .tc-tags-wrapper\\n{\\n display:none;\\n}\\n\"},\"$:/plugins/kookma/trashbin/styles/toolbar-buttons\":{\"title\":\"$:/plugins/kookma/trashbin/styles/toolbar-buttons\",\"text\":\"html body.tc-body .tc-tiddler-controls .tc-image-trash-alt {stroke: white;fill:#660000;}\\nhtml body.tc-body .tc-tiddler-controls .tc-image-recycle {stroke: white;fill:#138808;}\",\"type\":\"text/css\"},\"$:/plugins/kookma/trashbin/styles/trashed-item\":{\"title\":\"$:/plugins/kookma/trashbin/styles/trashed-item\",\"text\":\"/* set style for trashed tiddlers */\\n[data-tags ~=\\\"$:/tags/trashbin\\\"] { border: 1px solid crimson; }\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/kookma/trashbin/templates/body\":{\"title\":\"$:/plugins/kookma/trashbin/templates/body\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define show-plain() \\n<div class=\\\"tc-tiddler-body\\\">\\n<pre><$transclude index=\\\"text\\\" mode=\\\"block\\\"/></pre>\\n</div>\\n\\\\end\\n\\n\\\\define show() \\n<div class=\\\"tc-tiddler-body\\\">\\n<$transclude index=\\\"text\\\" mode=\\\"block\\\"/>\\n</div>\\n\\\\end\\n\\n\\n<!-- json tiddlers including plugins -->\\n<$list filter=\\\"[<currentTiddler>getindex[type]match[application/json]]\\\" variable=ignore>\\n<$list filter=\\\"[<currentTiddler>getindex[plugin-type]]\\\" variable=ignore emptyMessage=<<show-plain>> >\\n<div class=\\\"tc-binary-warning\\\">\\nThis tiddler contains plugin!\\n</div>\\n</$list>\\n</$list>\\n<!-- text tiddlers including: css, plain, dictionary -->\\n<$list filter=\\\"[<currentTiddler>getindex[type]match[application/x-tiddler-dictionary]]\\n[<currentTiddler>getindex[type]match[text/plain]]\\n[<currentTiddler>getindex[type]match[text/css]]\\\" variable=ignore>\\n<<show-plain>>\\n</$list>\\n\\n\\n<!-- other tiddlers like image, vnd.tiddlywiki -->\\n<$list filter=\\\"[<currentTiddler>getindex[type]]\\\" variable=type emptyMessage=<<show>> >\\n<$list filter=\\\"[<type>match[text/vnd.tiddlywiki]]\\\" variable=ignore>\\n<$transclude index=\\\"text\\\" mode=\\\"block\\\"/>\\n</$list>\\n<$list filter=\\\"[<type>search:title[image]]\\\" variable=ignore>\\n<div class=\\\"tc-binary-warning\\\">\\nThis tiddler contains image data!\\n</div>\\n</$list>\\n</$list>\"},\"$:/plugins/kookma/trashbin/templates/subtitle\":{\"title\":\"$:/plugins/kookma/trashbin/templates/subtitle\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<div class=\\\"tc-subtitle\\\">\\n<$link to={{##modifier}}>\\n<$view index=\\\"modifier\\\"/>\\n</$link> <$view index=\\\"modified\\\" format=\\\"date\\\" template={{$:/language/Tiddler/DateFormat}}/>\\n</div>\"},\"$:/plugins/kookma/trashbin/templates/tags\":{\"title\":\"$:/plugins/kookma/trashbin/templates/tags\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<div class=\\\"tc-tags-wrapper\\\">\\n<$vars tagsIndex={{{[<currentTiddler>getindex[tags]]}}}>\\n<$list filter=\\\"[enlist<tagsIndex>]\\\" template=\\\"$:/core/ui/TagTemplate\\\" storyview=\\\"pop\\\"/>\\n</$vars>\\n</div>\"},\"$:/plugins/kookma/trashbin/templates/title\":{\"title\":\"$:/plugins/kookma/trashbin/templates/title\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define title-styles()\\nfill:$(foregroundColor)$;\\n\\\\end\\n<div class=\\\"tc-tiddler-title\\\">\\n<div class=\\\"tc-titlebar\\\">\\n<$set name=\\\"tv-wikilinks\\\" value={{$:/config/Tiddlers/TitleLinks}}>\\n<$link>\\n<$set name=\\\"foregroundColor\\\" value={{##color}}>\\n<span class=\\\"tc-tiddler-title-icon\\\" style=<<title-styles>>>\\n<$transclude tiddler={{##icon}}>\\n<$transclude tiddler={{$:/config/DefaultTiddlerIcon}}/>\\n</$transclude>\\n</span>\\n</$set>\\n<$list filter=\\\"[{##title}removeprefix[$:/]]\\\">\\n<h2 class=\\\"tc-title\\\" title={{$:/language/SystemTiddler/Tooltip}}>\\n<span class=\\\"tc-system-title-prefix\\\">$:/</span><$text text=<<currentTiddler>>/>\\n</h2>\\n</$list>\\n<$list filter=\\\"[{##title}!prefix[$:/]]\\\">\\n<h2 class=\\\"tc-title\\\">\\n<$view field=\\\"title\\\"/>\\n</h2>\\n</$list>\\n</$link>\\n</$set>\\n</div></div>\"},\"$:/plugins/kookma/trashbin/ui/sidebar\":{\"title\":\"$:/plugins/kookma/trashbin/ui/sidebar\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/kookma/trashbin/macros/sort\\n\\\\import $:/plugins/kookma/trashbin/macros/restore\\n\\\\import $:/plugins/kookma/trashbin/macros/confirm-empty\\n\\\\import $:/plugins/kookma/trashbin/macros/bulk-operation\\n\\\\import $:/plugins/kookma/trashbin/macros/preview-option\\n\\n\\\\define show-link()\\n<$link to=<<currentTiddler>> ><$text text={{{ [<currentTiddler>removeprefix[$:/trashbin/]] }}} /> </$link>&nbsp;<span style=\\\"float:right;padding-right:10px;font-size:smaller;\\\" title=\\\"Date Deleted\\\"><$view field=\\\"modified\\\" format=\\\"date\\\" template=\\\"0MM/0DD/YYYY 0hh:0mm AM\\\"/></span>\\n\\\\end\\n\\n\\\\define recycle-button()\\n{{||$:/plugins/kookma/trashbin/ui/toolbar-button}}\\n\\\\end\\n\\n\\\\define delete-button()\\n<$button class=\\\"tc-btn-invisible\\\" tooltip=\\\"Delete permanently\\\">\\n{{$:/plugins/kookma/trashbin/images/times.svg}}\\n<$list filter=\\\"[list[$:/StoryList]] +[field:title<currentTiddler>>]\\\" variable=ignore>\\n<$action-sendmessage $message=\\\"tm-close-tiddler\\\" $param=<<<currentTiddler>> />\\n</$list>\\n<$action-deletetiddler $tiddler=<<currentTiddler>> />\\n</$button>\\n\\\\end\\n\\n\\\\define trashbin-siderbar-ui()\\n<div class=\\\"kk-trahbin-ui\\\">\\n<div class=\\\"kk-trashbin-controls-row\\\">\\n\\t<span class=\\\"kk-trahbin-ui-controls kk-trashbin-ui-btn\\\">\\n\\t<<trashbin-empty-bin>> <<restore-all>> <<sort-by>> <<preview-option>>\\n\\t</span>&nbsp;\\n\\t<span style=\\\"font-size:smaller\\\">\\n\\t<$list filter='[tag[$:/tags/trashbin]prefix[$:/trashbin/]limit[1]]' variable=null emptyMessage=\\\"Trash bin is empty\\\">\\n\\t<$count filter='[tag[$:/tags/trashbin]]'/> items in Trashbin\\n\\t</$list>\\n\\t</span>\\n</div>\\n\\n<!-- create the trash items list -->\\n<$list filter=\\\"[tag[$:/tags/trashbin]prefix[$:/trashbin/]$(sortType)$]\\\">\\n<div class=\\\"kk-trashbin-row\\\">\\n\\t<div class=\\\"kk-trashbin-link\\\"><<show-link>></div>\\n\\t<div class=\\\"kk-trashbin-recycle kk-trashbin-ui-btn\\\"><<recycle-button>></div>\\n\\t<div class=\\\"kk-trashbin-delete kk-trashbin-ui-btn\\\"><<delete-button>></div>\\n</div>\\n</$list>\\n</div>\\n\\\\end\\n\\n<$vars sortType={{{[<tempSortTid>get[text]] ~[[]] }}}>\\n<<trashbin-siderbar-ui>>\\n</$vars>\"},\"$:/plugins/kookma/trashbin/ui/toolbar-button\":{\"title\":\"$:/plugins/kookma/trashbin/ui/toolbar-button\",\"caption\":\"{{$:/plugins/kookma/trashbin/images/trash-alt}}&nbsp;{{$:/language/Buttons/Trashbin/Caption/Move}}\",\"description\":\"<$list filter=\\\"[all[current]tag[$:/tags/trashbin]prefix[$:/trashbin/]]\\\" emptyMessage={{$:/language/Buttons/Trashbin/Hint/Move}}>{{$:/language/Buttons/Trashbin/Hint/Recycle}}</$list>\",\"list-after\":\"$:/core/ui/Buttons/delete\",\"tags\":\"$:/tags/ViewToolbar $:/tags/EditToolbar\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/kookma/trashbin/macros/move-to-trashbin\\n\\\\import $:/plugins/kookma/trashbin/macros/restore\\n\\\\whitespace trim\\n<!-- move to trashbin -->\\n<$list filter=\\\"[all[current]!tag[$:/tags/trashbin]!prefix[$:/trashbin/]]\\\"><$button \\n aria-label={{$:/language/Buttons/Trashbin/Caption/Move}}\\n tooltip={{$:/language/Buttons/Trashbin/Hint/Move}} class=<<tv-config-toolbar-class>> >\\n <$macrocall $name=\\\"move-to-trashbin\\\" tiddler=<<currentTiddler>> />\\t\\n <$list filter=\\\"[<tv-config-toolbar-icons>prefix[yes]]\\\">\\n {{$:/plugins/kookma/trashbin/images/trash-alt}}\\n </$list><$list filter=\\\"[<tv-config-toolbar-text>prefix[yes]]\\\">\\n <span class=\\\"tc-btn-text\\\">\\n\\t\\t &nbsp;<$text text={{$:/language/Buttons/Trashbin/Caption/Move}}/>\\n </span>\\n </$list></$button></$list><!-- recycle from trashbin --><$list filter=\\\"[all[current]tag[$:/tags/trashbin]prefix[$:/trashbin/]]\\\"><$button\\n aria-label={{$:/language/Buttons/Trashbin/Caption/Recycle}}\\n tooltip={{$:/language/Buttons/Trashbin/Hint/Recycle}} class=<<tv-config-toolbar-class>> >\\n <$macrocall $name=\\\"restore\\\" tiddler=<<currentTiddler>> />\\n <$list filter=\\\"[<tv-config-toolbar-icons>prefix[yes]]\\\">\\n {{$:/plugins/kookma/trashbin/images/recycle}}\\n </$list><$list filter=\\\"[<tv-config-toolbar-text>prefix[yes]]\\\">\\n <span class=\\\"tc-btn-text\\\">&nbsp;\\n <$text text={{$:/language/Buttons/Trashbin/Caption/Recycle}}/>\\n </span>\\n </$list></$button></$list>\"},\"$:/plugins/kookma/trashbin/viewtemplate/trash-item\":{\"title\":\"$:/plugins/kookma/trashbin/viewtemplate/trash-item\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<$list filter=\\\"[all[current]tag[$:/tags/trashbin]prefix[$:/trashbin/]]\\\">\\n<div class=\\\"tc-tiddler-frame kk-trashbin-viewtrashitem\\\">\\n{{||$:/plugins/kookma/trashbin/templates/title}}\\n{{||$:/plugins/kookma/trashbin/templates/subtitle}}\\n{{||$:/plugins/kookma/trashbin/templates/tags}}\\n{{||$:/plugins/kookma/trashbin/templates/body}}\\n</div>\\n<div class=\\\"kk-trashbin-viewtrashitem\\\" style=\\\"margin-left:40px;\\\">\\n<h2>Tiddler fields</h2>\\n<$list filter=\\\"[<currentTiddler>indexes[]] -title -tags -text -created -modified\\\" variable=idx>\\n<label style=\\\"display:inline-block;width:15ch;font-weight:bold;\\\"><<idx>>:</label> <$transclude index=<<idx>>/><br/>\\n</$list>\\n</div>\\n\\n<style>\\n.kk-trashbin-viewtrashitem {\\n margin-top:15px;\\n }\\n.kk-trashbin-viewtrashitem .tc-tags-wrapper {\\n display:inline;\\n}\\n.kk-trashbin-viewtrashitem .tc-tiddler-body{\\n display:block;\\n}\\n</style>\"},\"$:/language/Buttons/Trashbin/Hint/Recycle\":{\"title\":\"$:/language/Buttons/Trashbin/Hint/Recycle\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Recycle this tiddler from Trashbin\"},\"$:/language/Buttons/Trashbin/Hint/Move\":{\"title\":\"$:/language/Buttons/Trashbin/Hint/Move\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Move this tiddler to Trashbin\"},\"$:/language/Buttons/Trashbin/Caption/Recycle\":{\"title\":\"$:/language/Buttons/Trashbin/Caption/Recycle\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"recycle\"},\"$:/language/Buttons/Trashbin/Caption/Move\":{\"title\":\"$:/language/Buttons/Trashbin/Caption/Move\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"trashbin\"},\"$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/delete\":{\"title\":\"$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/delete\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"hide\"}}}","type":"application/json","author":"Mohammad Rahmani","core-version":">= 5.1.22","dependents":"","description":"A trashbin mechanism for Tiddlywiki","list":"readme license history","name":"Trashbin","source":"https://github.com/kookma/TW-Trashbin","stability":"STABILITY_2_STABLE","title":"$:/plugins/kookma/trashbin","version":"1.3.5","plugin-type":"plugin","packaged-by":"Gatha on 16th February 2025, 23:41:16"},{"title":"$:/plugins/oeyoews/neotw-copy-code2","description":"neotw-copy-code2","author":"oeyoews","version":"0.0.1","core-version":">=5.3.0","type":"application/json","plugin-type":"plugin","name":"neotw-copy-code2","meat#disabled":"yes","qrcode":"yes","created":"20241203060000000","dependents":"","list":"readme","text":"{\"tiddlers\":{\"$:/plugins/oeyoews/neotw-copy-code2/readme\":{\"title\":\"$:/plugins/oeyoews/neotw-copy-code2/readme\",\"text\":\"<!-- plugin template readme -->\\n\\n## Motivation\\n\\nhttps://talk.tiddlywiki.org/t/introducing-a-copy-code-button-plugin-for-tiddlywiki-enhancing-code-sharing-and-efficiency/7224/18?u=oeyoews\\n\\n<!-- your plugin motivation, or why you write this plugin -->\\n\",\"type\":\"text/markdown\",\"description\":\"neotw-copy-code2\"},\"$:/plugins/oeyoews/neotw-copy-code2/copy-code-global\":{\"title\":\"$:/plugins/oeyoews/neotw-copy-code2/copy-code-global\",\"tags\":\"$:/tags/Global\",\"text\":\"\\\\widget $codeblock(code, language)\\n\\n<%if [<code>!match[]] [<currentTiddler>!is[system]!prefix[$:/]] %>\\n<!-- scale-0 group-hover:scale-100 -->\\n<div class=\\\"group relative\\\">\\n<%if [<currentTiddler>!prefix[$:/]!is[system]] %>\\n<$button class=\\\"neotw-copy-code z-[1] absolute right-0 m-1 p-0 transition-all delay-200 size-8 print:hidden\\\" message=\\\"tm-copy-to-clipboard\\\" param=<<code>> tooltip=\\\"copy code\\\">\\n{{$:/core/images/copy-clipboard}}\\n</$button>\\n<% endif %>\\n<$genesis $type=\\\"$codeblock\\\" $remappable=\\\"no\\\" code=<<code>> language=<<language>> />\\n\\n</div>\\n<% endif %>\\n\\n\\\\end\"},\"$:/plugins/oeyoews/neotw-copy-code2/style.css\":{\"title\":\"$:/plugins/oeyoews/neotw-copy-code2/style.css\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\".code-collapsed {\\n\\t\\tmax-height: 200px;\\n\\t\\toverflow: hidden;\\n\\t\\tposition: relative;\\n}\\n\\n<!--\\n.code-collapsed::after {\\n\\t\\tcontent: \\\"\\\";\\n\\t\\tposition: absolute;\\n\\t\\tbottom: 0;\\n\\t\\tleft: 0;\\n\\t\\twidth: 100%;\\n\\t\\theight: 60px;\\n\\t\\tpointer-events: none;\\n\\t\\tbackground: linear-gradient(transparent, rgba(248, 249, 250, 0.9));\\n}\\n-->\\n\\n<!--\\n.code-collapsed:hover::after {\\n\\t\\tbackground: transparent;\\n}\\n-->\\n\\n<$let darkmode={{{ [[$:/palette]get[text]get[color-scheme]] }}} >\\n<% if [<darkmode>match[dark]] %>\\n\\t.code-collapsed::after {\\n\\t\\tbackground: transparent;\\n\\t\\t<!-- background: linear-gradient(transparent, rgba(45, 45, 45, 0.9)); -->\\n }\\n<% endif %>\\n</$let>\\n\\n.expand-button {\\n\\t\\tposition: absolute;\\n\\t\\tbottom: 4px;\\n\\t\\tleft: 50%;\\n\\t\\ttransform: translateX(-50%);\\n\\t\\tbackground-color: #4a6ee0;\\n\\t\\tcolor: white;\\n\\t\\tborder: none;\\n\\t\\tborder-radius: 4px;\\n\\t\\tpadding: 4px 8px;\\n\\t\\tfont-size: 14px;\\n\\t\\tcursor: pointer;\\n\\t\\ttransition: background-color 0.2s;\\n}\\n\\n.expand-button:hover {\\n\\t\\tbackground-color: #3a5bbf;\\n}\"},\"$:/plugins/oeyoews/neotw-copy-code2/widget.js\":{\"title\":\"$:/plugins/oeyoews/neotw-copy-code2/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/oeyoews/neotw-copy-code2/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nneotw-copy-code2 widget\\n\\n\\\\*/\\nconst { widget: Widget } = require('$:/core/modules/widgets/widget.js');\\n\\nclass neotwCopyCode2 extends Widget {\\n constructor(parseTreeNode, options) {\\n super(parseTreeNode, options);\\n }\\n\\n render(parent, nextSibling) {\\n if (!$tw.browser) return;\\n\\n this.computeAttributes();\\n this.execute();\\n\\n const ssr = this.document.isTiddlyWikiFakeDom;\\n if (ssr) return;\\n const title = this.getVariable('currentTiddler'); // 获取当前条目名称;\\n const selector = `[data-tiddler-title=\\\"${title}\\\"]`;\\n const tiddlerNode = document.querySelector(selector);\\n // 找到同级的pre>code标签,\\n const preEl = tiddlerNode.querySelectorAll('pre');\\n if (preEl.length === 0 || !preEl) return;\\n const codeEl = tiddlerNode.querySelectorAll('pre > code');\\n preEl.forEach((pre) => {\\n if (pre.clientHeight < 400) return;\\n pre.classList.add('code-collapsed');\\n const expandButton = document.createElement('button');\\n expandButton.className =\\n 'expand-button absolute bottom-2 left-1/2 transform -translate-x-1/2';\\n expandButton.textContent = '显示全部';\\n // pre.before(expandButton);\\n pre.appendChild(expandButton);\\n\\n // 添加展开/折叠功能\\n expandButton.addEventListener('click', function () {\\n if (pre.classList.contains('code-collapsed')) {\\n // 展开代码\\n expandButton.textContent = '收起代码';\\n } else {\\n // 折叠代码\\n expandButton.textContent = '显示全部';\\n }\\n pre.classList.toggle('code-collapsed');\\n });\\n });\\n\\n return;\\n if (!preEl) return;\\n // js hljs language-javascript\\n const lang = preEl.getAttribute('class').split(' ').pop();\\n }\\n}\\n\\n/** @description {{ pluginname }} widget */\\nexports['neotwCopyCode2'] = neotwCopyCode2;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/oeyoews/neotw-copy-code2/viewTemplate\":{\"title\":\"$:/plugins/oeyoews/neotw-copy-code2/viewTemplate\",\"text\":\"<!-- tags: $:/tags/ViewTemplate -->\\n<!-- 会造成保存样式异常, 性能下降 -->\\n\\n<$list filter=\\\"[all[current]!is[missing]!is[binary]]\\\">\\n<$neotwCopyCode2 />\\n</$list>\"}}}","revision":"0","bag":"default"},{"title":"$:/plugins/sq/macy","name":"Macy","description":"masonry layout for images","author":"Saq Imtiaz","core-version":">=5.2.0","plugin-priority":"0","list":"readme","version":"0.0.9","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/sq/macy/default_config.js\":{\"title\":\"$:/plugins/sq/macy/default_config.js\",\"type\":\"application/json\",\"text\":\"{\\n\\t\\\"columns\\\": 6,\\n\\t\\\"trueOrder\\\": false,\\n\\t\\\"margin\\\": 10,\\n\\t\\\"waitForImages\\\": false,\\n\\t\\\"mobileFirst\\\": false,\\n\\t\\\"breakAt\\\": {\\n\\t\\t\\\"1300\\\": 5,\\n\\t\\t\\\"940\\\": 3,\\n\\t\\t\\\"520\\\": 2,\\n\\t\\t\\\"400\\\": 1\\t\\n\\t},\\n\\t\\\"useContainerForBreakpoints\\\": false\\n}\"},\"$:/plugins/sq/macy/icon\":{\"title\":\"$:/plugins/sq/macy/icon\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\n<svg viewBox=\\\"0 0 149.398 127.648\\\" height=\\\"22pt\\\" width=\\\"22pt\\\">\\n <defs>\\n <bx:guide x=\\\"67.743\\\" y=\\\"75.952\\\" angle=\\\"90\\\"/>\\n <bx:guide x=\\\"58.036\\\" y=\\\"78.268\\\" angle=\\\"90\\\"/>\\n </defs>\\n <path fill=\\\"#52B8CC\\\" d=\\\"M 21 48.215 L 9 48.215 C 5.686 48.215 3 45.132 3 41.327 L 3 13.775 C 3 6.168 8.373 0 15 0 L 21 0 C 24.314 0 27 3.083 27 6.888 L 27 41.327 C 27 45.132 24.314 48.215 21 48.215 Z\\\" style=\\\"\\\"/>\\n <path fill=\\\"#DBDBDB\\\" d=\\\"M 51 94.691 L 39 94.691 C 35.686 94.691 33 91.019 33 86.492 L 33 45.497 C 33 40.969 35.686 37.298 39 37.298 L 51 37.298 C 54.314 37.298 57 40.969 57 45.497 L 57 86.492 C 57 91.019 54.314 94.691 51 94.691 Z\\\" style=\\\"\\\"/>\\n <path d=\\\"M 81 48.215 L 69 48.215 C 65.686 48.215 63 45.132 63 41.327 L 63 6.888 C 63 3.083 65.686 0 69 0 L 81 0 C 84.314 0 87 3.083 87 6.888 L 87 41.327 C 87 45.132 84.314 48.215 81 48.215 Z\\\" style=\\\"fill: rgb(219, 219, 219);\\\"/>\\n <path fill=\\\"#DBDBDB\\\" d=\\\"M 111 85.651 L 99 85.651 C 95.686 85.651 93 82.415 93 78.421 L 93 42.269 C 93 38.276 95.686 35.038 99 35.038 L 111 35.038 C 114.314 35.038 117 38.276 117 42.269 L 117 78.421 C 117 82.415 114.314 85.651 111 85.651 Z\\\" style=\\\"\\\"/>\\n <path fill=\\\"#52B8CC\\\" d=\\\"M 141 45.809 L 129 45.809 C 125.686 45.809 123 42.879 123 39.265 L 123 6.544 C 123 2.93 125.686 0 129 0 L 135 0 C 141.627 0 147 5.86 147 13.088 L 147 39.265 C 147 42.879 144.314 45.809 141 45.809 Z M 21 82.893 L 9 82.893 C 5.686 82.893 3 79.963 3 76.348 L 3 58.897 C 3 55.283 5.686 52.353 9 52.353 L 21 52.353 C 24.314 52.353 27 55.283 27 58.897 L 27 76.348 C 27 79.963 24.314 82.893 21 82.893 Z M 51 30.539 L 39 30.539 C 35.686 30.539 33 27.609 33 23.995 L 33 6.544 C 33 2.93 35.686 0 39 0 L 51 0 C 54.314 0 57 2.93 57 6.544 L 57 23.995 C 57 27.609 54.314 30.539 51 30.539 Z M 81 82.893 L 69 82.893 C 65.686 82.893 63 79.963 63 76.348 L 63 58.897 C 63 55.283 65.686 52.353 69 52.353 L 81 52.353 C 84.314 52.353 87 55.283 87 58.897 L 87 76.348 C 87 79.963 84.314 82.893 81 82.893 Z M 111 30.539 L 99 30.539 C 95.686 30.539 93 27.609 93 23.995 L 93 6.544 C 93 2.93 95.686 0 99 0 L 111 0 C 114.314 0 117 2.93 117 6.544 L 117 23.995 C 117 27.609 114.314 30.539 111 30.539 Z M 141 82.893 L 129 82.893 C 125.686 82.893 123 79.963 123 76.348 L 123 58.897 C 123 55.283 125.686 52.353 129 52.353 L 141 52.353 C 144.314 52.353 147 55.283 147 58.897 L 147 76.348 C 147 79.963 144.314 82.893 141 82.893 Z\\\" style=\\\"\\\"/>\\n <path fill=\\\"#DBDBDB\\\" d=\\\"M 20.597 127.195 L 8.597 127.195 C 5.283 127.195 2.597 124.859 2.597 121.978 L 2.597 95.889 C 2.597 93.009 5.283 90.671 8.597 90.671 L 20.597 90.671 C 23.911 90.671 26.597 93.009 26.597 95.889 L 26.597 121.978 C 26.597 124.859 23.911 127.195 20.597 127.195 Z\\\" style=\\\"\\\"/>\\n <path fill=\\\"#DBDBDB\\\" d=\\\"M 81.244 127.648 L 69.244 127.648 C 65.93 127.648 63.244 125.313 63.244 122.43 L 63.244 96.343 C 63.244 93.461 65.93 91.125 69.244 91.125 L 81.244 91.125 C 84.558 91.125 87.244 93.461 87.244 96.343 L 87.244 122.43 C 87.244 125.313 84.558 127.648 81.244 127.648 Z\\\" style=\\\"\\\"/>\\n <path d=\\\"M 51 127.195 L 39 127.195 C 35.686 127.195 33 125.305 33 122.972 L 33 101.861 C 33 99.529 35.686 97.639 39 97.639 L 51 97.639 C 54.314 97.639 57 99.529 57 101.861 L 57 122.972 C 57 125.305 54.314 127.195 51 127.195 Z\\\" style=\\\"fill: rgb(100, 184, 203);\\\"/>\\n <path fill=\\\"#52B8CC\\\" d=\\\"M 111 127.648 L 99 127.648 C 95.686 127.648 93 125.222 93 122.229 L 93 95.133 C 93 92.139 95.686 89.714 99 89.714 L 111 89.714 C 114.314 89.714 117 92.139 117 95.133 L 117 122.229 C 117 125.222 114.314 127.648 111 127.648 Z\\\" style=\\\"\\\"/>\\n <path fill=\\\"#DBDBDB\\\" d=\\\"M 141 127.167 L 129 127.167 C 125.686 127.167 123 124.832 123 121.949 L 123 95.862 C 123 92.98 125.686 90.644 129 90.644 L 141 90.644 C 144.314 90.644 147 92.98 147 95.862 L 147 121.949 C 147 124.832 144.314 127.167 141 127.167 Z\\\" style=\\\"\\\"/>\\n</svg>\"},\"$:/plugins/sq/macy/macy.js\":{\"title\":\"$:/plugins/sq/macy/macy.js\",\"text\":\"!function(t,n){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?module.exports=n():\\\"function\\\"==typeof define&&define.amd?define(n):t.Macy=n()}(this,function(){\\\"use strict\\\";function t(t,n){var e=void 0;return function(){e&&clearTimeout(e),e=setTimeout(t,n)}}function n(t,n){for(var e=t.length,r=e,o=[];e--;)o.push(n(t[r-e-1]));return o}function e(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(window.Promise)return A(t,n,e);t.recalculate(!0,!0)}function r(t){for(var n=t.options,e=t.responsiveOptions,r=t.keys,o=t.docWidth,i=void 0,s=0;s<r.length;s++){var a=parseInt(r[s],10);o>=a&&(i=n.breakAt[a],O(i,e))}return e}function o(t){for(var n=t.options,e=t.responsiveOptions,r=t.keys,o=t.docWidth,i=void 0,s=r.length-1;s>=0;s--){var a=parseInt(r[s],10);o<=a&&(i=n.breakAt[a],O(i,e))}return e}function i(t){var n=t.useContainerForBreakpoints?t.container.clientWidth:window.innerWidth,e={columns:t.columns};b(t.margin)?e.margin={x:t.margin.x,y:t.margin.y}:e.margin={x:t.margin,y:t.margin};var i=Object.keys(t.breakAt);return t.mobileFirst?r({options:t,responsiveOptions:e,keys:i,docWidth:n}):o({options:t,responsiveOptions:e,keys:i,docWidth:n})}function s(t){return i(t).columns}function a(t){return i(t).margin}function c(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=s(t),r=a(t).x,o=100/e;if(!n)return o;if(1===e)return\\\"100%\\\";var i=\\\"px\\\";if(\\\"string\\\"==typeof r){var c=parseFloat(r);i=r.replace(c,\\\"\\\"),r=c}return r=(e-1)*r/e,\\\"%\\\"===i?o-r+\\\"%\\\":\\\"calc(\\\"+o+\\\"% - \\\"+r+i+\\\")\\\"}function u(t,n){var e=s(t.options),r=0,o=void 0,i=void 0;if(1===++n)return 0;i=a(t.options).x;var u=\\\"px\\\";if(\\\"string\\\"==typeof i){var l=parseFloat(i,10);u=i.replace(l,\\\"\\\"),i=l}return o=(i-(e-1)*i/e)*(n-1),r+=c(t.options,!1)*(n-1),\\\"%\\\"===u?r+o+\\\"%\\\":\\\"calc(\\\"+r+\\\"% + \\\"+o+u+\\\")\\\"}function l(t){var n=0,e=t.container,r=t.rows;v(r,function(t){n=t>n?t:n}),e.style.height=n+\\\"px\\\"}function p(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=s(t.options),i=a(t.options).y;M(t,o,e),v(n,function(n){var e=0,o=parseInt(n.offsetHeight,10);isNaN(o)||(t.rows.forEach(function(n,r){n<t.rows[e]&&(e=r)}),n.style.position=\\\"absolute\\\",n.style.top=t.rows[e]+\\\"px\\\",n.style.left=\\\"\\\"+t.cols[e],t.rows[e]+=isNaN(o)?0:o+i,r&&(n.dataset.macyComplete=1))}),r&&(t.tmpRows=null),l(t)}function f(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=s(t.options),i=a(t.options).y;M(t,o,e),v(n,function(n){t.lastcol===o&&(t.lastcol=0);var e=C(n,\\\"height\\\");e=parseInt(n.offsetHeight,10),isNaN(e)||(n.style.position=\\\"absolute\\\",n.style.top=t.rows[t.lastcol]+\\\"px\\\",n.style.left=\\\"\\\"+t.cols[t.lastcol],t.rows[t.lastcol]+=isNaN(e)?0:e+i,t.lastcol+=1,r&&(n.dataset.macyComplete=1))}),r&&(t.tmpRows=null),l(t)}var h=function t(n,e){if(!(this instanceof t))return new t(n,e);if(n&&n.nodeName)return n;if(n=n.replace(/^\\\\s*/,\\\"\\\").replace(/\\\\s*$/,\\\"\\\"),e)return this.byCss(n,e);for(var r in this.selectors)if(e=r.split(\\\"/\\\"),new RegExp(e[1],e[2]).test(n))return this.selectors[r](n);return this.byCss(n)};h.prototype.byCss=function(t,n){return(n||document).querySelectorAll(t)},h.prototype.selectors={},h.prototype.selectors[/^\\\\.[\\\\w\\\\-]+$/]=function(t){return document.getElementsByClassName(t.substring(1))},h.prototype.selectors[/^\\\\w+$/]=function(t){return document.getElementsByTagName(t)},h.prototype.selectors[/^\\\\#[\\\\w\\\\-]+$/]=function(t){return document.getElementById(t.substring(1))};var v=function(t,n){for(var e=t.length,r=e;e--;)n(t[r-e-1])},m=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.running=!1,this.events=[],this.add(t)};m.prototype.run=function(){if(!this.running&&this.events.length>0){var t=this.events.shift();this.running=!0,t(),this.running=!1,this.run()}},m.prototype.add=function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!!n&&(Array.isArray(n)?v(n,function(n){return t.add(n)}):(this.events.push(n),void this.run()))},m.prototype.clear=function(){this.events=[]};var d=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.instance=t,this.data=n,this},y=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.events={},this.instance=t};y.prototype.on=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!t||!n)&&(Array.isArray(this.events[t])||(this.events[t]=[]),this.events[t].push(n))},y.prototype.emit=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||!Array.isArray(this.events[t]))return!1;var e=new d(this.instance,n);v(this.events[t],function(t){return t(e)})};var g=function(t){return!(\\\"naturalHeight\\\"in t&&t.naturalHeight+t.naturalWidth===0)||t.width+t.height!==0},E=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise(function(t,e){if(n.complete)return g(n)?t(n):e(n);n.addEventListener(\\\"load\\\",function(){return g(n)?t(n):e(n)}),n.addEventListener(\\\"error\\\",function(){return e(n)})}).then(function(n){e&&t.emit(t.constants.EVENT_IMAGE_LOAD,{img:n})}).catch(function(n){return t.emit(t.constants.EVENT_IMAGE_ERROR,{img:n})})},w=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n(e,function(n){return E(t,n,r)})},A=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Promise.all(w(t,n,e)).then(function(){t.emit(t.constants.EVENT_IMAGE_COMPLETE)})},I=function(n){return t(function(){n.emit(n.constants.EVENT_RESIZE),n.queue.add(function(){return n.recalculate(!0,!0)})},100)},N=function(t){if(t.container=h(t.options.container),t.container instanceof h||!t.container)return!!t.options.debug&&console.error(\\\"Error: Container not found\\\");t.container.length&&(t.container=t.container[0]),t.options.container=t.container,t.container.style.position=\\\"relative\\\"},T=function(t){t.queue=new m,t.events=new y(t),t.rows=[],t.resizer=I(t)},L=function(t){var n=h(\\\"img\\\",t.container);t.on(t.constants.EVENT_IMAGE_LOAD,function(){return t.recalculate(!1,!1)}),t.on(t.constants.EVENT_IMAGE_COMPLETE,function(){return t.recalculate(!0,!0)}),t.options.useOwnImageLoader||e(t,n,!t.options.waitForImages),t.emit(t.constants.EVENT_INITIALIZED)},_=function(t){N(t),T(t),L(t)},b=function(t){return t===Object(t)&&\\\"[object Array]\\\"!==Object.prototype.toString.call(t)},O=function(t,n){b(t)||(n.columns=t),b(t)&&t.columns&&(n.columns=t.columns),b(t)&&t.margin&&!b(t.margin)&&(n.margin={x:t.margin,y:t.margin}),b(t)&&t.margin&&b(t.margin)&&t.margin.x&&(n.margin.x=t.margin.x),b(t)&&t.margin&&b(t.margin)&&t.margin.y&&(n.margin.y=t.margin.y)},C=function(t,n){return window.getComputedStyle(t,null).getPropertyValue(n)},M=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t.lastcol||(t.lastcol=0),t.rows.length<1&&(e=!0),e){t.rows=[],t.cols=[],t.lastcol=0;for(var r=n-1;r>=0;r--)t.rows[r]=0,t.cols[r]=u(t,r)}else if(t.tmpRows){t.rows=[];for(var r=n-1;r>=0;r--)t.rows[r]=t.tmpRows[r]}else{t.tmpRows=[];for(var r=n-1;r>=0;r--)t.tmpRows[r]=t.rows[r]}},V=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=n?t.container.children:h(':scope > *:not([data-macy-complete=\\\"1\\\"])',t.container);r=Array.from(r).filter(function(t){return null!==t.offsetParent});var o=c(t.options);return v(r,function(t){n&&(t.dataset.macyComplete=0),t.style.width=o}),t.options.trueOrder?(f(t,r,n,e),t.emit(t.constants.EVENT_RECALCULATED)):(p(t,r,n,e),t.emit(t.constants.EVENT_RECALCULATED))},R=function(){return!!window.Promise},x=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};Array.from||(Array.from=function(t){for(var n=0,e=[];n<t.length;)e.push(t[n++]);return e});var k={columns:4,margin:2,trueOrder:!1,waitForImages:!1,useImageLoader:!0,breakAt:{},useOwnImageLoader:!1,onInit:!1,cancelLegacy:!1,useContainerForBreakpoints:!1};!function(){try{document.createElement(\\\"a\\\").querySelector(\\\":scope *\\\")}catch(t){!function(){function t(t){return function(e){if(e&&n.test(e)){var r=this.getAttribute(\\\"id\\\");r||(this.id=\\\"q\\\"+Math.floor(9e6*Math.random())+1e6),arguments[0]=e.replace(n,\\\"#\\\"+this.id);var o=t.apply(this,arguments);return null===r?this.removeAttribute(\\\"id\\\"):r||(this.id=r),o}return t.apply(this,arguments)}}var n=/:scope\\\\b/gi,e=t(Element.prototype.querySelector);Element.prototype.querySelector=function(t){return e.apply(this,arguments)};var r=t(Element.prototype.querySelectorAll);Element.prototype.querySelectorAll=function(t){return r.apply(this,arguments)}}()}}();var q=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k;if(!(this instanceof t))return new t(n);this.options={},x(this.options,k,n),this.options.cancelLegacy&&!R()||_(this)};return q.init=function(t){return console.warn(\\\"Depreciated: Macy.init will be removed in v3.0.0 opt to use Macy directly like so Macy({ /*options here*/ }) \\\"),new q(t)},q.prototype.recalculateOnImageLoad=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(this,h(\\\"img\\\",this.container),!t)},q.prototype.runOnImageLoad=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=h(\\\"img\\\",this.container);return this.on(this.constants.EVENT_IMAGE_COMPLETE,t),n&&this.on(this.constants.EVENT_IMAGE_LOAD,t),e(this,r,n)},q.prototype.recalculate=function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&this.queue.clear(),this.queue.add(function(){return V(t,n,e)})},q.prototype.remove=function(){window.removeEventListener(\\\"resize\\\",this.resizer),v(this.container.children,function(t){t.removeAttribute(\\\"data-macy-complete\\\"),t.removeAttribute(\\\"style\\\")}),this.container.removeAttribute(\\\"style\\\")},q.prototype.reInit=function(){this.recalculate(!0,!0),this.emit(this.constants.EVENT_INITIALIZED),this.container.style.position=\\\"relative\\\"},q.prototype.on=function(t,n){this.events.on(t,n)},q.prototype.emit=function(t,n){this.events.emit(t,n)},q.constants={EVENT_INITIALIZED:\\\"macy.initialized\\\",EVENT_RECALCULATED:\\\"macy.recalculated\\\",EVENT_IMAGE_LOAD:\\\"macy.image.load\\\",EVENT_IMAGE_ERROR:\\\"macy.image.error\\\",EVENT_IMAGE_COMPLETE:\\\"macy.images.complete\\\",EVENT_RESIZE:\\\"macy.resize\\\"},q.prototype.constants=q.constants,q});\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/sq/macy/readme\":{\"title\":\"$:/plugins/sq/macy/readme\",\"text\":\"@@color:red;''Experimental plugin - no support available. Use at your own risk.''@@\\n\\nMasonry layout plugin for images based on the [[Macy library|https://github.com/bigbite/macy.js]]. Licensed under the [[MIT License|https://github.com/bigbite/macy.js/blob/master/LICENSE]].\"},\"$:/plugins/sq/macy/styles\":{\"title\":\"$:/plugins/sq/macy/styles\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\",\"text\":\".macy-container::before {\\n\\tcontent: \\\"\\\";\\n\\tdisplay: table;\\n\\tclear: both\\n}\\n\\n.macy-container {\\n\\tmargin-top: 22px\\n}\\n\\n.macy-container::after {\\n\\tcontent: \\\"\\\";\\n\\tdisplay: table;\\n\\tclear: both\\n}\\n\\n.macy-container .item-container {\\n\\tmargin-bottom: 24px;\\n\\tborder-radius: 4px;\\n\\toverflow: hidden;\\n\\tborder: 1px solid #eee\\n}\\n\\n.macy-container .item {\\n\\twidth: 100%;\\n\\tdisplay: block;\\n\\theight: auto\\n}\\n\\n.macy-container > .item-container {\\n\\topacity: 0.5;\\n\\t/*transition: all 0.5s ease;*/\\n\\t/** make this a config setting **/\\n}\\n\\n.macy-container.macy-ready > .item-container {\\n\\topacity: 1;\\n\\ttransition: all 0.2s ease;\\n}\\n\\n/**\\n.macy-container > .item-container {\\n opacity: 0;\\n}\\n\\n.macy-container > div[data-macy-complete=\\\"1\\\"] {\\n opacity: 1;\\n transform: translateY(0);\\n transition: top .2s ease-in-out,left .2s ease-in-out,opacity .2s ease-in-out,transform .2s ease-in-out opacity 0.2s width 0.2;\\n}\\n**/\\n\\n/** classic story view workaround for flicker when opening a tiddler with a macy widget **/\\n.macy-container:not(.macy-ready) {\\n\\tdisplay:none;\\n}\"},\"$:/macy issues\":{\"title\":\"$:/macy issues\",\"text\":\"weird artifact when story river is not empty and macy tiddler is opened with classic story view active\\n\\nSee https://github.com/bigbite/macy.js/issues/94\\n\\ttry waitforimages: true in macy : failed\\n\\tMacy does some kind of scrolling!\\n\\nseems like the animation and handling in macy is blocking, so the animation from the classic story view happens after that\\n\\tto be clear I think the scrolling in class sw is happening after, and this might be why the problem doesnt happen with pop story view'\\n\\t\\n\\tok so ctrl click to avoid scrolling also doesnt work in classic story view but only when opening macy tiddler\\n\\t\\twtf\\n\\t\\tdoes Macy have some kind of scrolling behaviour?\\n\\t\\nincrease animation duration to 2000 and observe\\n\\n\\n\\nidea: delay in Macy, can be overriden and set to 0 but default to animation duration + 50\\n\\tor try to make macy async? wont be enough to do raf as animation takes a lot longer than that but maybe we just need it to go to the next tick\\n\\n\\ntemp fix with css, in classic story view hide all images until all are loaded (macy complete)\\t\\n\\t\\n----\\nnewer forks:\\n\\thttps://github.com/bigbite/macy.js/issues/94\\n\\thttps://github.com/zenithlight/macy.js\\n\\thttps://github.com/piotnet/macy.js\\n\\thttps://github.com/normmcgarry/macy.js\\n\\thttps://github.com/mcculloughjchris/macy.js\\n\\thttps://github.com/luthfimasruri/macy.js\\n\\thttps://github.com/lukereative/macy.js\\n\\thttps://github.com/JoeSz/macy.js\\n\\thttps://github.com/hufer/macy.js\\n\\thttps://github.com/DrMartinGonzo/macy.js\\n\\thttps://github.com/CelesteComet/macy.js\\n\\t\\n\\t\\n\\t\\n----------------------\\n\\n\\nIDEA:\\n\\tsometimes you see the first image really large since Macy has not yet initialized\\n\\tbut based on macy parameters we already know the max with of the image, its based on the number of columns for the breakPoints\\n\\t\\tcan we set some css vars and have css control max width and aspect ratio, until macy ready and then macy takes over?\"},\"$:/plugins/sq/macy/widget.js\":{\"title\":\"$:/plugins/sq/macy/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/macy/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\nexports.platforms = [\\\"browser\\\"];\\nif(!$tw.sq) {\\n\\t$tw.sq = {};\\n}\\n\\n/*\\n * by rpemberton: https://gist.github.com/rpemberton/b15a206f453ff233830f3183e4ac371a\\n*/\\nfunction debounce(fn) {\\n let raf;\\n\\n return (...args) => {\\n\\tif (raf) {\\n\\t //console.log('debounced');\\n\\t return;\\n\\t}\\n\\n\\traf = window.requestAnimationFrame(() => {\\n\\t fn(...args); // run useful code\\n\\t raf = undefined;\\n\\t});\\n };\\n}\\n\\n/*\\n * prefix: the prefix to check in the attribute name, use an empty string for no prefix\\n * match: true if the prefix needs to be present, false if it should not be present\\n * exclude: array of attribute names to exclude\\n */\\nfunction getConfigFromAttributes(attributes,prefix,match,exclude) {\\n var config = {};\\n\\texclude = exclude || [];\\n $tw.utils.each(attributes,function(attribute,name) {\\n\\t// node.classList[state ? \\\"add\\\" : \\\"remove\\\"](class_name);\\n \\tif( ((match && name.startsWith(prefix)) || (!match && !name.startsWith(prefix))) && !exclude.includes(name) ) {\\n //check if we have a boolean represented as a string\\n var attr = (attribute === \\\"true\\\") ? true : ((attribute === \\\"false\\\") ? false : attribute);\\n //check if we have a number represented as a string\\n if(!isNaN(parseFloat(attribute))) {\\n attr = parseFloat(attr);\\n }\\n \\t\\tconfig[name] = attr;\\n \\t}\\n });\\n\\treturn config;\\n}\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n\\nvar MacyWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nMacyWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nMacyWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\t\\n\\tthis.domNode = this.document.createElement(\\\"div\\\");\\n\\tthis.domNode.className = \\\"macy-container\\\";\\n\\tthis.domNode.style.position = \\\"relative\\\";\\n\\tparent.insertBefore(this.domNode,nextSibling);\\n\\n/*\\n\\t$tw.sq.data = new Map();\\n\\t$tw.sq.data[this.domNode] = this;\\n\\tconsole.log($tw.sq.data[this.domNode]);\\n*/\\n\\tif(!$tw.sq.Macy) {\\n\\t\\t$tw.sq.Macy = require(\\\"$:/plugins/sq/macy/macy.js\\\");\\n\\t}\\n\\tthis.macy = new $tw.sq.Macy($tw.utils.extend(this.macyConfig,{\\\"container\\\":this.domNode}));\\n\\tthis.renderChildren(this.domNode,null);\\n\\tthis.domNodes.push(this.domNode);\\n\\t// add event listener on root widget and re-use?\\n\\t\\t// https://stackoverflow.com/questions/66109481/how-to-utilize-resizeobserver-for-multiple-behaviors\\n\\t\\t// https://stackoverflow.com/questions/51528940/resizeobserver-one-vs-multiple-performance\\n\\tthis.macy.on(this.macy.constants.EVENT_IMAGE_COMPLETE, function (ctx) {\\n\\t\\t$tw.utils.addClass(self.domNode,\\\"macy-ready\\\");\\n\\t\\tself.attachResizeObserver(self.domNode,100,true,true,function(){self.macy.recalculate(true,true);});\\n\\t\\tvar duration = $tw.utils.getAnimationDuration();\\n\\t\\tself.win.setTimeout(function(){self.macy.recalculate(true,true)},duration);\\n\\t});\\n};\\n\\n/*\\n * node\\t\\t\\t\\tHTML Element to observe\\n * delay\\t\\t\\ttimeout parameter\\n * observeWidth\\t\\tboolean to indicate whether a change in width should trigger the callback\\n * observeHeight\\tboolean to indicate whether a change in height should trigger the callback\\n * callback\\t\\t\\tfunction to call when size has changed\\n */\\nMacyWidget.prototype.attachResizeObserver = function(node,delay,observeWidth,observeHeight,callback) {\\n\\tvar self = this;\\n\\tif(!this.win) {\\n\\t\\tthis.win = self.document.parentWindow || self.document.defaultView;\\n\\t}\\n\\tif(!this.state) {\\n\\t\\tthis.state = Object.create(null);\\n\\t}\\n\\tthis.state.resizeObserver = Object.create(null);\\n\\tself.resizeObserver = new self.win.ResizeObserver(entries => {\\n\\t\\tfor(let entry of entries) {\\n\\t\\t\\t// wrap in requestAnimationFrame to avoid observer loop limit error\\n\\t\\t\\t// https://stackoverflow.com/questions/49384120/resizeobserver-loop-limit-exceeded\\n\\t\\t\\t// https://blog.elantha.com/resizeobserver-loop-limit-exceeded/\\n\\t\\t\\tdebounce(function() {\\n\\t\\t\\t\\tif (!Array.isArray(entries) || !entries.length) {\\n\\t\\t\\t\\t\\t return;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\tif((observeHeight && (parseInt(entry.contentBoxSize[0][\\\"blockSize\\\"]) !== self.state.resizeObserver.height)) || (observeWidth && (parseInt(entry.contentBoxSize[0][\\\"inlineSize\\\"]) !== self.state.resizeObserver.width))) {\\n\\t\\t\\t\\t\\tself.resizeObserver.unobserve(node);\\n\\t\\t\\t\\t\\tself.state.resizeObserver.height = entry.contentBoxSize[0][\\\"blockSize\\\"];\\n\\t\\t\\t\\t\\tself.state.resizeObserver.width = entry.contentBoxSize[0][\\\"inlineSize\\\"];\\n\\n\\t\\t\\t\\t\\tself.win.clearTimeout(self.state.resizeObserver.resizeTimeoutId);\\n\\t\\t\\t\\t\\tself.state.resizeObserver.resizeTimeoutId = self.win.setTimeout(function(){\\n\\t\\t\\t\\t\\t\\t//self.swiper.updateSize();\\n\\t\\t\\t\\t\\t\\tcallback.call();\\n\\t\\t\\t\\t\\t\\tself.win.requestAnimationFrame(() => {\\n\\t\\t\\t\\t\\t\\t\\tself.resizeObserver.observe(node);\\n\\t\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t\\t}, delay);\\n\\t\\t\\t\\t}\\n\\t\\t\\t})();\\n\\t\\t}\\t\\t\\n\\t});\\n\\tself.resizeObserver.observe(node);\\n};\\n\\nMacyWidget.prototype.execute = function() {\\n\\tvar configText = this.wiki.getTiddlerText(\\\"$:/plugins/sq/macy/default_config.js\\\",\\\"{}\\\"),\\n\\t\\tdefaultConfig = $tw.utils.parseJSONSafe(this.wiki.getTiddlerText(\\\"$:/plugins/sq/macy/default_config.js\\\",\\\"{}\\\")),\\n\\t\\tconfig = getConfigFromAttributes(this.attributes,\\\"$\\\",false,[\\\"breakAt\\\"]),\\n\\t\\tbreakAtString = this.getAttribute(\\\"breakAt\\\");\\n\\t\\n\\tif(breakAtString) {\\n\\t\\tconfig.breakAt = Object.create(null);\\n\\t\\tvar breakPoints = breakAtString.trim().split(/\\\\s+/);\\n\\t\\tbreakPoints.forEach((item) => {\\n\\t\\t\\tvar params = item.split(\\\":\\\").map((item) => parseInt(item));\\n\\t\\t\\tif(params.length < 2) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tconfig.breakAt[params[0]] = {\\n\\t\\t\\t\\tcolumns: params[1]\\n\\t\\t\\t};\\n\\t\\t\\tif(params[2] && params[3]) {\\n\\t\\t\\t\\tconfig.breakAt[params[0]].margin = {\\n\\t\\t\\t\\t\\tx: params[2],\\n\\t\\t\\t\\t\\ty: params[3]\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t})\\n\\t}\\n\\tthis.macyConfig = $tw.utils.extend(defaultConfig,config);\\n\\tthis.makeChildWidgets();\\n};\\n\\nMacyWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes)>0) {\\n\\t\\tthis.macy.remove();\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar retValue = this.refreshChildren(changedTiddlers);\\n\\t\\tif(retValue) {\\n\\t\\t\\tthis.macy.recalculate(true,true);\\n\\t\\t} \\n\\t\\treturn retValue;\\n\\t}\\n};\\n\\nexports[\\\"macy\\\"] = MacyWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"}}}","revision":"0","bag":"default"},{"title":"$:/plugins/sq/spotlight","name":"Spotlight","description":"Lightbox","author":"Saq Imtiaz","core-version":">=5.2.0","plugin-priority":"0","list":"readme","version":"0.0.5","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/sq/spotlight/icon\":{\"title\":\"$:/plugins/sq/spotlight/icon\",\"text\":\"<svg width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"79.466 0 239.584 155.018\\\">\\n <g>\\n <path d=\\\"M 137.517 25.89 C 141.796 25.936 148.799 25.936 153.079 25.89 C 157.358 25.841 153.856 25.802 145.298 25.802 C 136.739 25.802 133.237 25.841 137.517 25.89 M 245.403 25.89 C 249.683 25.936 256.685 25.936 260.965 25.89 C 265.245 25.841 261.743 25.802 253.184 25.802 C 244.625 25.802 241.123 25.841 245.403 25.89 M 89.822 39.67 C 85.062 42.277 81.888 48.63 80.536 58.257 L 80.15 61.002 L 80.148 96.358 L 80.146 131.712 L 80.525 134.466 C 81.853 144.128 85.124 150.632 89.984 153.272 C 91.854 154.292 127.26 154.542 126.647 153.534 C 126.572 153.411 126.12 153.041 125.643 152.711 C 121.831 150.091 118.905 143.825 117.598 135.487 L 117.157 132.676 L 117.159 89.896 L 117.16 47.118 L 117.585 44.505 C 117.821 43.065 118.164 41.293 118.351 40.562 C 118.537 39.831 118.689 39.156 118.689 39.059 C 118.689 38.963 112.503 38.896 104.941 38.904 L 91.193 38.924 L 89.822 39.67 M 280.224 40.742 C 281.414 46.093 281.325 42.111 281.325 89.737 C 281.325 137.851 281.426 133.944 280.032 139.78 C 278.559 145.953 275.774 150.88 272.536 153.047 L 271.649 153.641 L 272.858 153.9 C 275.824 154.537 307.199 153.986 308.498 153.271 C 313.603 150.466 316.868 143.75 318.12 133.483 C 318.615 129.427 318.572 62.509 318.073 58.724 C 316.794 49.042 313.49 42.252 308.821 39.717 L 307.288 38.884 L 293.549 38.884 L 279.811 38.884 L 280.224 40.742 M 55.594 207.339 C 57.923 207.388 61.732 207.388 64.06 207.339 C 66.389 207.289 64.484 207.247 59.827 207.247 C 55.171 207.247 53.266 207.289 55.594 207.339 M 151.05 207.339 C 156.122 207.387 164.467 207.387 169.596 207.339 C 174.725 207.291 170.576 207.253 160.376 207.253 C 150.176 207.253 145.979 207.291 151.05 207.339 M 192.428 207.339 C 193.47 207.395 195.175 207.395 196.218 207.339 C 197.26 207.284 196.406 207.236 194.322 207.236 C 192.238 207.236 191.385 207.284 192.428 207.339 M 232.834 207.339 C 233.926 207.395 235.667 207.395 236.704 207.339 C 237.741 207.284 236.848 207.236 234.719 207.236 C 232.59 207.236 231.742 207.284 232.834 207.339 M 310.474 207.339 C 311.516 207.395 313.222 207.395 314.264 207.339 C 315.306 207.284 314.452 207.236 312.368 207.236 C 310.284 207.236 309.431 207.284 310.474 207.339 M 339.663 207.339 C 340.705 207.395 342.41 207.395 343.452 207.339 C 344.494 207.284 343.642 207.236 341.557 207.236 C 339.473 207.236 338.621 207.284 339.663 207.339 M 364.888 207.339 C 369.959 207.387 378.305 207.387 383.434 207.339 C 388.563 207.291 384.414 207.253 374.214 207.253 C 364.013 207.253 359.817 207.291 364.888 207.339 M 308.576 252.943 C 308.576 277.894 308.595 288.101 308.619 275.626 C 308.642 263.151 308.642 242.737 308.619 230.263 C 308.595 217.789 308.576 227.994 308.576 252.943 M 58.934 235.186 C 58.934 242.912 58.955 246.071 58.98 242.208 C 59.006 238.347 59.006 232.026 58.98 228.164 C 58.955 224.302 58.934 227.464 58.934 235.186 M 58.935 280.551 C 58.935 290.318 58.955 294.36 58.98 289.531 C 59.006 284.703 59.006 276.712 58.98 271.774 C 58.955 266.834 58.935 270.78 58.935 280.551 M 219.065 291.042 C 219.065 295.035 219.089 296.673 219.117 294.675 C 219.145 292.677 219.145 289.408 219.117 287.41 C 219.089 285.413 219.065 287.045 219.065 291.042 M 273.463 286.106 C 273.663 286.181 273.99 286.181 274.189 286.106 C 274.388 286.028 274.225 285.964 273.826 285.964 C 273.426 285.964 273.264 286.028 273.463 286.106\\\" stroke=\\\"none\\\" fill=\\\"#e9ecef\\\" fill-rule=\\\"evenodd\\\" style=\\\"\\\"/>\\n <path d=\\\"M 126.833 26.695 C 125.128 27.013 123.633 28.019 121.439 30.331 C 118.772 33.143 116.15 40.54 115.485 47.133 C 115.035 51.6 114.987 128.882 115.432 133.358 C 116.107 140.157 117.909 145.627 120.864 149.85 C 121.202 150.333 121.527 150.729 121.588 150.729 C 121.649 150.729 121.898 150.995 122.141 151.323 C 124.493 154.47 125.461 154.593 148.183 154.597 C 168.113 154.604 170.35 154.519 169.643 153.759 C 169.427 153.526 169.137 153.326 169 153.319 C 168.52 153.285 166.407 151.001 165.198 149.206 C 163.213 146.263 161.694 142.025 160.648 136.516 L 160.25 134.415 L 160.205 80.389 L 160.16 26.367 L 144.122 26.414 C 135.301 26.442 127.521 26.566 126.833 26.695 M 239.798 79.887 L 239.749 133.448 L 239.272 136.192 C 237.779 144.784 234.806 150.768 230.667 153.505 L 229.75 154.113 L 230.833 154.323 C 232.709 154.682 270.937 154.632 272.583 154.267 C 278.837 152.881 283.439 144.726 284.428 133.285 C 284.781 129.2 284.781 51.35 284.428 47.524 C 284.071 43.652 283.577 41.185 282.62 38.493 C 282.364 37.774 282.027 36.827 281.87 36.386 C 280.628 32.906 277.903 29.257 275.167 27.415 L 273.917 26.572 L 256.882 26.45 L 239.847 26.327 L 239.798 79.887\\\" stroke=\\\"none\\\" fill=\\\"#ced4da\\\" fill-rule=\\\"evenodd\\\" style=\\\"\\\"/>\\n <rect x=\\\"159.731\\\" width=\\\"80.494\\\" height=\\\"154.597\\\" rx=\\\"13\\\" ry=\\\"13\\\" style=\\\"fill: rgb(108, 117, 125); fill-rule: evenodd;\\\"/>\\n </g>\\n</svg>\"},\"$:/plugins/sq/spotlight/readme\":{\"title\":\"$:/plugins/sq/spotlight/readme\",\"text\":\"@@color:red;''Experimental plugin - no support available. Use at your own risk.''@@\\n\\nLightbox plugin for images based on the [[Spotlightjs library|https://github.com/nextapps-de/spotlight]]. Licensed under the [[Apache License 2.0|https://github.com/nextapps-de/spotlight/blob/master/LICENSE]].\"},\"$:/plugins/sq/spotlight/spotlight.js\":{\"title\":\"$:/plugins/sq/spotlight/spotlight.js\",\"text\":\"!function(e,t){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?t(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],t):t((e=\\\"undefined\\\"!=typeof globalThis?globalThis:e||self).spotlight={})}(this,function(e){\\\"use strict\\\";function t(e,t){o(e,t,!0)}function n(e,t){o(e,t)}function o(e,t,n){e.classList[n?\\\"add\\\":\\\"remove\\\"](t)}function i(e,t,n){n=\\\"\\\"+n,e[\\\"_s_\\\"+t]!==n&&(e.style.setProperty(t,n),e[\\\"_s_\\\"+t]=n)}let s=0;function l(e,t){t&&(i(e,\\\"transition\\\",\\\"none\\\"),t()),s||(s=e.clientTop&&0),t&&i(e,\\\"transition\\\",\\\"\\\")}function c(e,t){e.firstChild.nodeValue=t}function r(e,t){return(t||document).getElementsByClassName(e)}function a(e,t,n,o){u(!0,e,t,n,o)}function u(e,t,n,o,i){t[(e?\\\"add\\\":\\\"remove\\\")+\\\"EventListener\\\"](n,o,!i&&!1!==i||i)}function f(e,t){e.stopPropagation(),t&&e.preventDefault()}function d(e){return document.createElement(e)}function p(e,t){i(e,\\\"display\\\",t?\\\"\\\":\\\"none\\\")}function m(e,t){i(e,\\\"visibility\\\",t?\\\"\\\":\\\"hidden\\\")}function h(e,t){i(e,\\\"transition\\\",t?\\\"\\\":\\\"none\\\")}const v=[\\\"theme\\\",\\\"download\\\",\\\"play\\\",\\\"page\\\",\\\"close\\\",\\\"autofit\\\",\\\"zoom-in\\\",\\\"zoom-out\\\",\\\"prev\\\",\\\"next\\\",\\\"fullscreen\\\"],g={page:1,close:1,autofit:1,\\\"zoom-in\\\":1,\\\"zoom-out\\\":1,prev:1,next:1,fullscreen:1},y={BACKSPACE:8,ESCAPE:27,SPACEBAR:32,LEFT:37,RIGHT:39,UP:38,NUMBLOCK_PLUS:107,PLUS:187,DOWN:40,NUMBLOCK_MINUS:109,MINUS:189},b=d(\\\"div\\\");b.id=\\\"spotlight\\\",b.innerHTML=\\\"<div class=spl-spinner></div><div class=spl-track><div class=spl-scene><div class=spl-pane></div></div></div><div class=spl-header><div class=spl-page> </div></div><div class=spl-progress></div><div class=spl-footer><div class=spl-title> </div><div class=spl-description> </div><div class=spl-button> </div></div><div class=spl-prev></div><div class=spl-next></div>\\\";const C={},w=d(\\\"video\\\");function k(e,t,n,o){let i,s;if(\\\"node\\\"!==o){const e=Object.keys(n);for(let l,c=0;c<e.length;c++)if((l=e[c]).length>3&&0===l.indexOf(\\\"src\\\"))if(\\\"video\\\"===o){const e=C[l];if(e){if(e>0){i=n[l];break}}else{if(w.canPlayType(\\\"video/\\\"+l.substring(3).replace(\\\"-\\\",\\\"\\\").toLowerCase())){C[l]=1,i=n[l];break}C[l]=-1}}else{const e=parseInt(l.substring(4),10);if(e){const o=Math.abs(t-e);(!s||o<s)&&(s=o,i=n[l])}}}return i||n.src||n.href||e.src||e.href}const x={},z=navigator.connection,E=window.devicePixelRatio||1;let S,P,T,N,_,L,U,M,O,A,R,B,F,H,q,I,K,j,D,W,X,Y,G,V,J,Q,Z,$,ee,te,ne,oe,ie,se,le,ce,re,ae,ue,fe,de,pe,me,he,ve,ge,ye,be,Ce,we,ke,xe,ze,Ee,Se,Pe,Te,Ne,_e,Le,Ue,Me,Oe=d(\\\"img\\\");function Ae(){if(ue)return;ue=document.body,me=t(\\\"scene\\\"),he=t(\\\"header\\\"),ve=t(\\\"footer\\\"),ge=t(\\\"title\\\"),ye=t(\\\"description\\\"),be=t(\\\"button\\\"),Ce=t(\\\"prev\\\"),we=t(\\\"next\\\"),xe=t(\\\"page\\\"),Ee=t(\\\"progress\\\"),Se=t(\\\"spinner\\\"),de=[t(\\\"pane\\\")],Re(\\\"close\\\",vt),ue[Ue=\\\"requestFullscreen\\\"]||ue[Ue=\\\"msRequestFullscreen\\\"]||ue[Ue=\\\"webkitRequestFullscreen\\\"]||ue[Ue=\\\"mozRequestFullscreen\\\"]||(Ue=\\\"\\\"),Ue?(Me=Ue.replace(\\\"request\\\",\\\"exit\\\").replace(\\\"mozRequest\\\",\\\"mozCancel\\\").replace(\\\"Request\\\",\\\"Exit\\\"),ke=Re(\\\"fullscreen\\\",rt)):v.pop(),Re(\\\"autofit\\\",ut),Re(\\\"zoom-in\\\",ft),Re(\\\"zoom-out\\\",dt),Re(\\\"theme\\\",at),ze=Re(\\\"play\\\",tt),Re(\\\"download\\\",ht),a(Ce,\\\"click\\\",yt),a(we,\\\"click\\\",bt);const e=t(\\\"track\\\");function t(e){return x[e]=r(\\\"spl-\\\"+e,b)[0]}a(e,\\\"mousedown\\\",st),a(e,\\\"mousemove\\\",ct),a(e,\\\"mouseleave\\\",lt),a(e,\\\"mouseup\\\",lt),a(e,\\\"touchstart\\\",st,{passive:!1}),a(e,\\\"touchmove\\\",ct,{passive:!0}),a(e,\\\"touchend\\\",lt),a(be,\\\"click\\\",function(){oe?oe(q,j):ne&&(location.href=ne)})}function Re(e,t){const n=d(\\\"div\\\");return n.className=\\\"spl-\\\"+e,a(n,\\\"click\\\",t),he.appendChild(n),x[e]=n}function Be(e){const t=x[e];t&&(he.removeChild(t),x[e]=null)}function Fe(e,t,n){K=e,t&&(W=t,G=t.onshow,V=t.onchange,J=t.onclose,n=n||t.index),He(n)}function He(e){if(I=K.length){ue||Ae(),G&&G(e);const n=de[0],o=n.parentNode;for(let e=de.length;e<I;e++){const t=n.cloneNode(!1);i(t,\\\"left\\\",100*e+\\\"%\\\"),o.appendChild(t),de[e]=t}fe||(ue.appendChild(b),Xe()),q=e||1,h(me),kt(!0),Ue&&We(),history.pushState({spl:1},\\\"\\\"),history.pushState({spl:2},\\\"\\\"),h(b,!0),t(ue,\\\"hide-scrollbars\\\"),t(b,\\\"show\\\"),Qe(!0),Xe(),ot(),$&&tt(!0,!0)}}function qe(e,t){let n=j[e];return void 0!==n?\\\"false\\\"!==(n=\\\"\\\"+n)&&(n||t):t}function Ie(e){e?l(pe,Ie):(h(me,re),i(pe,\\\"opacity\\\",ce?0:1),Ge(le&&.8),ae&&t(pe,ae))}function Ke(e,t){e&&o(Se,\\\"spin\\\",t)}function je(){return document.fullscreen||document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement}function De(){if(Xe(),pe&&Ye(),Ue){const e=je();o(ke,\\\"on\\\",e),e||We()}}function We(){p(ke,screen.availHeight-window.innerHeight>0)}function Xe(){_=b.clientWidth,L=b.clientHeight}function Ye(){U=pe.clientWidth,M=pe.clientHeight}function Ge(e){i(pe,\\\"transform\\\",\\\"translate(-50%, -50%) scale(\\\"+(e||O)+\\\")\\\")}function Ve(e,t){i(fe,\\\"transform\\\",e||t?\\\"translate(\\\"+e+\\\"px, \\\"+t+\\\"px)\\\":\\\"\\\")}function Je(e,t,n){t?l(me,function(){Je(e,!1,n)}):i(me,\\\"transform\\\",\\\"translateX(\\\"+(100*-e+(n||0))+\\\"%)\\\")}function Qe(e){u(e,window,\\\"keydown\\\",$e),u(e,window,\\\"wheel\\\",et),u(e,window,\\\"resize\\\",De),u(e,window,\\\"popstate\\\",Ze)}function Ze(e){fe&&e.state.spl&&vt(!0)}function $e(e){if(fe){const t=!1!==j[\\\"zoom-in\\\"];switch(e.keyCode){case y.BACKSPACE:t&&ut();break;case y.ESCAPE:vt();break;case y.SPACEBAR:$&&tt();break;case y.LEFT:yt();break;case y.RIGHT:bt();break;case y.UP:case y.NUMBLOCK_PLUS:case y.PLUS:t&&ft();break;case y.DOWN:case y.NUMBLOCK_MINUS:case y.MINUS:t&&dt()}}}function et(e){if(fe&&!1!==j[\\\"zoom-in\\\"]){let t=e.deltaY;(t=.5*(t<0?1:t?-1:0))<0?dt():ft()}}function tt(e,t){(\\\"boolean\\\"==typeof e?e:!Ne)===!Ne&&(Ne=Ne?clearTimeout(Ne):1,o(ze,\\\"on\\\",Ne),t||nt(Ne))}function nt(e){Y&&(l(Ee,function(){i(Ee,\\\"transition-duration\\\",\\\"\\\"),i(Ee,\\\"transform\\\",\\\"\\\")}),e&&(i(Ee,\\\"transition-duration\\\",se+\\\"s\\\"),i(Ee,\\\"transform\\\",\\\"translateX(0)\\\"))),e&&(Ne=setTimeout(bt,1e3*se))}function ot(){Z&&(Le=Date.now()+2950,_e||(t(b,\\\"menu\\\"),function e(t){_e=setTimeout(function(){const t=Date.now();t>=Le?(n(b,\\\"menu\\\"),_e=0):e(Le-t)},t)}(3e3)))}function it(e){\\\"boolean\\\"==typeof e&&(_e=e?_e:0),_e?(_e=clearTimeout(_e),n(b,\\\"menu\\\")):ot()}function st(e){f(e,!0),A=!0,R=!1;let t=e.touches;t&&(t=t[0])&&(e=t),B=U*O<=_,T=e.pageX,N=e.pageY,h(fe)}function lt(e){if(f(e),A){if(R){if(B&&R){const e=S<-_/7&&(q<I||X),t=e||S>_/7&&(q>1||X);(e||t)&&(Je(q-1,!0,S/_*100),e&&bt()||t&&yt()),S=0,Ve()}h(fe,!0)}else it();A=!1}}function ct(e){if(f(e),A){let t=e.touches;t&&(t=t[0])&&(e=t);let n=(U*O-_)/2;S-=T-(T=e.pageX),B||(S>n?S=n:S<-n&&(S=-n),M*O>L&&(n=(M*O-L)/2,(P-=N-(N=e.pageY))>n?P=n:P<-n&&(P=-n))),R=!0,Ve(S,P)}else ot()}function rt(e){const t=je();\\\"boolean\\\"==typeof e&&e===!!t||(t?document[Me]():b[Ue]())}function at(e){\\\"string\\\"!=typeof e&&(e=H?\\\"\\\":ee||\\\"white\\\"),H!==e&&(H&&n(b,H),e&&t(b,e),H=e)}function ut(e){\\\"boolean\\\"==typeof e&&(F=!e),o(pe,\\\"autofit\\\",F=1===O&&!F),i(pe,\\\"transform\\\",\\\"\\\"),O=1,S=0,P=0,Ye(),h(fe),Ve()}function ft(e){let t=O/.65;t<=50&&(mt(),Ve(S/=.65,P/=.65),pt(t))}function dt(e){let t=.65*O;mt(),t>=1&&(1===t?S=P=0:(S*=.65,P*=.65),Ve(S,P),pt(t))}function pt(e){O=e||1,Ge()}function mt(){F&&ut()}function ht(){!function(e,t){const n=d(\\\"a\\\"),o=t.src;n.href=o,n.download=o.substring(o.lastIndexOf(\\\"/\\\")+1),e.appendChild(n),n.click(),e.removeChild(n)}(ue,pe)}function vt(e){setTimeout(function(){ue.removeChild(b),fe=pe=Pe=j=W=K=G=V=J=oe=null},200),n(ue,\\\"hide-scrollbars\\\"),n(b,\\\"show\\\"),rt(!1),Qe(),history.go(!0===e?-1:-2),Te&&(Oe.src=\\\"\\\"),Ne&&tt(),pe&&gt(pe),_e&&(_e=clearTimeout(_e)),H&&at(),ie&&n(b,ie),J&&J()}function gt(e){if(e._root)e._root.appendChild(e),e._root=null;else{const t=e.parentNode;t&&t.removeChild(e),e=e.src=e.onerror=\\\"\\\"}}function yt(e){if(e&&ot(),I>1){if(q>1)return Ct(q-1);if(X)return Je(I,!0),Ct(I)}}function bt(e){if(e&&ot(),I>1){if(q<I)return Ct(q+1);if(X)return Je(-1,!0),Ct(1);Ne&&tt()}}function Ct(e){if(e!==q){Ne?(clearTimeout(Ne),nt()):ot();const t=e>q;return q=e,kt(t),!0}}function wt(e){let n=K[q-1];!function(e){j={},W&&Object.assign(j,W),Object.assign(j,e.dataset||e),D=j.media,oe=j.onclick,ee=j.theme,ie=j.class,Z=qe(\\\"autohide\\\",!0),X=qe(\\\"infinite\\\"),Y=qe(\\\"progress\\\",!0),$=qe(\\\"autoslide\\\"),te=qe(\\\"preload\\\",!0),ne=j.buttonHref,se=$&&parseFloat($)||7,H||ee&&at(ee),ie&&t(b,ie),ie&&l(b);const n=j.control;if(n){const e=\\\"string\\\"==typeof n?n.split(\\\",\\\"):n;for(let e=0;e<v.length;e++)j[v[e]]=!1;for(let t=0;t<e.length;t++){const n=e[t].trim();\\\"zoom\\\"===n?j[\\\"zoom-in\\\"]=j[\\\"zoom-out\\\"]=!0:j[n]=!0}}const o=j.animation;if(le=ce=re=!o,ae=!1,o){const e=\\\"string\\\"==typeof o?o.split(\\\",\\\"):o;for(let t=0;t<e.length;t++){const n=e[t].trim();\\\"scale\\\"===n?le=!0:\\\"fade\\\"===n?ce=!0:\\\"slide\\\"===n?re=!0:n&&(ae=n)}}Q=j.fit}(n);const o=z&&z.downlink;let i,s=Math.max(L,_)*E;if(o&&1200*o<s&&(s=1200*o),Pe={media:D,src:k(n,s,j,D),title:qe(\\\"title\\\",n.alt||n.title||(i=n.firstElementChild)&&(i.alt||i.title))},Te&&(Oe.src=Te=\\\"\\\"),te&&e&&(n=K[q])){const e=n.dataset||n,t=e.media;t&&\\\"image\\\"!==t||(Te=k(n,s,e,t))}for(let e=0;e<v.length;e++){const t=v[e];p(x[t],qe(t,g[t]))}}function kt(e){if(S=0,P=0,O=1,pe)if(pe.onerror)gt(pe);else{let e=pe;setTimeout(function(){e&&pe!==e&&(gt(e),e=null)},650),Ie(),Ve()}wt(e),Je(q-1),n(Se,\\\"error\\\"),function e(o){if(fe=de[o-1],pe=fe.firstChild,q=o,pe)mt(),Q&&t(pe,Q),Ie(!0),ae&&n(pe,ae),ce&&i(pe,\\\"opacity\\\",1),le&&i(pe,\\\"transform\\\",\\\"\\\"),i(pe,\\\"visibility\\\",\\\"visible\\\"),Te&&(Oe.src=Te),$&&nt(Ne);else{const n=Pe.media,s=qe(\\\"spinner\\\",!0);if(\\\"video\\\"===n)Ke(s,!0),(pe=d(\\\"video\\\")).onloadedmetadata=function(){pe===this&&(pe.onerror=null,pe.width=pe.videoWidth,pe.height=pe.videoHeight,Ye(),Ke(s),e(o))},pe.poster=j.poster,pe.preload=te?\\\"auto\\\":\\\"metadata\\\",pe.controls=qe(\\\"controls\\\",!0),pe.autoplay=j.autoplay,pe.playsinline=qe(\\\"inline\\\"),pe.muted=qe(\\\"muted\\\"),pe.src=Pe.src,fe.appendChild(pe);else{if(\\\"node\\\"===n)return\\\"string\\\"==typeof(pe=Pe.src)&&(pe=document.querySelector(pe)),void(pe&&(pe._root||(pe._root=pe.parentNode),Ye(),fe.appendChild(pe),e(o)));Ke(s,!0),(pe=d(\\\"img\\\")).onload=function(){pe===this&&(pe.onerror=null,Ke(s),e(o),Ye())},pe.src=Pe.src,fe.appendChild(pe)}pe&&(s||i(pe,\\\"visibility\\\",\\\"visible\\\"),pe.onerror=function(){pe===this&&(gt(pe),t(Se,\\\"error\\\"),Ke(s))})}}(q),h(fe),Ve();const o=Pe.title,s=qe(\\\"description\\\"),l=qe(\\\"button\\\"),r=o||s||l;r&&(o&&c(ge,o),s&&c(ye,s),l&&c(be,l),p(ge,o),p(ye,s),p(be,l),i(ve,\\\"transform\\\",\\\"all\\\"===Z?\\\"\\\":\\\"none\\\")),Z||t(b,\\\"menu\\\"),m(ve,r),m(Ce,X||q>1),m(we,X||q<I),c(xe,I>1?q+\\\" / \\\"+I:\\\"\\\"),V&&V(q,j)}a(document,\\\"click\\\",function(e){const t=e.target.closest(\\\".spotlight\\\");if(t){f(e,!0);const n=t.closest(\\\".spotlight-group\\\");K=r(\\\"spotlight\\\",n);for(let e=0;e<K.length;e++)if(K[e]===t){W=n&&n.dataset,He(e+1);break}}});var xt={init:Ae,theme:at,fullscreen:rt,download:ht,autofit:ut,next:bt,prev:yt,goto:Ct,close:vt,zoom:pt,menu:it,show:Fe,play:tt,addControl:Re,removeControl:Be};e.addControl=Re,e.autofit=ut,e.close=vt,e.default=xt,e.download=ht,e.fullscreen=rt,e.goto=Ct,e.init=Ae,e.menu=it,e.next=bt,e.play=tt,e.prev=yt,e.removeControl=Be,e.show=Fe,e.theme=at,e.zoom=pt,Object.defineProperty(e,\\\"__esModule\\\",{value:!0})});\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/sq/spotlight/spotlight.css\":{\"title\":\"$:/plugins/sq/spotlight/spotlight.css\",\"text\":\"@keyframes pulsate{0%,to{opacity:1}50%{opacity:.2}}#spotlight{position:fixed;top:-1px;bottom:-1px;width:100%;z-index:99999;color:#fff;background-color:#000;opacity:0;overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .2s ease-out;font-family:Arial,sans-serif;font-size:16px;font-weight:400;contain:strict;touch-action:none;pointer-events:none}#spotlight.show{opacity:1;transition:none;pointer-events:auto}#spotlight.white{color:#212529;background-color:#fff}#spotlight.white .spl-next,#spotlight.white .spl-page~*,#spotlight.white .spl-prev,#spotlight.white .spl-spinner{filter:invert(1)}#spotlight.white .spl-progress{background-color:rgba(0,0,0,.35)}#spotlight.white .spl-footer,#spotlight.white .spl-header{background-color:rgba(255,255,255,.65)}#spotlight.white .spl-button{background:#212529;color:#fff}.spl-footer,.spl-header{background-color:rgba(0,0,0,.45)}#spotlight .contain,#spotlight .cover{object-fit:cover;height:100%;width:100%}#spotlight .contain{object-fit:contain}#spotlight .autofit{object-fit:none;width:auto;height:auto;max-height:none;max-width:none;transition:none}.spl-scene,.spl-spinner,.spl-track{width:100%;height:100%;position:absolute}.spl-track{contain:strict}.spl-spinner{background-position:center;background-repeat:no-repeat;background-size:42px;opacity:0}.spl-spinner.spin{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2Utb3BhY2l0eT0iLjY1Ij48Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuMTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGZyb209IjAgMTggMTgiIHRvPSIzNjAgMTggMTgiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9wYXRoPjwvZz48L2c+PC9zdmc+);transition:opacity .2s linear .25s;opacity:1}.spl-spinner.error{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYsMUExNSwxNSwwLDEsMCwzMSwxNiwxNSwxNSwwLDAsMCwxNiwxWm0wLDJhMTMsMTMsMCwwLDEsOC40NSwzLjE0TDYuMTQsMjQuNDVBMTMsMTMsMCwwLDEsMTYsM1ptMCwyNmExMywxMywwLDAsMS04LjQ1LTMuMTRMMjUuODYsNy41NUExMywxMywwLDAsMSwxNiwyOVoiIGlkPSJiYW5fc2lnbl9jcm9zc2VkX2NpcmNsZSIvPjwvc3ZnPg==);background-size:128px;transition:none;opacity:.5}.spl-scene{transition:transform .65s cubic-bezier(.1,1,.1,1);contain:layout size;will-change:transform}.spl-pane>*{position:absolute;width:auto;height:auto;max-width:100%;max-height:100%;left:50%;top:50%;margin:0;padding:0;border:0;transform:translate(-50%,-50%) scale(1);transition:transform .65s cubic-bezier(.3,1,.3,1),opacity .65s ease;contain:layout style;will-change:transform,opacity;visibility:hidden}.spl-header,.spl-pane,.spl-progress{position:absolute;top:0}.spl-pane{width:100%;height:100%;transition:transform .65s cubic-bezier(.3,1,.3,1);contain:layout size;will-change:transform,contents}.spl-header{width:100%;height:50px;text-align:right;transform:translateY(-100px);transition:transform .35s ease;overflow:hidden;will-change:transform}#spotlight.menu .spl-footer,#spotlight.menu .spl-header,.spl-footer:hover,.spl-header:hover{transform:translateY(0)}.spl-header div{display:inline-block;vertical-align:middle;white-space:nowrap;width:50px;height:50px;opacity:.5}.spl-progress{width:100%;height:3px;background-color:rgba(255,255,255,.45);transform:translateX(-100%);transition:transform linear}.spl-footer,.spl-next,.spl-prev{position:absolute;transition:transform .35s ease;will-change:transform}.spl-footer{left:0;right:0;bottom:0;line-height:20px;padding:20px 20px 0;padding-bottom:env(safe-area-inset-bottom,0);text-align:left;font-size:15px;font-weight:400;transform:translateY(100%)}.spl-title{font-size:22px}.spl-button,.spl-description,.spl-title{margin-bottom:20px}.spl-button{display:inline-block;background:#fff;color:#000;border-radius:5px;padding:10px 20px;cursor:pointer}.spl-next,.spl-page~*,.spl-prev{background-position:center;background-repeat:no-repeat}.spl-page{float:left;width:auto;line-height:50px}.spl-page~*{background-size:21px;float:right}.spl-fullscreen{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9Ii0xIC0xIDI2IDI2IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggM0g1YTIgMiAwIDAgMC0yIDJ2M20xOCAwVjVhMiAyIDAgMCAwLTItMmgtM20wIDE4aDNhMiAyIDAgMCAwIDItMnYtM00zIDE2djNhMiAyIDAgMCAwIDIgMmgzIi8+PC9zdmc+)}.spl-fullscreen.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik04IDN2M2EyIDIgMCAwIDEtMiAySDNtMTggMGgtM2EyIDIgMCAwIDEtMi0yVjNtMCAxOHYtM2EyIDIgMCAwIDEgMi0yaDNNMyAxNmgzYTIgMiAwIDAgMSAyIDJ2MyIvPjwvc3ZnPg==)}.spl-autofit{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9Ijk2cHgiIHZpZXdCb3g9IjAgMCA5NiA5NiIgd2lkdGg9Ijk2cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNTAgNTApIiBmaWxsPSIjZmZmIiBkPSJNNzEuMzExLDgwQzY5LjY3LDg0LjY2LDY1LjIzLDg4LDYwLDg4SDIwYy02LjYzLDAtMTItNS4zNy0xMi0xMlYzNmMwLTUuMjMsMy4zNC05LjY3LDgtMTEuMzExVjc2YzAsMi4yMSwxLjc5LDQsNCw0SDcxLjMxMSAgeiIvPjxwYXRoIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSIgZmlsbD0iI2ZmZiIgZD0iTTc2LDhIMzZjLTYuNjMsMC0xMiw1LjM3LTEyLDEydjQwYzAsNi42Myw1LjM3LDEyLDEyLDEyaDQwYzYuNjMsMCwxMi01LjM3LDEyLTEyVjIwQzg4LDEzLjM3LDgyLjYzLDgsNzYsOHogTTgwLDYwICBjMCwyLjIxLTEuNzksNC00LDRIMzZjLTIuMjEsMC00LTEuNzktNC00VjIwYzAtMi4yMSwxLjc5LTQsNC00aDQwYzIuMjEsMCw0LDEuNzksNCw0VjYweiIvPjwvc3ZnPg==)}.spl-zoom-in,.spl-zoom-out{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjgiIHgyPSIxNCIgeTE9IjExIiB5Mj0iMTEiLz48L3N2Zz4=);background-size:22px}.spl-zoom-in{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjExIiB4Mj0iMTEiIHkxPSI4IiB5Mj0iMTQiLz48bGluZSB4MT0iOCIgeDI9IjE0IiB5MT0iMTEiIHkyPSIxMSIvPjwvc3ZnPg==)}.spl-download{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxNDEuNzMycHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0MS43MzIgMTQxLjczMiIgd2lkdGg9IjE0MS43MzJweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIwLjY3NCwxMjUuMTM4SDIwLjc5M3YxNi41OTRoOTkuODgxVjEyNS4xMzh6IE0xMTkuMDE5LDU4Ljc3NmMtMi41NjEtMi41NjItNi43MTYtMi41NjItOS4yNzUsMEw3Ny4yMSw5MS4zMTJWNi41NjIgICBDNzcuMjEsMi45MzYsNzQuMjY5LDAsNzAuNjQ4LDBjLTMuNjI0LDAtNi41NiwyLjkzNy02LjU2LDYuNTYzdjg0Ljc1TDMxLjk5Miw1OS4yMThjLTIuNTYyLTIuNTY0LTYuNzE1LTIuNTY0LTkuMjc3LDAgICBjLTIuNTY1LDIuNTYyLTIuNTY1LDYuNzE2LDAsOS4yNzlsNDMuMjk0LDQzLjI5M2MwLjE1LDAuMTU0LDAuMzE0LDAuMjk5LDAuNDgxLDAuNDM4YzAuMDc2LDAuMDYyLDAuMTU1LDAuMTEzLDAuMjM0LDAuMTc2ICAgYzAuMDk0LDAuMDY1LDAuMTg2LDAuMTQyLDAuMjc5LDAuMjA2YzAuMDk3LDAuMDYzLDAuMTkyLDAuMTE0LDAuMjg2LDAuMTc0YzAuMDg4LDAuMDU0LDAuMTc0LDAuMTA1LDAuMjY1LDAuMTUzICAgYzAuMSwwLjA1NiwwLjE5OSwwLjEsMC4yOTgsMC4xNDdjMC4wOTcsMC4wNDUsMC4xOSwwLjA5MSwwLjI4MywwLjEzMmMwLjA5OCwwLjA0LDAuMTk2LDAuMDcyLDAuMjk1LDAuMTA1ICAgYzAuMTA0LDAuMDM4LDAuMjA3LDAuMDc4LDAuMzEyLDAuMTA5YzAuMTAxLDAuMDMsMC4xOTcsMC4wNTIsMC4yOTcsMC4wNzdjMC4xMDgsMC4wMjMsMC4yMTQsMC4wNTgsMC4zMjQsMC4wNzggICBjMC4xMTUsMC4wMjEsMC4yMzEsMC4wMzMsMC4zNDYsMC4wNTRjMC4wOTcsMC4wMTUsMC4xOTIsMC4wMzIsMC4yODksMC4wNDJjMC40MywwLjA0MiwwLjg2NSwwLjA0MiwxLjI5NSwwICAgYzAuMS0wLjAxLDAuMTkxLTAuMDI3LDAuMjg5LTAuMDQyYzAuMTE0LTAuMDIxLDAuMjMzLTAuMDI5LDAuMzQ0LTAuMDU0YzAuMTA5LTAuMDIxLDAuMjE3LTAuMDU1LDAuMzI0LTAuMDc4ICAgYzAuMTAyLTAuMDI1LDAuMTk5LTAuMDQ3LDAuMjk5LTAuMDc3YzAuMTA1LTAuMDMxLDAuMjA3LTAuMDcxLDAuMzEyLTAuMTA5YzAuMTAyLTAuMDMsMC4xOTUtMC4wNjIsMC4yOTUtMC4xMDUgICBjMC4wOTYtMC4wNDEsMC4xOTEtMC4wODcsMC4yODMtMC4xMzJjMC4xLTAuMDQ4LDAuMTk5LTAuMDkyLDAuMjk3LTAuMTQ3YzAuMDkxLTAuMDQ4LDAuMTc3LTAuMTA0LDAuMjY0LTAuMTUzICAgYzAuMDk4LTAuMDYsMC4xOTMtMC4xMSwwLjI4Ny0wLjE3NGMwLjA5Ni0wLjA2NCwwLjE4OS0wLjE0MSwwLjI4MS0wLjIwNmMwLjA3Ni0wLjA2MiwwLjE1Ni0wLjExMywwLjIzMy0wLjE3NiAgIGMwLjI0OS0wLjIwNCwwLjQ3OS0wLjQzNywwLjY5NC0wLjY3YzAuMDc2LTAuMDY3LDAuMTU0LTAuMTMxLDAuMjI5LTAuMjAzbDQzLjI5NC00My4yOTYgICBDMTIxLjU4MSw2NS40OTEsMTIxLjU4MSw2MS4zMzcsMTE5LjAxOSw1OC43NzYiLz48L2c+PC9zdmc+);background-size:20px}.spl-theme{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9IjI0cHgiIHZlcnNpb249IjEuMiIgdmlld0JveD0iMiAyIDIwIDIwIiB3aWR0aD0iMjRweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIsNGMtNC40MTgsMC04LDMuNTgyLTgsOHMzLjU4Miw4LDgsOHM4LTMuNTgyLDgtOFMxNi40MTgsNCwxMiw0eiBNMTIsMThjLTMuMzE0LDAtNi0yLjY4Ni02LTZzMi42ODYtNiw2LTZzNiwyLjY4Niw2LDYgUzE1LjMxNCwxOCwxMiwxOHoiLz48cGF0aCBkPSJNMTIsN3YxMGMyLjc1NywwLDUtMi4yNDMsNS01UzE0Ljc1Nyw3LDEyLDd6Ii8+PC9nPjwvc3ZnPg==)}.spl-play{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwb2x5Z29uIGZpbGw9IiNmZmYiIHBvaW50cz0iMTAgOCAxNiAxMiAxMCAxNiAxMCA4Ii8+PC9zdmc+)}.spl-play.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxsaW5lIHgxPSIxMCIgeDI9IjEwIiB5MT0iMTUiIHkyPSI5Ii8+PGxpbmUgeDE9IjE0IiB4Mj0iMTQiIHkxPSIxNSIgeTI9IjkiLz48L3N2Zz4=);animation:pulsate 1s ease infinite}.spl-close{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIyIDIgMjAgMjAiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZSB4MT0iMTgiIHgyPSI2IiB5MT0iNiIgeTI9IjE4Ii8+PGxpbmUgeDE9IjYiIHgyPSIxOCIgeTE9IjYiIHkyPSIxOCIvPjwvc3ZnPg==)}.spl-next,.spl-prev{top:50%;width:50px;height:50px;opacity:.65;background-color:rgba(0,0,0,.45);border-radius:100%;cursor:pointer;margin-top:-25px;transform:translateX(-100px);background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cG9seWxpbmUgcG9pbnRzPSIxNSAxOCA5IDEyIDE1IDYiLz48L3N2Zz4=);background-size:30px}.spl-prev{left:20px}.spl-next{left:auto;right:20px;transform:translateX(100px) scaleX(-1)}#spotlight.menu .spl-prev{transform:translateX(0)}#spotlight.menu .spl-next{transform:translateX(0) scaleX(-1)}@media (hover:hover){.spl-page~div{cursor:pointer;transition:opacity .2s ease}.spl-next:hover,.spl-page~div:hover,.spl-prev:hover{opacity:1}}@media (max-width:500px){.spl-header div{width:44px}.spl-footer .spl-title{font-size:20px}.spl-footer{font-size:14px}.spl-next,.spl-prev{width:35px;height:35px;margin-top:-17.5px;background-size:15px 15px}.spl-spinner{background-size:30px 30px}}.hide-scrollbars{overflow:hidden!important}\",\"type\":\"text/css\",\"tags\":\"$:/tags/Stylesheet\"},\"$:/plugins/sq/spotlight/styles\":{\"title\":\"$:/plugins/sq/spotlight/styles\",\"type\":\"text/css\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\".spl-pane video::-webkit-media-controls-timeline {\\n\\twidth: 90vw;\\n}\"},\"$:/plugins/sq/spotlight/widget.js\":{\"title\":\"$:/plugins/sq/spotlight/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/spotlight/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\nexports.platforms = [\\\"browser\\\"];\\nif(!$tw.sq) {\\n\\t$tw.sq = {};\\n}\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n\\nvar SpotlightWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSpotlightWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSpotlightWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\nSpotlightWidget.prototype.execute = function() {\\n\\tvar images = $tw.utils.parseStringArray(this.getAttribute(\\\"$images\\\",\\\"\\\")),\\n\\t\\tlabels = $tw.utils.parseStringArray(this.getAttribute(\\\"$labels\\\",\\\"\\\")),\\n\\t\\tgalleryJSON = this.getAttribute(\\\"$gallery\\\"),\\n\\t\\tstart = this.getAttribute(\\\"$start\\\"),\\n\\t\\tspotlightOptions = {fit: \\\"contain\\\"},\\n\\t\\tindex;\\n\\t\\t\\n\\tif(!!galleryJSON) {\\n\\t\\tthis.gallery = $tw.utils.parseJSONSafe(galleryJSON,[]);\\n\\t\\t//iterate over gallery and turn each src attribute into proper form for each item where media type is image or undefined\\n\\t\\tthis.gallery.map((item,pos,gallery) => {\\n\\t\\t\\tif(start && start === item.src) {\\n\\t\\t\\t\\tindex = pos;\\n\\t\\t\\t}\\n\\t\\t\\tif(!item.media || item.media === \\\"image\\\") {\\n\\t\\t\\t\\tgallery[pos].src = this.getImageURI(item.src);\\n\\t\\t\\t}\\n\\t\\t},this);\\n\\t} else {\\n\\t\\t//iterate over images and labels, create gallery\\n\\t\\tif(start) {\\n\\t\\t\\tindex = images.indexOf(start);\\n\\t\\t}\\n\\t\\tthis.gallery = images.map((image,index,images) => {\\n\\t\\t\\treturn {src: this.getImageURI(image),title: labels[index] || \\\"\\\"};\\n\\t\\t},this);\\n\\t\\tif(index === -1) {\\n\\t\\t\\tthis.gallery.every((el,i) => {\\n\\t\\t\\t\\tif(el.src === start) {\\n\\t\\t\\t\\t\\tindex = i;\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\t\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tspotlightOptions[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\tspotlightOptions.index = !!start && index >=0 ? index + 1 : 1;\\n\\tthis.spotlightOptions = spotlightOptions;\\n\\t/*\\n\\tthis.spotlightOptions.onchange = function(index,options) {\\n\\t\\t//get the document reference from the widget\\n\\t\\tvar pane = document.querySelectorAll(`#spotlight .spl-pane`);\\n\\t\\tvar img = pane[index-1].querySelector(\\\"img\\\");\\n\\t\\timg.addEventListener(\\\"load\\\",function() {\\n\\t\\t\\tconsole.log(`Width: ${img.width}`);\\n\\t\\t});\\n\\t};\\n\\t*/\\n};\\n\\nSpotlightWidget.prototype.getImageURI = function(title) {\\n\\tvar src = \\\"\\\",\\n\\t\\ttiddler = this.wiki.getTiddler(title);\\n\\tif(!tiddler) {\\n\\t\\treturn title;\\n\\t} else {\\n\\t\\tif(this.wiki.isImageTiddler(title)) {\\n\\t\\t\\tvar type = tiddler.fields.type,\\n\\t\\t\\t\\ttext = tiddler.fields.text,\\n\\t\\t\\t\\t_canonical_uri = tiddler.fields._canonical_uri;\\n\\t\\t\\tif(text) {\\n\\t\\t\\t\\tswitch(type) {\\n\\t\\t\\t\\t\\tcase \\\"image/svg+xml\\\":\\n\\t\\t\\t\\t\\t\\tsrc = \\\"data:image/svg+xml,\\\" + encodeURIComponent(text);\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\tsrc = \\\"data:\\\" + type + \\\";base64,\\\" + text;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\t\\t\\t\\t\\n\\t\\t\\t} else if(_canonical_uri) {\\n\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn src;\\n\\t}\\n};\\n\\nSpotlightWidget.prototype.invokeAction = function(triggeringWidget, event) {\\n\\tvar spotlight = require(\\\"$:/plugins/sq/spotlight/spotlight.js\\\");\\n\\tspotlight.show(this.gallery,this.spotlightOptions);\\n\\t/*\\n\\t// exifreader needs to load the image itself, so CORS might be an issue for external images\\n\\t//\\thttps://github.com/mattiasw/ExifReader/issues/186\\n\\tif(!$tw.sq.ExifReader) {\\n\\t\\t$tw.sq.ExifReader = require(\\\"$:/plugins/sq/spotlight/exif-reader.js\\\");\\n\\t\\tconsole.log($tw.sq.ExifReader);\\t\\t\\n\\t}\\n\\t*/\\n\\n};\\n\\nSpotlightWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes)>0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports[\\\"action-spotlight\\\"] = SpotlightWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"}}}","revision":"0","bag":"default"},{"title":"$:/plugins/sq/streams","name":"Streams","description":"Rapid data entry with a keyboard driven workflow. Divide content into smaller tiddlers as you write.","plugin-type":"plugin","plugin-priority":"1","author":"Saq Imtiaz","version":"1.2.24","core-version":">=5.1.23","list":"Settings CHANGELOG","source":"https://saqimtiaz.github.io/streams/","dependents":"$:/plugins/flibbles/relink","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/sq/streams/CHANGELOG\":{\"title\":\"$:/plugins/sq/streams/CHANGELOG\",\"text\":\"Release notes for the current release:\\n\\n{{$:/plugins/sq/streams/releasenotes}}\\n\\n[[Full changelog|https://saqimtiaz.github.io/streams/#CHANGELOG]] for Streams\\n\"},\"$:/plugins/sq/streams/Settings/config\":{\"title\":\"$:/plugins/sq/streams/Settings/config\",\"caption\":\"Configuration\",\"text\":\"\\\\define sortBySettingsGroupFilter()\\n[get[settings-group]!is[blank]else[!general]] [get[settings-group-header]!is[blank]else[99]] +[join[]]\\n\\\\end\\n\\n<$edit-text tiddler=\\\"$:/state/sq/streams/settings/search\\\" class=\\\"sq-search-input\\\" default=\\\"\\\" tag=\\\"input\\\" type=\\\"search\\\" placeholder=\\\"search...\\\"/>\\n\\n<div class=\\\"sq-list-group sq-list-group-box-shadow sq-list-stream-settings\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]prefix[$:/config/sq/streams]has[settings-template]] +[search:title,caption,description{$:/state/sq/streams/settings/search}] +[sortsub<sortBySettingsGroupFilter>]\\\">\\n<$list filter={{{[{!!condition}!is[blank]] :else[{!!title}]}}} variable=\\\"list-condition\\\">\\n<div class=\\\"sq-list-group-item\\\">\\n<$transclude tiddler={{!!settings-template}}/>\\n</div>\\n</$list>\\n</$list>\\n</div>\"},\"$:/plugins/sq/streams/Settings/shortcuts\":{\"title\":\"$:/plugins/sq/streams/Settings/shortcuts\",\"caption\":\"Shortcuts\",\"text\":\"\\\\import $:/core/ui/ControlPanel/KeyboardShortcuts\\n\\n<table>\\n<tbody>\\n<$list filter=\\\"[all[shadows+tiddlers]prefix[$:/config/ShortcutInfo/streams-]removeprefix[$:/config/ShortcutInfo/]]\\\" variable=\\\"shortcutName\\\">\\n<<shortcut-item>>\\n</$list>\\n</tbody>\\n</table>\"},\"$:/plugins/sq/streams/Settings\":{\"title\":\"$:/plugins/sq/streams/Settings\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"Streams settings\",\"text\":\"<<tabs \\\"$:/plugins/sq/streams/Settings/config $:/plugins/sq/streams/Settings/shortcuts\\\" \\\"$:/plugins/sq/streams/Settings/config\\\" \\\"$:/state/streams/settings/tabs\\\">>\\n\"},\"$:/plugins/sq/streams/action-macros\":{\"title\":\"$:/plugins/sq/streams/action-macros\",\"text\":\"\\\\whitespace trim\\n\\n\\\\define swiped-right-actions()\\n<$list filter=\\\"[{$:/config/sq/streams/swipe-behaviour}match[contextmenu]]\\\" variable=\\\"_NULL\\\">\\n<$action-setfield $tiddler=<<contextmenu-state>> $field=\\\"current\\\" $value=<<dom-data-node-title>>/>\\n<$action-setfield $tiddler=<<contextmenu-state>> $field=\\\"position\\\" $value={{$:/config/sq/streams/swipe-contextmenu-position}}/>\\n<$action-popup $coords=<<tv-popup-coords>> $state=<<contextmenu-state>>/>\\n</$list>\\n<$list filter=\\\"[{$:/config/sq/streams/swipe-behaviour}match[indent]]\\\" variable=\\\"_NULL\\\">\\n<$vars currentTiddler=<<dom-data-node-title>>>\\n<<indent-node-actions>>\\n</$vars>\\n</$list>\\n\\\\end\\n\\n\\\\define swiped-left-actions()\\n<$list filter=\\\"[{$:/config/sq/streams/swipe-behaviour}match[indent]]\\\" variable=\\\"_NULL\\\">\\n<$vars currentTiddler=<<dom-data-node-title>>>\\n<<unindent-node-actions>>\\n</$vars>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define oncontext-menu-actions()\\n<$action-setfield $tiddler=<<contextmenu-state>> $field=\\\"current\\\" $value=<<dom-data-node-title>>/>\\n<$action-setfield $tiddler=<<contextmenu-state>> $field=\\\"position\\\" $value=\\\"left\\\"/>\\n<$action-popup $coords=<<tv-popup-coords>> $state=<<contextmenu-state>>/>\\n\\\\end\\n\\n\\n\\\\define node-ctrl-btn-actions()\\n<$list filter=\\\"[<dom-data-btn-role>match[stream-node-visibility]]\\\" variable=\\\"NULL\\\">\\n<$action-setfield $tiddler=<<dom-data-rowchildren-visibility-state>> text={{{ [<dom-data-rowchildren-visibility-state>get[text]match[hide]then[show]else[hide]] }}} />\\n</$list>\\n<$list filter=\\\"[<dom-data-btn-role>match[stream-node-decorator]]\\\" variable=\\\"NULL\\\">\\n<$action-navigate $to=<<dom-data-node-title>>/>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define toggle-row-edit-state()\\n<$action-unselect/>\\n<$list filter=\\\"[<row-edit-state>get[text]else[]!match<dom-data-node-title>]\\\" variable=\\\"NULL\\\">\\n<$list filter=\\\"[[$:/status/IsReadOnly]get[text]!is[blank]else[no]!match[yes]]\\\" variable=\\\"NULL\\\">\\n\\t<$action-setfield $tiddler=<<row-edit-state>> text=<<dom-data-node-title>> />\\n<!--\\t<$action-setfield $tiddler=<<dom-data-node-title>> throttle.refresh=\\\"yes\\\"/>-->\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define save-edit-node-actions()\\n<!-- handle saving a node being edited -->\\n<!-- XXX draft -->\\n<!--<$action-deletefield $tiddler={{{ [<dom-data-node-title>!is[blank]else<currentTiddler>] }}} $field=\\\"throttle.refresh\\\" />-->\\n<$action-deletetiddler $tiddler=<<row-edit-state>> />\\n\\\\end\\n\\n\\n\\\\define indent-node-actions()\\n<!-- handle indenting a node -->\\n<$vars previous-node={{{ [{!!parent}get[stream-list]enlist-input[]is[tiddler]before<currentTiddler>] }}}>\\n<$list filter=\\\"[<previous-node>minlength[1]]\\\" variable=\\\"_NULL\\\">\\n\\t<$action-listops $tiddler=<<previous-node>> $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] [<currentTiddler>]\\\"/>\\n\\t<$action-listops $tiddler={{!!parent}} $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] -[<currentTiddler>]\\\"/>\\n\\t<$action-setfield $tiddler=<<currentTiddler>> parent=<<previous-node>> />\\n</$list>\\n</$vars>\\n\\\\end\\n\\n\\n\\\\define unindent-node-actions()\\n<!-- handle unindenting a node -->\\n<$vars new-parent={{{ [{!!parent}get[parent]] }}} new-next-node={{{ [{!!parent}get[parent]get[stream-list]enlist-input[]is[tiddler]after{!!parent}] }}}>\\n <$list filter=\\\"[<new-parent>minlength[1]]\\\" variable=\\\"_NULL\\\">\\n <$action-listops $tiddler=<<new-parent>> $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] +[insertbefore:new-next-node<currentTiddler>]\\\"/>\\n <$action-listops $tiddler={{!!parent}} $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] -[<currentTiddler>]\\\"/>\\n <$action-setfield $tiddler=<<currentTiddler>> parent=<<new-parent>> />\\n </$list>\\n</$vars>\\n\\\\end\\n\\n\\n\\\\define demote-node-actions()\\n<!-- move a node below the next node -->\\n<$list filter=\\\"[{!!parent}get[stream-list]enlist-input[]after<currentTiddler>]\\\" variable=\\\"next-node\\\">\\n <$action-listops $tiddler={{!!parent}} $field=\\\"stream-list\\\" $subfilter=\\\"+[insertbefore:currentTiddler<next-node>]\\\"/>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define promote-node-actions()\\n<!-- move a node above the previous node -->\\n<$list filter=\\\"[{!!parent}get[stream-list]enlist-input[]before<currentTiddler>]\\\" variable=\\\"previous-node\\\">\\n <$action-listops $tiddler={{!!parent}} $field=\\\"stream-list\\\" $subfilter=\\\"+[insertbefore:previous-node<currentTiddler>]\\\"/>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define save-node-actions()\\n<$list filter=\\\"\\\"\\\"[{$:/config/sq/streams/split-at-caret}match[yes]]\\\"\\\"\\\" variable=\\\"_NULL\\\" emptyMessage=<<add-node-actions>> >\\n<$list filter=\\\"[<selectionEnd>!is[blank]else[0]!match[0]]\\\" variable=\\\"_NULL\\\">\\n<$list filter=\\\"[<currentTiddler>get[text]length[]subtract<selectionEnd>!match[0]]\\\" variable=\\\"_NULL\\\" emptyMessage=<<add-node-actions>>>\\n\\t<$macrocall $name=\\\"add-node-actions\\\" startText={{{[<currentTiddler>get[text]split[]rest<selectionEnd>join[]trim[]]}}} streamList={{!!stream-list}} /><!--insertPosition=\\\"title\\\"-->\\n\\t<$action-setfield $tiddler=\\\"$:/state/sq/streams/caret-position\\\" text=\\\"0\\\"/>\\n\\t<$action-setfield $tiddler=<<currentTiddler>> text={{{[<currentTiddler>get[text]split[]first<selectionEnd>join[]]}}} stream-list=\\\"\\\"/>\\n</$list>\\n</$list>\\n<$list filter=\\\"[<selectionEnd>!is[blank]else[0]match[0]]\\\" variable=\\\"_NULL\\\">\\n\\t<$list filter=\\\"[<currentTiddler>!has[text]]\\\" variable=\\\"_NULL\\\" emptyMessage=<<add-node-actions \\\"\\\" \\\"title\\\">> >\\n\\t\\t<$list filter=\\\"\\\"\\\"[{$:/config/sq/streams/exit-on-saving-empty-node}match[yes]]\\\"\\\"\\\" variable=\\\"_NULL\\\" emptyMessage=<<add-node-actions>> >\\n\\t\\t\\t<<cancel-edit-node-actions>>\\n\\t\\t</$list>\\n\\t</$list>\\n</$list>\\n</$list>\\n\\\\end\\n\\n\\\\define add-new-node-actions()\\n<!-- used by new node button at the bottom of a stream -->\\n<$list filter=\\\"[[$:/status/IsReadOnly]get[text]!is[blank]else[no]!match[yes]]\\\" variable=\\\"NULL\\\">\\n<<add-node-actions>>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define add-node-actions(startText:\\\"\\\",insertPosition:\\\"after\\\",streamList:\\\"\\\")\\n<!-- handle saving a node edit and creating a new subsequent node -->\\n<$set name=\\\"parent\\\" filter=\\\"[<currentTiddler>match<stream-root-title>] ~[{!!parent}] +[first[]]\\\" select=\\\"0\\\">\\n<$wikify name=\\\"new-node\\\" text={{$:/config/sq/streams/new-node-title}}>\\n<$wikify name=\\\"new-node\\\" text={{{[[<<unusedtitle \\\"\\\"\\\"]addsuffix<new-node>addsuffix[\\\"\\\"\\\">>]]}}}>\\n\\t<$action-createtiddler $basetitle=<<new-node>> text=<<__startText__>> $template={{$:/config/sq/streams/new-node-tiddler-template}} parent=<<parent>> stream-type=\\\"default\\\" stream-list=<<__streamList__>>/>\\n\\t<$set name=\\\"parent-nodes\\\" filter=\\\"[<parent>get[stream-list]]\\\" select=\\\"0\\\">\\n\\t<$set name=\\\"next-node\\\" filter=\\\"[enlist<parent-nodes>is[tiddler]$insertPosition$<currentTiddler>]\\\" select=\\\"0\\\">\\n\\t<$action-listops $tiddler=<<parent>> $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] +[insertbefore:next-node<new-node>]\\\"/>\\n\\t<$list filter=\\\"[<parent>!has[stream-type]]\\\" variable=\\\"_NULL\\\">\\n\\t\\t<$action-setfield $tiddler=<<parent>> stream-type=\\\"default\\\"/>\\n\\t</$list>\\n\\t<$list filter=\\\"[enlist<__streamList__>]\\\">\\n\\t\\t<$action-setfield $tiddler=<<currentTiddler>> parent=<<new-node>>/>\\n\\t</$list>\\n\\t</$set>\\n\\t</$set>\\n\\t<$action-setfield $tiddler=<<row-edit-state>> text=<<new-node>>/>\\n</$wikify>\\n</$wikify>\\n</$set>\\n\\\\end\\n\\n\\n\\\\define save-multiple-actions()\\n<!-- handle multiple nodes entered at once -->\\n<$action-confirm $message=\\\"Split into multiple nodes?\\\" $prompt={{$:/config/sq/streams/prompt-split-to-multiple}}>\\n<$list filter=\\\"[{!!text}splitregexp{$:/config/sq/streams/node-split-regexp}rest[]reverse[]]\\\" variable=\\\"fragment\\\">\\n\\t<$action-confirm $message=\\\"Split into multiple nodes?\\\" $prompt=\\\"no\\\">\\n\\t\\t<$macrocall $name=\\\"add-node-actions\\\" startText=<<fragment>> />\\n\\t</$action-confirm>\\n</$list>\\n<$action-setfield $tiddler=<<currentTiddler>> text={{{[{!!text}splitregexp{$:/config/sq/streams/node-split-regexp}first[]]}}}/>\\n<<add-node-actions>>\\n</$action-confirm>\\n\\\\end\\n\\n\\n\\\\define cancel-edit-node-actions()\\n<!-- handle cancelling the edit on an empty node -->\\n<$list filter=\\\"[<currentTiddler>!has[stream-list]!has[text]]\\\" variable=\\\"_NULL\\\">\\n\\t<$action-listops $tiddler={{{[{!!parent}]}}} $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] -[<currentTiddler>]\\\"/>\\n\\t<$action-deletetiddler $tiddler=<<currentTiddler>> />\\n</$list>\\n<!--<$action-deletefield $tiddler=<<currentTiddler>> $field=\\\"throttle.refresh\\\" />-->\\n<$action-deletetiddler $tiddler=<<row-edit-state>> />\\n\\\\end\\n\\n\\n\\\\define merge-with-previous-node-actions()\\n<!-- handle backspace on an empty node -->\\n<$list filter=\\\"\\\"\\\"[<currentTiddler>!has[text]]\\\"\\\"\\\" variable=\\\"_NULL\\\">\\n\\t<<cancel-edit-node-actions>>\\n\\t<<focus-higher-node-actions>>\\n</$list>\\n\\n<$list filter=\\\"\\\"\\\"[<currentTiddler>has[text]]\\\"\\\"\\\" variable=\\\"_NULL\\\">\\n<$list filter=\\\"[<selectionEnd>match[0]]\\\" variable=\\\"_NULL\\\">\\n\\n<!--<$action-log/>-->\\n\\t<$set name=\\\"parent\\\" value={{!!parent}} select=\\\"0\\\">\\n\\t<$set name=\\\"stream-list\\\" filter=\\\"[<parent>get[stream-list]]\\\" select=\\\"0\\\">\\n\\t<$list filter=\\\"[enlist<stream-list>before<currentTiddler>]\\\" variable=\\\"previous-node\\\">\\n\\t\\t<$list filter=\\\"[<previous-node>!has[stream-list]]\\\" variable=\\\"_NULL\\\">\\n\\t\\t<$action-confirm $message=\\\"Merge with previous node?\\\" $prompt={{$:/config/sq/streams/prompt-merge-with-previous}}>\\n\\t\\t\\t<$action-setfield $tiddler=\\\"$:/state/sq/streams/caret-position\\\" text={{{[<previous-node>get[text]length[]]}}}/>\\n\\t\\t\\t<$action-setfield $tiddler=<<previous-node>> text={{{[<previous-node>get[text]!is[blank]else[]addsuffix{!!text}]}}} stream-list={{!!stream-list}}/>\\n\\t\\t\\t<$action-setfield $tiddler=<<row-edit-state>> text=<<previous-node>>/>\\n\\t\\t\\t<$action-listops $tiddler={{!!parent}} $field=\\\"stream-list\\\" $subfilter=\\\"+[is[tiddler]] -[<currentTiddler>]\\\"/>\\t\\t\\t\\n\\t\\t\\t<$action-deletetiddler $tiddler=<<currentTiddler>>/>\\n\\t\\t</$action-confirm>\\t\\n\\t\\t</$list>\\n\\t</$list>\\n\\t</$set>\\n\\t</$set>\\n\\t\\n</$list>\\n</$list>\\n\\n\\\\end\\n\\n\\n\\\\define delete-node-actions()\\n<$action-confirm $message=\\\"Do you wish to delete this tiddler?\\\">\\n\\t<$transclude tiddler=\\\"$:/plugins/sq/streams/delete-hook/actions\\\"/>\\n\\t<$action-deletetiddler $tiddler=<<currentTiddler>> />\\n\\t<$list filter=\\\"[<row-edit-state>get[text]match<currentTiddler>]\\\">\\n\\t\\t<<focus-higher-node-actions>>\\n\\t</$list>\\n</$action-confirm>\\n\\\\end\\n\\n\\n\\\\define rename-node-actions()\\n<$action-withinput message=\\\"Rename this tiddler?\\\" default=<<currentTiddler>> actions=\\\"\\\"\\\"\\n\\t<$action-sendmessage $message=\\\"tm-rename-tiddler\\\" from=<<currentTiddler>> to=<<userInput>>/>\\n\\t<$list filter=\\\"[<row-edit-state>match<currentTiddler>]\\\" variable=\\\"_NULL\\\">\\n\\t\\t<$action-setfield $tiddler=<<row-edit-state>> text=<<userInput>>/>\\n\\t</$list>\\n\\\"\\\"\\\"/>\\n\\\\end\\n\\n\\n\\\\define find-last-child()\\n<!-- used by focus-higher-node-actions macro -->\\n<$list filter=\\\"[enlist{!!stream-list}is[tiddler]last[]]\\\" emptyMessage=\\\"\\\"\\\"<$action-setfield $tiddler=<<row-edit-state>> text=<<currentTiddler>>/>\\\"\\\"\\\">\\n\\t<$macrocall $name=\\\"find-last-child\\\"/>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define focus-higher-node-actions()\\n<!-- handles moving up in the nodes with the keyboard -->\\n<$vars old-parent={{!!parent}} >\\n<$list filter=\\\"[{!!parent}get[stream-list]enlist-input[]is[tiddler]before<currentTiddler>]\\\" emptyMessage=\\\"\\\"\\\"<$list filter=\\\"[<old-parent>!match<stream-root-title>]\\\"><$action-setfield $tiddler=<<row-edit-state>> text=<<old-parent>> /></$list>\\\"\\\"\\\">\\n\\t<$macrocall $name=\\\"find-last-child\\\"/>\\n</$list>\\n</$vars>\\n\\\\end\\n\\n\\n\\\\define find-next-downwards-node()\\n<!-- used by focus-lower-node-actions macro -->\\n<$list filter=\\\"[<currentTiddler>has[parent]]\\\" variable=\\\"_NULL\\\">\\n<$set name=\\\"old-parent\\\" value={{!!parent}} select=\\\"0\\\">\\n<$set name=\\\"old-parent-nodes\\\" filter=\\\"[<old-parent>get[stream-list]]\\\" select=\\\"0\\\">\\n<$list filter=\\\"[enlist<old-parent-nodes>is[tiddler]after<currentTiddler>]\\\" emptyMessage=\\\"\\\"\\\"<$set name=\\\"currentTiddler\\\" value=<<old-parent>>><<find-next-downwards-node>></$set>\\\"\\\"\\\">\\n\\t<$action-setfield $tiddler=<<row-edit-state>> text=<<currentTiddler>>/>\\t\\n</$list>\\n</$set>\\n</$set>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define focus-lower-node-actions()\\n<!-- handles moving down in the nodes with the keyboard -->\\n<!--if children, get the first child-->\\n<$list filter=\\\"[<currentTiddler>get[stream-list]enlist-input[]is[tiddler]first[]]\\\" variable=\\\"next-node\\\">\\n <$action-setfield $tiddler=<<row-edit-state>> text=<<next-node>> />\\n</$list>\\n<!-- if no children-->\\n<!--- get closest ancestor with next sibling -->\\n<$list filter=\\\"[<currentTiddler>!has[stream-list]]\\\" variable=\\\"_NULL\\\">\\n\\t<$set name=\\\"old-active-node\\\" value=<<currentTiddler>> >\\n\\t\\t<<find-next-downwards-node>>\\n\\t</$set>\\n</$list>\\n\\\\end\\n\\n\\n\\\\define node-drag-start-actions()\\n<!-- parameter to draggable widget -->\\n<$action-setfield $tiddler=<<drag-title-state>> text=<<currentTiddler>>/>\\n<$action-setfield $tiddler=\\\"$:/state/sq/nodes/global-drag-state\\\" text=\\\"yes\\\"/>\\n<$set name=\\\"siblings\\\" filter=\\\"[{!!parent}get[stream-list]]\\\" select=\\\"0\\\">\\n<$list filter=\\\"[enlist<siblings>after<currentTiddler>]\\\" variable=\\\"next-node\\\">\\n\\t<$action-setfield $tiddler=<<drag-title-nextsibling-state>> text=<<next-node>> />\\n</$set>\\n\\\\end\\n\\n\\n\\\\define node-drag-end-actions()\\n<!-- parameter to draggable widget -->\\n<$action-deletetiddler $filter=\\\"\\\"\\\"[<drag-title-state>][<drag-title-nextsibling-state>][[$:/state/sq/nodes/global-drag-state]]\\\"\\\"\\\" />\\n\\\\end\\n\\n\\n\\\\define stream-drop-actions()\\n<!-- handles drag and drop -->\\n<$vars startBrackets=\\\"[[\\\" endBrackets=\\\"]]\\\" parent=<<dropTargetTiddler>> >\\n<$vars actionTiddler={{{[<actionTiddler>trim:suffix<endBrackets>trim:prefix<startBrackets>]}}}>\\n<!-- if target has no stream-type, assign one -->\\n<$list filter=\\\"[<dropTargetTiddler>!has[stream-type]]\\\">\\n\\t<$action-setfield $tiddler=<<dropTargetTiddler>> stream-type=\\\"default\\\"/>\\n</$list>\\n<!-- if action tiddler has no stream-type, assign one -->\\n<$list filter=\\\"[<actionTiddler>!has[stream-type]]\\\" variable=\\\"_NULL\\\">\\n\\t<$action-setfield $tiddler=<<actionTiddler>> stream-type=\\\"default\\\" />\\n</$list>\\n<!-- if we are dropping onto a new parent, then we might need to handle modifier keys -->\\n<$list filter=\\\"[<actionTiddler>get[parent]!match<parent>] [<actionTiddler>!has[parent]]\\\" variable=\\\"_NULL\\\">\\n\\t<$wikify name=\\\"new-node\\\" text={{$:/config/sq/streams/new-node-title}}>\\n\\t\\t<!-- ctrl modifier key on drop event -->\\n\\t\\t<!-- create a new node with text of dropped node -->\\n\\t\\t<$list filter=\\\"[<modifier>match{$:/config/sq/streams/dnd-modifier-copy-node}]\\\" variable=\\\"_NULL\\\">\\n\\t\\t\\t<$action-createtiddler $basetitle=<<new-node>> text={{{ [<actionTiddler>get[text]] }}} parent=<<parent>> stream-type=\\\"default\\\"/>\\n\\t\\t\\t<!-- insert into correct position on new parent -->\\n\\t\\t\\t<$action-listops $tiddler=<<dropTargetTiddler>> $field=\\\"stream-list\\\" $subfilter=\\\"+[insertbefore:currentTiddler<new-node>]\\\"/>\\n\\t\\t</$list>\\n\\t\\t<!-- shift modifier key on drop event -->\\n\\t\\t<$list filter=\\\"[<modifier>match{$:/config/sq/streams/dnd-modifier-transclude-node}]\\\" variable=\\\"_NULL\\\">\\n\\t\\t\\t<!-- create new node on target, in correct position, text is a transclusion-->\\n\\t\\t\\t<$action-createtiddler $basetitle=<<new-node>> text={{{ [<actionTiddler>addprefix[{{]addsuffix[}}]] }}} parent=<<parent>> stream-type=\\\"default\\\"/>\\n\\t\\t\\t<!-- insert into correct position on new parent -->\\n\\t\\t\\t<$action-listops $tiddler=<<dropTargetTiddler>> $field=\\\"stream-list\\\" $subfilter=\\\"+[insertbefore:currentTiddler<new-node>]\\\"/>\\n\\t\\t</$list>\\n\\t</$wikify>\\n\\t<!-- no modifier key on drop event -->\\n\\t<!-- insert in correct position on new parent, and remove from old parent -->\\n\\t<!-- assign new parent -->\\n\\t<$list filter=\\\"[<modifier>match[normal]]\\\" variable=\\\"_NULL\\\">\\n\\t\\t<$action-listops $tiddler=<<dropTargetTiddler>> $field=\\\"stream-list\\\" $subfilter=\\\"+[insertbefore:currentTiddler<actionTiddler>]\\\"/>\\n\\t\\t<$set name=\\\"original-parent\\\" filter=\\\"[<actionTiddler>get[parent]]\\\" select=\\\"0\\\">\\n\\t\\t\\t<$action-listops $tiddler=<<original-parent>> $field=\\\"stream-list\\\" $subfilter=\\\"-[title<actionTiddler>]\\\"/>\\n\\t\\t</$set>\\n\\t\\t<$action-setfield $tiddler=<<actionTiddler>> parent=<<parent>>/>\\n\\t</$list>\\n</$list>\\n<!-- we are dropping on to the same parent, insert in the correct position -->\\n<$list filter=\\\"[<actionTiddler>get[parent]match<parent>]\\\" variable=\\\"_NULL\\\">\\n\\t<$action-listops $tiddler=<<dropTargetTiddler>> $field=\\\"stream-list\\\" $subfilter=\\\"+[insertbefore:currentTiddler<actionTiddler>]\\\"/>\\n</$list>\\n</$vars>\\n</$vars>\\n\\\\end\"},\"$:/plugins/sq/streams/icons/node-expand-arrow\":{\"title\":\"$:/plugins/sq/streams/icons/node-expand-arrow\",\"created\":\"20200526035137040\",\"modified\":\"20200526100520031\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M13.75 9.56879C14.0833 9.76124 14.0833 10.2424 13.75 10.4348L8.5 13.4659C8.16667 13.6584 7.75 13.4178 7.75 13.0329L7.75 6.97072C7.75 6.58582 8.16667 6.34525 8.5 6.5377L13.75 9.56879Z\\\"></path></svg>\"},\"$:/config/ShortcutInfo/streams-cancel-edit\":{\"title\":\"$:/config/ShortcutInfo/streams-cancel-edit\",\"text\":\"Cancel and exit editing\"},\"$:/config/ShortcutInfo/streams-delete\":{\"title\":\"$:/config/ShortcutInfo/streams-delete\",\"text\":\"Delete node\"},\"$:/config/ShortcutInfo/streams-demote\":{\"title\":\"$:/config/ShortcutInfo/streams-demote\",\"text\":\"Demote node\"},\"$:/config/ShortcutInfo/streams-focus-higher\":{\"title\":\"$:/config/ShortcutInfo/streams-focus-higher\",\"text\":\"Move focus to higher node\"},\"$:/config/ShortcutInfo/streams-focus-lower\":{\"title\":\"$:/config/ShortcutInfo/streams-focus-lower\",\"text\":\"Move focus to lower node\"},\"$:/config/ShortcutInfo/streams-indent\":{\"title\":\"$:/config/ShortcutInfo/streams-indent\",\"text\":\"Indent node\"},\"$:/config/ShortcutInfo/streams-merge-with-previous\":{\"title\":\"$:/config/ShortcutInfo/streams-merge-with-previous\",\"text\":\"Merge with previous node, if caret is at start of a node\"},\"$:/config/ShortcutInfo/streams-promote\":{\"title\":\"$:/config/ShortcutInfo/streams-promote\",\"text\":\"Promote node\"},\"$:/config/ShortcutInfo/streams-rename\":{\"title\":\"$:/config/ShortcutInfo/streams-rename\",\"text\":\"Rename node\"},\"$:/config/ShortcutInfo/streams-save-and-continue\":{\"title\":\"$:/config/ShortcutInfo/streams-save-and-continue\",\"text\":\"Save and create next node\"},\"$:/config/ShortcutInfo/streams-save-and-exit\":{\"title\":\"$:/config/ShortcutInfo/streams-save-and-exit\",\"text\":\"Save and exit editing\"},\"$:/config/ShortcutInfo/streams-save-multiple\":{\"title\":\"$:/config/ShortcutInfo/streams-save-multiple\",\"text\":\"Split and save as multiple nodes\"},\"$:/config/ShortcutInfo/streams-unindent\":{\"title\":\"$:/config/ShortcutInfo/streams-unindent\",\"text\":\"Unindent node\"},\"$:/config/sq/streams/dnd-modifier-copy-node\":{\"title\":\"$:/config/sq/streams/dnd-modifier-copy-node\",\"description\":\"Modifier key for drag and drop to create a copy of a node.\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/select\",\"option-names\":\"ctrl alt shift meta\",\"option-values\":\"ctrl alt shift meta\",\"caption\":\"Modifier key to copy a node when dragging.\",\"text\":\"ctrl\"},\"$:/config/sq/streams/dnd-modifier-transclude-node\":{\"title\":\"$:/config/sq/streams/dnd-modifier-transclude-node\",\"description\":\"Modifier key for drag and drop to create a transclusion of a node.\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/select\",\"option-names\":\"ctrl alt shift meta\",\"option-values\":\"ctrl alt shift meta\",\"caption\":\"Modifier key to transclude a node when dragging.\",\"text\":\"shift\"},\"$:/config/sq/streams/editor-engine\":{\"title\":\"$:/config/sq/streams/editor-engine\",\"description\":\"Editor to use for Streams\",\"caption\":\"Editor to use for Streams\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/select\",\"option-names\":\"[[Default]] [[CodeMirror]]\",\"option-values\":\"text codemirror\",\"condition\":\"[[widget]modules[]prefix[$:/plugins/tiddlywiki/codemirror/edit-codemirror.js]]\",\"text\":\"text\"},\"$:/config/sq/streams/enable-breadcrumbs\":{\"title\":\"$:/config/sq/streams/enable-breadcrumbs\",\"description\":\"Enable breadcrumbs in nodes\",\"caption\":\"Show breadcrumbs\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"yes\"},\"$:/config/sq/streams/enable-edit-toolbar\":{\"title\":\"$:/config/sq/streams/enable-edit-toolbar\",\"description\":\"Enable toolbar in editor\",\"caption\":\"Show toolbar in editor\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"no\"},\"$:/config/sq/streams/exit-on-saving-empty-node\":{\"title\":\"$:/config/sq/streams/exit-on-saving-empty-node\",\"description\":\"Enable to exit edit mode on saving an empty node\",\"caption\":\"Exit editing on saving an empty node\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"no\"},\"$:/config/sq/streams/new-node-tiddler-template\":{\"title\":\"$:/config/sq/streams/new-node-tiddler-template\",\"description\":\"T iddler to use as a template for new nodes\",\"caption\":\"Tiddler to use as new node template\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input\"},\"$:/config/sq/streams/new-node-title\":{\"title\":\"$:/config/sq/streams/new-node-title\",\"description\":\"Wikitext that is wikified to generate the title for new nodes\",\"caption\":\"Template wikified for node title\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input\",\"text\":\"<<stream-root-title>>/<<now \\\"[UTC]YYYY0MM0DD0hh0mm0ssXXX\\\">>\"},\"$:/config/sq/streams/node-max-width\":{\"title\":\"$:/config/sq/streams/node-max-width\",\"description\":\"Maximum displayed width of a Stream node\",\"caption\":\"Maximum node width\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input\",\"text\":\"550\"},\"$:/config/sq/streams/node-split-regexp\":{\"title\":\"$:/config/sq/streams/node-split-regexp\",\"description\":\"Regular expression that is used to split longform text into multiple tiddlers\",\"caption\":\"Regular expression used to split text\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input\",\"text\":\"\\\\n\\\\n\"},\"$:/config/sq/streams/prompt-merge-with-previous\":{\"title\":\"$:/config/sq/streams/prompt-merge-with-previous\",\"description\":\"Enable to be prompted before merging a node with the previous node\",\"caption\":\"Prompt before merging with previous\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"yes\"},\"$:/config/sq/streams/prompt-split-to-multiple\":{\"title\":\"$:/config/sq/streams/prompt-split-to-multiple\",\"description\":\"Enable to be prompted before splitting a node to multiple nodes\",\"caption\":\"Prompt before creating multiple nodes\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"yes\"},\"$:/config/shortcuts/streams-cancel-edit\":{\"title\":\"$:/config/shortcuts/streams-cancel-edit\",\"created\":\"20200914162547334\",\"modified\":\"20200914162547341\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Escape\"},\"$:/config/shortcuts/streams-delete\":{\"title\":\"$:/config/shortcuts/streams-delete\",\"created\":\"20200914163552494\",\"modified\":\"20200914163552502\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"ctrl-Delete\"},\"$:/config/shortcuts/streams-demote\":{\"title\":\"$:/config/shortcuts/streams-demote\",\"created\":\"20200914163104446\",\"modified\":\"20200914163104456\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"alt-Down\"},\"$:/config/shortcuts/streams-focus-higher\":{\"title\":\"$:/config/shortcuts/streams-focus-higher\",\"created\":\"20200914163342651\",\"modified\":\"20200914163342659\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"ctrl-Up\"},\"$:/config/shortcuts/streams-focus-lower\":{\"title\":\"$:/config/shortcuts/streams-focus-lower\",\"created\":\"20200914163347755\",\"modified\":\"20200914163347764\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"ctrl-Down\"},\"$:/config/shortcuts/streams-indent\":{\"title\":\"$:/config/shortcuts/streams-indent\",\"created\":\"20200914162901728\",\"modified\":\"20200914162901735\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Tab\"},\"$:/config/shortcuts/streams-merge-with-previous\":{\"title\":\"$:/config/shortcuts/streams-merge-with-previous\",\"created\":\"20200914164323982\",\"modified\":\"20200914164323991\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Backspace\"},\"$:/config/shortcuts/streams-promote\":{\"title\":\"$:/config/shortcuts/streams-promote\",\"created\":\"20200914163110776\",\"modified\":\"20200914163110785\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"alt-Up\"},\"$:/config/shortcuts/streams-rename\":{\"title\":\"$:/config/shortcuts/streams-rename\",\"created\":\"20200914163600676\",\"modified\":\"20200914163600683\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"alt-R\"},\"$:/config/shortcuts/streams-save-and-continue\":{\"title\":\"$:/config/shortcuts/streams-save-and-continue\",\"created\":\"20200914164329638\",\"modified\":\"20200914164329647\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Enter\"},\"$:/config/shortcuts/streams-save-and-exit\":{\"title\":\"$:/config/shortcuts/streams-save-and-exit\",\"created\":\"20200914163850209\",\"modified\":\"20200914163850217\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"ctrl-Enter\"},\"$:/config/shortcuts/streams-save-multiple\":{\"title\":\"$:/config/shortcuts/streams-save-multiple\",\"created\":\"20200914163843685\",\"modified\":\"20200914163843694\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"alt-Enter\"},\"$:/config/shortcuts/streams-unindent\":{\"title\":\"$:/config/shortcuts/streams-unindent\",\"created\":\"20200914162907631\",\"modified\":\"20200914162907639\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"shift-Tab\"},\"$:/config/sq/streams/split-at-caret\":{\"title\":\"$:/config/sq/streams/split-at-caret\",\"description\":\"Enable to split text at caret position on saving a node\",\"caption\":\"Split text at caret position\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"yes\"},\"$:/config/sq/streams/stream-enable-filter\":{\"title\":\"$:/config/sq/streams/stream-enable-filter\",\"description\":\"Filter that determines which tiddlers get the add node button at the bottom\",\"caption\":\"Filter to enable Streams\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input\",\"text\":\"[!is[shadow]]\"},\"$:/config/sq/streams/swipe-behaviour\":{\"title\":\"$:/config/sq/streams/swipe-behaviour\",\"description\":\"Choose whether swipe should show a contextmenu, or be used to indent/unindent nodes.\",\"caption\":\"Swipe behaviour\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/select\",\"option-names\":\"[[Show ContextMenu]] [[Indent / Un-indent]]\",\"option-values\":\"contextmenu indent\",\"condition\":\"[[$:/config/sq/streams/swipe-behaviour-animated]!is[missing]]\",\"text\":\"contextmenu\"},\"$:/config/sq/streams/swipe-contextmenu-position\":{\"title\":\"$:/config/sq/streams/swipe-contextmenu-position\",\"description\":\"Position of context menu shown on swiping.\",\"caption\":\"Position of context menu shown on swiping.\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/select\",\"settings-group\":\"swipe\",\"option-names\":\"[[Right]] [[Left]]\",\"option-values\":\"right left\",\"condition\":\"[[$:/config/sq/streams/swipe-enabled]get[text]match[yes]]\",\"text\":\"right\"},\"$:/config/sq/streams/swipe-enabled\":{\"title\":\"$:/config/sq/streams/swipe-enabled\",\"description\":\"Enable swipe to show context menu on touch devices.\",\"caption\":\"Enable swipe to show context menu on nodes.\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"settings-group\":\"swipe\",\"settings-group-header\":\"0\",\"text\":\"yes\"},\"$:/config/sq/streams/swipe-threshold\":{\"title\":\"$:/config/sq/streams/swipe-threshold\",\"description\":\"Distance in pixels that triggers a swipe, defaults to 100\",\"caption\":\"Swipe threshold in pixels\",\"settings-template\":\"$:/plugins/sq/streams/ui/templates/settings/input\",\"settings-group\":\"swipe\",\"condition\":\"[[$:/config/sq/streams/swipe-enabled]get[text]match[yes]]\",\"text\":\"70\"},\"$:/plugins/sq/streams/contextmenu/contextmenu-styles\":{\"title\":\"$:/plugins/sq/streams/contextmenu/contextmenu-styles\",\"text\":\".sq-contextmenu {\\n\\tpadding: 12px 0;\\n\\tbox-shadow: rgba(0, 0, 0, 0.40) 0px 2px 20px;\\n\\tfont-family: \\\"Segoe UI\\\", Roboto, Helvetica, Arial;\\n\\tfont-size: 13px;\\n\\tmargin-top: 4px;\\n\\tmin-width: 100px;\\n\\tmax-width: 240px;\\n\\tleft: -16px;\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\tborder-radius: 6px;\\n\\tborder: 1px solid #dce0e2;\\n\\ttransition: opacity 200ms ease 0s, transform 200ms ease 0s;\\n\\tmargin-top: 30px;\\n}\\n\\n.sq-contextmenu-alignright {\\n\\ttransform: translate3d(-100%,0,0);\\n}\\n\\n.sq-contextmenu .tc-menu-list-item {\\n\\tpadding: 0 18px;\\n\\tline-height: 24px;\\n\\twhite-space: nowrap;\\n\\tcolor: #4b5155;\\n\\tcursor: default !important;\\n\\ttext-indent: 0;\\n}\\n\\n.sq-contextmenu-itemwrapper {\\n\\tdisplay: flex;\\n\\tjustify-content: space-between;\\n\\talign-items: center;\\n\\tposition: relative;\\t\\n}\\n\\n.sq-contextmenu-itemtext {\\n\\tdisplay: flex;\\n\\twhite-space: nowrap;\\n\\ttext-overflow: ellipsis;\\n\\tflex-grow: 1;\\n\\toverflow: hidden;\\t\\n}\\n\\n.sq-contextmenu-itemicon {\\n\\tcolor: #b7bcbf;\\n\\tmargin-left: 16px;\\n\\tmin-width: 22px;\\t\\n}\\n\\n.sq-contextmenu-divider {\\n\\tborder-top-width: 1px;\\n\\tborder-top-color: #eceef0;\\n\\tborder-top-style: solid;\\n\\tmargin: 6px 0;\\n}\",\"created\":\"20200602120854810\",\"modified\":\"20200603055942655\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/sq/streams/contextmenu/contextmenu-template\":{\"title\":\"$:/plugins/sq/streams/contextmenu/contextmenu-template\",\"created\":\"20200602163018613\",\"modified\":\"20200603055942658\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define menu-item(title,subtitle:\\\"\\\",actions:\\\"\\\")\\n\\t\\t<$button class=\\\"tc-menu-list-item tc-btn-invisible\\\" actions=<<__actions__>> >\\n\\t\\t\\t<span class=\\\"sq-contextmenu-itemwrapper\\\">\\n\\t\\t\\t\\t<span class=\\\"sq-contextmenu-itemtext\\\">$title$</span>\\n\\t\\t\\t\\t<span class=\\\"sq-contextmenu-itemicon\\\"><$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/plain\\\" shortcuts=\\\"$subtitle$\\\" prefix=\\\"\\\" separator=\\\" \\\" suffix=\\\"\\\"/></span>\\n\\t\\t\\t</span>\\n\\t\\t</$button>\\n\\\\end\\n\\n\\\\define menu-divider() <div class=\\\"sq-contextmenu-divider\\\"/>\\n\\n<$reveal type=\\\"popup\\\" state=<<contextmenu-state>> position={{{[<contextmenu-state>get[position]]}}} tag=\\\"div\\\">\\n\\t<div class={{{tc-drop-down sq-contextmenu [<contextmenu-state>get[position]match[right]then[sq-contextmenu-alignright]else[]] +[join[ ]]}}}>\\n\\t\\t<$macrocall $name=\\\"menu-item\\\" title=\\\"Open\\\" actions=\\\"\\\"\\\"<$action-navigate/>\\\"\\\"\\\"/>\\n\\t\\t<$macrocall $name=\\\"menu-item\\\" title=\\\"Rename\\\" subtitle=\\\"((streams-rename))\\\" actions=<<rename-node-actions>>/>\\n\\t\\t<$macrocall $name=\\\"menu-item\\\" title=\\\"Delete\\\" subtitle=\\\"((streams-delete))\\\" actions=<<delete-node-actions>>/>\\n\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/streams/contextmenu]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t<$macrocall $name=\\\"menu-item\\\"\\n\\t\\t\\t\\ttitle={{{[<listItem>get[sq-contextmenu-name]]}}} \\n\\t\\t\\t\\tsubtitle={{{[<listItem>get[key]] [<listItem>get[sq-contextmenu-subtitle]] +[first[]]}}} \\n\\t\\t\\t\\tactions={{{[<listItem>get[text]]}}} />\\n\\t\\t</$list>\\n\\t\\t<<menu-divider>>\\n\\t\\t<$macrocall $name=\\\"menu-item\\\" title=\\\"Keyboard Shortcuts (?)\\\" actions=\\\"\\\"\\\"<$action-navigate $to=\\\"$:/plugins/sq/streams/info/keyboard-shortcuts\\\"/>\\\"\\\"\\\"/>\\n\\t</div>\\n</$reveal>\"},\"$:/plugins/sq/streams/codemirror-tweak\":{\"title\":\"$:/plugins/sq/streams/codemirror-tweak\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/codemirror-tweak\\ntype: application/javascript\\nmodule-type: startup\\n\\n\\\\*/\\n\\nexports.platforms = [\\\"browser\\\"];\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\n\\tif($tw.wiki.getTiddler(\\\"$:/plugins/tiddlywiki/codemirror\\\") && ($tw.wiki.getTiddlerText(\\\"$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror\\\",\\\"no\\\") === \\\"no\\\")) {\\n\\t\\tvar CMEngine = require(\\\"$:/plugins/tiddlywiki/codemirror/engine.js\\\").CodeMirrorEngine;\\n\\t\\tCMEngine.prototype.focus = function() {\\n\\t\\t\\tthis.cm.focus();\\n\\t\\t\\tvar caretPosition = this.widget.getAttribute(\\\"caretPosition\\\",\\\"end\\\");\\t\\n\\t\\t\\tvar index = (caretPosition === \\\"end\\\") ? this.cm.getValue().length : parseInt(caretPosition);\\n\\t\\t\\tthis.cm.doc.setSelection(this.cm.doc.posFromIndex(index));\\n\\t\\t}\\n\\t}\\n\\n}\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/plugins/sq/streams/draggable-tweaks.js\":{\"title\":\"$:/plugins/sq/streams/draggable-tweaks.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/draggable-tweaks.js\\ntype: application/javascript\\nmodule-type: widget-subclass\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.baseClass = \\\"draggable\\\";\\n\\nexports.constructor = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\nexports.prototype = {};\\n\\nexports.prototype.render = function(parent,nextSibling) {\\n\\t// Call the base class handleChangeEvent function\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).render.call(this,parent,nextSibling);\\n\\tvar self = this;\\n\\t$tw.utils.each(this.attributes,function(v,a) {\\n\\t\\tif(a.substring(0,10) === \\\"data-node-\\\") {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tself.domNodes[0].setAttributeNS(null,a,v);\\n\\t\\t\\t} catch(e){\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget-subclass\"},\"$:/plugins/sq/streams/droppable-tweaks.js\":{\"title\":\"$:/plugins/sq/streams/droppable-tweaks.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/droppable-tweaks.js\\ntype: application/javascript\\nmodule-type: widget-subclass\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.baseClass = \\\"droppable\\\";\\n\\nexports.constructor = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\nexports.prototype = {};\\n\\nexports.prototype.render = function(parent,nextSibling) {\\n\\t// Call the base class handleChangeEvent function\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).render.call(this,parent,nextSibling);\\n\\tvar self = this;\\n\\t$tw.utils.each(this.attributes,function(v,a) {\\n\\t\\tif(a.substring(0,10) === \\\"data-node-\\\") {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tself.domNode.setAttributeNS(null,a,v);\\n\\t\\t\\t} catch(e){\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget-subclass\"},\"$:/plugins/sq/streams/framed-engine-tweak\":{\"title\":\"$:/plugins/sq/streams/framed-engine-tweak\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/framed-engine-tweak\\ntype: application/javascript\\nmodule-type: startup\\n\\n\\\\*/\\n\\nvar FramedEngine = require(\\\"$:/core/modules/editor/engines/framed.js\\\").FramedEngine;\\n\\nFramedEngine.prototype.focus = function() {\\n\\tif(this.domNode.focus && this.domNode.select) {\\n\\t\\tthis.domNode.focus();\\n\\t\\tif(this.widget.getAttribute(\\\"select\\\")===\\\"false\\\") {\\n\\t\\t\\tvar caretPosition = this.widget.getAttribute(\\\"caretPosition\\\",\\\"end\\\");\\n\\t\\t\\tcaretPosition = (caretPosition === \\\"end\\\") ? this.domNode.value.length : parseInt(caretPosition);\\n\\t\\t\\tthis.domNode.setSelectionRange(caretPosition,caretPosition);\\n\\t\\t} else {\\n\\t\\t\\tthis.domNode.select();\\n\\t\\t}\\n\\t}\\n\\t/*\\n\\tif(!this.setupDblClick) {\\n\\t\\tthis.domNode.addEventListener(\\\"dblclick\\\",this.propagateDblClick.bind(this));\\n\\t\\tthis.setupDblClick = true;\\n\\t}\\n\\t*/\\n}\\n\\n/*\\nFramedEngine.prototype.propagateDblClick = function(event) {\\n\\tif(this.widget.wiki.getTiddlerText(\\\"$:/config/sq/streams/dblclick-editor-to-exit\\\") === \\\"yes\\\") {\\n\\t\\tvar newEvent = this.widget.document.createEventObject ? this.widget.document.createEventObject() : this.widget.document.createEvent(\\\"Events\\\");\\n\\t\\tif(newEvent.initEvent) {\\n\\t\\t\\tnewEvent.initEvent(\\\"dblclick\\\", true, true);\\n\\t\\t}\\n\\t\\tnewEvent.keyCode = event.keyCode;\\n\\t\\tnewEvent.which = event.which;\\n\\t\\tnewEvent.metaKey = event.metaKey;\\n\\t\\tnewEvent.ctrlKey = event.ctrlKey;\\n\\t\\tnewEvent.altKey = event.altKey;\\n\\t\\tnewEvent.shiftKey = event.shiftKey;\\n\\t\\treturn !this.widget.parentDomNode.dispatchEvent(newEvent);\\n\\t}\\n\\treturn false;\\n}\\n*/\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/plugins/sq/streams/simple-engine-tweak\":{\"title\":\"$:/plugins/sq/streams/simple-engine-tweak\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/simple-engine-tweak\\ntype: application/javascript\\nmodule-type: startup\\n\\n\\\\*/\\n\\nvar SimpleEngine = require(\\\"$:/core/modules/editor/engines/simple.js\\\").SimpleEngine;\\n\\nSimpleEngine.prototype.focus = function() {\\n\\tif(this.domNode.focus && this.domNode.select) {\\n\\t\\tthis.domNode.focus();\\n\\t\\tif(this.widget.getAttribute(\\\"select\\\")===\\\"false\\\") {\\n\\t\\t\\tvar caretPosition = this.widget.getAttribute(\\\"caretPosition\\\",\\\"end\\\");\\n\\t\\t\\tcaretPosition = (caretPosition === \\\"end\\\") ? this.domNode.value.length : parseInt(caretPosition);\\n\\t\\t\\tthis.domNode.setSelectionRange(caretPosition,caretPosition);\\n\\t\\t} else {\\n\\t\\t\\tthis.domNode.select();\\n\\t\\t}\\n\\t}\\n}\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/plugins/sq/streams/delete-hook/actions\":{\"title\":\"$:/plugins/sq/streams/delete-hook/actions\",\"created\":\"20200527200401408\",\"modified\":\"20200527234136578\",\"tags\":\"$:/tags/deleteTiddlerAction\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define delete-children()\\n\\t<$list filter=\\\"[enlist{!!stream-list}]\\\">\\n\\t\\t<<delete-children>>\\n\\t</$list>\\n\\t<<$action-deletetiddler $filter=\\\"[enlist{!!stream-list}]\\\"/>\\n\\\\end\\n\\n<$list filter=\\\"[<currentTiddler>has[stream-type]]\\\">\\n\\t<$list filter=\\\"[<currentTiddler>has[parent]]\\\">\\n\\t\\t<$action-listops $tiddler={{!!parent}} $field=\\\"stream-list\\\" $subfilter=\\\"-[<currentTiddler>]\\\" />\\n\\t</$list>\\n\\t<$list variable=\\\"count\\\" filter=\\\"[enlist{!!stream-list}count[]!match[0]]\\\">\\n\\t\\t<$action-confirm $message=\\\"Do you wish to delete all tiddlers descended from this tiddler?\\\">\\n\\t\\t\\t<<delete-children>>\\n\\t\\t</$action-confirm>\\n\\t</$list>\\n</$list>\"},\"$:/plugins/sq/streams/delete-hook/hook\":{\"title\":\"$:/plugins/sq/streams/delete-hook/hook\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/delete-hook/hook\\ntype: application/javascript\\nmodule-type: startup\\n\\n\\\\*/\\n\\n$tw.hooks.addHook(\\\"th-deleting-tiddler\\\",function(tiddler) {\\n\\tif(tiddler.fields[\\\"draft.of\\\"]) {\\n\\t\\treturn;\\n\\t}\\n\\t\\n\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/deleteTiddlerAction\\\",null,{currentTiddler : tiddler.fields.title});\\n});\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/plugins/sq/streams/filters/get-stream-nodes.js\":{\"title\":\"$:/plugins/sq/streams/filters/get-stream-nodes.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/filters/get-stream-nodes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports[\\\"get-stream-nodes\\\"] = function(source,operator,options) {\\n\\tvar results = [],\\n suffixes = (operator.suffixes || []),\\n\\t\\tmatchTitles = (suffixes[0] || []).indexOf(\\\"matchtitles\\\") !== -1;\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\t\\n\\t\\tvar processNode = function(node,nodeTitle) {\\n\\t\\t\\tif(node && node.fields[\\\"stream-list\\\"] && node.fields[\\\"stream-type\\\"]) {\\n\\t\\t\\t\\tresults.push(nodeTitle);\\n\\t\\t\\t\\tvar streamList = $tw.utils.parseStringArray(node.fields[\\\"stream-list\\\"]);\\n\\t\\t\\t\\t$tw.utils.each(streamList,function(streamListNodeTitle) {\\n\\t\\t\\t\\t\\tvar streamListNode = options.wiki.getTiddler(streamListNodeTitle);\\n\\t\\t\\t\\t\\tif(streamListNode) {\\n\\t\\t\\t\\t\\t\\tprocessNode(streamListNode,streamListNodeTitle);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(nodeTitle);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(tiddler) {\\n\\t\\t\\tprocessNode(tiddler,title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/plugins/sq/streams/filters/get-stream-root.js\":{\"title\":\"$:/plugins/sq/streams/filters/get-stream-root.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/filters/get-stream-root.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n\\n//\\t[[xyz]get-stream-root[]]\\n//\\t[[xyz]get-stream-root:matchtitles[]]\\n//\\t[[xyz]get-stream-root:includeall,matchtitles[]]\\n\\n*/\\nexports[\\\"get-stream-root\\\"] = function(source,operator,options) {\\n\\tvar results = [],\\n suffixes = (operator.suffixes || []),\\n\\t\\tincludeAll = (suffixes[0] || []).indexOf(\\\"includeall\\\") !== -1,\\n\\t\\tmatchTitles = (suffixes[0] || []).indexOf(\\\"matchtitles\\\") !== -1;\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar ancestors = [];\\n\\t\\tif(tiddler && tiddler.fields[\\\"parent\\\"] && tiddler.fields[\\\"stream-type\\\"]) {\\n\\t\\t\\tvar parentTiddler = tiddler;\\n\\t\\t\\twhile(parentTiddler) {\\n\\t\\t\\t\\t\\tif(tiddler.fields.title.startsWith(parentTiddler.fields[\\\"title\\\"].split(\\\"/\\\")[0]) || !matchTitles ) {\\n\\t\\t\\t\\t\\t\\tancestors.unshift(parentTiddler.fields.title);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(parentTiddler.fields.parent) {\\t\\n\\t\\t\\t\\t\\tparentTiddler = options.wiki.getTiddler(parentTiddler.fields.parent);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tancestors.unshift(title);\\n\\t\\t}\\n\\t\\tif(!includeAll) {\\n\\t\\t\\tancestors.splice(1);\\n\\t\\t}\\n\\t\\t$tw.utils.pushTop(results,ancestors);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/plugins/sq/streams/info/keyboard-shortcuts\":{\"title\":\"$:/plugins/sq/streams/info/keyboard-shortcuts\",\"text\":\"!! Streams keyboard shortcuts\\n\\n<table>\\n<tbody>\\n<$list filter=\\\"[all[shadows+tiddlers]prefix[$:/config/ShortcutInfo/streams-]]\\\">\\n<tr>\\n<td>{{!!text}}</td>\\n<td><$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/plain\\\" shortcuts={{{[<currentTiddler>removeprefix[$:/config/ShortcutInfo/]addprefix[((]addsuffix[))]]}}} prefix=\\\"\\\" separator=\\\" \\\" suffix=\\\"\\\"/></td>\\n</tr>\\n</$list>\\n</tbody>\\n</table>\\n\\nShortcuts can be customized in the [[Control Panel|$:/core/ui/ControlPanel/KeyboardShortcuts]]\\n\\n''Drag and drop''\\n\\n* hold <kbd>control</kbd> key to drag and drop and create a copy of the node in another stream tiddler\\n* hold <kbd>shift</kbd> key to drag and drop and create a node that transcludes the contents of this node, in another stream tiddler\\n\\n''for the moment it is a design decision to disallow copying/transcluding the node inside the same root (story) tiddler''\\n\\n//Note that it is a known limitation that copying a node or transcluding it does not apply to the children of the node. This is on the [[list of things to implement|Roadmap]].//\"},\"$:/plugins/sq/streams/keyboard-shortcuts/cancel-edit-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/cancel-edit-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-cancel-edit))\",\"text\":\"<<cancel-edit-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/delete-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/delete-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-delete))\",\"text\":\"<<delete-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/demote-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/demote-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-demote))\",\"text\":\"<<demote-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/focus-higher-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/focus-higher-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-focus-higher))\",\"text\":\"<<focus-higher-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/focus-lower-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/focus-lower-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-focus-lower))\",\"text\":\"<<focus-lower-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/indent-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/indent-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts $:/tags/streams/contextmenu\",\"key\":\"((streams-indent))\",\"sq-contextmenu-name\":\"Indent\",\"sq-contextmenu-subtitle\":\"\",\"text\":\"<<indent-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/merge-with-previous\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/merge-with-previous\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-merge-with-previous))\",\"prevent-default\":\"no\",\"text\":\"<<merge-with-previous-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/promote-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/promote-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-promote))\",\"text\":\"<<promote-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/rename-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/rename-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-rename))\",\"text\":\"<<rename-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/save-and-continue\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/save-and-continue\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-save-and-continue))\",\"text\":\"<<save-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/save-and-exit\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/save-and-exit\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-save-and-exit))\",\"text\":\"<<save-edit-node-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/save-multiple\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/save-multiple\",\"tags\":\"$:/tags/streams/keyboard-shortcuts\",\"key\":\"((streams-save-multiple))\",\"text\":\"<<save-multiple-actions>>\"},\"$:/plugins/sq/streams/keyboard-shortcuts/unindent-node\":{\"title\":\"$:/plugins/sq/streams/keyboard-shortcuts/unindent-node\",\"tags\":\"$:/tags/streams/keyboard-shortcuts $:/tags/streams/contextmenu\",\"key\":\"((streams-unindent))\",\"sq-contextmenu-name\":\"Un-indent\",\"sq-contextmenu-subtitle\":\"\",\"text\":\"<<unindent-node-actions>>\"},\"$:/plugins/sq/streams/icons/new-node-btn\":{\"title\":\"$:/plugins/sq/streams/icons/new-node-btn\",\"created\":\"20200528160920973\",\"modified\":\"20200528164140128\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<svg width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\">\\n<style>\\n .line{\\n stroke:#868c90;\\n }\\n</style>\\n <circle cx=\\\"10.5\\\" cy=\\\"10.5\\\" r=\\\"9\\\" class=\\\"circle\\\" fill=\\\"#fff\\\" ></circle>\\n <line x1=\\\"6\\\" y1=\\\"10.5\\\" x2=\\\"15\\\" y2=\\\"10.5\\\" class=\\\"line\\\"></line>\\n <line x1=\\\"10.5\\\" y1=\\\"6\\\" x2=\\\"10.5\\\" y2=\\\"15\\\" class=\\\"line\\\"></line>\\n</svg>\"},\"$:/plugins/sq/streams/refresh-hook.js\":{\"title\":\"$:/plugins/sq/streams/refresh-hook.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/refresh-hook.js\\ntype: application/javascript\\nmodule-type: startup\\n\\\\*/\\n\\n$tw.hooks.addHook(\\\"th-page-refreshed\\\",function handleEvent() {\\n\\t$tw.wiki.deleteTiddler(\\\"$:/state/sq/streams/caret-position\\\");\\n});\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/plugins/sq/streams/releasenotes\":{\"title\":\"$:/plugins/sq/streams/releasenotes\",\"text\":\"<h3 id=\\\"1224-2022-04-07\\\"><a href=\\\"https://github.com/saqimtiaz/streams/compare/v1.2.23...v1.2.24\\\">1.2.24</a> (2022-04-07)</h3>\\n<h3 id=\\\"bug-fixes\\\">Bug Fixes</h3>\\n<ul>\\n<li>hide breadcrumbs when tiddler is folded (<a href=\\\"https://github.com/saqimtiaz/streams/commit/814bc9e604a55ec91d9d7b2600905469a2cfa10b\\\">814bc9e</a>)</li>\\n</ul>\\n\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/config/flibbles/relink/fields/parent\":{\"title\":\"$:/config/flibbles/relink/fields/parent\",\"created\":\"20200530105147302\",\"modified\":\"20200530105155682\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"title\"},\"$:/config/flibbles/relink/fields/stream-list\":{\"title\":\"$:/config/flibbles/relink/fields/stream-list\",\"created\":\"20200530105147302\",\"modified\":\"20200530105155682\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"list\"},\"$:/plugins/sq/streams/styles\":{\"title\":\"$:/plugins/sq/streams/styles\",\"created\":\"20170922203553093\",\"modified\":\"20170927050808722\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"text\":\".stream-root {\\n\\tmargin-left: -2.5em;\\n}\\n\\n@media only screen and (max-width: 600px) {\\n\\t.stream-root {\\n\\t\\tmargin-left: -1em;\\n\\t}\\n}\\n\\n.stream-row {\\n display: flex;\\n flex: 0 0 auto;\\n\\tuser-select: none;\\n}\\n\\n.stream-row-children {\\n\\tdisplay:flex;\\n\\tflex: 0 0 auto;\\n\\tflex-direction: column;\\n\\t/*padding-left: 0.5em;*/\\n\\tborder-left: 1px solid <<color message-border>>;\\n\\tmargin-left: 30px;\\n}\\n\\n.stream-row-nochildren + .stream-row-children {\\n\\tborder-left: none;\\n}\\n\\n\\n.stream-node-disabled,\\n.stream-node-disabled + div.stream-row-children{\\n\\tbackground-color: <<color tiddler-editor-border>>;\\n}\\n\\n.stream-node-disabled + div.stream-row-children + div.stream-node-disabled,\\n.stream-node-disabled + div.stream-row-children + div.stream-node-disabled + div.stream-row-children,\\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children,\\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children > div.stream-node-disabled {\\n\\tbackground-color: transparent;\\n}\\n\\n/* hide last droppable in a list when the last row is disabled */\\n.stream-node-disabled + div.stream-row-children + div.stream-droppable.tc-droppable.stream-droppable-terminal{\\n\\tdisplay: none;\\n\\t/*visibility: hidden;*/\\n}\\n\\n.stream-node-disabled + div.stream-row-children + .stream-node-disabled + div.stream-row-children + div.stream-droppable.tc-droppable.stream-droppable-terminal{\\n\\tdisplay: block;\\n}\\n\\n\\n/*\\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children {\\n\\tvisibility: hidden;\\n}\\n\\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children + div + div {\\n\\tvisibility: visible;\\n}\\n*/\\n\\n\\n.stream-droppable.tc-droppable.tc-dragover > .tc-droppable-placeholder,\\n.stream-droppable.tc-droppable.tc-dragover > div > .tc-droppable-placeholder {\\n\\tmargin-left: 29px;\\n\\tline-height: 5px;\\n\\theight: 5px;\\n\\tborder: 2px solid <<color dropzone-background>>;\\n\\tbackground-color: <<color dropzone-background>>;\\n}\\n\\n/*\\n.stream-droppable-terminal.tc-drag-over .stream-droppable-spacer {\\n\\theight: 0;\\n}\\n*/\\n\\n.stream-droppable-spacer {\\n\\theight: 0.3em;\\n}\\n\\n<$vars currentTiddler={{{[prefix[$:/state/sq-context-popup]]}}}>\\n[data-node-title=\\\"{{!!current}}\\\"],\\n[data-node-title=\\\"{{!!current}}\\\"] + div{\\n\\tbackground: <<color notification-background>>;\\n\\tcolor: <<color message-foreground>>;\\n}\\n</$vars>\\n\\n.stream-node-control {\\n\\tdisplay: flex;\\n flex: 0 0 45px;\\n padding-top: 4px;\\n padding-left: 4px;\\n}\\n\\n.stream-node-control .stream-node-collapser,\\n.stream-node-control .stream-node-handle {\\n display: flex;\\n height: 13px;\\n width: 13px;\\n margin-top: 4px;\\n border-radius: 50%;\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.stream-node-control.stream-node-control-addnew .stream-node-handle {\\n\\twidth: 20px;\\n\\theight: 20px;\\n\\tmargin-top: 0;\\n}\\n\\n.stream-node-control.stream-node-control-addnew .stream-node-collapser {\\n\\twidth: 16px;\\n}\\n\\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible svg {\\n\\topacity: 0.8;\\n}\\n\\n\\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible svg circle {\\n\\tfill: <<color tiddler-controls-foreground>>;\\n\\topacity: 0.6;\\n}\\n\\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible svg line.line {\\n\\tstroke: <<color foreground>>;\\n\\topacity: 1;\\n}\\n\\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible:hover svg circle {\\n\\tfill: <<color tiddler-controls-foreground-hover>>;\\n}\\n\\n.stream-node-control .stream-node-collapser {\\n\\theight: 13px;\\n\\twidth: 20px;\\n\\topacity:0;\\n}\\n\\n.stream-row-nochildren .stream-node-collapser {\\n\\tvisibility: hidden;\\n}\\n\\n.stream-row:hover .stream-node-collapser,\\n.stream-row-children-collapsed.stream-row:hover .stream-node-collapser {\\n\\topacity: 0.4;\\n}\\n\\n.stream-row:hover .stream-node-collapser:hover,\\n.stream-row-children-collapsed.stream-row:hover .stream-node-collapser:hover {\\n\\topacity: 0.9;\\n}\\n\\n.stream-row-children-collapsed .stream-node-control .stream-node-collapser {\\n\\topacity: 0.4;\\n}\\n\\n.stream-node-collapser.tc-btn-invisible,\\n.stream-node-collapser.tc-btn-invisible:focus {\\n\\toutline: none;\\n}\\n\\n.stream-node-collapser svg {\\n\\ttransform: rotateZ(90deg);\\n\\ttransition: transform 200ms ease-in-out 0s;\\n}\\n\\n.stream-row-children-collapsed .stream-node-collapser svg {\\n\\ttransform: rotateZ(0deg);\\n}\\n\\n/*\\n.stream-node-control .stream-node-handle-wrapper .stream-node-handle {\\n\\twidth: 13px;\\n\\theight: 13px;\\n\\tdisplay: flex;\\n\\talign-items : center;\\n\\tjustify-content: center;\\n}\\n*/\\n\\n.stream-node-control .stream-node-handle .stream-node-handle-inner {\\n border-radius: 50%;\\n width: 6px;\\n height: 6px;\\n background-color: <<color foreground>>;\\n\\topacity: 0.3;\\n}\\n\\n.stream-node-control .sq-contextmenu-container {\\n\\tdisplay: flex;\\n}\\n\\n/*\\n.stream-row:hover .stream-node-control .stream-node-handle-wrapper .stream-node-handle-inner {\\n\\topacity: 0.7;\\n}\\n*/\\n\\n.stream-row:hover .stream-node-control .stream-node-handle:hover .stream-node-handle-inner {\\n\\topacity: 1;\\n} \\n\\n<$vars currentTiddler={{{[prefix[$:/state/sq-context-popup]]}}}>\\n[data-node-title=\\\"{{!!current}}\\\"] .stream-node-handle .stream-node-handle-inner {\\n border: 5px solid #5778d8;\\n opacity: 1;\\n}\\n</$vars>\\n\\n\\n.stream-node-block {\\n overflow-wrap: break-word;\\n\\tmax-width: {{$:/config/sq/streams/node-max-width}}px;\\n min-height: calc(1.5em + 8px);\\n box-sizing: border-box;\\n margin-top: -1px;\\n min-width: 100px;\\n width: 100%;\\n line-height: 1.5em;\\n cursor: text;\\n padding-top: 4px;\\n padding-bottom: 4px;\\n\\tuser-select: text;\\n\\t/*white-space: pre-wrap;*/\\n}\\n\\n.stream-node-block textarea {\\n\\twidth: 100%;\\n\\toutline-color: <<color tiddler-editor-border>>;\\n\\tborder: 1px solid <<color tiddler-editor-border>>;\\n\\n\\tresize: none;\\n}\\n\\n.stream-node-block textarea.streams-editor {\\n\\tline-height:1.5em;\\n\\tmargin-bottom: 0.6em;\\n}\\n\\n.stream-node-block > h1:first-child,\\n.stream-node-block > h2:first-child,\\n.stream-node-block > h3:first-child,\\n.stream-node-block > h4:first-child,\\n.stream-node-block > h5:first-child,\\n.stream-node-block > h6:first-child,\\n.stream-node-block p:first-child {\\n\\tmargin-top:0;\\n}\\n\\n.stream-node-block > h1:last-child,\\n.stream-node-block > h2:last-child,\\n.stream-node-block > h3:last-child,\\n.stream-node-block > h4:last-child,\\n.stream-node-block > h5:last-child,\\n.stream-node-block > h6:last-child,\\n.stream-node-block p:last-child {\\n\\tmargin-bottom:0;\\n}\\n\\nspan.sq-breadcrumbs-fragment {\\n white-space: nowrap;\\n overflow: hidden;\\n display: inline-block;\\n text-overflow: ellipsis;\\n max-width: calc({{$:/config/sq/streams/node-max-width}}px - 50px);\\n}\\n\\nspan.sq-breadcrumbs-fragment a.tc-tiddlylink {\\n\\tcolor: <<color foreground>>;\\n}\\n\\n/*** framed engine styles ***/\\n\\n.tc-tiddler-frame .stream-node-block input.tc-edit-texteditor,\\n.tc-tiddler-frame .stream-node-block textarea.tc-edit-texteditor,\\n.tc-tiddler-frame .stream-node-block iframe.tc-edit-texteditor {\\n\\tbackground: <<color background>> !important;\\n\\tmargin-top:0;\\n\\tmargin-bottom: -1.6em;\\n}\\n\\n<$reveal state=\\\"$:/config/sq/streams/enable-edit-toolbar\\\" type=\\\"nomatch\\\" text=\\\"yes\\\">\\n.stream-node-block .tc-editor-toolbar {\\n\\tdisplay: none;\\n}\\n</$reveal>\\n\\n<$reveal state=\\\"$:/state/sq/streams/global-drag-state\\\" type=\\\"match\\\" text=\\\"yes\\\">\\n\\n/** active drag css **/\\n\\n</$reveal>\\n\\n<$reveal state=\\\"$:/state/sq/streams/global-drag-state\\\" type=\\\"nomatch\\\" text=\\\"yes\\\">\\n\\n/**no active drag css **/\\n\\n</$reveal>\"},\"$:/plugins/sq/streams/breadcrumbs-view-template\":{\"title\":\"$:/plugins/sq/streams/breadcrumbs-view-template\",\"created\":\"20200529205858594\",\"list-before\":\"$:/core/ui/ViewTemplate/body\",\"modified\":\"20200530055142652\",\"tags\":\"$:/tags/ViewTemplate\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\whitespace trim\\n\\\\define stream-show-breadcrumbs()\\n<$list filter=\\\"[<currentTiddler>has[stream-type]]\\\">\\n\\t<$list filter=\\\"[<currentTiddler>has[parent]]\\\">\\n\\t\\t<$set name=\\\"currentTiddler\\\" filter=\\\"[{!!parent}]\\\" select=\\\"0\\\">\\n\\t\\t\\t<<stream-show-breadcrumbs>>\\n\\t\\t</$set>\\n\\t</$list>\\t\\n\\t<$list filter=\\\"[<currentTiddler>!match<storyTiddler>]\\\">\\n\\t\\t<$wikify name=\\\"display-title\\\" text={{{ [<currentTiddler>!is[binary]get[text]!is[blank]] ~[{!!title}] }}}>\\n\\t\\t\\t<span class=\\\"sq-breadcrumbs-fragment\\\">\\n\\t\\t\\t<$link to=<<currentTiddler>>>\\n\\t\\t\\t\\t<$text text={{{ [<display-title>split[]first[50]join[]] }}}/>\\n\\t\\t\\t</$link>>\\n\\t\\t\\t</span>\\n\\t\\t</$wikify>\\n\\t</$list>\\n</$list>\\n\\\\end\\n<$list filter=\\\"\\\"\\\"[<folded-state>get[text]!is[blank]else[show]!match[hide]]\\\"\\\"\\\" variable=\\\"_NULL\\\">\\n<$list filter=\\\"[{$:/config/sq/streams/enable-breadcrumbs}match[yes]]\\\" variable=\\\"_NULL\\\">\\n<<stream-show-breadcrumbs>>\\n</$list>\\n</$list>\\n\\n\"},\"$:/plugins/sq/streams/editor-template\":{\"title\":\"$:/plugins/sq/streams/editor-template\",\"created\":\"20200601145424630\",\"modified\":\"20200602053704598\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define config-visibility-title()\\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\\n\\\\end\\n<$streams-edit tag=\\\"textarea\\\" autoHeight=\\\"yes\\\" minHeight=\\\"1em\\\" focus=\\\"yes\\\" select=\\\"false\\\" class=\\\"streams-editor tc-edit-texteditor tc-edit-texteditor-body\\\" caretPosition={{{[{$:/state/sq/streams/caret-position}!is[blank]else[end]]}}}><$set name=\\\"targetTiddler\\\"value=<<currentTiddler>>><$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\\\"><$reveal type=\\\"nomatch\\\" state=<<config-visibility-title>> text=\\\"hide\\\" class=\\\"tc-text-editor-toolbar-item-wrapper\\\"><$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/toolbar/button\\\"\\nmode=\\\"inline\\\"/></$reveal></$list></$set></$streams-edit>\"},\"$:/plugins/sq/streams/nodes-list-template\":{\"title\":\"$:/plugins/sq/streams/nodes-list-template\",\"created\":\"20171022203553093\",\"modified\":\"20171122050808722\",\"text\":\"\\\\import [[$:/plugins/sq/streams/action-macros]] [all[shadows+tiddlers]tag[$:/tags/streams/actionmacros]] [all[shadows+tiddlers]tag[$:/tags/streams/user-actionmacros]]\\n\\\\whitespace trim\\n\\n<$vars stream-root-title=<<currentTiddler>>\\n\\tcontextmenu-state=<<qualify \\\"$:/state/sq-context-popup\\\">>\\n\\trow-edit-state=<<qualify \\\"$:/state/sq/streams/current-edit-tiddler\\\">>\\n\\tdrag-title-state=<<qualify \\\"$:/state/sq/streams/current-drag-title\\\">>\\n\\tdrag-title-nextsibling-state=<<qualify \\\"$:/state/sq/streams/current-drag-nextsibling\\\">> \\n>\\n\\t<$eventcatcher\\n\\t\\tevents=\\\"click\\\"\\n\\t\\tselector=\\\".stream-node-ctrl-btn\\\"\\n\\t\\tactions-click=<<node-ctrl-btn-actions>>\\n\\t\\ttag=\\\"div\\\"\\n\\t>\\n\\t<$eventcatcher\\n\\t\\tevents=\\\"dblclick swiped-right swiped-left\\\"\\n\\t\\ttag=\\\"div\\\"\\n\\t\\tselector=\\\".stream-row\\\"\\n\\t\\tactions-dblclick=<<toggle-row-edit-state>>\\n\\t\\tactions-swiped-right=<<swiped-right-actions>>\\n\\t\\tactions-swiped-left=<<swiped-left-actions>>\\n\\t>\\n\\t<$eventcatcher\\n\\t\\ttag=\\\"div\\\"\\n\\t\\tevents=\\\"contextmenu\\\"\\n\\t\\tselector=\\\".sq-contextmenu-container\\\"\\n\\t\\tactions-contextmenu=<<oncontext-menu-actions>>\\n\\t>\\n\\t<$swiper\\n\\t\\ttag=\\\"div\\\"\\n\\t\\tenable={{$:/config/sq/streams/swipe-enabled}}\\n\\t\\tswipethreshold={{$:/config/sq/streams/swipe-threshold}}\\n\\t>\\n\\t<div class={{{ stream-root [{$:/state/sq/nodes/global-drag-state}match[yes]then[stream-dragactive]] [<currentTiddler>!has[stream-list]then[stream-newlist]] +[join[ ]] }}}>\\n\\t\\t{{||$:/plugins/sq/streams/templates/stream-root-template}}\\n\\t\\t<$list filter=\\\"[all[current]match<stream-root-title>]\\\" variable=\\\"_NULL\\\">\\n\\t\\t\\t<!-- if we are the root, add a button to add more nodes-->\\n\\t\\t\\t<div class=\\\"stream-row\\\">\\n\\t\\t\\t\\t<div class=\\\"stream-node-control stream-node-control-addnew\\\">\\n\\t\\t\\t\\t\\t<div class=\\\"stream-node-collapser\\\">\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t<div class=\\\"stream-node-handle\\\">\\n\\t\\t\\t\\t\\t\\t<$button tag=\\\"div\\\" class=\\\"tc-btn-invisible\\\" tooltip=\\\"add node\\\" actions=<<add-new-node-actions>> >\\n\\t\\t\\t\\t\\t\\t\\t{{$:/plugins/sq/streams/icons/new-node-btn}}\\n\\t\\t\\t\\t\\t\\t</$button>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/streams/root-buttons]]\\\" variable=\\\"btnTiddler\\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\\"stream-node-handle\\\">\\n\\t\\t\\t\\t\\t\\t\\t<$transclude tiddler=<<btnTiddler>>/>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</$list>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<div class=\\\"stream-node-block\\\">\\n\\t\\t\\t\\t\\t<!--consider moving last child dropzone in here, though thats for children too-->\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\\t\\t\\t\\t\\n\\t\\t\\t<$set name=\\\"currentTiddler\\\" filter={{{[<contextmenu-state>get[current]]}}}>\\n\\t\\t\\t\\t{{||$:/plugins/sq/streams/contextmenu/contextmenu-template}}\\n\\t\\t\\t</$set>\\n\\t\\t</$list>\\t\\n\\t</div>\\n\\t</$swiper>\\n\\t</$eventcatcher>\\n\\t</$eventcatcher>\\n\\t</$eventcatcher>\\n</$vars>\\n\"},\"$:/plugins/sq/streams/templates/stream-root-template\":{\"title\":\"$:/plugins/sq/streams/templates/stream-root-template\",\"text\":\"\\\\whitespace trim\\n<$vars dropTargetTiddler=<<currentTiddler>> >\\n\\t<$list filter=\\\"[list[!!stream-list]!is[missing]]\\\">\\n\\t\\t<$set name=\\\"enable-dnd\\\" filter=\\\"[<enable-dnd>match[no]] ~[<drag-title-state>get[text]match<currentTiddler>then[no]]\\\" select=\\\"0\\\">\\n\\t\\t\\t{{||$:/plugins/sq/streams/templates/stream-row-template}}\\n\\t\\t</$set>\\n\\t</$list>\\n\\t<$tiddler tiddler=\\\"\\\">\\n\\t\\t<!-- to drop after the last child of any list level-->\\n\\t\\t<$droppable\\n\\t\\t\\tactions=<<stream-drop-actions>>\\n\\t\\t\\ttag=\\\"div\\\"\\n\\t\\t\\tenable=<<enable-dnd>>\\n\\t\\t\\tclass=\\\"stream-droppable stream-droppable-terminal\\\"\\n\\t\\t\\tdisabledClass=\\\"stream-node-disabled\\\"\\n\\t\\t>\\n\\t\\t\\t<div class=\\\"tc-droppable-placeholder\\\">\\n\\t\\t\\t&nbsp;\\n\\t\\t\\t</div><!-- idea only want below div with height when its a child with no more children-->\\n\\t\\t\\t<$list filter=\\\"[<currentTiddler>!has[stream-list]]\\\" variable=\\\"_NULL\\\"><div class=\\\"stream-droppable-spacer\\\"/></$list>\\n\\t\\t</$droppable>\\n\\t</$tiddler>\\n</$vars>\"},\"$:/plugins/sq/streams/templates/stream-row-body\":{\"title\":\"$:/plugins/sq/streams/templates/stream-row-body\",\"text\":\"<$transclude mode=\\\"block\\\"/>\"},\"$:/plugins/sq/streams/templates/stream-row-template\":{\"title\":\"$:/plugins/sq/streams/templates/stream-row-template\",\"text\":\"\\\\whitespace trim\\n<$qualify\\n\\tname=\\\"row-children-visibility-state\\\"\\n\\ttitle={{{ [[$:/state/sq/streams/visibility/]addsuffix<currentTiddler>] }}}\\n>\\n<$droppable \\n\\tactions=<<stream-drop-actions>>\\n\\ttag=\\\"div\\\"\\n\\tclass={{{ stream-droppable [list[!!stream-list]is[tiddler]then[]else[stream-row-nochildren]] +[join[ ]]}}}\\n\\tenable={{{[<drag-title-nextsibling-state>get[text]match<currentTiddler>then[no]] ~[<enable-dnd>]}}}\\n\\tdisabledClass=\\\"stream-node-disabled\\\"\\n\\tdata-node-title=<<currentTiddler>>\\n>\\n\\t<div class=\\\"tc-droppable-placeholder\\\"/>\\n\\t<div class={{{ stream-row [<row-children-visibility-state>get[text]match[hide]then[stream-row-children-collapsed]] +[join[ ]]}}}\\n\\t\\tdata-node-title=<<currentTiddler>>\\n\\t\\tdata-node-tags={{!!tags}}\\n\\t>\\n\\t\\t<$draggable\\n\\t\\t\\ttag=\\\"div\\\"\\n\\t\\t\\ttiddler=<<currentTiddler>>\\n\\t\\t\\tstartactions=<<node-drag-start-actions>>\\n\\t\\t\\tendactions=<<node-drag-end-actions>>\\n\\t\\t\\tclass=\\\"stream-node-control sq-contextmenu-container\\\"\\n\\t\\t\\tdata-node-title=<<currentTiddler>>\\n\\t\\t>\\n\\t\\t\\t<button type=\\\"button\\\" class=\\\"tc-btn-invisible stream-node-ctrl-btn stream-node-collapser\\\" data-btn-role=\\\"stream-node-visibility\\\" data-rowchildren-visibility-state=<<row-children-visibility-state>>>\\n\\t\\t\\t\\t{{$:/plugins/sq/streams/icons/node-expand-arrow}}\\n\\t\\t\\t</button>\\n\\t\\t\\t<div class=\\\"stream-node-handle tc-btn-invisible stream-node-ctrl-btn\\\" data-btn-role=\\\"stream-node-decorator\\\" data-node-title=<<currentTiddler>>>\\n\\t\\t\\t\\t\\t<div class=\\\"stream-node-handle-inner\\\"/>\\n\\t\\t\\t</div>\\n\\t\\t</$draggable>\\n\\t\\t<div class=\\\"stream-node-block\\\">\\n\\t\\t\\t<$list filter=\\\"[<row-edit-state>get[text]!is[blank]else[]match<currentTiddler>]\\\" variable=\\\"NULL\\\" emptyMessage=\\\"\\\"\\\"{{||$:/plugins/sq/streams/templates/stream-row-body}}\\\"\\\"\\\">\\n\\t\\t\\t\\t<$keyboard-plus shortcutTag=\\\"$:/tags/streams/keyboard-shortcuts\\\">\\n\\t\\t\\t\\t\\t{{||$:/plugins/sq/streams/editor-template}}\\n\\t\\t\\t\\t</$keyboard-plus>\\t\\t\\t\\n\\t\\t\\t</$list>\\n\\t\\t</div>\\n\\t</div>\\n</$droppable>\\n<$reveal\\n\\ttag=\\\"div\\\"\\n\\ttype=\\\"nomatch\\\"\\n\\tstateTitle=<<row-children-visibility-state>>\\n\\ttext=\\\"hide\\\"\\n\\tclass=\\\"stream-row-children\\\"\\n>\\n\\t\\t{{||$:/plugins/sq/streams/templates/stream-root-template}}\\n</$reveal>\\n</$qualify>\"},\"$:/plugins/sq/streams/stream-view-template\":{\"title\":\"$:/plugins/sq/streams/stream-view-template\",\"created\":\"20170922203553093\",\"modified\":\"20170929050808722\",\"tags\":\"[[$:/tags/ViewTemplate]]\",\"list-after\":\"$:/core/ui/ViewTemplate/body\",\"text\":\"<$list filter=\\\"\\\"\\\"[<folded-state>get[text]!is[blank]else[show]!match[hide]]\\\"\\\"\\\" variable=\\\"_NULL\\\">\\n<$list filter=\\\"\\\"\\\"[all[current]subfilter{$:/config/sq/streams/stream-enable-filter}]\\\"\\\"\\\">\\n{{||$:/plugins/sq/streams/nodes-list-template}}\\n</$list>\\n</$list>\"},\"$:/plugins/sq/streams/sq-ui-styles\":{\"title\":\"$:/plugins/sq/streams/sq-ui-styles\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"text\":\"/** checkbox switches start **/\\n/** https://www.w3schools.com/howto/howto_css_switch.asp **/\\n/* The switch - the box around the slider */\\nlabel.squi-form-switch {\\n\\tposition: relative;\\n\\tdisplay: inline-block;\\n\\twidth: 36px;\\n\\theight: 12px;\\n}\\n\\n/* Hide default HTML checkbox */\\nlabel.squi-form-switch input {\\n\\topacity: 0;\\n\\twidth: 0;\\n\\theight: 0;\\n}\\n\\n/* The slider */\\nlabel.squi-form-switch span {\\n\\tposition: absolute;\\n\\tcursor: pointer;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tbackground-color: <<color tiddler-controls-foreground>>;\\n\\t-webkit-transition: .2s;\\n\\ttransition: .2s;\\n}\\n\\nlabel.squi-form-switch span:before {\\n\\tposition: absolute;\\n\\tcontent: \\\"\\\";\\n\\theight: 20px;\\n\\twidth: 20px;\\n\\tleft: -1px;\\n\\ttop: -4px;\\n\\tbottom: 4px;\\n\\tbackground-color: <<color background>>;\\n\\t-webkit-transition: .2s;\\n\\ttransition: .2s;\\n\\tbox-shadow: 0 1px 3px 0 rgba(0,0,0,0.7);\\n}\\n\\nlabel.squi-form-switch input:checked + span {\\n\\tbackground-color: rgba(26,115,232,0.5);\\n}\\n\\nlabel.squi-form-switch input:checked + span:before {\\n\\tbackground-color: rgb(26,115,232);\\n\\topacity: 1;\\n}\\n\\nlabel.squi-form-switch input:focus + span {\\n\\tbox-shadow: 0 0 1px #2196F3;\\n}\\n\\nlabel.squi-form-switch input:checked + span:before {\\n\\t-webkit-transform: translateX(17px);\\n\\t-ms-transform: translateX(17px);\\n\\ttransform: translateX(17px);\\n}\\n\\nlabel.squi-form-switch span {\\n\\tborder-radius: 12px;\\n}\\n\\nlabel.squi-form-switch span:before {\\n\\tborder-radius: 50%;\\n}\\n\\ndiv.squi-form-label {\\n\\t\\n}\\n\\n/*** checkbox switches end ***/\\n\\n/** form select elements **/\\n.squi-form-select {\\n\\tappearance: none;\\n\\tbackground: url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' fill='%235F6368'%3E%3Cpath d='M0 0h24L12 12z'/%3E%3C/svg%3E\\\") calc(100% - 8px) center no-repeat;\\n\\tbackground-color: rgb(241,243,244);\\n\\tbackground-size: 10px;\\n\\tborder: none;\\n\\tborder-radius: 4px;\\n\\tcolor: rgb(32,33,36);\\n\\tcursor: pointer;\\n\\tmax-width: 100%;\\n\\toutline: none;\\n\\tpadding: 6px 21px 6px 8px;\\n/*\\twidth: 200px;*/\\n}\\n\\ninput.squi-form-input {\\n\\tborder: 1px solid <<color tiddler-controls-foreground>>;\\n\\tborder-radius: 3px;\\n\\tbackground-color: rgb(241,243,244);\\n\\tpadding: 6px;\\n}\\n\\ninput.squi-form-input:focus {\\n\\toutline-color: #ccc;\\n}\\n\\n\\n.sq-list-group {\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\tpadding-left: 0;\\n\\tmargin-bottom: 0;\\n\\tbox-sizing: border-box;\\n}\\n\\n.sq-list-group-box-shadow {\\n\\tbox-shadow:1px 1px 5px rgba(0, 0, 0, 0.3);\\t\\n\\tborder-bottom-left-radius: .25rem;\\n\\tborder-bottom-right-radius: .25rem;\\n\\tborder-top-left-radius: .25rem;\\n\\tborder-top-right-radius: .25rem;\\t\\t\\n}\\n\\t\\n.sq-list-group-item\\t{\\n\\tposition: relative;\\n\\tdisplay: block;\\n\\tpadding: 0.75rem 1.25rem;\\n\\tbackground-color: <<color background>>;\\n\\tborder: 1px solid rgba(0,0,0,.125);\\n\\twidth: 100%;\\n\\tcolor: #495057;\\n\\ttext-align:\\tinherit;\\t\\n\\tdisplay: flex;\\n\\tflex-direction: row;\\n\\tjustify-content: space-between!important;\\n\\talign-items: center!important;\\n\\tword-spacing: 0.1em;\\n}\\n\\n\\n.sq-list-group-item+.sq-list-group-item {\\n\\tborder-top-width: 0;\\n}\\n\\n.sq-list-group-item:first-child {\\n\\tborder-top-left-radius: .25rem;\\n\\tborder-top-right-radius: .25rem;\\n}\\n\\n.sq-list-group-item:last-child {\\n\\tborder-bottom-left-radius: .25rem;\\n\\tborder-bottom-right-radius: .25rem;\\n}\\n\\n.sq-list-stream-settings {\\n\\tfont-size: 90%;\\n}\\n\\ninput.sq-search-input {\\n display: block;\\n width: 100%;\\n height: calc(1.5em + .75rem + 2px);\\n padding: .375rem .75rem;\\n font-size: 0.8rem;\\n font-weight: 400;\\n line-height: 1.5;\\n color: #495057;\\n background-color: <<color background>>;\\n background-clip: padding-box;\\n border: 1px solid #ced4da;\\n border-radius: .25rem;\\n transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;\\n margin-bottom: 0.75em;\\n}\\n\\ninput.sq-search-input:focus {\\ncolor: #495057;\\n background-color: <<color background>>;\\n border-color: #80bdff;\\n outline: 0;\\n box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);\\n}\\n\"},\"$:/plugins/sq/streams/ui/templates/settings/input-switch\":{\"title\":\"$:/plugins/sq/streams/ui/templates/settings/input-switch\",\"text\":\"<label class=\\\"squi-form-label\\\"><$link tooltip={{!!description}}>{{!!caption}}</$link></label><$checkbox field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" class=\\\"squi-form-switch\\\"/>\"},\"$:/plugins/sq/streams/ui/templates/settings/input\":{\"title\":\"$:/plugins/sq/streams/ui/templates/settings/input\",\"text\":\"<label class=\\\"squi-form-label\\\"><$link tooltip={{!!description}}>{{!!caption}}</$link></label>\\n<$edit-text tag=\\\"input\\\" class=\\\"squi-form-input\\\"/>\"},\"$:/plugins/sq/streams/ui/templates/settings/select\":{\"title\":\"$:/plugins/sq/streams/ui/templates/settings/select\",\"text\":\"<label class=\\\"squi-form-label\\\"><$link tooltip={{!!description}}>{{!!caption}}</$link></label>\\n<$vars cnt={{{[enlist{!!option-names}count[]]}}}>\\n<$select class=\\\"squi-form-select\\\">\\n<$list filter=\\\"[range<cnt>]\\\" variable=\\\"index\\\">\\n<option value={{{[enlist{!!option-values}nth<index>]}}}><$text text={{{[enlist{!!option-names}nth<index>]}}}/></option>\\n</$list>\\n</$select>\\n</$vars>\"},\"$:/plugins/sq/lib/swipeevents.js\":{\"title\":\"$:/plugins/sq/lib/swipeevents.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/lib/swipeevents.js\\ntype: application/javascript\\nmodule-type: library\\nBased on https://github.com/john-doherty/swiped-events\\nhttps://github.com/umanghome/swipe-listener\\nhttps://github.com/scriptex/touchsweep/blob/master/src/touchsweep.js\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.platforms = [\\\"browser\\\"];\\n\\nfunction SwipeEventsFactory(element,options) {\\n\\n\\tif(typeof window.CustomEvent !== 'function') {\\n\\t\\t\\n\\t\\twindow.CustomEvent = function (event, params) {\\n\\t\\t\\tparams = params || { bubbles: false, cancelable: false, detail: undefined };\\n\\t\\t\\tvar evt = document.createEvent('CustomEvent');\\n\\t\\t\\tevt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\\n\\t\\t\\treturn evt;\\n\\t\\t};\\n\\t\\twindow.CustomEvent.prototype = window.Event.prototype;\\n\\t}\\n\\t\\n\\tif(!element) {\\n\\t\\treturn;\\n\\t}\\n\\telement.addEventListener(\\\"touchstart\\\", handleTouchStart, false);\\n\\telement.addEventListener(\\\"touchmove\\\", handleTouchMove, false);\\n\\telement.addEventListener(\\\"touchend\\\", handleTouchEnd, false);\\n\\t\\n\\toptions = options || {};\\n\\t\\n\\tvar xDown = null,\\n\\t\\tyDown = null,\\n\\t\\txDiff = null,\\n\\t\\tyDiff = null,\\n\\t\\ttimeDown = null,\\n\\t\\tstartEl = null,\\n\\t\\tdefaults = {\\n\\t\\t\\t\\\"swipe-threshold\\\": 20,\\n\\t\\t\\t\\\"swipe-timeout\\\": 500\\n\\t\\t};\\n\\t\\t\\n\\t$tw.utils.extend(defaults,options);\\t\\n\\n\\t/**\\n\\t * Fires swiped event if swipe detected on touchend\\n\\t * @param {object} e - browser event object\\n\\t * @returns {void}\\n\\t */\\n\\tfunction handleTouchEnd(e) {\\n\\n\\t\\t// if the user released on a different target, cancel!\\n\\t\\tif (startEl !== e.target) return;\\n\\n\\t\\tvar swipeThreshold = parseInt(getNearestAttribute(startEl, 'data-swipe-threshold', defaults[\\\"swipe-threshold\\\"]), 10); // default 20px\\n\\t\\tvar swipeTimeout = parseInt(getNearestAttribute(startEl, 'data-swipe-timeout', defaults[\\\"swipe-timeout\\\"]), 10);\\t // default 500ms\\n\\t\\tvar timeDiff = Date.now() - timeDown;\\n\\t\\tvar eventType = '';\\n\\t\\tvar changedTouches = e.changedTouches || e.touches || [];\\n\\n\\t\\tif (Math.abs(xDiff) > Math.abs(yDiff)) { // most significant\\n\\t\\t\\tif (Math.abs(xDiff) > swipeThreshold && timeDiff < swipeTimeout) {\\n\\t\\t\\t\\tif (xDiff > 0) {\\n\\t\\t\\t\\t\\teventType = 'swiped-left';\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\teventType = 'swiped-right';\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\telse if (Math.abs(yDiff) > swipeThreshold && timeDiff < swipeTimeout) {\\n\\t\\t\\tif (yDiff > 0) {\\n\\t\\t\\t\\teventType = 'swiped-up';\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\teventType = 'swiped-down';\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tif (eventType !== '') {\\n\\n\\t\\t\\tvar eventData = {\\n\\t\\t\\t\\tdir: eventType.replace(/swiped-/, ''),\\n\\t\\t\\t\\txStart: parseInt(xDown, 10),\\n\\t\\t\\t\\txEnd: parseInt((changedTouches[0] || {}).clientX || -1, 10),\\n\\t\\t\\t\\tyStart: parseInt(yDown, 10),\\n\\t\\t\\t\\tyEnd: parseInt((changedTouches[0] || {}).clientY || -1, 10)\\n\\t\\t\\t};\\n\\n\\t\\t\\t// fire `swiped` event event on the element that started the swipe\\n\\t\\t\\tstartEl.dispatchEvent(new CustomEvent('swiped', { bubbles: true, cancelable: true, detail: eventData }));\\n\\n\\t\\t\\t// fire `swiped-dir` event on the element that started the swipe\\n\\t\\t\\tstartEl.dispatchEvent(new CustomEvent(eventType, { bubbles: true, cancelable: true, detail: eventData }));\\n\\t\\t}\\n\\n\\t\\t// reset values\\n\\t\\txDown = null;\\n\\t\\tyDown = null;\\n\\t\\ttimeDown = null;\\n\\t}\\n\\n\\t/**\\n\\t * Records current location on touchstart event\\n\\t * @param {object} e - browser event object\\n\\t * @returns {void}\\n\\t */\\n\\tfunction handleTouchStart(e) {\\n\\n\\t\\t// if the element has data-swipe-ignore=\\\"true\\\" we stop listening for swipe events\\n\\t\\tif (e.target.getAttribute('data-swipe-ignore') === 'true') return;\\n\\n\\t\\tstartEl = e.target;\\n\\n\\t\\ttimeDown = Date.now();\\n\\t\\txDown = e.touches[0].clientX;\\n\\t\\tyDown = e.touches[0].clientY;\\n\\t\\txDiff = 0;\\n\\t\\tyDiff = 0;\\n\\t}\\n\\n\\t/**\\n\\t * Records location diff in px on touchmove event\\n\\t * @param {object} e - browser event object\\n\\t * @returns {void}\\n\\t */\\n\\tfunction handleTouchMove(e) {\\n\\n\\t\\tif (!xDown || !yDown) return;\\n\\n\\t\\tvar xUp = e.touches[0].clientX;\\n\\t\\tvar yUp = e.touches[0].clientY;\\n\\n\\t\\txDiff = xDown - xUp;\\n\\t\\tyDiff = yDown - yUp;\\n\\t}\\n\\n\\t/**\\n\\t * Gets attribute off HTML element or nearest parent\\n\\t * @param {object} el - HTML element to retrieve attribute from\\n\\t * @param {string} attributeName - name of the attribute\\n\\t * @param {any} defaultValue - default value to return if no match found\\n\\t * @returns {any} attribute value or defaultValue\\n\\t */\\n\\tfunction getNearestAttribute(el, attributeName, defaultValue) {\\n\\n\\t\\t// walk up the dom tree looking for data-action and data-trigger\\n\\t\\twhile (el && el !== document.documentElement) {\\n\\n\\t\\t\\tvar attributeValue = el.getAttribute(attributeName);\\n\\n\\t\\t\\tif (attributeValue) {\\n\\t\\t\\t\\treturn attributeValue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tel = el.parentNode;\\n\\t\\t}\\n\\n\\t\\treturn defaultValue;\\n\\t}\\n};\\n\\nexports.SwipeEvents = SwipeEventsFactory;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"library\",\"Based on https\":\"//github.com/john-doherty/swiped-events\",\"https\":\"//github.com/scriptex/touchsweep/blob/master/src/touchsweep.js\"},\"$:/plugins/sq/streams/action-unselect.js\":{\"title\":\"$:/plugins/sq/streams/action-unselect.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/action-unselect.js\\ntype: application/javascript\\nmodule-type: widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar UnselectWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nUnselectWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nUnselectWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.parentDomNode = parent;\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nUnselectWidget.prototype.execute = function() {\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nUnselectWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nUnselectWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tif (window.getSelection) {\\n\\t\\twindow.getSelection().removeAllRanges();\\n\\t} else if (document.selection) {\\n\\t\\tdocument.selection.empty();\\n\\t}\\n\\treturn true;\\n};\\n\\nUnselectWidget.prototype.allowActionPropagation = function() {\\n\\treturn false;\\n};\\n\\nexports[\\\"action-unselect\\\"] = UnselectWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/sq/streams/action-withinput.js\":{\"title\":\"$:/plugins/sq/streams/action-withinput.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/action-withinput.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nPrompt user for input before executing actions contained inside the widget.\\nThe string entered by the user is available in the variable userInput in the actions contained in the widget.\\n\\nPrompt user for confirmation before executing actions contained inside the widget.\\nIf the user cancels, the actions are not executed.\\n\\nExample:\\n<$button>go\\n<$action-withinput message=\\\"What is your name?\\\" actions=\\\"\\\"\\\"<$action-setfield $tiddler=\\\"name\\\" $value=<<userInput>>/>\\\"\\\"\\\" />\\n</$button>\\n\\nParameters:\\nmessage : message to display\\ndefault: default value, defaults to an empty string\\n\\n\\n\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar WithInputWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nWithInputWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nWithInputWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.parentDomNode = parent;\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nWithInputWidget.prototype.execute = function() {\\n\\tthis.message = this.getAttribute(\\\"message\\\");\\n\\tthis.defaultValue = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.actions = this.getAttribute(\\\"actions\\\");\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nWithInputWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"message\\\"] || changedAttributes[\\\"default\\\"] || changedAttributes[\\\"actions\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nWithInputWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tif(this.message && this.actions) {\\n\\t\\tvar userData = prompt(this.message,this.defaultValue);\\n\\t\\tif(userData != null) {\\n\\t\\t\\tthis.setVariable(\\\"userInput\\\",userData);\\n\\t\\t\\tthis.invokeActionString(this.actions,this,event);\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n};\\n\\nWithInputWidget.prototype.allowActionPropagation = function() {\\n\\treturn false;\\n};\\n\\nexports[\\\"action-withinput\\\"] = WithInputWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/sq/streams/widgets/keyboard-plus.js\":{\"title\":\"$:/plugins/sq/streams/widgets/keyboard-plus.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/widgets/keyboard-plus.js\\ntype: application/javascript\\nmodule-type: widget\\n\\\\*/\\n(function(){\\n\\t\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar KeyboardWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nKeyboardWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nKeyboardWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.tag && $tw.config.htmlUnsafeElements.indexOf(this.tag) === -1) {\\n\\t\\ttag = this.tag;\\n\\t}\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(tag);\\n\\t// Assign classes\\n\\tvar classes = (this[\\\"class\\\"] || \\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-keyboard\\\");\\n\\tdomNode.className = classes.join(\\\" \\\");\\n\\t\\n\\t\\n\\t// Add a keyboard event handler\\n\\tdomNode.addEventListener(\\\"keydown\\\",function (event) {\\n\\t\\t\\t// CM triggers two events\\n\\t\\t\\t// second event has:\\n\\t\\t\\t//\\t\\tdefaultPrevented : true\\n\\t\\t\\t//\\t\\tdetail: 0\\n\\t\\t\\t// \\t\\teventPhase 3 (instead of 2)\\n\\t\\t\\t// \\t\\tisComposing : false\\n\\t\\t\\tif(!event.defaultPrevented) {\\n\\t\\t\\t\\tvar key, action, preventDefault;\\n\\t\\t\\t\\tfor(var i=0; i<self.shortcutTiddlers.length; i++) {\\n\\t\\t\\t\\t\\tif(self.shortcutParsedList[i] !== undefined && $tw.keyboardManager.checkKeyDescriptors(event,self.shortcutParsedList[i])) {\\n\\t\\t\\t\\t\\t\\tkey = self.shortcutParsedList[i];\\n\\t\\t\\t\\t\\t\\taction = self.shortcutActionList[i];\\n\\t\\t\\t\\t\\t\\tpreventDefault = self.shortcutPreventDefaultList[i];\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(key !== undefined) {\\n\\t\\t\\t\\t\\tif(preventDefault) {\\n\\t\\t\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tObject.defineProperty(event,\\\"sqHandled\\\",{value:true});\\n\\t\\t\\t\\t\\t//event.sqHandled = true;\\n\\t\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t\\t\\t//event.stopImmediatePropagation();\\n\\t\\t\\t\\t\\tself.invokeActionString(action,self,event);\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn false;\\n\\t\\t}\\n\\t},false);\\n\\t\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\t\\n}\\t\\n\\t\\nKeyboardWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Get attributes\\n\\tthis.tag = this.getAttribute(\\\"tag\\\",\\\"\\\");\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.shortcutTiddlerTag = this.getAttribute(\\\"shortcutTag\\\");\\n\\t//var keyInfoArray = [];\\n\\t\\n\\tthis.shortcutTiddlers = this.wiki.getTiddlersWithTag(this.shortcutTiddlerTag);\\n\\tthis.shortcutKeysList = [];\\n\\tthis.shortcutActionList = [];\\n\\tthis.shortcutParsedList = [];\\n\\tthis.shortcutPreventDefaultList = [];\\n\\t\\n\\tfor(var i=0; i<this.shortcutTiddlers.length; i++) {\\n\\t\\tvar title = this.shortcutTiddlers[i],\\n\\t\\t\\ttiddlerFields = this.wiki.getTiddler(title).fields;\\n\\t\\tthis.shortcutKeysList[i] = tiddlerFields.key !== undefined ? tiddlerFields.key : undefined;\\n\\t\\tthis.shortcutActionList[i] = tiddlerFields.text;\\n\\t\\tthis.shortcutPreventDefaultList[i] = tiddlerFields[\\\"prevent-default\\\"] && tiddlerFields[\\\"prevent-default\\\"] === \\\"no\\\" ? false : true;\\n\\t\\tthis.shortcutParsedList[i] = this.shortcutKeysList[i] !== undefined ? $tw.keyboardManager.parseKeyDescriptors(this.shortcutKeysList[i]) : undefined;\\n\\t}\\n\\t\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nKeyboardWidget.prototype.refresh = function(changedTiddlers) {\\n\\t\\n\\tvar newList = this.wiki.getTiddlersWithTag(this.shortcutTiddlerTag)\\n\\tvar hasChanged = $tw.utils.hopArray(changedTiddlers,this.shortcutTiddlers) ? true :\\n\\t\\t($tw.utils.hopArray(changedTiddlers,newList) ? true :\\n\\t\\t($tw.keyboardManager.detectNewShortcuts(changedTiddlers))\\n\\t);\\n\\t// Re-cache shortcuts if something changed\\n\\tif(hasChanged) {\\n\\t//\\tthis.updateShortcutLists(newList);\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\t\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"class\\\"] || changedAttributes.tag) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n\\nKeyboardWidget.prototype.invokeActionString = function(actions,triggeringWidget,event,variables) {\\n\\tif(!variables) {\\n\\t\\tvariables = {};\\n\\t}\\n\\t\\n\\tvar activeElement = document.activeElement;\\n\\tvar selection;\\n\\tif(activeElement && activeElement.tagName === \\\"IFRAME\\\") {\\n\\t\\tvar idoc = activeElement.contentDocument || activeElement.contentWindow.document;\\n\\t\\tactiveElement = idoc.activeElement;\\n\\t\\tselection = idoc.getSelection();\\n\\t} else {\\n\\t\\tselection = window.getSelection();\\n\\t}\\n\\n\\tif(window.CodeMirror && document.activeElement.closest(\\\".CodeMirror\\\")) {\\n\\t\\tvar cm = document.activeElement.closest(\\\".CodeMirror\\\").CodeMirror;\\n\\t\\tvar cursor = cm.getCursor(\\\"start\\\");\\n\\t\\tvar startRange = cm.getRange({\\\"line\\\":0,\\\"ch\\\":0},{\\\"line\\\":cursor.line,\\\"ch\\\":cursor.ch});\\n\\t\\tvar selectionStart = startRange.length;\\n\\t\\tvar selection = cm.getSelection();\\n\\t\\tvar selectionEnd = selectionStart + selection.length;\\n\\t\\t\\n\\t\\tvariables[\\\"selectionStart\\\"] = startRange.length.toString();\\n\\t\\tvariables[\\\"selectionEnd\\\"] = (selectionStart + selection.length).toString();\\n\\t\\tvariables[\\\"selection\\\"] = cm.getSelection().toString();\\n\\t} else if(activeElement && selection && ((activeElement.tagName === \\\"INPUT\\\" && activeElement.type === \\\"TEXT\\\") || activeElement.tagName === \\\"TEXTAREA\\\")) {\\n\\t\\tvariables[\\\"selectionStart\\\"] = activeElement.selectionStart.toString();\\n\\t\\tvariables[\\\"selectionEnd\\\"] = activeElement.selectionEnd.toString();\\n\\t\\tvariables[\\\"selection\\\"] = selection.toString();\\n\\t}\\n\\n\\t//this.selection_original_invokeActionString(actions,triggeringWidget,event,variables);\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).invokeActionString.call(this,actions,triggeringWidget,event,variables);\\n}\\n\\nexports[\\\"keyboard-plus\\\"] = KeyboardWidget;\\n\\n})();\\t\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/sq/streams/streams-edit\":{\"title\":\"$:/plugins/sq/streams/streams-edit\",\"text\":\"/*\\\\\\n\\ntitle: $:/plugins/sq/streams/streams-edit\\ntype: application/javascript\\nmodule-type: widget-subclass\\n\\n\\\\*/\\n\\nexports.baseClass = \\\"edit\\\";\\nexports.name = \\\"streams-edit\\\";\\n\\nexports.constructor = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n}\\nexports.prototype = {};\\n\\nexports.prototype.getEditorType = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.editTitle);\\n\\tvar type = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\tvar editorType;\\n\\tif(type === \\\"text/vnd.tiddlywiki\\\") {\\n\\t\\teditorType = this.wiki.getTiddlerText(\\\"$:/config/sq/streams/editor-engine\\\");\\n\\t\\tif((!$tw.wiki.getTiddler(\\\"$:/plugins/tiddlywiki/codemirror\\\") || $tw.wiki.getTiddlerText(\\\"$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror\\\",\\\"no\\\") === \\\"yes\\\" || !$tw.modules.titles[\\\"$:/plugins/tiddlywiki/codemirror/edit-codemirror.js\\\"]) && (editorType === \\\"codemirror\\\") ) {\\n\\t\\t\\teditorType = \\\"text\\\";\\n\\t\\t}\\n\\t\\treturn editorType;\\n\\t}\\n\\teditorType = this.wiki.getTiddlerText(EDITOR_MAPPING_PREFIX + type);\\n\\tif(!editorType) {\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[type];\\n\\t\\tif(typeInfo && typeInfo.encoding === \\\"base64\\\") {\\n\\t\\t\\teditorType = \\\"binary\\\";\\n\\t\\t} else {\\n\\t\\t\\teditorType = \\\"text\\\";\\n\\t\\t}\\n\\t}\\n\\treturn editorType;\\n};\",\"type\":\"application/javascript\",\"module-type\":\"widget-subclass\"},\"$:/plugins/sq/streams/widgets/swiper.js\":{\"title\":\"$:/plugins/sq/streams/widgets/swiper.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/streams/widgets/swiper.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSwipe event handler widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n//var SwipeListener = require(\\\"$:/sq/lib/swipe-listener\\\");\\nvar SwipeEvents = require(\\\"$:/plugins/sq/lib/swipeevents.js\\\").SwipeEvents;\\n\\nvar SwipeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSwipeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSwipeWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.swipeTag && $tw.config.htmlUnsafeElements.indexOf(this.swipeTag) === -1) {\\n\\t\\ttag = this.swipeTag;\\n\\t}\\t\\n\\tvar domNode = this.document.createElement(tag);\\n\\tif(this.swipeEnable) {\\n\\t\\tSwipeEvents(domNode,{\\\"swipe-threshold\\\": this.swipeThreshold});\\n\\t}\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n}\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSwipeWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\tthis.swipeThreshold = parseInt(this.getAttribute(\\\"swipethreshold\\\",\\\"100\\\"));\\n\\tthis.swipeEnable = this.getAttribute(\\\"enable\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\tthis.swipeTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nSwipeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.swiper = SwipeWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"}}}","revision":"0","bag":"default"},{"created":"20200526035137040","creator":"M00","text":"<!--\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path d=\"M13.75 9.56879C14.0833 9.76124 14.0833 10.2424 13.75 10.4348L8.5 13.4659C8.16667 13.6584 7.75 13.4178 7.75 13.0329L7.75 6.97072C7.75 6.58582 8.16667 6.34525 8.5 6.5377L13.75 9.56879Z\"></path></svg> \n-->\n{{$:/Icons/ArrowForward}}","title":"$:/plugins/sq/streams/icons/node-expand-arrow","modified":"20250711145634940","type":"text/vnd.tiddlywiki","modifier":"M0"},{"created":"20171022203553093","creator":"M0","text":"\\import [[$:/plugins/sq/streams/action-macros]] [all[shadows+tiddlers]tag[$:/tags/streams/actionmacros]] [all[shadows+tiddlers]tag[$:/tags/streams/user-actionmacros]]\n\\whitespace trim\n\n<% if [{$:/layout}match[$:/Seed/Layouts/ReaderView/PageTemplate]] %>\n\n<$vars stream-root-title=<<currentTiddler>>\n>\n\t<$eventcatcher\n\t\tevents=\"click\"\n\t\tselector=\".stream-node-ctrl-btn\"\n\t\tactions-click=<<node-ctrl-btn-actions>>\n\t\ttag=\"div\"\n\t>\n\t<$eventcatcher\n\t\tevents=\"dblclick swiped-right swiped-left\"\n\t\ttag=\"div\"\n\t\tselector=\".stream-row\"\n\t>\n\t<$eventcatcher\n\t\ttag=\"div\"\n\t\tevents=\"contextmenu\"\n\t\tselector=\".sq-contextmenu-container\"\n\t>\n\t<$swiper\n\t\ttag=\"div\"\n\t\tenable={{$:/config/sq/streams/swipe-enabled}}\n\t\tswipethreshold={{$:/config/sq/streams/swipe-threshold}}\n\t>\n\t<div class={{{ stream-root [{$:/state/sq/nodes/global-drag-state}match[yes]then[stream-dragactive]] [<currentTiddler>!has[stream-list]then[stream-newlist]] +[join[ ]] }}}>\n\t\t{{||$:/plugins/sq/streams/templates/stream-root-template}}\n\t\t<$list filter=\"[all[current]match<stream-root-title>]\" variable=\"_NULL\">\n\t\t\t<!-- if we are the root, add a button to add more nodes-->\n\t\t\t<div class=\"stream-row\">\n\t\t\t\t<div class=\"stream-node-control stream-node-control-addnew\">\n\t\t\t\t\t<div class=\"stream-node-collapser\">\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"stream-node-handle\">\n\t\t\t\t\t\t<$button tag=\"div\" class=\"tc-btn-invisible\" tooltip=\"add node\" actions=<<add-new-node-actions>> >\n\t\t\t\t\t\t\t{{$:/plugins/sq/streams/icons/new-node-btn}}\n\t\t\t\t\t\t</$button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/streams/root-buttons]]\" variable=\"btnTiddler\">\n\t\t\t\t\t\t<div class=\"stream-node-handle\">\n\t\t\t\t\t\t\t<$transclude tiddler=<<btnTiddler>>/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</$list>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"stream-node-block\">\n\t\t\t\t\t<!--consider moving last child dropzone in here, though thats for children too-->\n\t\t\t\t</div>\n\t\t\t</div>\t\t\t\t\n\t\t\t<$set name=\"currentTiddler\" filter={{{[<contextmenu-state>get[current]]}}}>\n\t\t\t\t{{||$:/plugins/sq/streams/contextmenu/contextmenu-template}}\n\t\t\t</$set>\n\t\t</$list>\t\n\t</div>\n\t</$swiper>\n\t</$eventcatcher>\n\t</$eventcatcher>\n\t</$eventcatcher>\n</$vars>\n\n\n<%else%>\n\n<$vars stream-root-title=<<currentTiddler>>\n\tcontextmenu-state=<<qualify \"$:/state/sq-context-popup\">>\n\trow-edit-state=<<qualify \"$:/state/sq/streams/current-edit-tiddler\">>\n\tdrag-title-state=<<qualify \"$:/state/sq/streams/current-drag-title\">>\n\tdrag-title-nextsibling-state=<<qualify \"$:/state/sq/streams/current-drag-nextsibling\">> \n>\n\t<$eventcatcher\n\t\tevents=\"click\"\n\t\tselector=\".stream-node-ctrl-btn\"\n\t\tactions-click=<<node-ctrl-btn-actions>>\n\t\ttag=\"div\"\n\t>\n\t<$eventcatcher\n\t\tevents=\"dblclick swiped-right swiped-left\"\n\t\ttag=\"div\"\n\t\tselector=\".stream-row\"\n\t\tactions-dblclick=<<toggle-row-edit-state>>\n\t\tactions-swiped-right=<<swiped-right-actions>>\n\t\tactions-swiped-left=<<swiped-left-actions>>\n\t>\n\t<$eventcatcher\n\t\ttag=\"div\"\n\t\tevents=\"contextmenu\"\n\t\tselector=\".sq-contextmenu-container\"\n\t\tactions-contextmenu=<<oncontext-menu-actions>>\n\t>\n\t<$swiper\n\t\ttag=\"div\"\n\t\tenable={{$:/config/sq/streams/swipe-enabled}}\n\t\tswipethreshold={{$:/config/sq/streams/swipe-threshold}}\n\t>\n\t<div class={{{ stream-root [{$:/state/sq/nodes/global-drag-state}match[yes]then[stream-dragactive]] [<currentTiddler>!has[stream-list]then[stream-newlist]] +[join[ ]] }}}>\n\t\t{{||$:/plugins/sq/streams/templates/stream-root-template}}\n\t\t<$list filter=\"[all[current]match<stream-root-title>]\" variable=\"_NULL\">\n\t\t\t<!-- if we are the root, add a button to add more nodes-->\n\t\t\t<div class=\"stream-row\">\n\t\t\t\t<div class=\"stream-node-control stream-node-control-addnew\">\n\t\t\t\t\t<div class=\"stream-node-collapser\">\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"stream-node-handle\">\n\t\t\t\t\t\t<$button tag=\"div\" class=\"tc-btn-invisible\" tooltip=\"add node\" actions=<<add-new-node-actions>> >\n\t\t\t\t\t\t\t{{$:/plugins/sq/streams/icons/new-node-btn}}\n\t\t\t\t\t\t</$button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/streams/root-buttons]]\" variable=\"btnTiddler\">\n\t\t\t\t\t\t<div class=\"stream-node-handle\">\n\t\t\t\t\t\t\t<$transclude tiddler=<<btnTiddler>>/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</$list>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"stream-node-block\">\n\t\t\t\t\t<!--consider moving last child dropzone in here, though thats for children too-->\n\t\t\t\t</div>\n\t\t\t</div>\t\t\t\t\n\t\t\t<$set name=\"currentTiddler\" filter={{{[<contextmenu-state>get[current]]}}}>\n\t\t\t\t{{||$:/plugins/sq/streams/contextmenu/contextmenu-template}}\n\t\t\t</$set>\n\t\t</$list>\t\n\t</div>\n\t</$swiper>\n\t</$eventcatcher>\n\t</$eventcatcher>\n\t</$eventcatcher>\n</$vars>\n\n<%endif%>","title":"$:/plugins/sq/streams/nodes-list-template","modified":"20250920052459763","modifier":"M0"},{"created":"20170922203553093","text":".stream-root {\n\tmargin-left: -2.5em;\n}\n\n@media only screen and (max-width: 600px) {\n\t.stream-root {\n\t\tmargin-left: -1em;\n\t}\n}\n\n.stream-row {\n display: flex;\n flex: 0 0 auto;\n\tuser-select: none;\n}\n\n.stream-row-children {\n\tdisplay:flex;\n\tflex: 0 0 auto;\n\tflex-direction: column;\n\t/*padding-left: 0.5em;*/\n\tborder-left: 1px solid <<color message-border>>;\n\tmargin-left: 30px;\n}\n\n.stream-row-nochildren + .stream-row-children {\n\tborder-left: none;\n}\n\n\n.stream-node-disabled,\n.stream-node-disabled + div.stream-row-children{\n\tbackground-color: <<color tiddler-editor-border>>;\n}\n\n.stream-node-disabled + div.stream-row-children + div.stream-node-disabled,\n.stream-node-disabled + div.stream-row-children + div.stream-node-disabled + div.stream-row-children,\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children,\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children > div.stream-node-disabled {\n\tbackground-color: transparent;\n}\n\n/* hide last droppable in a list when the last row is disabled */\n.stream-node-disabled + div.stream-row-children + div.stream-droppable.tc-droppable.stream-droppable-terminal{\n\tdisplay: none;\n\t/*visibility: hidden;*/\n}\n\n.stream-node-disabled + div.stream-row-children + .stream-node-disabled + div.stream-row-children + div.stream-droppable.tc-droppable.stream-droppable-terminal{\n\tdisplay: block;\n}\n\n\n/*\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children {\n\tvisibility: hidden;\n}\n\n.stream-node-disabled.stream-row-nochildren + div.stream-row-children + div + div {\n\tvisibility: visible;\n}\n*/\n\n\n.stream-droppable.tc-droppable.tc-dragover > .tc-droppable-placeholder,\n.stream-droppable.tc-droppable.tc-dragover > div > .tc-droppable-placeholder {\n\tmargin-left: 29px;\n\tline-height: 5px;\n\theight: 5px;\n\tborder: 2px solid <<color dropzone-background>>;\n\tbackground-color: <<color dropzone-background>>;\n}\n\n/*\n.stream-droppable-terminal.tc-drag-over .stream-droppable-spacer {\n\theight: 0;\n}\n*/\n\n.stream-droppable-spacer {\n\theight: 0.3em;\n}\n\n<$vars currentTiddler={{{[prefix[$:/state/sq-context-popup]]}}}>\n[data-node-title=\"{{!!current}}\"],\n[data-node-title=\"{{!!current}}\"] + div{\n\tbackground: <<color notification-background>>;\n\tcolor: <<color message-foreground>>;\n}\n</$vars>\n\n.stream-node-control {\n\tdisplay: flex;\n flex: 0 0 45px;\n padding-top: 4px;\n padding-left: 4px;\n}\n\n.stream-node-control .stream-node-collapser,\n.stream-node-control .stream-node-handle {\n display: flex;\n height: 13px;\n width: 13px;\n margin-top: 4px;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n}\n\n.stream-node-control.stream-node-control-addnew .stream-node-handle {\n\twidth: 20px;\n\theight: 20px;\n\tmargin-top: 0;\n}\n\n.stream-node-control.stream-node-control-addnew .stream-node-collapser {\n\twidth: 16px;\n}\n\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible svg {\n\topacity: 0.8;\n}\n\n\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible svg circle {\n\tfill: <<color tiddler-controls-foreground>>;\n\topacity: 0.6;\n}\n\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible svg line.line {\n\tstroke: <<color foreground>>;\n\topacity: 1;\n}\n\n.stream-node-control.stream-node-control-addnew div.tc-btn-invisible:hover svg circle {\n\tfill: <<color tiddler-controls-foreground-hover>>;\n}\n\n.stream-node-control .stream-node-collapser {\n\theight: 13px;\n\twidth: 20px;\n\topacity:0;\n}\n\n.stream-row-nochildren .stream-node-collapser {\n\tvisibility: hidden;\n}\n\n.stream-row:hover .stream-node-collapser,\n.stream-row-children-collapsed.stream-row:hover .stream-node-collapser {\n\topacity: 0.4;\n}\n\n.stream-row:hover .stream-node-collapser:hover,\n.stream-row-children-collapsed.stream-row:hover .stream-node-collapser:hover {\n\topacity: 0.9;\n}\n\n.stream-row-children-collapsed .stream-node-control .stream-node-collapser {\n\topacity: 0.4;\n}\n\n.stream-node-collapser.tc-btn-invisible,\n.stream-node-collapser.tc-btn-invisible:focus {\n\toutline: none;\n}\n\n.stream-node-collapser svg {\n\ttransform: rotateZ(90deg);\n\ttransition: transform 200ms ease-in-out 0s;\n}\n\n.stream-row-children-collapsed .stream-node-collapser svg {\n\ttransform: rotateZ(0deg);\n}\n\n/*\n.stream-node-control .stream-node-handle-wrapper .stream-node-handle {\n\twidth: 13px;\n\theight: 13px;\n\tdisplay: flex;\n\talign-items : center;\n\tjustify-content: center;\n}\n*/\n\n.stream-node-control .stream-node-handle .stream-node-handle-inner {\n border-radius: 50%;\n width: 6px;\n height: 6px;\n background-color: <<color foreground>>;\n\topacity: 0.3;\n}\n\n.stream-node-control .sq-contextmenu-container {\n\tdisplay: flex;\n}\n\n/*\n.stream-row:hover .stream-node-control .stream-node-handle-wrapper .stream-node-handle-inner {\n\topacity: 0.7;\n}\n*/\n\n.stream-row:hover .stream-node-control .stream-node-handle:hover .stream-node-handle-inner {\n\topacity: 1;\n} \n\n<$vars currentTiddler={{{[prefix[$:/state/sq-context-popup]]}}}>\n[data-node-title=\"{{!!current}}\"] .stream-node-handle .stream-node-handle-inner {\n border: 5px solid #5778d8;\n opacity: 1;\n}\n</$vars>\n\n\n.stream-node-block {\n overflow-wrap: break-word;\n\tmax-width: {{$:/config/sq/streams/node-max-width}}px;\n min-height: calc(1.5em + 8px);\n box-sizing: border-box;\n margin-top: -1px;\n min-width: 100px;\n width: 100%;\n line-height: 1.5em;\n cursor: text;\n padding-top: 4px;\n padding-bottom: 0px;\n\tuser-select: text;\n\t/*white-space: pre-wrap;*/\n}\n\n.stream-node-block textarea {\n\twidth: 100%;\n\toutline-color: <<color tiddler-editor-border>>;\n\tborder: 1px solid <<color tiddler-editor-border>>;\n\n\tresize: none;\n}\n\n.stream-node-block textarea.streams-editor {\n\tline-height:1.5em;\n\tmargin-bottom: 0.6em;\n}\n\n.stream-node-block > h1:first-child,\n.stream-node-block > h2:first-child,\n.stream-node-block > h3:first-child,\n.stream-node-block > h4:first-child,\n.stream-node-block > h5:first-child,\n.stream-node-block > h6:first-child,\n.stream-node-block p:first-child {\n\tmargin-top:0;\n}\n\n.stream-node-block > h1:last-child,\n.stream-node-block > h2:last-child,\n.stream-node-block > h3:last-child,\n.stream-node-block > h4:last-child,\n.stream-node-block > h5:last-child,\n.stream-node-block > h6:last-child,\n.stream-node-block p:last-child {\n\tmargin-bottom:0;\n}\n\nspan.sq-breadcrumbs-fragment {\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n text-overflow: ellipsis;\n max-width: calc({{$:/config/sq/streams/node-max-width}}px - 50px);\n}\n\nspan.sq-breadcrumbs-fragment a.tc-tiddlylink {\n\tcolor: <<color foreground>>;\n}\n\n/*** framed engine styles ***/\n\n.tc-tiddler-frame .stream-node-block input.tc-edit-texteditor,\n.tc-tiddler-frame .stream-node-block textarea.tc-edit-texteditor,\n.tc-tiddler-frame .stream-node-block iframe.tc-edit-texteditor {\n\tbackground: <<color background>> !important;\n\tmargin-top:0;\n\tmargin-bottom: -1.6em;\n}\n\n<$reveal state=\"$:/config/sq/streams/enable-edit-toolbar\" type=\"nomatch\" text=\"yes\">\n.stream-node-block .tc-editor-toolbar {\n\tdisplay: none;\n}\n</$reveal>\n\n<$reveal state=\"$:/state/sq/streams/global-drag-state\" type=\"match\" text=\"yes\">\n\n/** active drag css **/\n\n</$reveal>\n\n<$reveal state=\"$:/state/sq/streams/global-drag-state\" type=\"nomatch\" text=\"yes\">\n\n/**no active drag css **/\n\n</$reveal>","creator":"M0","title":"$:/plugins/sq/streams/styles","modified":"20260425212934368","tags":"$:/tags/Stylesheet","modifier":"M0"},{"created":"20250917232455762","text":"\\whitespace trim\n<$qualify\n\tname=\"row-children-visibility-state\"\n\ttitle={{{ [[$:/state/sq/streams/visibility/]addsuffix<currentTiddler>] }}}\n>\n<$droppable \n\tactions=<<stream-drop-actions>>\n\ttag=\"div\"\n\tclass={{{ stream-droppable [list[!!stream-list]is[tiddler]then[]else[stream-row-nochildren]] +[join[ ]]}}}\n\tenable={{{[<drag-title-nextsibling-state>get[text]match<currentTiddler>then[no]] ~[<enable-dnd>]}}}\n\tdisabledClass=\"stream-node-disabled\"\n\tdata-node-title=<<currentTiddler>>\n>\n\t<div class=\"tc-droppable-placeholder\"/>\n\t<div class={{{ stream-row [<row-children-visibility-state>get[text]match[hide]then[stream-row-children-collapsed]] +[join[ ]]}}}\n\t\tdata-node-title=<<currentTiddler>>\n\t\tdata-node-tags={{!!tags}}\n\t>\n\t\t<$draggable\n\t\t\ttag=\"div\"\n\t\t\ttiddler=<<currentTiddler>>\n\t\t\tstartactions=<<node-drag-start-actions>>\n\t\t\tendactions=<<node-drag-end-actions>>\n\t\t\tclass=\"stream-node-control sq-contextmenu-container\"\n\t\t\tdata-node-title=<<currentTiddler>>\n\t\t>\n\t\t\t<button type=\"button\" class=\"tc-btn-invisible stream-node-ctrl-btn stream-node-collapser\" data-btn-role=\"stream-node-visibility\" data-rowchildren-visibility-state=<<row-children-visibility-state>>>\n\t\t\t\t{{$:/plugins/sq/streams/icons/node-expand-arrow}}\n\t\t\t</button>\n\t\t\t<div class=\"stream-node-handle tc-btn-invisible stream-node-ctrl-btn\" data-btn-role=\"stream-node-decorator\" data-node-title=<<currentTiddler>>>\n\t\t\t\t\t<div class=\"stream-node-handle-inner\"/>\n\t\t\t</div>\n\t\t</$draggable>\n<<$stream-node-body>>\n\t</div>\n</$droppable>\n<$reveal\n\ttag=\"div\"\n\ttype=\"nomatch\"\n\tstateTitle=<<row-children-visibility-state>>\n\ttext=\"hide\"\n\tclass=\"stream-row-children\"\n>\n\t\t{{||$:/plugins/sq/streams/templates/stream-root-template}}\n</$reveal>\n</$qualify>","creator":"M0","title":"$:/plugins/sq/streams/templates/stream-row-template","modified":"20260219072427139","modifier":"M0"},{"title":"$:/plugins/sq/swiffy-slider","name":"Swiffy Slider","description":"Sliders based on the Swiffy library","author":"Saq Imtiaz","core-version":">=5.2.0","plugin-priority":"0","list":"readme settings","version":"0.1.0","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/sq/swiffy-slider/icon\":{\"title\":\"$:/plugins/sq/swiffy-slider/icon\",\"text\":\"<svg width=\\\"22pt\\\" height=\\\"22pt\\\" viewBox=\\\"5.019 0 193.607 170.253\\\" style=\\\"background:red\\\">\\n<g fill-rule=\\\"evenodd\\\">\\n<path d=\\\"M34.333 17.682c-8.612 3.624-11.202 18.71-4.59 26.736 1.329 1.612 3.732 3.453 7.346 5.627 3.072 1.85 4.08 3.338 3.665 5.412-.788 3.942-5.341 3.652-9.657-.617-1.52-1.503-1.409-1.518-2.376.301-.442.832-.966 1.814-1.163 2.182-2.827 5.265-2.808 5.173-1.413 6.814 7.472 8.793 19.037 6.91 22.305-3.633 1.884-6.08 1.223-13.593-1.534-17.424-1.439-2-2.264-2.652-7.739-6.115-4.052-2.565-4.51-3.076-4.51-5.042 0-3.677 4.262-4.347 7.991-1.257 1.94 1.608 1.705 1.774 3.996-2.828 2.135-4.287 2.044-3.873 1.138-5.195-3.134-4.569-9.132-6.78-13.459-4.96m48.016.48c-.194.194-.202.503-.047 1.78.104.852.306 2.677.451 4.059.144 1.382.368 3.406.498 4.498.13 1.09.358 3.174.505 4.627.148 1.456.335 3.122.414 3.705.08.58.226 1.89.324 2.909s.249 2.387.336 3.042c.087.654.275 2.32.418 3.703a682.64 682.64 0 0 0 1.004 9.125c.122 1.019.347 3.042.5 4.496.152 1.455.378 3.479.5 4.498.123 1.017.27 2.296.326 2.839.156 1.495.264 1.525 5.463 1.525 5.891 0 5.27.66 5.963-6.348.094-.946.205-1.898.247-2.117.083-.43.493-3.936.757-6.48.09-.873.235-2.123.32-2.777.565-4.32 1.134-9.59 1.269-11.752l.115-1.833.291.907c.16.499.341 1.562.402 2.362.062.8.214 2.347.339 3.439.125 1.09.346 3.055.492 4.364.145 1.31.459 3.928.697 5.818.424 3.376.757 6.104 1.064 8.73.419 3.587.645 5.206.749 5.373.185.293 9.81.366 10.288.08.424-.256.614-1.18.905-4.395.141-1.552.581-5.84.733-7.142.084-.727.232-2.155.327-3.174.095-1.019.244-2.387.33-3.042.086-.654.278-2.5.425-4.1.148-1.6.371-3.742.496-4.76.125-1.02.272-2.448.328-3.175.055-.727.17-1.858.254-2.512.084-.656.275-2.441.426-3.968.15-1.528.347-3.372.437-4.1.187-1.507.586-5.474.823-8.179.209-2.372.39-2.261-3.685-2.261-4.018 0-4.13.03-4.239 1.146-.13 1.349-.582 6.825-.657 7.971-.144 2.203-.586 7.739-.749 9.39-.094.945-.289 3.564-.433 5.819a337.46 337.46 0 0 1-.425 5.951 118.77 118.77 0 0 0-.269 4.233c-.171 3.844-.642 3.077-1.058-1.719-.082-.946-.306-3.088-.498-4.76-.192-1.675-.422-3.699-.51-4.499-.17-1.534-.457-3.678-.903-6.745a383.502 383.502 0 0 1-.533-3.834 823.091 823.091 0 0 0-1.051-7.672c-.196-1.382-.42-3.032-.498-3.669-.078-.636-.243-1.26-.367-1.385-.286-.287-6.486-.3-6.77-.015-.205.207-.544 2.172-1.127 6.525-.155 1.163-.384 2.83-.507 3.702-.123.873-.345 2.48-.492 3.571a699.532 699.532 0 0 1-.493 3.571c-.535 3.78-.748 5.44-1.003 7.803a230.156 230.156 0 0 1-.426 3.703 62.316 62.316 0 0 0-.253 2.38 93.482 93.482 0 0 1-.349 3.175c-.453 3.57-.534 3.669-.73.866-.068-.985-.207-2.923-.308-4.304-.101-1.382-.299-4.18-.441-6.216a294.36 294.36 0 0 0-.422-5.423c-.091-.944-.234-2.79-.319-4.1-.15-2.323-.222-3.243-.761-9.787a815.113 815.113 0 0 1-.343-4.27c-.063-.848-.164-1.132-.448-1.253-.59-.25-7.844-.179-8.102.081m80.262-.068c-.162.259-.131 50.149.032 50.557.216.54 7.974.34 8.196-.213.295-.735.127-49.961-.172-50.261-.281-.281-7.882-.36-8.056-.083\\\" fill=\\\"#dc1c1c\\\"/>\\n<path d=\\\"M9.833 43.311v36.767h54.834V6.545H9.833V43.31m64.5 0v36.767h55.334V6.545H74.333V43.31m65 0v36.767h54.834V6.545h-54.834V43.31M41.394 17.647c2.957 1.137 7.111 4.797 7.105 6.258-.002.384-3.668 7.621-3.977 7.851-.204.153-.753-.17-1.864-1.09-3.729-3.09-7.991-2.42-7.991 1.257 0 1.966.458 2.477 4.51 5.042 5.475 3.463 6.3 4.115 7.739 6.115 2.757 3.83 3.418 11.344 1.534 17.424-3.268 10.543-14.833 12.426-22.305 3.633-1.395-1.641-1.414-1.55 1.413-6.814.197-.368.721-1.35 1.163-2.182.967-1.819.856-1.804 2.376-.301 4.316 4.269 8.869 4.56 9.657.617.415-2.074-.593-3.563-3.665-5.412-7.339-4.415-9.75-7.45-10.754-13.53-1.984-12.021 6.199-22.275 15.059-18.868m49.057.435c.284.121.385.405.448 1.253.045.603.199 2.524.343 4.27.539 6.544.611 7.464.761 9.787.085 1.31.228 3.156.319 4.1.09.946.28 3.387.422 5.423.142 2.036.34 4.834.441 6.216.101 1.38.24 3.319.308 4.304.196 2.803.277 2.704.73-.866.138-1.09.295-2.519.349-3.174.054-.654.168-1.726.253-2.381.085-.654.277-2.32.426-3.703.255-2.363.468-4.023 1.003-7.803.124-.873.345-2.479.493-3.57.147-1.091.369-2.699.492-3.572.123-.873.352-2.539.507-3.702.583-4.353.922-6.318 1.127-6.525.284-.285 6.484-.272 6.77.015.124.125.289.749.367 1.385.078.637.302 2.287.498 3.67.368 2.599.598 4.273 1.051 7.671.145 1.09.385 2.817.533 3.834.446 3.067.733 5.21.903 6.745.088.8.318 2.824.51 4.498.192 1.673.416 3.815.498 4.761.416 4.796.887 5.563 1.058 1.719.058-1.31.179-3.214.269-4.233.09-1.017.281-3.696.425-5.951.144-2.255.339-4.874.433-5.818.163-1.652.605-7.188.749-9.39.075-1.147.527-6.623.657-7.972.109-1.116.221-1.146 4.239-1.146 4.075 0 3.894-.111 3.685 2.261-.237 2.705-.636 6.672-.823 8.178-.09.729-.287 2.573-.437 4.101a195.654 195.654 0 0 1-.426 3.968 58.699 58.699 0 0 0-.254 2.512 87.466 87.466 0 0 1-.328 3.174 203.034 203.034 0 0 0-.496 4.761c-.147 1.6-.339 3.446-.425 4.1-.086.655-.235 2.023-.33 3.042a177.945 177.945 0 0 1-.327 3.174c-.152 1.301-.592 5.59-.733 7.142-.291 3.215-.481 4.139-.905 4.394-.478.287-10.103.214-10.288-.08-.104-.166-.33-1.785-.749-5.373-.307-2.625-.64-5.353-1.064-8.729-.238-1.89-.552-4.508-.697-5.818-.146-1.309-.367-3.274-.492-4.364a116.43 116.43 0 0 1-.339-3.44c-.061-.799-.242-1.862-.402-2.36l-.291-.908-.115 1.833c-.135 2.163-.704 7.432-1.269 11.752-.085.654-.23 1.904-.32 2.777-.264 2.544-.674 6.05-.757 6.48-.042.219-.153 1.171-.247 2.117-.693 7.008-.072 6.348-5.963 6.348-5.199 0-5.307-.03-5.463-1.525a215.51 215.51 0 0 0-.326-2.84 368.96 368.96 0 0 1-.5-4.497 393.342 393.342 0 0 0-.5-4.496 682.64 682.64 0 0 1-1.004-9.125 173.67 173.67 0 0 0-.418-3.703c-.087-.655-.238-2.023-.336-3.042a92.173 92.173 0 0 0-.324-2.91c-.079-.582-.266-2.248-.414-3.704a319.61 319.61 0 0 0-.505-4.627c-.13-1.092-.354-3.116-.498-4.498a306.177 306.177 0 0 0-.451-4.058c-.155-1.278-.147-1.587.047-1.78.258-.261 7.512-.332 8.102-.082m80.216.096c.299.3.467 49.526.172 50.261-.222.552-7.98.754-8.196.213-.163-.408-.194-50.298-.032-50.557.174-.276 7.775-.198 8.056.083\\\" fill=\\\"#fff\\\"/>\\n</g>\\n<g fill-rule=\\\"evenodd\\\">\\n<path d=\\\"M222.958 16.179c-.274.161-.291 1.094-.291 15.853 0 14.739.017 15.695.291 15.903.425.322 7.752.331 8.019.009.125-.151.199-2.021.229-5.792l.044-5.569 5.117-.083c3.88-.063 5.169-.136 5.333-.3.374-.373.404-6.309.035-6.717-.269-.297-.588-.316-5.219-.319-2.713-.001-5.028-.063-5.145-.137-.162-.103-.202-.811-.167-2.956l.046-2.821 6.083-.083 6.084-.084v-7l-10.084-.037c-6.643-.025-10.182.021-10.375.133m64.653-.068c-.061.061-.111 7.226-.111 15.921v15.81l.428.162c.555.211 7.087.212 7.642.001l.426-.162.043-5.63.044-5.63 5.034-.083c3.813-.063 5.086-.136 5.25-.3.263-.263.409-5.482.178-6.375l-.149-.575-5.156-.083-5.157-.084-.045-2.958-.046-2.958h5.848c3.713 0 5.966-.063 6.171-.173.543-.29.494-6.743-.053-6.889-.515-.138-20.209-.132-20.347.006m60.613.147c-.096.25.113.758 1.78 4.325.429.917 1.1 2.379 1.492 3.25.392.871 1.116 2.435 1.608 3.476.493 1.04.896 1.92.896 1.955 0 .035.309.721.686 1.524.378.804.874 1.874 1.103 2.379.229.504.708 1.54 1.064 2.301l.647 1.385v10.989l.436.165c.255.097 1.994.147 4.208.121l3.773-.045L366 42.5c.078-5.257.104-5.627.439-6.333l1.208-2.55c.469-.991.853-1.827.853-1.858 0-.032.365-.835.812-1.784.446-.949.982-2.1 1.191-2.558 1.218-2.676 4.228-9.211 4.778-10.374.494-1.043.495-1.043-3.953-1.043-4.348 0-4.56.039-4.804.877-.086.297-.509 1.515-.939 2.706-.43 1.192-.997 2.804-1.261 3.584-.263.779-.751 2.166-1.085 3.083a58.033 58.033 0 0 0-.76 2.195 3.057 3.057 0 0 1-.455.9l-.301.372-.252-.733c-.139-.404-.786-2.309-1.438-4.234a382.316 382.316 0 0 0-1.789-5.167 86.63 86.63 0 0 1-.735-2.093 7.51 7.51 0 0 0-.409-.958l-.275-.532h-4.251c-3.684 0-4.264.034-4.35.258\\\" fill=\\\"#dc1c1c\\\" transform=\\\"matrix(1 0 0 1.58704 -197.098 76.26)\\\"/>\\n<path d=\\\"M204.833 32v23.167h55.334V8.833h-55.334V32m64.5 0v23.167h55.334V8.833h-55.334V32m65 0v23.167h55.334V8.833h-55.334V32m-90.916-12.417v3.5l-6.084.084-6.083.083-.046 2.821c-.035 2.145.005 2.853.167 2.956.117.074 2.432.136 5.145.137 4.631.003 4.95.022 5.219.319.369.408.339 6.344-.035 6.717-.164.164-1.453.237-5.333.3l-5.117.083-.044 5.569c-.03 3.771-.104 5.641-.229 5.792-.267.322-7.594.313-8.019-.009-.274-.208-.291-1.164-.291-15.903 0-14.759.017-15.692.291-15.853.193-.112 3.732-.158 10.375-.133l10.084.037v3.5m64.541-3.478c.547.146.596 6.599.053 6.889-.205.11-2.458.173-6.171.173h-5.848l.046 2.958.045 2.958 5.157.084 5.156.083.149.575c.231.893.085 6.112-.178 6.375-.164.164-1.437.237-5.25.3l-5.034.083-.044 5.63-.043 5.63-.426.162c-.555.211-7.087.21-7.642-.001l-.428-.162v-15.81c0-8.695.05-15.86.111-15.921.138-.138 19.832-.144 20.347-.006m49.142.427c.151.292.335.724.409.958.073.235.404 1.177.735 2.093.331.917 1.136 3.242 1.789 5.167.652 1.925 1.299 3.83 1.438 4.234l.252.733.301-.372c.166-.204.37-.609.455-.9.085-.291.427-1.278.76-2.195.334-.917.822-2.304 1.085-3.083.264-.78.831-2.392 1.261-3.584.43-1.191.853-2.409.939-2.706.244-.838.456-.877 4.804-.877 4.448 0 4.447 0 3.953 1.043-.55 1.163-3.56 7.698-4.778 10.374a341.55 341.55 0 0 1-1.191 2.558c-.447.949-.812 1.752-.812 1.784 0 .031-.384.867-.853 1.858l-1.208 2.55c-.335.706-.361 1.076-.439 6.333l-.083 5.583-3.773.045c-2.214.026-3.953-.024-4.208-.121l-.436-.165V36.853l-.647-1.385c-.356-.761-.835-1.797-1.064-2.301-.229-.505-.725-1.575-1.103-2.379-.377-.803-.686-1.489-.686-1.524 0-.035-.403-.915-.896-1.955a251.867 251.867 0 0 1-1.608-3.476 295.292 295.292 0 0 0-1.492-3.25c-1.667-3.567-1.876-4.075-1.78-4.325.086-.224.666-.258 4.35-.258h4.251l.275.532\\\" fill=\\\"#fff\\\" transform=\\\"matrix(1 0 0 1.58704 -197.098 76.26)\\\"/>\\n</g>\\n</svg>\"},\"$:/plugins/sq/swiffy-slider/swiffy-slider-extensions.umd.js\":{\"title\":\"$:/plugins/sq/swiffy-slider/swiffy-slider-extensions.umd.js\",\"text\":\"!function(e,s){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?s(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],s):s((e=\\\"undefined\\\"!=typeof globalThis?globalThis:e||self).swiffysliderextensions={})}(this,(function(e){\\\"use strict\\\";const s={version:\\\"1.6.0\\\",draggingtimer:null,init(e=document.body){for(const s of e.querySelectorAll(\\\".swiffy-slider\\\"))this.initSlider(s)},initSlider(e){e.classList.contains(\\\"slider-nav-mousedrag\\\")&&e.addEventListener(\\\"mousedown\\\",(s=>this.handleMouseDrag(s,e)),{passive:!0})},handleMouseDrag(e,s){if(e.srcElement.classList.contains(\\\"slider-nav\\\")||e.srcElement.classList.contains(\\\"tc-tiddylink\\\")||$tw.utils.domMatchesSelector(e.srcElement,\\\"a,button\\\")||e.srcElement.parentElement.classList.contains(\\\"slider-indicators\\\"))return;const t=s.querySelector(\\\".slider-container\\\");s.classList.contains(\\\"dragging\\\")&&clearTimeout(this.draggingtimer),t.style.cursor=\\\"grabbing\\\",s.classList.add(\\\"dragging\\\");const i=t.scrollLeft,n=e.clientX,o=t.children[0].offsetWidth+parseInt(window.getComputedStyle(t).columnGap),l=o*(t.children.length-1),r=t.scrollLeft;let c=r;const d=e=>{const s=e.clientX-n,d=i-1.8*s;d>0&&d<=l&&(t.scrollLeft=d,s<0?c=l<=r?r:t.scrollLeft+(o+1.8*s):r>0&&(c=t.scrollLeft-(o-1.8*s)))};t.addEventListener(\\\"mousemove\\\",d,{passive:!0}),document.addEventListener(\\\"mouseup\\\",(()=>{t.removeEventListener(\\\"mousemove\\\",d),t.style.cursor=null,c<0&&(c=0),t.scroll({left:c,behavior:\\\"smooth\\\"}),this.draggingtimer=setTimeout((()=>{s.classList.remove(\\\"dragging\\\")}),550)}),{once:!0,passive:!0})}};e.swiffysliderextensions=s}));\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/sq/swiffy-slider/styles-extensions\":{\"title\":\"$:/plugins/sq/swiffy-slider/styles-extensions\",\"type\":\"text/css\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\".slider-nav-mousedrag.slider-clickthrough .slider-container::after {\\n display: none;\\n}\"},\"$:/plugins/sq/swiffy-slider/styles\":{\"title\":\"$:/plugins/sq/swiffy-slider/styles\",\"text\":\".swiffy-slider {\\n position: relative;\\n display: block;\\n width: 100%;\\n --swiffy-slider-snap-align: center;\\n --swiffy-slider-item-width: 100%;\\n --swiffy-slider-item-gap: 1rem;\\n --swiffy-slider-item-reveal: 0rem;\\n --swiffy-slider-item-ratio: 2/1;\\n --swiffy-slider-item-count: 1;\\n --swiffy-slider-nav-light: #fff;\\n --swiffy-slider-nav-dark: #333;\\n --swiffy-slider-nav-zoom: 1;\\n --swiffy-slider-track-opacity: 0.1;\\n --swiffy-slider-track-height: 0;\\n --swiffy-slider-nav-outside-size: 3.5rem;\\n --swiffy-slider-indicator-outside-size: 1.5rem;\\n --swiffy-slider-animation-duration: .75s;\\n --swiffy-slider-animation-delay: 0s;\\n --swiffy-slider-animation-timing: ease-in-out;\\n}\\n\\n.swiffy-slider,\\n.swiffy-slider::after,\\n.swiffy-slider::before {\\n box-sizing: border-box;\\n}\\n\\n.swiffy-slider ::-webkit-scrollbar {\\n height: var(--swiffy-slider-track-height);\\n}\\n\\n.swiffy-slider ::-webkit-scrollbar-track {\\n background: rgba(0, 0, 0, var(--swiffy-slider-track-opacity));\\n}\\n\\n.swiffy-slider ::-webkit-scrollbar-thumb {\\n background: rgba(0, 0, 0, 0.4);\\n border-radius: 1rem;\\n}\\n\\n.swiffy-slider ::-webkit-scrollbar-thumb:hover {\\n background: rgba(0, 0, 0, 0.6);\\n}\\n\\n.slider-container {\\n --swiffy-slider-item-gap-totalwidth: calc(var(--swiffy-slider-item-gap) * (var(--swiffy-slider-item-count) - 1));\\n --swiffy-slider-item-width: calc((100% - var(--swiffy-slider-item-reveal) - var(--swiffy-slider-item-gap-totalwidth)) / var(--swiffy-slider-item-count));\\n overflow-x: auto;\\n -webkit-overflow-scrolling: touch;\\n scroll-snap-type: x mandatory;\\n scroll-behavior: smooth;\\n display: grid;\\n align-items: center;\\n height: 100%;\\n grid: auto / auto-flow max-content;\\n grid-auto-rows: 100%;\\n grid-auto-columns: var(--swiffy-slider-item-width);\\n grid-auto-flow: column;\\n grid-gap: var(--swiffy-slider-item-gap);\\n list-style: none;\\n margin: 0;\\n padding: 0;\\n scrollbar-width: none;\\n scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, var(--swiffy-slider-track-opacity));\\n background-clip: padding-box;\\n}\\n\\n.slider-container>* {\\n /*The slides*/\\n scroll-snap-align: var(--swiffy-slider-snap-align);\\n position: relative;\\n width: 100%;\\n height: 100%;\\n}\\n\\n.slider-item-helper .slider-container>* {\\n background-size: cover;\\n background-color: #e1e1e1;\\n background-position: 50% 50%;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.slider-item-helper:not(.slider-item-ratio) .slider-container>* {\\n min-height: 20rem;\\n}\\n\\n.slider-item-ratio .slider-container>*>* {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n object-fit: cover;\\n}\\n\\n.slider-item-ratio-contain .slider-container>*>* {\\n object-fit: contain;\\n}\\n\\n.slider-item-ratio .slider-container>*::after {\\n display: block;\\n padding-top: calc( 100% / (var(--swiffy-slider-item-ratio)));\\n content: \\\"\\\";\\n}\\n\\n.slider-item-ratio-32x9 {\\n --swiffy-slider-item-ratio: 32/9;\\n}\\n\\n.slider-item-ratio-21x9 {\\n --swiffy-slider-item-ratio: 21/9;\\n}\\n\\n.slider-item-ratio-16x9 {\\n --swiffy-slider-item-ratio: 16/9;\\n}\\n\\n.slider-item-ratio-4x3 {\\n --swiffy-slider-item-ratio: 4/3;\\n}\\n\\n.slider-item-ratio-2x1 {\\n --swiffy-slider-item-ratio: 2/1;\\n}\\n\\n.slider-item-ratio-1x1 {\\n --swiffy-slider-item-ratio: 1/1;\\n}\\n\\n.slider-item-ratio-3x4 {\\n --swiffy-slider-item-ratio: 3/4;\\n}\\n\\n.slider-nav-scrollbar {\\n --swiffy-slider-track-height: 0.5rem;\\n}\\n\\n.slider-nav-scrollbar .slider-container {\\n scrollbar-width: thin;\\n}\\n\\n.slider-nav-nodelay .slider-container {\\n scroll-behavior: auto;\\n}\\n\\n.slider-indicators {\\n position: absolute;\\n right: 2rem;\\n bottom: 0;\\n left: 2rem;\\n display: flex;\\n justify-content: center;\\n padding: 0;\\n margin-bottom: 1rem;\\n list-style: none;\\n}\\n\\n.slider-nav-scrollbar .slider-indicators {\\n margin-bottom: calc(1rem + var(--swiffy-slider-track-height));\\n}\\n\\n.slider-indicators>*.active {\\n opacity: 1;\\n}\\n\\n.swiffy-slider.slider-indicators-outside .slider-nav {\\n margin-bottom: var(--swiffy-slider-indicator-outside-size);\\n}\\n\\n.swiffy-slider.slider-indicators-outside {\\n padding-bottom: var(--swiffy-slider-indicator-outside-size);\\n}\\n\\n.swiffy-slider.slider-indicators-outside.slider-indicators,\\n.swiffy-slider.slider-indicators-outside .slider-indicators {\\n margin-bottom: 0;\\n}\\n\\n.slider-indicators>* {\\n box-sizing: content-box;\\n flex: 0 1 auto;\\n width: 2rem;\\n height: .2rem;\\n padding: 0;\\n border: .4rem solid transparent;\\n cursor: pointer;\\n background-color: #fff;\\n background-clip: padding-box;\\n opacity: .5;\\n transition: opacity .4s ease;\\n}\\n\\n.slider-indicators-square.slider-indicators>*,\\n.slider-indicators-square .slider-indicators>* {\\n width: .5rem;\\n height: .5rem;\\n border: .4rem solid transparent;\\n}\\n\\n.slider-indicators-round.slider-indicators>*,\\n.slider-indicators-round .slider-indicators>* {\\n width: .5rem;\\n height: .5rem;\\n border: .4rem solid transparent;\\n border-radius: 50%;\\n}\\n\\n.slider-indicators-highlight.slider-indicators>*.active,\\n.slider-indicators-highlight .slider-indicators>*.active {\\n border: .33rem solid transparent;\\n padding: .07rem;\\n}\\n\\n.slider-nav {\\n position: absolute;\\n top: 0;\\n left: 0;\\n bottom: 0;\\n border: 0;\\n background-color: transparent;\\n cursor: pointer;\\n padding: 0;\\n visibility: hidden;\\n opacity: 0.8;\\n transition: visibility 0.1s, opacity 0.2s linear;\\n margin-bottom: var(--swiffy-slider-track-height);\\n display: flex;\\n align-items: center;\\n padding: 0 .5rem;\\n filter: drop-shadow(0 0 .5rem rgba(0, 0, 0, .5));\\n transform: scale(var(--swiffy-slider-nav-zoom));\\n}\\n\\n.slider-nav::before {\\n position: absolute;\\n content: \\\"\\\";\\n padding: .5rem;\\n width: 3rem;\\n height: 3rem;\\n}\\n\\n.slider-nav::after {\\n content: \\\"\\\";\\n mask: url(\\\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'></path></svg>\\\");\\n mask-size: cover;\\n background-color: var(--swiffy-slider-nav-light);\\n background-origin: content-box;\\n width: 3rem;\\n height: 3rem;\\n}\\n\\n.slider-nav-arrow .slider-nav::after {\\n mask: url(\\\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z'></path></svg>\\\");\\n}\\n\\n.slider-nav-chevron .slider-nav::after {\\n mask: url(\\\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M9.224 1.553a.5.5 0 0 1 .223.67L6.56 8l2.888 5.776a.5.5 0 1 1-.894.448l-3-6a.5.5 0 0 1 0-.448l3-6a.5.5 0 0 1 .67-.223z'></path></svg>\\\");\\n}\\n\\n.slider-nav-caret .slider-nav::after {\\n mask: url(\\\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'><path d='M10 12.796V3.204L4.519 8 10 12.796zm-.659.753-5.48-4.796a1 1 0 0 1 0-1.506l5.48-4.796A1 1 0 0 1 11 3.204v9.592a1 1 0 0 1-1.659.753z'></path></svg>\\\");\\n}\\n\\n.slider-nav-caretfill .slider-nav::after {\\n mask: url(\\\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'><path d='m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z'></path></svg>\\\");\\n}\\n\\n.swiffy-slider:hover .slider-nav {\\n visibility: visible;\\n}\\n\\n.swiffy-slider.slider-nav-autohide.slider-item-first-visible .slider-nav:not(.slider-nav-next) {\\n visibility: hidden;\\n}\\n\\n.swiffy-slider.slider-nav-autohide.slider-item-last-visible .slider-nav.slider-nav-next {\\n visibility: hidden;\\n}\\n\\n.slider-nav-outside .slider-container {\\n margin: 0 var(--swiffy-slider-nav-outside-size);\\n}\\n\\n.slider-nav-outside .slider-nav {\\n padding: 0;\\n}\\n\\n.swiffy-slider .slider-nav:hover {\\n opacity: 1;\\n}\\n\\n.slider-nav-square .slider-nav {\\n padding: 0;\\n}\\n\\n.slider-nav-round .slider-nav::before,\\n.slider-nav-square .slider-nav::before {\\n background-color: var(--swiffy-slider-nav-light);\\n}\\n\\n.slider-nav-round .slider-nav::after,\\n.slider-nav-square .slider-nav::after {\\n background-color: var(--swiffy-slider-nav-dark);\\n width: 2rem;\\n height: 2rem;\\n margin: .5rem;\\n}\\n\\n.slider-nav-round .slider-nav::before {\\n border-radius: 50%;\\n}\\n\\n.slider-nav-round .slider-nav::after {\\n mask: url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z'%3E%3C/path%3E%3C/svg%3E\\\");\\n}\\n\\n.slider-nav-dark .slider-nav::after {\\n background-color: var(--swiffy-slider-nav-dark);\\n}\\n\\n.slider-nav-dark.slider-nav-round .slider-nav::before,\\n.slider-nav-dark.slider-nav-square .slider-nav::before {\\n background-color: var(--swiffy-slider-nav-dark);\\n}\\n\\n.slider-nav-dark.slider-nav-round .slider-nav::after,\\n.slider-nav-dark.slider-nav-square .slider-nav::after {\\n background-color: var(--swiffy-slider-nav-light);\\n}\\n\\n.slider-nav-sm {\\n --swiffy-slider-nav-zoom: .75;\\n --swiffy-slider-nav-outside-size: 2.5rem;\\n}\\n\\n.slider-nav.slider-nav-next::after {\\n transform: rotate(180deg);\\n}\\n\\n.slider-nav.slider-nav-next {\\n right: 0;\\n left: unset;\\n}\\n\\n.slider-nav-visible .slider-nav {\\n visibility: visible;\\n}\\n\\n.slider-nav-dark .slider-nav {\\n opacity: 0.6;\\n}\\n\\n.slider-indicators-dark.slider-indicators>*,\\n.slider-indicators-dark .slider-indicators>* {\\n filter: invert(1);\\n}\\n\\n.slider-item-snapstart {\\n --swiffy-slider-snap-align: start;\\n}\\n\\n.slider-item-nosnap {\\n --swiffy-slider-snap-align: unset;\\n}\\n\\n.slider-item-nogap {\\n --swiffy-slider-item-gap: 0rem;\\n}\\n\\n.slider-item-reveal {\\n --swiffy-slider-item-reveal: 8rem;\\n}\\n\\n.slider-item-snapstart.slider-item-reveal {\\n --swiffy-slider-item-reveal: 4rem;\\n}\\n\\n.slider-item-show2 {\\n --swiffy-slider-item-count: 2;\\n}\\n\\n.slider-item-show3 {\\n --swiffy-slider-item-count: 3;\\n}\\n\\n.slider-item-show4 {\\n --swiffy-slider-item-count: 4;\\n}\\n\\n.slider-item-show5 {\\n --swiffy-slider-item-count: 5;\\n}\\n\\n.slider-item-show6 {\\n --swiffy-slider-item-count: 6;\\n}\\n\\n.slider-nav-mousedrag .slider-container {\\n cursor: grab;\\n}\\n\\n.slider-nav-mousedrag.dragging .slider-container {\\n scroll-snap-type: unset;\\n scroll-behavior: unset;\\n user-select: none;\\n}\\n\\n.slider-nav-mousedrag.dragging .slider-nav {\\n visibility: hidden;\\n}\\n\\n@media (hover: hover) {\\n .slider-nav-mousedrag .slider-container::after {\\n content: \\\"\\\";\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n }\\n}\\n\\n@media (prefers-reduced-motion: no-preference) {\\n .slider-nav-animation.slider-nav-animation-fast {\\n --swiffy-slider-animation-duration: .25s;\\n }\\n .slider-nav-animation.slider-nav-animation-slow {\\n --swiffy-slider-animation-duration: 1.25s;\\n }\\n .slider-nav-animation .slider-container>*>* {\\n transition: opacity var(--swiffy-slider-animation-duration) var(--swiffy-slider-animation-timing), transform var(--swiffy-slider-animation-duration) var(--swiffy-slider-animation-timing);\\n transition-delay: var(--swiffy-slider-animation-delay);\\n }\\n .slider-nav-animation .slider-container .slide-visible>* {\\n transition: opacity var(--swiffy-slider-animation-duration) var(--swiffy-slider-animation-timing), transform var(--swiffy-slider-animation-duration) var(--swiffy-slider-animation-timing);\\n transition-delay: var(--swiffy-slider-animation-delay);\\n }\\n .slider-nav-animation.slider-nav-animation-fadein .slider-container>*>* {\\n opacity: 0.5;\\n }\\n .slider-nav-animation.slider-nav-animation-scale .slider-container>*>* {\\n transform: scale(.9);\\n }\\n .slider-nav-animation.slider-nav-animation-appear .slider-container>*>* {\\n opacity: 0.3;\\n transform: scale(.9);\\n }\\n .slider-nav-animation.slider-nav-animation-scaleup .slider-container>*>* {\\n transform: scale(.25);\\n }\\n .slider-nav-animation.slider-nav-animation-zoomout .slider-container>* {\\n overflow: hidden;\\n }\\n .slider-nav-animation.slider-nav-animation-zoomout .slider-container>*>* {\\n transform: scale(1.3);\\n }\\n .slider-nav-animation.slider-nav-animation-turn .slider-container>*>* {\\n transform: rotateY(70deg);\\n }\\n .slider-nav-animation.slider-nav-animation-slideup .slider-container>*>* {\\n transform: translateY(60%) scale(.99);\\n }\\n .slider-nav-animation.slider-nav-animation-slideup .slider-container {\\n overflow-y: hidden;\\n }\\n .slider-nav-animation .slider-container>*.slide-visible>* {\\n opacity: 1;\\n transform: none;\\n }\\n}\\n\\n@media (min-width: 62rem) {\\n .slider-item-show6:not(.slider-item-snapstart) .slider-container>*,\\n .slider-item-show4:not(.slider-item-snapstart) .slider-container>*,\\n .slider-item-show2:not(.slider-item-snapstart) .slider-container>* {\\n scroll-snap-align: unset;\\n }\\n .slider-item-show6:not(.slider-item-snapstart) .slider-container>*::before,\\n .slider-item-show4:not(.slider-item-snapstart) .slider-container>*::before,\\n .slider-item-show2:not(.slider-item-snapstart) .slider-container>*::before {\\n content: \\\" \\\";\\n display: block;\\n position: absolute;\\n left: calc((var(--swiffy-slider-item-gap)/2)*-1);\\n top: 0;\\n /*FF fix setting w+h to 1 px - otherwise snap will not occur*/\\n width: 1px;\\n height: 1px;\\n scroll-snap-align: var(--swiffy-slider-snap-align);\\n }\\n .slider-nav-outside-expand .slider-nav {\\n margin-left: -4rem;\\n }\\n .slider-nav-outside-expand .slider-nav.slider-nav-next {\\n margin-right: -4rem;\\n }\\n .slider-nav-sm.slider-nav-outside-expand .slider-nav {\\n margin-left: -3.5rem;\\n }\\n .slider-nav-sm.slider-nav-outside-expand .slider-nav.slider-nav-next {\\n margin-right: -3.5rem;\\n }\\n .slider-indicators-sm.slider-indicators {\\n display: none;\\n }\\n}\\n\\n@media (max-width: 62rem) {\\n .swiffy-slider {\\n --swiffy-slider-track-height: 0rem;\\n --swiffy-slider-item-reveal: 0rem;\\n --swiffy-slider-item-count: 1;\\n --swiffy-slider-nav-zoom: .875;\\n }\\n .swiffy-slider .slider-item-show2-sm {\\n --swiffy-slider-item-count: 2;\\n }\\n .slider-item-reveal {\\n --swiffy-slider-item-reveal: 4rem;\\n }\\n .slider-item-snapstart.slider-item-reveal {\\n --swiffy-slider-item-reveal: 2rem;\\n }\\n .slider-item-show6 .slider-container {\\n grid-auto-columns: calc(25% - (var(--swiffy-slider-item-gap)/4*3));\\n }\\n .slider-item-show6.slider-item-reveal .slider-container {\\n grid-auto-columns: calc(25% - (var(--swiffy-slider-item-gap)/4*3) - .5rem);\\n }\\n .slider-item-show6.slider-item-reveal .slider-container>* {\\n scroll-snap-align: unset;\\n }\\n .slider-item-show6.slider-item-reveal .slider-container>*::before {\\n content: \\\" \\\";\\n display: block;\\n position: absolute;\\n left: calc((var(--swiffy-slider-item-gap)/2)*-1);\\n top: 0;\\n /*FF fix setting w+h to 1 px - otherwise snap will not occur*/\\n width: 1px;\\n height: 1px;\\n scroll-snap-align: center;\\n }\\n .slider-nav::before,\\n .slider-nav::after {\\n width: 2rem;\\n height: 2rem;\\n padding: 0.3rem;\\n }\\n .slider-nav-round .slider-nav::after,\\n .slider-nav-square .slider-nav::after {\\n width: 1.75rem;\\n height: 1.75rem;\\n margin: 0.125rem;\\n }\\n .slider-nav-outside-expand .slider-container,\\n .slider-nav-outside .slider-container {\\n margin: 0 2rem;\\n }\\n .slider-nav-outside-expand .slider-container {\\n margin: 0 var(--swiffy-slider-nav-outside-size);\\n }\\n .slider-nav-outside-expand .slider-nav {\\n padding: 0;\\n }\\n .slider-indicators-square.slider-indicators>*,\\n .slider-indicators-square .slider-indicators>*,\\n .slider-indicators-round.slider-indicators>*,\\n .slider-indicators-round .slider-indicators>* {\\n width: .3rem;\\n height: .3rem;\\n }\\n .slider-indicators {\\n margin-bottom: .5rem;\\n display: none;\\n }\\n .slider-nav-scrollbar .slider-indicators {\\n margin-bottom: 0rem;\\n }\\n .slider-indicators>* {\\n width: 1rem;\\n height: 0.125rem;\\n border-width: .25rem;\\n }\\n .slider-indicators-sm .slider-indicators,\\n .slider-indicators-sm.slider-indicators {\\n display: flex;\\n }\\n}\\n\\n@media (max-width: 48rem) {\\n .slider-item-show6 .slider-container {\\n grid-auto-columns: calc(50% - (var(--swiffy-slider-item-gap)/2));\\n }\\n .slider-item-show6.slider-item-reveal .slider-container {\\n grid-auto-columns: calc(50% - (var(--swiffy-slider-item-gap)/2) - 1.5rem);\\n }\\n}\\n\\n@media (hover: none) {\\n .swiffy-slider.slider-nav-touch .slider-nav {\\n visibility: visible;\\n }\\n .swiffy-slider:not(.slider-nav-touch).slider-nav-outside-expand .slider-container,\\n .swiffy-slider:not(.slider-nav-touch).slider-nav-outside .slider-container {\\n margin: 0 0rem;\\n }\\n .slider-item-nosnap-touch {\\n --swiffy-slider-snap-align: unset;\\n }\\n}\",\"type\":\"text/css\",\"tags\":\"$:/tags/Stylesheet\"},\"$:/plugins/sq/swiffy-slider/swiffy-slider.umd.js\":{\"title\":\"$:/plugins/sq/swiffy-slider/swiffy-slider.umd.js\",\"text\":\"!function(e,t){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?t(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],t):t((e=\\\"undefined\\\"!=typeof globalThis?globalThis:e||self).Swiffy={})}(this,(function(e){\\\"use strict\\\";const t={version:\\\"1.6.0\\\",init(e=document.body){for(let t of e.querySelectorAll(\\\".swiffy-slider\\\"))this.initSlider(t)},initSlider(e){for(let t of e.querySelectorAll(\\\".slider-nav\\\")){let i=t.classList.contains(\\\"slider-nav-next\\\");t.addEventListener(\\\"click\\\",(()=>this.slide(e,i)),{passive:!0})}for(let t of e.querySelectorAll(\\\".slider-indicators\\\"))t.addEventListener(\\\"click\\\",(()=>this.slideToByIndicator())),this.onSlideEnd(e,(()=>this.handleIndicators(e)),60);if(e.classList.contains(\\\"slider-nav-autoplay\\\")){const t=e.getAttribute(\\\"data-slider-nav-autoplay-interval\\\")?e.getAttribute(\\\"data-slider-nav-autoplay-interval\\\"):2500;this.autoPlay(e,t,e.classList.contains(\\\"slider-nav-autopause\\\"))}if([\\\"slider-nav-autohide\\\",\\\"slider-nav-animation\\\"].some((t=>e.classList.contains(t)))){const t=e.getAttribute(\\\"data-slider-nav-animation-threshold\\\")?e.getAttribute(\\\"data-slider-nav-animation-threshold\\\"):.3;this.setVisibleSlides(e,t)}},setVisibleSlides(e,t=.3){let i=new IntersectionObserver((t=>{t.forEach((e=>{e.isIntersecting?e.target.classList.add(\\\"slide-visible\\\"):e.target.classList.remove(\\\"slide-visible\\\")})),e.querySelector(\\\".slider-container>*:first-child\\\").classList.contains(\\\"slide-visible\\\")?e.classList.add(\\\"slider-item-first-visible\\\"):e.classList.remove(\\\"slider-item-first-visible\\\"),e.querySelector(\\\".slider-container>*:last-child\\\").classList.contains(\\\"slide-visible\\\")?e.classList.add(\\\"slider-item-last-visible\\\"):e.classList.remove(\\\"slider-item-last-visible\\\")}),{root:e.querySelector(\\\".slider-container\\\"),threshold:t});for(let t of e.querySelectorAll(\\\".slider-container>*\\\"))i.observe(t)},slide(e,t=!0){const i=e.querySelector(\\\".slider-container\\\"),s=e.classList.contains(\\\"slider-nav-page\\\"),l=e.classList.contains(\\\"slider-nav-noloop\\\"),o=e.classList.contains(\\\"slider-nav-nodelay\\\"),n=i.children,r=parseInt(window.getComputedStyle(i).columnGap),a=n[0].offsetWidth+r;let d=t?i.scrollLeft+a:i.scrollLeft-a;s&&(d=t?i.scrollLeft+i.offsetWidth:i.scrollLeft-i.offsetWidth),i.scrollLeft<1&&!t&&!l&&(d=i.scrollWidth-i.offsetWidth),i.scrollLeft>=i.scrollWidth-i.offsetWidth&&t&&!l&&(d=0),i.scroll({left:d,behavior:o?\\\"auto\\\":\\\"smooth\\\"})},slideToByIndicator(){const e=window.event.target,t=Array.from(e.parentElement.children).indexOf(e),i=e.parentElement.children.length,s=e.closest(\\\".swiffy-slider\\\"),l=s.querySelector(\\\".slider-container\\\").children.length/i*t;this.slideTo(s,l)},slideTo(e,t){const i=e.querySelector(\\\".slider-container\\\"),s=parseInt(window.getComputedStyle(i).columnGap),l=i.children[0].offsetWidth+s,o=e.classList.contains(\\\"slider-nav-nodelay\\\");i.scroll({left:l*t,behavior:o?\\\"auto\\\":\\\"smooth\\\"})},onSlideEnd(e,t,i=125){let s;e.querySelector(\\\".slider-container\\\").addEventListener(\\\"scroll\\\",(function(){window.clearTimeout(s),s=setTimeout(t,i)}),{capture:!1,passive:!0})},autoPlay(e,t,i){t=t<750?750:t;let s=setInterval((()=>this.slide(e)),t);const l=()=>this.autoPlay(e,t,i);return i&&([\\\"mouseover\\\",\\\"touchstart\\\"].forEach((function(t){e.addEventListener(t,(function(){window.clearTimeout(s)}),{once:!0,passive:!0})})),[\\\"mouseout\\\",\\\"touchend\\\"].forEach((function(t){e.addEventListener(t,(function(){l()}),{once:!0,passive:!0})}))),s},handleIndicators(e){if(!e)return;const t=e.querySelector(\\\".slider-container\\\"),i=t.scrollWidth-t.offsetWidth,s=t.scrollLeft/i;for(let t of e.querySelectorAll(\\\".slider-indicators\\\")){let e=t.children,i=Math.abs(Math.round((e.length-1)*s));for(let t of e)t.classList.remove(\\\"active\\\");e[i].classList.add(\\\"active\\\")}}};e.swiffyslider=t}));\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/sq/swiffy-slider/widget.js\":{\"title\":\"$:/plugins/sq/swiffy-slider/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/sq/swiffy-slider/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\nexports.platforms = [\\\"browser\\\"];\\nif(!$tw.sq) {\\n\\t$tw.sq = {};\\n}\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n\\nvar SwiffySliderWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSwiffySliderWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSwiffySliderWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t\\n\\tthis.domNode = this.document.createElement(\\\"div\\\");\\n\\tthis.domNode.className = \\\"swiffy-slider-wrapper\\\";\\n\\tparent.insertBefore(this.domNode,nextSibling);\\n\\tthis.renderChildren(this.domNode,null);\\n\\tthis.domNodes.push(this.domNode);\\n\\n\\tvar Swiffy = require(\\\"$:/plugins/sq/swiffy-slider/swiffy-slider.umd.js\\\").swiffyslider;\\n\\tSwiffy.extensions = require(\\\"$:/plugins/sq/swiffy-slider/swiffy-slider-extensions.umd.js\\\").swiffysliderextensions;\\n\\tvar sliderDOMNode = this.domNode.querySelector(\\\".swiffy-slider\\\");\\n\\tif(sliderDOMNode) {\\n\\t\\tSwiffy.initSlider(this.domNode.querySelector(\\\".swiffy-slider\\\"));\\n\\t\\tSwiffy.extensions.initSlider(this.domNode.querySelector(\\\".swiffy-slider\\\"));\\n\\t}\\n};\\n\\n\\nSwiffySliderWidget.prototype.execute = function() {\\n\\tthis.makeChildWidgets();\\n};\\n\\nSwiffySliderWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes)>0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar retValue = this.refreshChildren(changedTiddlers);\\n\\t\\t/*\\n\\t\\tif(retValue) {\\n\\t\\t\\treinit swiffy, or force a refreshSelf?\\n\\t\\t} \\n\\t\\t*/\\n\\t\\treturn retValue;\\n\\t}\\n};\\n\\nexports[\\\"swiffy-slider\\\"] = SwiffySliderWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"}}}","revision":"0","bag":"default"},{"text":"{\n \"tiddlers\": {\n \"GeoTiddler\": {\n \"title\": \"GeoTiddler\",\n \"created\": \"20151130173416239\",\n \"modified\": \"20170115153450584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"[[GeoTiddler]]s are tiddlers containing geographical data. [[geoSyntax|$:/plugins/sycom/leaflet/geoSyntax]] lists the available objects. [[geoJson|https://en.wikipedia.org/wiki/GeoJSON]] data are also accepted. You may specify a color for all objects displayed through `color` field.\\n\\n!! tiddler with geo TiddlerFields\\nYou can upgrade your tiddler by putting some geo metadata ([[wgs 84 coordinates|https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84]]) in it's TiddlerFields. See [[geoSyntax|$:/plugins/sycom/leaflet/geoSyntax]] for the list of object types you can draw. Popup will show the first part of the tiddler. If the tiddler contains a leafmap widget, it will be rendered as `text/plain` in order to avoid crash...\\n\\n!! geoJSON tiddler\\nYou can define a geoJson tiddler like [[tiddlyWikiFrCommunity|$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity]] and then display the data by calling it. Just put your geoJson data in the body and declare the tiddler as application/json. Any `application/json` tiddler called will be considered as geoJson. The popups will show\\n\\n* a title\\n** the `name` or the `title` attribute in properties if exists,\\n** if not, the firsts attributes of properties until they are 8 characters long\\n* a description\\n** the `description` attribute in properties if exists,\\n** if not, the data stored in each feature as a bulleted list.\\n\\n!! tiddler grouping [[GeoTiddler]]s\\nYou can use `tiddlers` or `filter` as TiddlerFields to make a group of tiddlers. You can apply some styling options to all the group using `style`, `color` or `marker` TiddlerFields and then call the tiddler in your map to render all those tiddler at the same time. This will be a good way to make thematic maps indeed...\\n\"\n },\n \"$:/plugins/sycom/leaflet/devDiary\": {\n \"title\": \"$:/plugins/sycom/leaflet/devDiary\",\n \"created\": \"20151110173416000\",\n \"modified\": \"20180531171500000\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"Some notes about coding this plugin. Might be useful to others...\\n\\n* 20180602\\n** added a template that will display a map of embeded object for tiddlers containing one of the geoTiddlers fiels.\\n** updtated leaflet and marker-cluster to 1.3.1 - the easy way. Just replaced with new version and no deprecation at all \\\\o/ !\\n* 20180531\\n** converting all `.svg.tid` files to `.svg` + `.svg.meta` pairs. Will allow git client to make svg viewable in web interface. Also compressed SVG as much as possible with great https://jakearchibald.github.io/svgomg/ tool.\\n** tweak : for svg embedding local TiddlyWiki colors (eg `$primary$`), forced type to `text/vnd.tiddlywiki` to preserve them.\\n* 20170317\\n** lot of work around cluster size, cluster color when using filter. Cluster size depends on point % for the cluster, clusterRadius and zoom.\\n* 20170311\\n** added styling options and also the grouping tiddler capabilities. Discovered that direct styling in SVG ''does not always'' [[overwrite css styling|http://stackoverflow.com/questions/24293880/svg-why-does-external-css-override-inline-style-for-text]].\\n* 20170129\\n** adding some markers. And it's possible to create yours.\\n* 20170115\\n** darling birthday edit. Clustering by tiddler is on track. Will have to look for clustering direct passing object through widget.\\n* 20161111\\n** armistice edit! can now disable clustering or set clustering distance. Bug #9 fixed. may be cluster size will be too big for big databases\\n* 20161106\\n** color parameter is partially implemented. Note that direct styling like `fill` in svg element wont take on class styling through css...\\n* 20161104\\n** after many attemps, managed to include tiddler excerpt in popups for mapping geoTiddler. Had to include an escape rule for tiddler containing a leafmap widget. No larsen, but a big bug (map number probably).\\n** also managed to give the marker the color of the primary color. Note for later there is probably a bug if primary color is defined with `<<colour>>` macro.\\n* 20161102\\n** ok, when importing some library, don't forget to use `require()` in order to conclude. Silly guy. Still some polishing needed, but clustering know works...\\n* 20161101\\n** fighting with markercluster capabilities. At this point seems I can add the script but the MarkerClusterGroup class is not recognized when called...\\n* 20161031\\n** gave up inserting external layers.svg in stylesheet. Issues with `<$text />` and `{{ }}`... Created svg in a separate tiddler for the record but inserting directly an \\\"escaped\\\" version in [[mapCss.css|$:/plugins/sycom/leaflet/mapCssTweaks.css.tid]]\\n* 20161030\\n** working on different markers. Not so good at designing them though ;-) Putted default leaflet svg marker. Using Inkscape to edit svg easily and SVGO extension in atom to compress them. First attempt to put layers icon as svg. Issues...\\n* 20161029\\n** trying to put svg marker instead of png ones. Will be better for changing colors, content... using data:image/svg+xml. Svg has to bring xmlns ~~and xmlns:xlink~~ with it in order to work...\\n* 20161025\\n** after big fight, managed to call images as embeded through css without writing full base64 code. Had to add `html` to the \\\"rules only\\\" list at the beginning of the css code\\n* 20161024\\n** geojson implemented. Will need to add cluster soon. Some question about geojson attributes to create the popup...\\n* 20161021\\n** updated leaflet.js to 1.0.1 moved base64 image to mapCss.css in order to avoid problems when updating leaflet.\\n** Updated tileLayer list. min/max checked for this time. Detect if tile id is wrong to alert user and display osm instead.\\n* 20160314\\n** corrected caption errors for example and roadmap. Have to write an install process in demo site (gh-page) since writing this in plugin is nonsense.\\n* 20151124\\n** wondering the best way to release plugin code in gitlab (or github). Can't be a fork of TiddlyWiki. Don't want to lose .git history.\\n** ok I'm dumb. All is written in the dev TiddlyWiki : http://tiddlywiki.com/dev/#Developing%20p lugins%20using%20Node.js%20and%20GitHub . Lost .git history since cuting tree is bad. But history was still short...\\n* 20151123\\n** not able to use directly tiddler stored images as css background.\\n** decided to use base64 form in css. Not so elegant as I wished, but works.\\n* 20151121\\n** fighting with parameters : not imported from widget with `this.getAttribute()`\\n** solved by adding the parameter computation before : `this.computeAttributes();`\\n* 20151115\\n** some problems to declare leaflet.js library : fail during build since there is no window, no document.\\n** solved by creating the tiddlywiki.files importer.\\n* 20151110\\n** starting some tests. Inspiration from d3plugin (also creating widget and importing library)\\n\"\n },\n \"$:/plugins/sycom/leaflet/geoSyntax\": {\n \"title\": \"$:/plugins/sycom/leaflet/geoSyntax\",\n \"created\": \"20151119173416239\",\n \"modified\": \"20151211173250584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"geoSyntax\",\n \"text\": \"Geographical objects can be stored\\n\\n* in a GeoTiddler by creating a ''//type// : // pattern//'' metadata field pair in any tiddler or by storing geoJson data in it and setting your tiddler to `application/JSON` type. Call it in the widget with ''places'' attribute : `places='{\\\"tiddler\\\":\\\"title of your tiddler\\\"}'`\\n* in several [[GeoTiddlers|GeoTiddler]]. Call them in the widget with ''places'' attribute\\n** via a space separated list of [[GeoTiddlers|GeoTiddler]] : `places='{\\\"tiddlers\\\":\\\"tiddler1 tiddler2 tiddler3\\\"}'`\\n** via a [[filter|http://tiddlywiki.com/#Filters]] selection of [[GeoTiddlers|GeoTiddler]] : `places='{\\\"filter\\\":\\\"[[your filter]]\\\"}'`\\n* straight in the widget with ''places'' attribute : `places='{\\\"object type\\\":\\\"coordinates pattern\\\"}'`\\n\\n!! Everything might be a GeoTiddler\\n\\nIn a very much tiddlywiki way, a tiddler may also refer to a list or a selection of tiddlers using `tiddlers` or `filter` metadata fields. You may add styling informations to all refered tiddler with `style`, `color` or `marker` metadata fields. Calling this tiddler with `<$leafmap />` will render all refered tiddlers.\\n\\n!! Tool for creating shapes\\nAs not everyone has a GIS in his head, And the plugin does not implement yet any tool for creating geo shapes, there is (very basic) tool for that : [ext[Draw for TiddlyWiki leaflet plugin|http://sycom.github.io/TiddlyWiki-Plugins/leafletDraw.html]]\\n\\n!! Geographical objects you can display on your map\\n\\n| !type | !description | !pattern |\\n|''point'' |a unique point defined by a comma separated latitude,longitude pair |`y,x` |\\n|''points''|a points collection defined by a space separated ''point'' definition list |`y1,x1 y2,x2 y3,x3 ...` |\\n|''polygon''|a closed surfacic place defined like an //ordered// ''points'' collection just above |`y1,x1 y2,x2 y3,x3 ...` |\\n|''polygons''|a polygons collection defined by a pipe (`|`) separated list of ''polygon'' definitions |`y1,x1 y2,x2 y3,x3|y4,x4 y5...` |\\n|''polyline''|an open path place defined like the ''polygon'' just above |`y1,x1 y2,x2 y3,x3 ...` |\\n|''polylines''|a polylines collection defined by a pipe (`|`) separated list of ''polyline'' definitions |`y1,x1 y2,x2 y3,x3|y4,x4 y5...` |\\n|''geojson''|a [[geojson|http://geojson.org/]] object. If set through a tiddler field, please crunch it to one single line|see [[rfc7946|https://tools.ietf.org/html/rfc7946]]|\\n\"\n },\n \"$:/plugins/sycom/leaflet/markers\": {\n \"title\": \"$:/plugins/sycom/leaflet/markers\",\n \"created\": \"20170129172401910\",\n \"modified\": \"20170129172401910\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Markers\",\n \"text\": \"markers are used to display point(s) related informations. Default marker is [[marker|$:/plugins/sycom/leaflet/images/marker.svg]].\\n\\n!! Available markers\\n\\nfor now, available markers are those\\n\\n<$list filter='[all[shadows]has[marker_dim]has[caption]]'><span style=\\\"display:inline-block;text-align:center;margin:0 .5em;padding:.5em;border:.5px dotted\\\"><$tiddler tiddler={{!!title}}><$transclude/></$tiddler><br/><$link to={{!!title}}>{{!!caption}}</$link></span></$list>\\n\\n!! Create your own markers\\n\\nHave a look at existing ones above for inspiration and hack. Markers are svg pieces with some mandatory tweaks :\\n\\n* a marker is based upon ''two'' tiddlers, one for the marker and one for the shadow\\n* add a `caption` field to the marker tiddler (not for the shadow svg).\\n* the `title` of your marker tiddler will be `$:/plugins/sycom/leaflet/images/`''caption''`.svg`\\n* and the `title` of the marker shadow tiddler will be `$:/plugins/sycom/leaflet/images/`''caption''`shadow.svg`\\n* a `marker_dim` field wich defines //width// //height// //x-anchor// //y-anchors//. Please check that your //width// and //height// value are the same as in `<svg (...) width=\\\"15\\\" height=\\\"15\\\">`\\n* don't forget to add `xmlns` attribute : `<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" (...)`\\n* if you want your marker to change color upon tiddlywiki or widget parameters, use `$primary$` for the color attribute of your svg\\n\"\n },\n \"$:/plugins/sycom/leaflet/roadmap\": {\n \"title\": \"$:/plugins/sycom/leaflet/roadmap\",\n \"created\": \"20151209173416000\",\n \"modified\": \"20180531171500000\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Roadmap\",\n \"text\": \"Not really a roadmap just a list for future development ideas. You'd better take a look at [[issues|https://framagit.org/sycom/TiddlyWiki-Plugins/boards]] on the repo. And add yours if you dare ;-)\\n\\n* add a tool to draw shapes, lines and collect coordinates. Until this, You may use [[Draw for TiddlyWiki leaflet plugin|http://sycom.github.io/TiddlyWiki-Plugins/leafletDraw.html]]\\n* add categories options\\n* add text, title capabilities\\n* try a tiddler template based upon field presence to render data for all geoTiddler\\n* ...\\n\\n* ~~try to put other types of pins (svg? icons?)~~ ''0.8.0'' : you may change markers via the //marker// option and design your own markers\\n* ~~add color(s) options~~ ''0.7.2'' : color can be set via //color// tiddler field or forced through //color// option\\n* ~~add a clustering functionality (at least for points)~~ ''0.7.0'' : each data group is know clustering points\\n* ~~add geoJSON tiddlers~~ ''0.6.0'' : added geojsontiddler rendering\\n* ~~map tiddlers with the same tag(s)~~ ''0.5.0'' : added filter places request\\n\"\n },\n \"$:/plugins/sycom/leaflet/tileLayers\": {\n \"title\": \"$:/plugins/sycom/leaflet/tileLayers\",\n \"created\": \"20151119173416239\",\n \"modified\": \"20161020222250584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"tileLayers\",\n \"text\": \"tileLayers are the //background// of the leaflet map. They will not be available offline and will not display at every zoom level.\\n\\n!! Available tile layers\\n\\nedit [[tileLayers.json|$:/plugins/sycom/leaflet/lib/tileLayers.json]] if you want to add / remove tile layers.\\n\\n| !id | !description | !zoom min/max |\\n|''osm'' |[[OpenStreetMap|http://openstreetmap.org]] classic tile layer | 1/20 |\\n|''osmfr'' |[[OpenStreetMap|http://openstreetmap.org]] with //baguette// smell | 1/20 |\\n|''osmbw'' |Black and White version of [[OpenStreetMap|http://openstreetmap.org]] tiles by Wikimedia labs | 1/20 |\\n|''sat'' |Satellite photographic layer provided by Esri | 1/18 |\\n|''natgeo'' |National Geographic style layer provided by Esri| 1/12 |\\n|''toner'' |Black and white styled OpenStreetMap data provided by [[Stamen|http://stamen.com]] | 1/20 |\\n|''water'' |Watercolor styled OpenStreetMap data provided by [[Stamen|http://stamen.com]] | 1/20 |\\n|''thunder'' |Pale styled OpenStreetMap data provided by [[Thunderforest|http://thunderforest.com]] | 1/20 |\\n|''dark'' |\\\"Dark Matter\\\" styled OpenStreetMap data provided by [[CartoDB|https://cartodb.com/basemaps]] | 1/20 |\\n|''positron'' |\\\"Positron\\\" styled OpenStreetMap data provided by [[CartoDB|https://cartodb.com/basemaps]] | 1/20 |\\n\"\n },\n \"$:/plugins/sycom/leaflet/usage\": {\n \"title\": \"$:/plugins/sycom/leaflet/usage\",\n \"created\": \"20151119173416239\",\n \"modified\": \"20170129153650584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Usage\",\n \"text\": \"The widget is called by using `<$leafmap />`. You may specify some options :\\n\\n!!! widget attributes\\n|!Attribute |!Description |!Default |\\n|''width'' |the width of the map (px or tiddler %)| `100%`|\\n|''height''|the height of the map (px only)| `420px`|\\n\\n!!! leaflet map attributes\\n|!Attribute |!Description |!Default |\\n|''places'' |a json object with the geographical data you want to display. Can be stored in tiddlers as metadata fields. See [[geoSyntax|$:/plugins/sycom/leaflet/geoSyntax]] for more informations ||\\n|''style'' |a json object containing styling information for your polygons and polylines objects in the map. Will overwrite GeoTiddler style if exists. Refer to [[leaflet documentation|http://leafletjs.com/reference-1.0.3.html#path]] for all options| `{ }`|\\n|''color'' |a color for drawing that will apply to all objects in the map. Will also overwrite GeoTiddler color attributes and //style// (if defined) colors| `<<colour primary>>`|\\n|''marker''|the name of the marker you want for points. See [[markers|$:/plugins/sycom/leaflet/markers]] for more informations| `marker`|\\n|''tile'' |the //id// or the //number// of the tile layer you want to use. See [[tileLayers|$:/plugins/sycom/leaflet/tileLayers]] for more informations | `osm`|\\n|''cluster''|set the clustering distance between points. also can disable clustering with no value or `0` or `\\\"\\\"`| `80`|\\n|''clusterType''|set if points are clustered for whole map (`map`) or for each tiddler (`tiddler`) displayed.| `map`|\\n|''tileControl'' |''if present'' add a control to select the tile layer you want ||\\n|''lat'' |map center latitude. Will overwrite places auto-centering | `52.8`|\\n|''long'' |map center longitude. Will overwrite places auto-centering | `-2.6`|\\n|''zoom'' |zoom level as defined by leaflet : int value between `0` (world map) and `20` (ant view) | |\\n\"\n },\n \"$:/plugins/sycom/leaflet/example\": {\n \"title\": \"$:/plugins/sycom/leaflet/example\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Example\",\n \"text\": \"Different ways to use the [[leaflet plugin|$:/plugins/sycom/leaflet]]\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_geotiddler}}\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_geojsontiddler}}\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_non-tiddler_geo_data}}\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_filter}}\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_filter\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_filter\",\n \"created\": \"20151211173500000\",\n \"modified\": \"20170317163500000\",\n \"text\": \"!! a map of a filter\\nthis one displays all tiddlers tagged with <<tag example>> (there's a //all shadow// tweak, since they are shadowed). There is also one cluster per tiddler. Some colors are set from within each tiddler with `color` field.\\n\\n```\\n<$leafmap tile='toner'\\n\\tplaces='{\\\"filter\\\":\\\"[all[shadows]tag[example]]\\\"}' clusterType='tiddler'/>\\n```\\n<$leafmap tile='toner'\\n\\tplaces='{\\\"filter\\\":\\\"[all[shadows]tag[example]]\\\"}' clusterType='tiddler'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_geojsontiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_geojsontiddler\",\n \"created\": \"20161025150936935\",\n \"modified\": \"20170318235936935\",\n \"tags\": \"example leaflet\",\n \"text\": \"!! a map of a geoJson tiddler\\nThis one displays [[tiddlyWikiFrCommunity|$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity]] (that has a color field set to red), which is an almost direct geojson data extraction from the umap [[Utilisateurs du forum TiddlyWiki FR|https://umap.openstreetmap.fr/fr/map/tiddlywikifr_65983#6/46.995/2.549]]. `color` is set to orange, `marker` to pin. Cluster distance is default (80) on the first, set to 30 on the second.\\n\\n```\\n<$leafmap tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n style='{\\\"color\\\":\\\"orange\\\"}'\\n marker='pin'/>\\n<$leafmap tileControl cluster=\\\"30\\\"\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n marker='pin'/>\\n```\\n<$leafmap tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n style='{\\\"color\\\":\\\"orange\\\"}'\\n marker='pin'/>\\n<$leafmap tileControl cluster=\\\"30\\\"\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n marker='pin'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_geotiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_geotiddler\",\n \"created\": \"20151207090936935\",\n \"modified\": \"20161025222038568\",\n \"tags\": \"example leaflet\",\n \"text\": \"!! a map of a GeoTiddler\\nthis one displays the tiddler [[placeTiddler|$:/plugins/sycom/leaflet/example/placeTiddler]]. Note the tileControl attribute that enables map background selection. As the tiddler has its `color` field set to pink, objects are rendered pink. The cat is know a panther ;-). The tiddler also have a `style` field to define dash and thickness of the stroke...\\n\\n```\\n<$leafmap\\n tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/placeTiddler\\\"}'/>\\n```\\n<$leafmap\\n tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/placeTiddler\\\"}'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_non-tiddler_geo_data\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_non-tiddler_geo_data\",\n \"point\": \"6.5,19.72\",\n \"created\": \"20151207090936935\",\n \"modified\": \"20151211172038568\",\n \"tags\": \"example leaflet\",\n \"text\": \"!! a map with data on the go\\nvery useful for fast mapping. All objects that might be embedded in GeoTiddler can be used here. Let's display a map with satellite imagery and\\n\\n* a ''point'' at `6.5,19.72`\\n* a ''polyline'' at `6.4,19.7 6.6,19.74`\\n\\nnote this tiddler is also a geoTiddler with one point at `6.5,19.72`\\n\\n```\\n<$leafmap tile='sat'\\n\\tplaces='{\\\"point\\\":\\\"6.5,19.72\\\",\\\"polyline\\\":\\\"6.4,19.7 6.6,19.74\\\"}'/>\\n```\\n\\n<$leafmap tile='sat'\\n\\tplaces='{\\\"point\\\":\\\"6.5,19.72\\\",\\\"polyline\\\":\\\"6.4,19.7 6.6,19.74\\\"}'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/placeTiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/placeTiddler\",\n \"points\": \"52.799933,-2.589812 52.799959,-2.590939\",\n \"polygon\": \"52.800608,-2.591668 52.800225,-2.591829 52.799849,-2.591937 52.799603,-2.591990 52.799427,-2.591990 52.799187,-2.591894 52.798863,-2.591550 52.798727,-2.591357 52.798662,-2.591121 52.798636,-2.590853 52.798655,-2.590542 52.798668,-2.590467 52.798701,-2.590359 52.798649,-2.590113 52.798623,-2.589920 52.798610,-2.589716 52.798636,-2.589437 52.798694,-2.589136 52.798850,-2.588975 52.799051,-2.588793 52.799311,-2.588707 52.799525,-2.588707 52.799726,-2.588772 52.800018,-2.588857 52.800290,-2.588911 52.800511,-2.589040 52.800731,-2.589126 52.800816,-2.589211 52.800413,-2.589812 52.800446,-2.590166 52.800452,-2.590520 52.800433,-2.590810 52.800426,-2.591068 52.800751,-2.591550 52.800621,-2.591679\",\n \"polylines\": \"52.799382,-2.590059 52.799641,-2.588321|52.799330,-2.590048 52.799447,-2.588342|52.799265,-2.590059 52.799181,-2.588342|52.799486,-2.590724 52.799706,-2.592301|52.799414,-2.590767 52.799525,-2.592366|52.799356,-2.590714 52.799278,-2.592355\",\n \"created\": \"20151119173416000\",\n \"modified\": \"20151211173153114\",\n \"color\": \"#ff80c0\",\n \"style\": \"{\\\"dashArray\\\":\\\"6, 10\\\",\\\"weight\\\":\\\"8\\\"}\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"tags\": \"example leaflet geometry\",\n \"text\": \"This tiddler contains\\n\\n* a two `points` list : 52.799933,-2.589812 52.799959,-2.590939\\n* a `polygon` : 52.800608,-2.591668 52.800225,-2.591829 52.799849 (...)\\n* a `polyline`s list : 52.799382,-2.590059 52.799641,-2.588321|52.799330,-2.590048 52.799447,-2.588342|52.799265,(...)\\n\\nIt has also some styling informations\\n\\n* `color` is set to pink\\n* `style` defines a dashed 8px thick line\\n\\ngo to edit mode to see the full data fields\\n\"\n },\n \"/usr/local/lib/node_modules/tiddlywiki/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity.old\": {\n \"title\": \"/usr/local/lib/node_modules/tiddlywiki/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity.old\",\n \"text\": \"created: 20161025143416000\\nmodified: 20170317143416000\\ntitle: $:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\ntype: application/json\\ntags: example leaflet geojson\\ncolor: #dd0000\\n\\n{\\\"type\\\":\\\"FeatureCollection\\\",\\\"features\\\":[{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Aknar\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4442090000000007,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"CdriC\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.563166,47.478419]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Disanv Parean\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.4072784,49.1846226]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fab13n\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.5867,45.1184]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fabio\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.916515000000004,47.8664401]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Florent V.\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.156237,45.648377]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Joël\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.740042686462402,46.10446454226022]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Johanne\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-74.09016960000002,45.65189590000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lakemp\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.19249,48.59338]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"LauDai\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4750973000000158,43.5664556]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lucivam\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.390278,45.434722]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Mikabi\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.44,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nico\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.2569674000000077,48.9899655]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nicolas Friedli\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[6.8411643,46.9425711]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Phil\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[3.98337,50.36155]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Piwig\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-1.677793,48.117266]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Comte\\\",\\\"description\\\":\\\"Créateur du leaflet map plugin\\\",\\\"url\\\":\\\"http://sylvain.comte.online.fr\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.08954,49.43584]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Naudin\\\",\\\"description\\\":\\\"Admin du forum\\\",\\\"url\\\":\\\"http://sylvain.naud.in\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.155689,45.471894]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Thierry Pasquier\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.3333,46.5833]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Vincent Delcros\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.2788245000000416,50.5500944]}}]}\\n\",\n \"type\": \".old\"\n },\n \"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\",\n \"text\": \"{\\\"type\\\":\\\"FeatureCollection\\\",\\\"features\\\":[{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Aknar\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4442090000000007,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"CdriC\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.563166,47.478419]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Disanv Parean\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.4072784,49.1846226]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Emmanuel\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.3522219000000177,48.85661400000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Escrivant\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.3868,48.871958]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fab13n\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.5867,45.1184]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fabio\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.916515000000004,47.8664401]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Florent\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.156237,45.648377]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"François\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.478413899999964,43.543794]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Gub\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4442090000000007,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"jargenty\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.321621999999934,43.514707]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Jérôme\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-2.429759,47.328003]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Joël\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.740042686462402,46.10446454226022]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Johanne\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-74.09016960000002,45.65189590000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lakemp\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.19249,48.59338]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"LauDai\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4750973000000158,43.5664556]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"LongSlowBakery\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-2.4834849999999733,52.903552]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lucivam\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.390278,45.434722]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"m4dz\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.3522219000000177,48.85661400000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Matthias\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.560016,47.470006]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Michel\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[7.261953199999994,43.7101728]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Mikabi\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.44,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nico\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.2569674000000077,48.9899655]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nicolas\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[6.8411643,46.9425711]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"pariswiki\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.29,48.8]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Phil\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[3.98337,50.36155]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Piwig\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-1.677793,48.117266]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Ploum\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.1995560000000296,48.00611000000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Scapharnaum\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[7.74553,48.58392]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Solaine\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[8.227512,46.818188]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Comte\\\",\\\"description\\\":\\\"Créateur du leaflet map plugin\\\",\\\"url\\\":\\\"http://sylvain.comte.online.fr\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.08954,49.43584]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Naudin\\\",\\\"description\\\":\\\"Admin du forum\\\",\\\"url\\\":\\\"http://sylvain.naud.in\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.155689,45.471894]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Thierry\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.3333,46.5833]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Thomas Elmiger\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[8.541694,47.376887]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Vincent\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.2788245000000416,50.5500944]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Yan\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.0517,46.22475]}}]}\\n\",\n \"type\": \"application/json\",\n \"created\": \"20161025143416000\",\n \"modified\": \"20180602193416000\",\n \"source\": \"https://umap.openstreetmap.fr/fr/map/tiddlywikifr_65983\",\n \"tags\": \"example leaflet geojson\",\n \"color\": \"#dd0000\"\n },\n \"$:/ext/modules/widgets/geolocation-widget.js\": {\n \"text\": \"/*\\\\\\ntitle: $:/ext/modules/wigets/geolocation-widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nGeolocation widget\\n\\n\\\\*/\\n(function() {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n \\\"use strict\\\";\\n var Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n var GeolocationWidget = function(parseTreeNode, options) {\\n this.initialise(parseTreeNode, options);\\n };\\n\\n /* Inherit from the base widget class */\\n GeolocationWidget.prototype = new Widget();\\n\\n /* Compute the internal state of the widget */\\n GeolocationWidget.prototype.execute = function() {\\n // Get attributes\\n this.target = this.getAttribute(\\\"target\\\") || this.getVariable(\\\"currentTiddler\\\");\\n this.icon = this.getAttribute(\\\"icon\\\") || \\\"$:/core/images/globe\\\";\\n this.text = this.getAttribute(\\\"text\\\") || undefined;\\n this.accuracy = this.getAttribute(\\\"accuracy\\\");\\n this.type = this.getAttribute(\\\"type\\\") || \\\"point\\\";\\n // Make child widgets\\n this.makeChildWidgets();\\n };\\n\\n /* Render this widget into the DOM */\\n GeolocationWidget.prototype.render = function(parent, nextSibling) {\\n var self = this;\\n // Remember parent\\n this.parentDomNode = parent;\\n // Compute attributes and execute state\\n this.computeAttributes();\\n this.execute();\\n // Create element\\n var tag = \\\"button\\\";\\n if (this.buttonTag && $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {\\n tag = this.buttonTag;\\n }\\n var domNode = this.document.createElement(tag);\\n // Add a click event handler\\n domNode.addEventListener(\\\"click\\\", function(event) {\\n if (navigator.geolocation) {\\n navigator.geolocation.getCurrentPosition(\\n // success callback\\n function(position) {\\n /* to replace by field populating (point(s) polyline(s) or polygon(s)) */\\n /* default : if tiddler has point field, will create a points field to store new data;\\n if tiddler has points field, will add a new point to the tiddler field;\\t*/\\n var target = self.target;\\n var accuracy = self.accuracy;\\n var type = self.type;\\n var newPoint = position.coords.latitude + \\\",\\\" + position.coords.longitude;\\n /* check if tiddler has a geofield */\\n var track = \\\"\\\";\\n if (!$tw.wiki.getTiddler(target)) $tw.wiki.setText(target, \\\"text\\\", null, \\\"\\\", null);\\n var flds = $tw.wiki.getTiddler(target).fields\\n if (flds.points) {\\n track = flds.points;\\n $tw.wiki.setText(target, \\\"points\\\", null, track + \\\" \\\" + newPoint, null);\\n infoLocation(\\\"new point \\\" + newPoint + \\\" added to \\\" + target);\\n\\n } else {\\n if (flds.point && flds.point !== null) {\\n track = flds.point;\\n $tw.wiki.setText(target, \\\"points\\\", null, track + \\\" \\\" + newPoint, null);\\n $tw.wiki.setText(target, \\\"point\\\", null, null, null);\\n infoLocation(\\\"new point \\\" + newPoint + \\\" added to \\\" + target);\\n } else {\\n $tw.wiki.setText(target, \\\"point\\\", null, newPoint, null);\\n infoLocation(\\\"new point \\\" + newPoint + \\\" added to \\\" + target);\\n }\\n }\\n },\\n // error callback\\n function(error) {\\n noLocation(error.message + \\\". You may not are connected via httpS://\\\")\\n }\\n );\\n } else {\\n noLocation(\\\"position disabled or not supported by your browser\\\");\\n }\\n }, false);\\n /* dress up button */\\n var buttonContent;\\n // if text parameter, will use it for the button\\n if (self.text) {\\n buttonContent = self.text;\\n } else {\\n // if not, looking for an icon\\n /* !todo: ?question: should the icon depend on \\\"type\\\" parameter? */\\n buttonContent = $tw.wiki.getTiddler(self.icon).fields.text;\\n }\\n domNode.innerHTML = buttonContent;\\n // Insert element\\n parent.insertBefore(domNode, nextSibling);\\n this.renderChildren(domNode, null);\\n this.domNodes.push(domNode);\\n };\\n\\n function noLocation(message) {\\n /* !todo: ?question: replace by \\\"modal\\\" alert? */\\n // create or update a temporary message tiddler \\n $tw.wiki.setText(\\\"$:/temp/noLocationMessage\\\", \\\"text\\\", null, \\\"geolocation access denied: \\\" + message, null);\\n // displays it in modal\\n $tw.modal.display(\\\"$:/temp/noLocationMessage\\\");\\n }\\n\\n function infoLocation(message) {\\n // create or update a temporary message tiddler \\n $tw.wiki.setText(\\\"$:/temp/viewLocationMessage\\\", \\\"text\\\", null, message, null);\\n // displays it in modal\\n $tw.notifier.display(\\\"$:/temp/viewLocationMessage\\\");\\n }\\n /*\\n We don't allow actions to propagate because we trigger actions ourselves\\n */\\n GeolocationWidget.prototype.allowActionPropagation = function() {\\n return false;\\n };\\n\\n exports.geoloc = GeolocationWidget;\\n\\n})();\",\n \"title\": \"$:/ext/modules/widgets/geolocation-widget.js\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"geoLocationWidget\": {\n \"caption\": \"action-createtiddler\",\n \"created\": \"20180906130958091\",\n \"modified\": \"20180906132645752\",\n \"author\": \"Sylvain Comte\",\n \"tags\": \"Widgets\",\n \"title\": \"geoLocationWidget\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"! Introduction\\nThe ''geolocation'' widget is used to collect geographic position of the browser running the wiki. For now position will be added the //point// (or //points// if there is more than one point) field of the target tiddler. Those fields may then be used with the [[Leaflet Map Plugin|https://sycom.github.io/TiddlyWiki-Plugins/#Leaflet%20plugin]], or whatever tool using geographic coordinates.\\n\\n* The widget is not dependant from Leaflet Map Plugin (but is bundled in it). You may install it alone\\n* The widget will only work on //https// website, due to security limitation of the geolocation implemented in browsers\\n\\n! Content and Attributes\\nThe [[geolocation widget|$:/ext/modules/widgets/geolocation-widget.js]] will create a button to collect your browser's position. Any content within it is ignored.\\n\\n| !Attribute | !Description | !Default |\\n|target |The tiddler (title) in which data will be stored |//current tiddler// |\\n|icon |The title of the icon used to dress up the button|$:/core/images/globe |\\n|text |The text displayed in the button (will overwrite the icon)|`undefined` |\\n\\nMore options will come later (//accuracy//, //object type//...).\\n\\n! Examples\\n\\n```\\n<$geoloc target=\\\"Geolocation Store\\\" />\\n```\\n\\n<$geoloc target=\\\"Geolocation Store\\\" />\\n\\n! Source\\nThe ''geolocation widget'' is developped aside Leaflet Map Plugin. Source code can be found on the same repository : https://framagit.org/sycom/TiddlyWiki-Plugins/tree/master/ext/modules/widget/geolocation\\n\\n\"\n },\n \"$:/plugins/sycom/leaflet/icon\": {\n \"title\": \"$:/plugins/sycom/leaflet/icon\",\n \"tags\": \"$:/tags/Image\",\n \"text\": \"<svg class=\\\"tc-image-leaflet-map tc-image-button\\\" viewBox=\\\"0 0 128 128\\\" width=\\\"22pt\\\" height=\\\"22pt\\\">\\n <g fill-rule=\\\"evenodd\\\">\\n <path d=\\\"M64 0L9.4 32v64L64 128l54.6-32V32zM48.8 32.4l30.8 7.8V95l-30.8-7.8zm57.2 2.4v54.7L82 95V40.2zm-59.8-2.2v54.7L21 92.8V38zm-10.4 5.9a5.2 5.2 0 0 0-5.1 5c0 1.1.6 2.6 1.1 3.6l4 7.6 3.9-7.6c.4-1 1.1-2.4 1.1-3.6 0-2.6-2.3-5-5-5zm-.2 3h.2c1 0 2 .9 2 2a2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1 .8-2 1.8-2zM64.2 44c-7 0-13 6.1-13 12.7 0 3 1.7 6.8 3 9.4l10 19.3L74 66c1.2-2.6 3-6.2 3-9.4C77 50.1 71.2 44 64 44zm0 7.7a5 5 0 0 1 5 5 5 5 0 0 1-10 0 5 5 0 0 1 5-5zM25.6 59a3.5 3.5 0 0 0-3.4 3.3c0 .8.5 1.8.8 2.5l2.6 5 2.6-5c.3-.7.8-1.7.8-2.5 0-1.7-1.5-3.3-3.4-3.3zm0 2a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1-1.3-1.3 1.3 1.3 0 0 1 1.3-1.3zM92 66.8c-2.7 0-5 2.4-5 5 0 1.2.6 2.7 1.1 3.7l4 7.5 3.8-7.5c.5-1 1.2-2.4 1.2-3.7 0-2.6-2.3-5-5-5zm0 3c1.1 0 2 1 2 2a2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1 .9-1.9 2-2z\\\"/>\\n <path d=\\\"M69-158h58v67H69z\\\" fill=\\\"#fff\\\"/>\\n </g>\\n</svg>\\n\"\n },\n \"$:/plugins/sycom/leaflet/images/layers.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/layers.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"26\\\" width=\\\"26\\\"><path d=\\\"M0 17l13-8 13 8-13 8-13-8\\\" fill=\\\"#b9b9b9\\\"/><path d=\\\"M0 17v1l13 8 13-8v-1l-13 8z\\\" fill=\\\"#737373\\\"/><path d=\\\"M0 13l13-8 13 8-13 8-13-8\\\" fill=\\\"#cdcdcd\\\"/>\\n <path d=\\\"M0 13v1l13 8 13-8v-1l-13 8z\\\" fill=\\\"#737373\\\"/><path d=\\\"M0 9l13-8 13 8-13 8L0 9\\\" fill-opacity=\\\".6\\\" fill=\\\"#e9e9e9\\\"/><path d=\\\"M0 9v1l13 8 13-8V9l-13 8z\\\" fill=\\\"#737373\\\"/></svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531154011600\",\n \"tags\": \"$:/tags/Image\"\n },\n \"$:/plugins/sycom/leaflet/images/marker.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/marker.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"25\\\" height=\\\"40\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"none\\\" d=\\\"M6.279 4.463h12.625v14.5H6.279z\\\"/><path fill=\\\"$primary$\\\" fill-opacity=\\\".8\\\" stroke=\\\"#fff\\\" stroke-linecap=\\\"round\\\" d=\\\"M12.544.5C5.971.5.5 6.191.5 12.366c0 2.778 1.564 6.308 2.694 8.746L12.5 38.984l9.262-17.872c1.13-2.438 2.738-5.791 2.738-8.746C24.5 6.191 19.117.5 12.544.5zm0 7.155a4.714 4.714 0 0 1 4.679 4.71c0 2.588-2.095 4.663-4.679 4.679-2.584-.017-4.679-2.09-4.679-4.679a4.714 4.714 0 0 1 4.679-4.71z\\\" class=\\\"leaflet-marker-colored\\\"/><path fill=\\\"none\\\" stroke=\\\"#fff\\\" stroke-linecap=\\\"round\\\" stroke-opacity=\\\".9\\\" d=\\\"M12.531 1.607c-5.944 0-10.938 5.219-10.938 10.75 0 2.359 1.443 5.832 2.563 8.25l.031.031L12.5 36.607l8.25-15.969.031-.031c1.135-2.448 2.625-5.706 2.625-8.25 0-5.538-4.931-10.75-10.875-10.75zm0 4.969c3.168.021 5.781 2.601 5.781 5.781 0 3.18-2.613 5.761-5.781 5.781-3.168-.02-5.75-2.61-5.75-5.781 0-3.172 2.582-5.761 5.75-5.781z\\\"/></svg>\\n\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531124011600\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"25 40 12.5 40\",\n \"caption\": \"marker\"\n },\n \"$:/plugins/sycom/leaflet/images/markershadow.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/markershadow.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"50\\\" height=\\\"40\\\"><filter id=\\\"a\\\" width=\\\"200\\\" height=\\\"200\\\" x=\\\"-50\\\" y=\\\"-50\\\"><feGaussianBlur in=\\\"SourceAlpha\\\" stdDeviation=\\\"1.5\\\"/></filter><path fill=\\\"none\\\" d=\\\"M47 0a52 52 0 0 0-34 21L0 40l30-19 13-9c7-6 9-12 4-12zm-9 7a3 8 58 0 1-2 5c-3 3-7 5-9 5-3 0-2-2 1-5a3 8 58 0 1 10-5z\\\" filter=\\\"url(#a)\\\"/></svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531155500000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"50 40 0 40\"\n },\n \"$:/plugins/sycom/leaflet/images/pin.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/pin.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"35\\\"><defs><linearGradient id=\\\"a\\\"><stop offset=\\\"0\\\" stop-color=\\\"#fff\\\"/><stop offset=\\\"1\\\" stop-color=\\\"#fff\\\" stop-opacity=\\\"0\\\"/></linearGradient><radialGradient id=\\\"b\\\" cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"8\\\" fx=\\\"5\\\" fy=\\\"5\\\" gradientTransform=\\\"scale(1.12)\\\" gradientUnits=\\\"userSpaceOnUse\\\" href=\\\"#a\\\"/></defs><g fill-rule=\\\"evenodd\\\"><path d=\\\"M9 20h2v15H9z\\\"/><circle cx=\\\"10\\\" cy=\\\"10\\\" r=\\\"10\\\" class=\\\"leaflet-marker-colored\\\" fill-opacity=\\\".8\\\" fill=\\\"$primary$\\\"/><circle cx=\\\"10\\\" cy=\\\"10\\\" r=\\\"10\\\" fill=\\\"url(#b)\\\"/></g></svg>\\n\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531154500000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"20 35 10 35\",\n \"caption\": \"pin\"\n },\n \"$:/plugins/sycom/leaflet/images/pinshadow.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/pinshadow.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"15\\\"><filter id=\\\"a\\\" width=\\\"200\\\" height=\\\"200\\\" x=\\\"-50\\\" y=\\\"-50\\\"><feGaussianBlur in=\\\"SourceAlpha\\\" stdDeviation=\\\"1.5\\\"/></filter><ellipse cx=\\\"8\\\" cy=\\\"8\\\" style=\\\"stroke:none; fill-opacity:.3; filter: url(#a)\\\" rx=\\\"7\\\" ry=\\\"7\\\"/></svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20170129162401910\",\n \"modified\": \"20180531155000000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"15 15 5 7\"\n },\n \"$:/plugins/sycom/leaflet/images/point.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/point.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"15\\\" fill-rule=\\\"evenodd\\\"><ellipse cx=\\\"7.5\\\" cy=\\\"7.5\\\" fill=\\\"none\\\" stroke=\\\"#fff\\\" stroke-opacity=\\\".8\\\" rx=\\\"7.5\\\" ry=\\\"7.5\\\"/><ellipse cx=\\\"7.5\\\" cy=\\\"7.5\\\" fill=\\\"$primary$\\\" fill-opacity=\\\".8\\\" stroke=\\\"#000\\\" stroke-opacity=\\\".8\\\" stroke-width=\\\".5\\\" class=\\\"leaflet-marker-colored\\\" rx=\\\"7\\\" ry=\\\"7\\\"/></svg>\\n\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"created\": \"20170129162401905\",\n \"modified\": \"20180531165500000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"15 15 7.5 7.5\",\n \"caption\": \"point\"\n },\n \"$:/plugins/sycom/leaflet/images/pointshadow.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/pointshadow.svg\",\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"15\\\"><filter id=\\\"a\\\" width=\\\"200\\\" height=\\\"200\\\" x=\\\"-50\\\" y=\\\"-50\\\"><feGaussianBlur in=\\\"SourceAlpha\\\" stdDeviation=\\\"1.5\\\"/></filter><ellipse cx=\\\"7.5\\\" cy=\\\"7.5\\\" fill-opacity=\\\".3\\\" filter=\\\"url(#a)\\\" rx=\\\"7.2\\\" ry=\\\"7.2\\\"/></svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20170129162401910\",\n \"modified\": \"20180531165600000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"15 15 0 12\"\n },\n \"$:/plugins/sycom/leaflet/lib/tileLayers.json\": {\n \"text\": \"[\\n {\\n \\\"id\\\": \\\"osmfr\\\",\\n \\\"nom\\\": \\\"OSM France\\\",\\n \\\"url\\\": \\\"http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"fond par <a href='http://osm.org/copyright'>OSM</a>, licence <a href='http://creativecommons.org/licenses/by-sa/3.0'>CC BY SA</a>. Données &copy;Contributeurs <a href='http://openstreetmap.org'>OSM</a>, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"osm\\\",\\n \\\"nom\\\": \\\"OpenStreetMap\\\",\\n \\\"url\\\": \\\"http://{s}.tile.osm.org/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by &copy;<a href='http://osm.org/copyright'>OSM</a>, licence <a href='http://creativecommons.org/licenses/by-sa/3.0'>CC BY SA</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"osmbw\\\",\\n \\\"nom\\\": \\\"OSM N&B\\\",\\n \\\"url\\\": \\\"http://www.toolserver.org/tiles/bw-mapnik/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Tiles hosted by wikimedia labs. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"sat\\\",\\n \\\"nom\\\": \\\"Satellite Esri\\\",\\n \\\"url\\\": \\\"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}\\\",\\n \\\"attrib\\\": \\\"&copy;Map tiles by Esri &mdash; Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"natgeo\\\",\\n \\\"nom\\\": \\\"National Geog.\\\",\\n \\\"url\\\": \\\"http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}\\\",\\n \\\"attrib\\\": \\\"&copy;Map tiles by Esri &mdash; National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 12\\n },\\n {\\n \\\"id\\\": \\\"toner\\\",\\n \\\"nom\\\": \\\"Black Ink\\\",\\n \\\"url\\\": \\\"http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by <a href='http://stamen.com'>Stamen Design</a>, licence <a href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"water\\\",\\n \\\"nom\\\": \\\"Water painting\\\",\\n \\\"url\\\": \\\"http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by <a href='http://stamen.com'>Stamen Design</a>, licence <a href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"thunder\\\",\\n \\\"nom\\\": \\\"Thunderforest\\\",\\n \\\"url\\\": \\\"http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by <a href='http://thunderforest.com/'>Thunderforest</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"dark\\\",\\n \\\"nom\\\": \\\"Dark Matter\\\",\\n \\\"url\\\": \\\"http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"&copy;Map tiles by <a href='https://cartodb.com/basemaps/' target='_blank'>CartoDB</a>, under <a href='https://creativecommons.org/licenses/by/3.0/' target='_blank'>CC BY 3.0</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"positron\\\",\\n \\\"nom\\\": \\\"Positron\\\",\\n \\\"url\\\": \\\"http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"&copy;Map tiles by <a href='https://cartodb.com/basemaps/' target='_blank'>CartoDB</a>, under <a href='https://creativecommons.org/licenses/by/3.0/' target='_blank'>CC BY 3.0</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n }\\n]\\n\",\n \"type\": \"application/json\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/tileLayers.json\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet.css\": {\n \"text\": \"/* required styles */\\n\\n.leaflet-pane,\\n.leaflet-tile,\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow,\\n.leaflet-tile-container,\\n.leaflet-pane > svg,\\n.leaflet-pane > canvas,\\n.leaflet-zoom-box,\\n.leaflet-image-layer,\\n.leaflet-layer {\\n\\tposition: absolute;\\n\\tleft: 0;\\n\\ttop: 0;\\n\\t}\\n.leaflet-container {\\n\\toverflow: hidden;\\n\\t}\\n.leaflet-tile,\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow {\\n\\t-webkit-user-select: none;\\n\\t -moz-user-select: none;\\n\\t user-select: none;\\n\\t -webkit-user-drag: none;\\n\\t}\\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\\n.leaflet-safari .leaflet-tile {\\n\\timage-rendering: -webkit-optimize-contrast;\\n\\t}\\n/* hack that prevents hw layers \\\"stretching\\\" when loading new tiles */\\n.leaflet-safari .leaflet-tile-container {\\n\\twidth: 1600px;\\n\\theight: 1600px;\\n\\t-webkit-transform-origin: 0 0;\\n\\t}\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow {\\n\\tdisplay: block;\\n\\t}\\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\\n.leaflet-container .leaflet-overlay-pane svg,\\n.leaflet-container .leaflet-marker-pane img,\\n.leaflet-container .leaflet-shadow-pane img,\\n.leaflet-container .leaflet-tile-pane img,\\n.leaflet-container img.leaflet-image-layer {\\n\\tmax-width: none !important;\\n\\tmax-height: none !important;\\n\\t}\\n\\n.leaflet-container.leaflet-touch-zoom {\\n\\t-ms-touch-action: pan-x pan-y;\\n\\ttouch-action: pan-x pan-y;\\n\\t}\\n.leaflet-container.leaflet-touch-drag {\\n\\t-ms-touch-action: pinch-zoom;\\n\\t/* Fallback for FF which doesn't support pinch-zoom */\\n\\ttouch-action: none;\\n\\ttouch-action: pinch-zoom;\\n}\\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\\n\\t-ms-touch-action: none;\\n\\ttouch-action: none;\\n}\\n.leaflet-container {\\n\\t-webkit-tap-highlight-color: transparent;\\n}\\n.leaflet-container a {\\n\\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\\n}\\n.leaflet-tile {\\n\\tfilter: inherit;\\n\\tvisibility: hidden;\\n\\t}\\n.leaflet-tile-loaded {\\n\\tvisibility: inherit;\\n\\t}\\n.leaflet-zoom-box {\\n\\twidth: 0;\\n\\theight: 0;\\n\\t-moz-box-sizing: border-box;\\n\\t box-sizing: border-box;\\n\\tz-index: 800;\\n\\t}\\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\\n.leaflet-overlay-pane svg {\\n\\t-moz-user-select: none;\\n\\t}\\n\\n.leaflet-pane { z-index: 400; }\\n\\n.leaflet-tile-pane { z-index: 200; }\\n.leaflet-overlay-pane { z-index: 400; }\\n.leaflet-shadow-pane { z-index: 500; }\\n.leaflet-marker-pane { z-index: 600; }\\n.leaflet-tooltip-pane { z-index: 650; }\\n.leaflet-popup-pane { z-index: 700; }\\n\\n.leaflet-map-pane canvas { z-index: 100; }\\n.leaflet-map-pane svg { z-index: 200; }\\n\\n.leaflet-vml-shape {\\n\\twidth: 1px;\\n\\theight: 1px;\\n\\t}\\n.lvml {\\n\\tbehavior: url(#default#VML);\\n\\tdisplay: inline-block;\\n\\tposition: absolute;\\n\\t}\\n\\n\\n/* control positioning */\\n\\n.leaflet-control {\\n\\tposition: relative;\\n\\tz-index: 800;\\n\\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\\n\\tpointer-events: auto;\\n\\t}\\n.leaflet-top,\\n.leaflet-bottom {\\n\\tposition: absolute;\\n\\tz-index: 1000;\\n\\tpointer-events: none;\\n\\t}\\n.leaflet-top {\\n\\ttop: 0;\\n\\t}\\n.leaflet-right {\\n\\tright: 0;\\n\\t}\\n.leaflet-bottom {\\n\\tbottom: 0;\\n\\t}\\n.leaflet-left {\\n\\tleft: 0;\\n\\t}\\n.leaflet-control {\\n\\tfloat: left;\\n\\tclear: both;\\n\\t}\\n.leaflet-right .leaflet-control {\\n\\tfloat: right;\\n\\t}\\n.leaflet-top .leaflet-control {\\n\\tmargin-top: 10px;\\n\\t}\\n.leaflet-bottom .leaflet-control {\\n\\tmargin-bottom: 10px;\\n\\t}\\n.leaflet-left .leaflet-control {\\n\\tmargin-left: 10px;\\n\\t}\\n.leaflet-right .leaflet-control {\\n\\tmargin-right: 10px;\\n\\t}\\n\\n\\n/* zoom and fade animations */\\n\\n.leaflet-fade-anim .leaflet-tile {\\n\\twill-change: opacity;\\n\\t}\\n.leaflet-fade-anim .leaflet-popup {\\n\\topacity: 0;\\n\\t-webkit-transition: opacity 0.2s linear;\\n\\t -moz-transition: opacity 0.2s linear;\\n\\t -o-transition: opacity 0.2s linear;\\n\\t transition: opacity 0.2s linear;\\n\\t}\\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\\n\\topacity: 1;\\n\\t}\\n.leaflet-zoom-animated {\\n\\t-webkit-transform-origin: 0 0;\\n\\t -ms-transform-origin: 0 0;\\n\\t transform-origin: 0 0;\\n\\t}\\n.leaflet-zoom-anim .leaflet-zoom-animated {\\n\\twill-change: transform;\\n\\t}\\n.leaflet-zoom-anim .leaflet-zoom-animated {\\n\\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t}\\n.leaflet-zoom-anim .leaflet-tile,\\n.leaflet-pan-anim .leaflet-tile {\\n\\t-webkit-transition: none;\\n\\t -moz-transition: none;\\n\\t -o-transition: none;\\n\\t transition: none;\\n\\t}\\n\\n.leaflet-zoom-anim .leaflet-zoom-hide {\\n\\tvisibility: hidden;\\n\\t}\\n\\n\\n/* cursors */\\n\\n.leaflet-interactive {\\n\\tcursor: pointer;\\n\\t}\\n.leaflet-grab {\\n\\tcursor: -webkit-grab;\\n\\tcursor: -moz-grab;\\n\\t}\\n.leaflet-crosshair,\\n.leaflet-crosshair .leaflet-interactive {\\n\\tcursor: crosshair;\\n\\t}\\n.leaflet-popup-pane,\\n.leaflet-control {\\n\\tcursor: auto;\\n\\t}\\n.leaflet-dragging .leaflet-grab,\\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\\n.leaflet-dragging .leaflet-marker-draggable {\\n\\tcursor: move;\\n\\tcursor: -webkit-grabbing;\\n\\tcursor: -moz-grabbing;\\n\\t}\\n\\n/* marker & overlays interactivity */\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow,\\n.leaflet-image-layer,\\n.leaflet-pane > svg path,\\n.leaflet-tile-container {\\n\\tpointer-events: none;\\n\\t}\\n\\n.leaflet-marker-icon.leaflet-interactive,\\n.leaflet-image-layer.leaflet-interactive,\\n.leaflet-pane > svg path.leaflet-interactive {\\n\\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\\n\\tpointer-events: auto;\\n\\t}\\n\\n/* visual tweaks */\\n\\n.leaflet-container {\\n\\tbackground: #ddd;\\n\\toutline: 0;\\n\\t}\\n.leaflet-container a {\\n\\tcolor: #0078A8;\\n\\t}\\n.leaflet-container a.leaflet-active {\\n\\toutline: 2px solid orange;\\n\\t}\\n.leaflet-zoom-box {\\n\\tborder: 2px dotted #38f;\\n\\tbackground: rgba(255,255,255,0.5);\\n\\t}\\n\\n\\n/* general typography */\\n.leaflet-container {\\n\\tfont: 12px/1.5 \\\"Helvetica Neue\\\", Arial, Helvetica, sans-serif;\\n\\t}\\n\\n\\n/* general toolbar styles */\\n\\n.leaflet-bar {\\n\\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\\n\\tborder-radius: 4px;\\n\\t}\\n.leaflet-bar a,\\n.leaflet-bar a:hover {\\n\\tbackground-color: #fff;\\n\\tborder-bottom: 1px solid #ccc;\\n\\twidth: 26px;\\n\\theight: 26px;\\n\\tline-height: 26px;\\n\\tdisplay: block;\\n\\ttext-align: center;\\n\\ttext-decoration: none;\\n\\tcolor: black;\\n\\t}\\n.leaflet-bar a,\\n.leaflet-control-layers-toggle {\\n\\tbackground-position: 50% 50%;\\n\\tbackground-repeat: no-repeat;\\n\\tdisplay: block;\\n\\t}\\n.leaflet-bar a:hover {\\n\\tbackground-color: #f4f4f4;\\n\\t}\\n.leaflet-bar a:first-child {\\n\\tborder-top-left-radius: 4px;\\n\\tborder-top-right-radius: 4px;\\n\\t}\\n.leaflet-bar a:last-child {\\n\\tborder-bottom-left-radius: 4px;\\n\\tborder-bottom-right-radius: 4px;\\n\\tborder-bottom: none;\\n\\t}\\n.leaflet-bar a.leaflet-disabled {\\n\\tcursor: default;\\n\\tbackground-color: #f4f4f4;\\n\\tcolor: #bbb;\\n\\t}\\n\\n.leaflet-touch .leaflet-bar a {\\n\\twidth: 30px;\\n\\theight: 30px;\\n\\tline-height: 30px;\\n\\t}\\n.leaflet-touch .leaflet-bar a:first-child {\\n\\tborder-top-left-radius: 2px;\\n\\tborder-top-right-radius: 2px;\\n\\t}\\n.leaflet-touch .leaflet-bar a:last-child {\\n\\tborder-bottom-left-radius: 2px;\\n\\tborder-bottom-right-radius: 2px;\\n\\t}\\n\\n/* zoom control */\\n\\n.leaflet-control-zoom-in,\\n.leaflet-control-zoom-out {\\n\\tfont: bold 18px 'Lucida Console', Monaco, monospace;\\n\\ttext-indent: 1px;\\n\\t}\\n\\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\\n\\tfont-size: 22px;\\n\\t}\\n\\n\\n/* layers control */\\n\\n.leaflet-control-layers {\\n\\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\\n\\tbackground: #fff;\\n\\tborder-radius: 5px;\\n\\t}\\n.leaflet-control-layers-toggle {\\n\\tbackground-image: url(images/layers.png);\\n\\twidth: 36px;\\n\\theight: 36px;\\n\\t}\\n.leaflet-retina .leaflet-control-layers-toggle {\\n\\tbackground-image: url(images/layers-2x.png);\\n\\tbackground-size: 26px 26px;\\n\\t}\\n.leaflet-touch .leaflet-control-layers-toggle {\\n\\twidth: 44px;\\n\\theight: 44px;\\n\\t}\\n.leaflet-control-layers .leaflet-control-layers-list,\\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\\n\\tdisplay: none;\\n\\t}\\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\\n\\tdisplay: block;\\n\\tposition: relative;\\n\\t}\\n.leaflet-control-layers-expanded {\\n\\tpadding: 6px 10px 6px 6px;\\n\\tcolor: #333;\\n\\tbackground: #fff;\\n\\t}\\n.leaflet-control-layers-scrollbar {\\n\\toverflow-y: scroll;\\n\\toverflow-x: hidden;\\n\\tpadding-right: 5px;\\n\\t}\\n.leaflet-control-layers-selector {\\n\\tmargin-top: 2px;\\n\\tposition: relative;\\n\\ttop: 1px;\\n\\t}\\n.leaflet-control-layers label {\\n\\tdisplay: block;\\n\\t}\\n.leaflet-control-layers-separator {\\n\\theight: 0;\\n\\tborder-top: 1px solid #ddd;\\n\\tmargin: 5px -10px 5px -6px;\\n\\t}\\n\\n/* Default icon URLs */\\n.leaflet-default-icon-path {\\n\\tbackground-image: url(images/marker-icon.png);\\n\\t}\\n\\n\\n/* attribution and scale controls */\\n\\n.leaflet-container .leaflet-control-attribution {\\n\\tbackground: #fff;\\n\\tbackground: rgba(255, 255, 255, 0.7);\\n\\tmargin: 0;\\n\\t}\\n.leaflet-control-attribution,\\n.leaflet-control-scale-line {\\n\\tpadding: 0 5px;\\n\\tcolor: #333;\\n\\t}\\n.leaflet-control-attribution a {\\n\\ttext-decoration: none;\\n\\t}\\n.leaflet-control-attribution a:hover {\\n\\ttext-decoration: underline;\\n\\t}\\n.leaflet-container .leaflet-control-attribution,\\n.leaflet-container .leaflet-control-scale {\\n\\tfont-size: 11px;\\n\\t}\\n.leaflet-left .leaflet-control-scale {\\n\\tmargin-left: 5px;\\n\\t}\\n.leaflet-bottom .leaflet-control-scale {\\n\\tmargin-bottom: 5px;\\n\\t}\\n.leaflet-control-scale-line {\\n\\tborder: 2px solid #777;\\n\\tborder-top: none;\\n\\tline-height: 1.1;\\n\\tpadding: 2px 5px 1px;\\n\\tfont-size: 11px;\\n\\twhite-space: nowrap;\\n\\toverflow: hidden;\\n\\t-moz-box-sizing: border-box;\\n\\t box-sizing: border-box;\\n\\n\\tbackground: #fff;\\n\\tbackground: rgba(255, 255, 255, 0.5);\\n\\t}\\n.leaflet-control-scale-line:not(:first-child) {\\n\\tborder-top: 2px solid #777;\\n\\tborder-bottom: none;\\n\\tmargin-top: -2px;\\n\\t}\\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\\n\\tborder-bottom: 2px solid #777;\\n\\t}\\n\\n.leaflet-touch .leaflet-control-attribution,\\n.leaflet-touch .leaflet-control-layers,\\n.leaflet-touch .leaflet-bar {\\n\\tbox-shadow: none;\\n\\t}\\n.leaflet-touch .leaflet-control-layers,\\n.leaflet-touch .leaflet-bar {\\n\\tborder: 2px solid rgba(0,0,0,0.2);\\n\\tbackground-clip: padding-box;\\n\\t}\\n\\n\\n/* popup */\\n\\n.leaflet-popup {\\n\\tposition: absolute;\\n\\ttext-align: center;\\n\\tmargin-bottom: 20px;\\n\\t}\\n.leaflet-popup-content-wrapper {\\n\\tpadding: 1px;\\n\\ttext-align: left;\\n\\tborder-radius: 12px;\\n\\t}\\n.leaflet-popup-content {\\n\\tmargin: 13px 19px;\\n\\tline-height: 1.4;\\n\\t}\\n.leaflet-popup-content p {\\n\\tmargin: 18px 0;\\n\\t}\\n.leaflet-popup-tip-container {\\n\\twidth: 40px;\\n\\theight: 20px;\\n\\tposition: absolute;\\n\\tleft: 50%;\\n\\tmargin-left: -20px;\\n\\toverflow: hidden;\\n\\tpointer-events: none;\\n\\t}\\n.leaflet-popup-tip {\\n\\twidth: 17px;\\n\\theight: 17px;\\n\\tpadding: 1px;\\n\\n\\tmargin: -10px auto 0;\\n\\n\\t-webkit-transform: rotate(45deg);\\n\\t -moz-transform: rotate(45deg);\\n\\t -ms-transform: rotate(45deg);\\n\\t -o-transform: rotate(45deg);\\n\\t transform: rotate(45deg);\\n\\t}\\n.leaflet-popup-content-wrapper,\\n.leaflet-popup-tip {\\n\\tbackground: white;\\n\\tcolor: #333;\\n\\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\\n\\t}\\n.leaflet-container a.leaflet-popup-close-button {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tpadding: 4px 4px 0 0;\\n\\tborder: none;\\n\\ttext-align: center;\\n\\twidth: 18px;\\n\\theight: 14px;\\n\\tfont: 16px/14px Tahoma, Verdana, sans-serif;\\n\\tcolor: #c3c3c3;\\n\\ttext-decoration: none;\\n\\tfont-weight: bold;\\n\\tbackground: transparent;\\n\\t}\\n.leaflet-container a.leaflet-popup-close-button:hover {\\n\\tcolor: #999;\\n\\t}\\n.leaflet-popup-scrolled {\\n\\toverflow: auto;\\n\\tborder-bottom: 1px solid #ddd;\\n\\tborder-top: 1px solid #ddd;\\n\\t}\\n\\n.leaflet-oldie .leaflet-popup-content-wrapper {\\n\\tzoom: 1;\\n\\t}\\n.leaflet-oldie .leaflet-popup-tip {\\n\\twidth: 24px;\\n\\tmargin: 0 auto;\\n\\n\\t-ms-filter: \\\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\\\";\\n\\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\\n\\t}\\n.leaflet-oldie .leaflet-popup-tip-container {\\n\\tmargin-top: -1px;\\n\\t}\\n\\n.leaflet-oldie .leaflet-control-zoom,\\n.leaflet-oldie .leaflet-control-layers,\\n.leaflet-oldie .leaflet-popup-content-wrapper,\\n.leaflet-oldie .leaflet-popup-tip {\\n\\tborder: 1px solid #999;\\n\\t}\\n\\n\\n/* div icon */\\n\\n.leaflet-div-icon {\\n\\tbackground: #fff;\\n\\tborder: 1px solid #666;\\n\\t}\\n\\n\\n/* Tooltip */\\n/* Base styles for the element that has a tooltip */\\n.leaflet-tooltip {\\n\\tposition: absolute;\\n\\tpadding: 6px;\\n\\tbackground-color: #fff;\\n\\tborder: 1px solid #fff;\\n\\tborder-radius: 3px;\\n\\tcolor: #222;\\n\\twhite-space: nowrap;\\n\\t-webkit-user-select: none;\\n\\t-moz-user-select: none;\\n\\t-ms-user-select: none;\\n\\tuser-select: none;\\n\\tpointer-events: none;\\n\\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\\n\\t}\\n.leaflet-tooltip.leaflet-clickable {\\n\\tcursor: pointer;\\n\\tpointer-events: auto;\\n\\t}\\n.leaflet-tooltip-top:before,\\n.leaflet-tooltip-bottom:before,\\n.leaflet-tooltip-left:before,\\n.leaflet-tooltip-right:before {\\n\\tposition: absolute;\\n\\tpointer-events: none;\\n\\tborder: 6px solid transparent;\\n\\tbackground: transparent;\\n\\tcontent: \\\"\\\";\\n\\t}\\n\\n/* Directions */\\n\\n.leaflet-tooltip-bottom {\\n\\tmargin-top: 6px;\\n}\\n.leaflet-tooltip-top {\\n\\tmargin-top: -6px;\\n}\\n.leaflet-tooltip-bottom:before,\\n.leaflet-tooltip-top:before {\\n\\tleft: 50%;\\n\\tmargin-left: -6px;\\n\\t}\\n.leaflet-tooltip-top:before {\\n\\tbottom: 0;\\n\\tmargin-bottom: -12px;\\n\\tborder-top-color: #fff;\\n\\t}\\n.leaflet-tooltip-bottom:before {\\n\\ttop: 0;\\n\\tmargin-top: -12px;\\n\\tmargin-left: -6px;\\n\\tborder-bottom-color: #fff;\\n\\t}\\n.leaflet-tooltip-left {\\n\\tmargin-left: -6px;\\n}\\n.leaflet-tooltip-right {\\n\\tmargin-left: 6px;\\n}\\n.leaflet-tooltip-left:before,\\n.leaflet-tooltip-right:before {\\n\\ttop: 50%;\\n\\tmargin-top: -6px;\\n\\t}\\n.leaflet-tooltip-left:before {\\n\\tright: 0;\\n\\tmargin-right: -12px;\\n\\tborder-left-color: #fff;\\n\\t}\\n.leaflet-tooltip-right:before {\\n\\tleft: 0;\\n\\tmargin-left: -12px;\\n\\tborder-right-color: #fff;\\n\\t}\\n\",\n \"type\": \"text/css\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet.css\",\n \"tags\": \"$:/tags/Stylesheet\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.css\": {\n \"text\": \".leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {\\n\\t-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;\\n\\t-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;\\n\\t-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;\\n\\ttransition: transform 0.3s ease-out, opacity 0.3s ease-in;\\n}\\n\\n.leaflet-cluster-spider-leg {\\n\\t/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */\\n\\t-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;\\n\\t-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;\\n\\t-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;\\n\\ttransition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;\\n}\\n\",\n \"type\": \"text/css\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.css\",\n \"tags\": \"$:/tags/Stylesheet\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet.js\": {\n \"text\": \"var L;if($tw.browser){\\n/* @preserve\\n * Leaflet 1.3.1, a JS library for interactive maps. http://leafletjs.com\\n * (c) 2010-2017 Vladimir Agafonkin, (c) 2010-2011 CloudMade\\n */\\n!function(t,i){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?i(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],i):i(t.L={})}(this,function(t){\\\"use strict\\\";function i(t){var i,e,n,o;for(e=1,n=arguments.length;e<n;e++){o=arguments[e];for(i in o)t[i]=o[i]}return t}function e(t,i){var e=Array.prototype.slice;if(t.bind)return t.bind.apply(t,e.call(arguments,1));var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}function n(t){return t._leaflet_id=t._leaflet_id||++ti,t._leaflet_id}function o(t,i,e){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(e,o),o=!1)},s=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(r,i),n=!0)}}function s(t,i,e){var n=i[1],o=i[0],s=n-o;return t===n&&e?t:((t-o)%s+s)%s+o}function r(){return!1}function a(t,i){var e=Math.pow(10,void 0===i?6:i);return Math.round(t*e)/e}function h(t){return t.trim?t.trim():t.replace(/^\\\\s+|\\\\s+$/g,\\\"\\\")}function u(t){return h(t).split(/\\\\s+/)}function l(t,i){t.hasOwnProperty(\\\"options\\\")||(t.options=t.options?Qt(t.options):{});for(var e in i)t.options[e]=i[e];return t.options}function c(t,i,e){var n=[];for(var o in t)n.push(encodeURIComponent(e?o.toUpperCase():o)+\\\"=\\\"+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf(\\\"?\\\")?\\\"&\\\":\\\"?\\\")+n.join(\\\"&\\\")}function _(t,i){return t.replace(ii,function(t,e){var n=i[e];if(void 0===n)throw new Error(\\\"No value provided for variable \\\"+t);return\\\"function\\\"==typeof n&&(n=n(i)),n})}function d(t,i){for(var e=0;e<t.length;e++)if(t[e]===i)return e;return-1}function p(t){return window[\\\"webkit\\\"+t]||window[\\\"moz\\\"+t]||window[\\\"ms\\\"+t]}function m(t){var i=+new Date,e=Math.max(0,16-(i-oi));return oi=i+e,window.setTimeout(t,e)}function f(t,i,n){if(!n||si!==m)return si.call(window,e(t,i));t.call(i)}function g(t){t&&ri.call(window,t)}function v(){}function y(t){if(\\\"undefined\\\"!=typeof L&&L&&L.Mixin){t=ei(t)?t:[t];for(var i=0;i<t.length;i++)t[i]===L.Mixin.Events&&console.warn(\\\"Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.\\\",(new Error).stack)}}function x(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}function w(t,i,e){return t instanceof x?t:ei(t)?new x(t[0],t[1]):void 0===t||null===t?t:\\\"object\\\"==typeof t&&\\\"x\\\"in t&&\\\"y\\\"in t?new x(t.x,t.y):new x(t,i,e)}function P(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function b(t,i){return!t||t instanceof P?t:new P(t,i)}function T(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function z(t,i){return t instanceof T?t:new T(t,i)}function M(t,i,e){if(isNaN(t)||isNaN(i))throw new Error(\\\"Invalid LatLng object: (\\\"+t+\\\", \\\"+i+\\\")\\\");this.lat=+t,this.lng=+i,void 0!==e&&(this.alt=+e)}function C(t,i,e){return t instanceof M?t:ei(t)&&\\\"object\\\"!=typeof t[0]?3===t.length?new M(t[0],t[1],t[2]):2===t.length?new M(t[0],t[1]):null:void 0===t||null===t?t:\\\"object\\\"==typeof t&&\\\"lat\\\"in t?new M(t.lat,\\\"lng\\\"in t?t.lng:t.lon,t.alt):void 0===i?null:new M(t,i,e)}function Z(t,i,e,n){if(ei(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}function S(t,i,e,n){return new Z(t,i,e,n)}function E(t){return document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",t)}function k(t,i){var e,n,o,s,r,a,h=\\\"\\\";for(e=0,o=t.length;e<o;e++){for(n=0,s=(r=t[e]).length;n<s;n++)a=r[n],h+=(n?\\\"L\\\":\\\"M\\\")+a.x+\\\" \\\"+a.y;h+=i?Xi?\\\"z\\\":\\\"x\\\":\\\"\\\"}return h||\\\"M0 0\\\"}function I(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}function A(t,i,e,n){return\\\"touchstart\\\"===i?O(t,e,n):\\\"touchmove\\\"===i?W(t,e,n):\\\"touchend\\\"===i&&H(t,e,n),this}function B(t,i,e){var n=t[\\\"_leaflet_\\\"+i+e];return\\\"touchstart\\\"===i?t.removeEventListener(Qi,n,!1):\\\"touchmove\\\"===i?t.removeEventListener(te,n,!1):\\\"touchend\\\"===i&&(t.removeEventListener(ie,n,!1),t.removeEventListener(ee,n,!1)),this}function O(t,i,n){var o=e(function(t){if(\\\"mouse\\\"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(ne.indexOf(t.target.tagName)<0))return;$(t)}j(t,i)});t[\\\"_leaflet_touchstart\\\"+n]=o,t.addEventListener(Qi,o,!1),se||(document.documentElement.addEventListener(Qi,R,!0),document.documentElement.addEventListener(te,D,!0),document.documentElement.addEventListener(ie,N,!0),document.documentElement.addEventListener(ee,N,!0),se=!0)}function R(t){oe[t.pointerId]=t,re++}function D(t){oe[t.pointerId]&&(oe[t.pointerId]=t)}function N(t){delete oe[t.pointerId],re--}function j(t,i){t.touches=[];for(var e in oe)t.touches.push(oe[e]);t.changedTouches=[t],i(t)}function W(t,i,e){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&\\\"mouse\\\"!==t.pointerType||0!==t.buttons)&&j(t,i)};t[\\\"_leaflet_touchmove\\\"+e]=n,t.addEventListener(te,n,!1)}function H(t,i,e){var n=function(t){j(t,i)};t[\\\"_leaflet_touchend\\\"+e]=n,t.addEventListener(ie,n,!1),t.addEventListener(ee,n,!1)}function F(t,i,e){function n(t){var i;if(Ui){if(!Pi||\\\"mouse\\\"===t.pointerType)return;i=re}else i=t.touches.length;if(!(i>1)){var e=Date.now(),n=e-(s||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=h,s=e}}function o(t){if(a&&!r.cancelBubble){if(Ui){if(!Pi||\\\"mouse\\\"===t.pointerType)return;var e,n,o={};for(n in r)e=r[n],o[n]=e&&e.bind?e.bind(r):e;r=o}r.type=\\\"dblclick\\\",i(r),s=null}}var s,r,a=!1,h=250;return t[ue+ae+e]=n,t[ue+he+e]=o,t[ue+\\\"dblclick\\\"+e]=i,t.addEventListener(ae,n,!1),t.addEventListener(he,o,!1),t.addEventListener(\\\"dblclick\\\",i,!1),this}function U(t,i){var e=t[ue+ae+i],n=t[ue+he+i],o=t[ue+\\\"dblclick\\\"+i];return t.removeEventListener(ae,e,!1),t.removeEventListener(he,n,!1),Pi||t.removeEventListener(\\\"dblclick\\\",o,!1),this}function V(t,i,e,n){if(\\\"object\\\"==typeof i)for(var o in i)G(t,o,i[o],e);else for(var s=0,r=(i=u(i)).length;s<r;s++)G(t,i[s],e,n);return this}function q(t,i,e,n){if(\\\"object\\\"==typeof i)for(var o in i)K(t,o,i[o],e);else if(i)for(var s=0,r=(i=u(i)).length;s<r;s++)K(t,i[s],e,n);else{for(var a in t[le])K(t,a,t[le][a]);delete t[le]}return this}function G(t,i,e,o){var s=i+n(e)+(o?\\\"_\\\"+n(o):\\\"\\\");if(t[le]&&t[le][s])return this;var r=function(i){return e.call(o||t,i||window.event)},a=r;Ui&&0===i.indexOf(\\\"touch\\\")?A(t,i,r,s):!Vi||\\\"dblclick\\\"!==i||!F||Ui&&Si?\\\"addEventListener\\\"in t?\\\"mousewheel\\\"===i?t.addEventListener(\\\"onwheel\\\"in t?\\\"wheel\\\":\\\"mousewheel\\\",r,!1):\\\"mouseenter\\\"===i||\\\"mouseleave\\\"===i?(r=function(i){i=i||window.event,ot(t,i)&&a(i)},t.addEventListener(\\\"mouseenter\\\"===i?\\\"mouseover\\\":\\\"mouseout\\\",r,!1)):(\\\"click\\\"===i&&Ti&&(r=function(t){st(t,a)}),t.addEventListener(i,r,!1)):\\\"attachEvent\\\"in t&&t.attachEvent(\\\"on\\\"+i,r):F(t,r,s),t[le]=t[le]||{},t[le][s]=r}function K(t,i,e,o){var s=i+n(e)+(o?\\\"_\\\"+n(o):\\\"\\\"),r=t[le]&&t[le][s];if(!r)return this;Ui&&0===i.indexOf(\\\"touch\\\")?B(t,i,s):!Vi||\\\"dblclick\\\"!==i||!U||Ui&&Si?\\\"removeEventListener\\\"in t?\\\"mousewheel\\\"===i?t.removeEventListener(\\\"onwheel\\\"in t?\\\"wheel\\\":\\\"mousewheel\\\",r,!1):t.removeEventListener(\\\"mouseenter\\\"===i?\\\"mouseover\\\":\\\"mouseleave\\\"===i?\\\"mouseout\\\":i,r,!1):\\\"detachEvent\\\"in t&&t.detachEvent(\\\"on\\\"+i,r):U(t,s),t[le][s]=null}function Y(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,nt(t),this}function X(t){return G(t,\\\"mousewheel\\\",Y),this}function J(t){return V(t,\\\"mousedown touchstart dblclick\\\",Y),G(t,\\\"click\\\",et),this}function $(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Q(t){return $(t),Y(t),this}function tt(t,i){if(!i)return new x(t.clientX,t.clientY);var e=i.getBoundingClientRect(),n=e.width/i.offsetWidth||1,o=e.height/i.offsetHeight||1;return new x(t.clientX/n-e.left-i.clientLeft,t.clientY/o-e.top-i.clientTop)}function it(t){return Pi?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/ce:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function et(t){_e[t.type]=!0}function nt(t){var i=_e[t.type];return _e[t.type]=!1,i}function ot(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}function st(t,i){var e=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=pi&&e-pi;n&&n>100&&n<500||t.target._simulatedClick&&!t._simulated?Q(t):(pi=e,i(t))}function rt(t){return\\\"string\\\"==typeof t?document.getElementById(t):t}function at(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||\\\"auto\\\"===e)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return\\\"auto\\\"===e?null:e}function ht(t,i,e){var n=document.createElement(t);return n.className=i||\\\"\\\",e&&e.appendChild(n),n}function ut(t){var i=t.parentNode;i&&i.removeChild(t)}function lt(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ct(t){var i=t.parentNode;i.lastChild!==t&&i.appendChild(t)}function _t(t){var i=t.parentNode;i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function dt(t,i){if(void 0!==t.classList)return t.classList.contains(i);var e=gt(t);return e.length>0&&new RegExp(\\\"(^|\\\\\\\\s)\\\"+i+\\\"(\\\\\\\\s|$)\\\").test(e)}function pt(t,i){if(void 0!==t.classList)for(var e=u(i),n=0,o=e.length;n<o;n++)t.classList.add(e[n]);else if(!dt(t,i)){var s=gt(t);ft(t,(s?s+\\\" \\\":\\\"\\\")+i)}}function mt(t,i){void 0!==t.classList?t.classList.remove(i):ft(t,h((\\\" \\\"+gt(t)+\\\" \\\").replace(\\\" \\\"+i+\\\" \\\",\\\" \\\")))}function ft(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function gt(t){return void 0===t.className.baseVal?t.className:t.className.baseVal}function vt(t,i){\\\"opacity\\\"in t.style?t.style.opacity=i:\\\"filter\\\"in t.style&&yt(t,i)}function yt(t,i){var e=!1,n=\\\"DXImageTransform.Microsoft.Alpha\\\";try{e=t.filters.item(n)}catch(t){if(1===i)return}i=Math.round(100*i),e?(e.Enabled=100!==i,e.Opacity=i):t.style.filter+=\\\" progid:\\\"+n+\\\"(opacity=\\\"+i+\\\")\\\"}function xt(t){for(var i=document.documentElement.style,e=0;e<t.length;e++)if(t[e]in i)return t[e];return!1}function wt(t,i,e){var n=i||new x(0,0);t.style[pe]=(Oi?\\\"translate(\\\"+n.x+\\\"px,\\\"+n.y+\\\"px)\\\":\\\"translate3d(\\\"+n.x+\\\"px,\\\"+n.y+\\\"px,0)\\\")+(e?\\\" scale(\\\"+e+\\\")\\\":\\\"\\\")}function Lt(t,i){t._leaflet_pos=i,Ni?wt(t,i):(t.style.left=i.x+\\\"px\\\",t.style.top=i.y+\\\"px\\\")}function Pt(t){return t._leaflet_pos||new x(0,0)}function bt(){V(window,\\\"dragstart\\\",$)}function Tt(){q(window,\\\"dragstart\\\",$)}function zt(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Mt(),ve=t,ye=t.style.outline,t.style.outline=\\\"none\\\",V(window,\\\"keydown\\\",Mt))}function Mt(){ve&&(ve.style.outline=ye,ve=void 0,ye=void 0,q(window,\\\"keydown\\\",Mt))}function Ct(t,i){if(!i||!t.length)return t.slice();var e=i*i;return t=kt(t,e),t=St(t,e)}function Zt(t,i,e){return Math.sqrt(Rt(t,i,e,!0))}function St(t,i){var e=t.length,n=new(typeof Uint8Array!=void 0+\\\"\\\"?Uint8Array:Array)(e);n[0]=n[e-1]=1,Et(t,n,i,0,e-1);var o,s=[];for(o=0;o<e;o++)n[o]&&s.push(t[o]);return s}function Et(t,i,e,n,o){var s,r,a,h=0;for(r=n+1;r<=o-1;r++)(a=Rt(t[r],t[n],t[o],!0))>h&&(s=r,h=a);h>e&&(i[s]=1,Et(t,i,e,n,s),Et(t,i,e,s,o))}function kt(t,i){for(var e=[t[0]],n=1,o=0,s=t.length;n<s;n++)Ot(t[n],t[o])>i&&(e.push(t[n]),o=n);return o<s-1&&e.push(t[s-1]),e}function It(t,i,e,n,o){var s,r,a,h=n?Se:Bt(t,e),u=Bt(i,e);for(Se=u;;){if(!(h|u))return[t,i];if(h&u)return!1;a=Bt(r=At(t,i,s=h||u,e,o),e),s===h?(t=r,h=a):(i=r,u=a)}}function At(t,i,e,n,o){var s,r,a=i.x-t.x,h=i.y-t.y,u=n.min,l=n.max;return 8&e?(s=t.x+a*(l.y-t.y)/h,r=l.y):4&e?(s=t.x+a*(u.y-t.y)/h,r=u.y):2&e?(s=l.x,r=t.y+h*(l.x-t.x)/a):1&e&&(s=u.x,r=t.y+h*(u.x-t.x)/a),new x(s,r,o)}function Bt(t,i){var e=0;return t.x<i.min.x?e|=1:t.x>i.max.x&&(e|=2),t.y<i.min.y?e|=4:t.y>i.max.y&&(e|=8),e}function Ot(t,i){var e=i.x-t.x,n=i.y-t.y;return e*e+n*n}function Rt(t,i,e,n){var o,s=i.x,r=i.y,a=e.x-s,h=e.y-r,u=a*a+h*h;return u>0&&((o=((t.x-s)*a+(t.y-r)*h)/u)>1?(s=e.x,r=e.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new x(s,r)}function Dt(t){return!ei(t[0])||\\\"object\\\"!=typeof t[0][0]&&void 0!==t[0][0]}function Nt(t){return console.warn(\\\"Deprecated use of _flat, please use L.LineUtil.isFlat instead.\\\"),Dt(t)}function jt(t,i,e){var n,o,s,r,a,h,u,l,c,_=[1,4,2,8];for(o=0,u=t.length;o<u;o++)t[o]._code=Bt(t[o],i);for(r=0;r<4;r++){for(l=_[r],n=[],o=0,s=(u=t.length)-1;o<u;s=o++)a=t[o],h=t[s],a._code&l?h._code&l||((c=At(h,a,l,i,e))._code=Bt(c,i),n.push(c)):(h._code&l&&((c=At(h,a,l,i,e))._code=Bt(c,i),n.push(c)),n.push(a));t=n}return t}function Wt(t,i){var e,n,o,s,r=\\\"Feature\\\"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],u=i&&i.pointToLayer,l=i&&i.coordsToLatLng||Ht;if(!a&&!r)return null;switch(r.type){case\\\"Point\\\":return e=l(a),u?u(t,e):new Xe(e);case\\\"MultiPoint\\\":for(o=0,s=a.length;o<s;o++)e=l(a[o]),h.push(u?u(t,e):new Xe(e));return new qe(h);case\\\"LineString\\\":case\\\"MultiLineString\\\":return n=Ft(a,\\\"LineString\\\"===r.type?0:1,l),new tn(n,i);case\\\"Polygon\\\":case\\\"MultiPolygon\\\":return n=Ft(a,\\\"Polygon\\\"===r.type?1:2,l),new en(n,i);case\\\"GeometryCollection\\\":for(o=0,s=r.geometries.length;o<s;o++){var c=Wt({geometry:r.geometries[o],type:\\\"Feature\\\",properties:t.properties},i);c&&h.push(c)}return new qe(h);default:throw new Error(\\\"Invalid GeoJSON object.\\\")}}function Ht(t){return new M(t[1],t[0],t[2])}function Ft(t,i,e){for(var n,o=[],s=0,r=t.length;s<r;s++)n=i?Ft(t[s],i-1,e):(e||Ht)(t[s]),o.push(n);return o}function Ut(t,i){return i=\\\"number\\\"==typeof i?i:6,void 0!==t.alt?[a(t.lng,i),a(t.lat,i),a(t.alt,i)]:[a(t.lng,i),a(t.lat,i)]}function Vt(t,i,e,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(i?Vt(t[s],i-1,e,n):Ut(t[s],n));return!i&&e&&o.push(o[0]),o}function qt(t,e){return t.feature?i({},t.feature,{geometry:e}):Gt(e)}function Gt(t){return\\\"Feature\\\"===t.type||\\\"FeatureCollection\\\"===t.type?t:{type:\\\"Feature\\\",properties:{},geometry:t}}function Kt(t,i){return new nn(t,i)}function Yt(t,i){return new dn(t,i)}function Xt(t){return Yi?new fn(t):null}function Jt(t){return Xi||Ji?new xn(t):null}var $t=Object.freeze;Object.freeze=function(t){return t};var Qt=Object.create||function(){function t(){}return function(i){return t.prototype=i,new t}}(),ti=0,ii=/\\\\{ *([\\\\w_-]+) *\\\\}/g,ei=Array.isArray||function(t){return\\\"[object Array]\\\"===Object.prototype.toString.call(t)},ni=\\\"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=\\\",oi=0,si=window.requestAnimationFrame||p(\\\"RequestAnimationFrame\\\")||m,ri=window.cancelAnimationFrame||p(\\\"CancelAnimationFrame\\\")||p(\\\"CancelRequestAnimationFrame\\\")||function(t){window.clearTimeout(t)},ai=(Object.freeze||Object)({freeze:$t,extend:i,create:Qt,bind:e,lastId:ti,stamp:n,throttle:o,wrapNum:s,falseFn:r,formatNum:a,trim:h,splitWords:u,setOptions:l,getParamString:c,template:_,isArray:ei,indexOf:d,emptyImageUrl:ni,requestFn:si,cancelFn:ri,requestAnimFrame:f,cancelAnimFrame:g});v.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=e.__super__=this.prototype,o=Qt(n);o.constructor=e,e.prototype=o;for(var s in this)this.hasOwnProperty(s)&&\\\"prototype\\\"!==s&&\\\"__super__\\\"!==s&&(e[s]=this[s]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(y(t.includes),i.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=i(Qt(o.options),t.options)),i(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=o._initHooks.length;t<i;t++)o._initHooks[t].call(this)}},e},v.include=function(t){return i(this.prototype,t),this},v.mergeOptions=function(t){return i(this.prototype.options,t),this},v.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),e=\\\"function\\\"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};var hi={on:function(t,i,e){if(\\\"object\\\"==typeof t)for(var n in t)this._on(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o<s;o++)this._on(t[o],i,e);return this},off:function(t,i,e){if(t)if(\\\"object\\\"==typeof t)for(var n in t)this._off(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o<s;o++)this._off(t[o],i,e);else delete this._events;return this},_on:function(t,i,e){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),e===this&&(e=void 0);for(var o={fn:i,ctx:e},s=n,r=0,a=s.length;r<a;r++)if(s[r].fn===i&&s[r].ctx===e)return;s.push(o)},_off:function(t,i,e){var n,o,s;if(this._events&&(n=this._events[t]))if(i){if(e===this&&(e=void 0),n)for(o=0,s=n.length;o<s;o++){var a=n[o];if(a.ctx===e&&a.fn===i)return a.fn=r,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=r;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var h=s[r];h.fn.call(h.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,i){var e=this._events&&this._events[t];if(e&&e.length)return!0;if(i)for(var n in this._eventParents)if(this._eventParents[n].listens(t,i))return!0;return!1},once:function(t,i,n){if(\\\"object\\\"==typeof t){for(var o in t)this.once(o,t[o],i);return this}var s=e(function(){this.off(t,i,n).off(t,s,n)},this);return this.on(t,i,n).on(t,s,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[n(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[n(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};hi.addEventListener=hi.on,hi.removeEventListener=hi.clearAllEventListeners=hi.off,hi.addOneTimeEventListener=hi.once,hi.fireEvent=hi.fire,hi.hasEventListeners=hi.listens;var ui=v.extend(hi),li=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};x.prototype={clone:function(){return new x(this.x,this.y)},add:function(t){return this.clone()._add(w(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(w(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new x(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new x(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=li(this.x),this.y=li(this.y),this},distanceTo:function(t){var i=(t=w(t)).x-this.x,e=t.y-this.y;return Math.sqrt(i*i+e*e)},equals:function(t){return(t=w(t)).x===this.x&&t.y===this.y},contains:function(t){return t=w(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return\\\"Point(\\\"+a(this.x)+\\\", \\\"+a(this.y)+\\\")\\\"}},P.prototype={extend:function(t){return t=w(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new x((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new x(this.min.x,this.max.y)},getTopRight:function(){return new x(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,e;return(t=\\\"number\\\"==typeof t[0]||t instanceof x?w(t):b(t))instanceof P?(i=t.min,e=t.max):i=e=t,i.x>=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>=i.x&&n.x<=e.x,r=o.y>=i.y&&n.y<=e.y;return s&&r},overlaps:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>i.x&&n.x<e.x,r=o.y>i.y&&n.y<e.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},T.prototype={extend:function(t){var i,e,n=this._southWest,o=this._northEast;if(t instanceof M)i=t,e=t;else{if(!(t instanceof T))return t?this.extend(C(t)||z(t)):this;if(i=t._southWest,e=t._northEast,!i||!e)return this}return n||o?(n.lat=Math.min(i.lat,n.lat),n.lng=Math.min(i.lng,n.lng),o.lat=Math.max(e.lat,o.lat),o.lng=Math.max(e.lng,o.lng)):(this._southWest=new M(i.lat,i.lng),this._northEast=new M(e.lat,e.lng)),this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t,o=Math.abs(i.lng-e.lng)*t;return new T(new M(i.lat-n,i.lng-o),new M(e.lat+n,e.lng+o))},getCenter:function(){return new M((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new M(this.getNorth(),this.getWest())},getSouthEast:function(){return new M(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=\\\"number\\\"==typeof t[0]||t instanceof M||\\\"lat\\\"in t?C(t):z(t);var i,e,n=this._southWest,o=this._northEast;return t instanceof T?(i=t.getSouthWest(),e=t.getNorthEast()):i=e=t,i.lat>=n.lat&&e.lat<=o.lat&&i.lng>=n.lng&&e.lng<=o.lng},intersects:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=i.lat&&n.lat<=e.lat,r=o.lng>=i.lng&&n.lng<=e.lng;return s&&r},overlaps:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>i.lat&&n.lat<e.lat,r=o.lng>i.lng&&n.lng<e.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(\\\",\\\")},equals:function(t,i){return!!t&&(t=z(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}},M.prototype={equals:function(t,i){return!!t&&(t=C(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===i?1e-9:i))},toString:function(t){return\\\"LatLng(\\\"+a(this.lat,t)+\\\", \\\"+a(this.lng,t)+\\\")\\\"},distanceTo:function(t){return _i.distance(this,C(t))},wrap:function(){return _i.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,e=i/Math.cos(Math.PI/180*this.lat);return z([this.lat-i,this.lng-e],[this.lat+i,this.lng+e])},clone:function(){return new M(this.lat,this.lng,this.alt)}};var ci={latLngToPoint:function(t,i){var e=this.projection.project(t),n=this.scale(i);return this.transformation._transform(e,n)},pointToLatLng:function(t,i){var e=this.scale(i),n=this.transformation.untransform(t,e);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds,e=this.scale(t);return new P(this.transformation.transform(i.min,e),this.transformation.transform(i.max,e))},infinite:!1,wrapLatLng:function(t){var i=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new M(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat,o=i.lng-e.lng;if(0===n&&0===o)return t;var s=t.getSouthWest(),r=t.getNorthEast();return new T(new M(s.lat-n,s.lng-o),new M(r.lat-n,r.lng-o))}},_i=i({},ci,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,o=i.lat*e,s=Math.sin((i.lat-t.lat)*e/2),r=Math.sin((i.lng-t.lng)*e/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}}),di={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE,n=Math.max(Math.min(e,t.lat),-e),o=Math.sin(n*i);return new x(this.R*t.lng*i,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var i=180/Math.PI;return new M((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:function(){var t=6378137*Math.PI;return new P([-t,-t],[t,t])}()};Z.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return i=i||1,t.x=i*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return i=i||1,new x((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};var pi,mi,fi,gi,vi=i({},_i,{code:\\\"EPSG:3857\\\",projection:di,transformation:function(){var t=.5/(Math.PI*di.R);return S(t,.5,-t,.5)}()}),yi=i({},vi,{code:\\\"EPSG:900913\\\"}),xi=document.documentElement.style,wi=\\\"ActiveXObject\\\"in window,Li=wi&&!document.addEventListener,Pi=\\\"msLaunchUri\\\"in navigator&&!(\\\"documentMode\\\"in document),bi=I(\\\"webkit\\\"),Ti=I(\\\"android\\\"),zi=I(\\\"android 2\\\")||I(\\\"android 3\\\"),Mi=parseInt(/WebKit\\\\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Ci=Ti&&I(\\\"Google\\\")&&Mi<537&&!(\\\"AudioNode\\\"in window),Zi=!!window.opera,Si=I(\\\"chrome\\\"),Ei=I(\\\"gecko\\\")&&!bi&&!Zi&&!wi,ki=!Si&&I(\\\"safari\\\"),Ii=I(\\\"phantom\\\"),Ai=\\\"OTransition\\\"in xi,Bi=0===navigator.platform.indexOf(\\\"Win\\\"),Oi=wi&&\\\"transition\\\"in xi,Ri=\\\"WebKitCSSMatrix\\\"in window&&\\\"m11\\\"in new window.WebKitCSSMatrix&&!zi,Di=\\\"MozPerspective\\\"in xi,Ni=!window.L_DISABLE_3D&&(Oi||Ri||Di)&&!Ai&&!Ii,ji=\\\"undefined\\\"!=typeof orientation||I(\\\"mobile\\\"),Wi=ji&&bi,Hi=ji&&Ri,Fi=!window.PointerEvent&&window.MSPointerEvent,Ui=!(!window.PointerEvent&&!Fi),Vi=!window.L_NO_TOUCH&&(Ui||\\\"ontouchstart\\\"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),qi=ji&&Zi,Gi=ji&&Ei,Ki=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Yi=!!document.createElement(\\\"canvas\\\").getContext,Xi=!(!document.createElementNS||!E(\\\"svg\\\").createSVGRect),Ji=!Xi&&function(){try{var t=document.createElement(\\\"div\\\");t.innerHTML='<v:shape adj=\\\"1\\\"/>';var i=t.firstChild;return i.style.behavior=\\\"url(#default#VML)\\\",i&&\\\"object\\\"==typeof i.adj}catch(t){return!1}}(),$i=(Object.freeze||Object)({ie:wi,ielt9:Li,edge:Pi,webkit:bi,android:Ti,android23:zi,androidStock:Ci,opera:Zi,chrome:Si,gecko:Ei,safari:ki,phantom:Ii,opera12:Ai,win:Bi,ie3d:Oi,webkit3d:Ri,gecko3d:Di,any3d:Ni,mobile:ji,mobileWebkit:Wi,mobileWebkit3d:Hi,msPointer:Fi,pointer:Ui,touch:Vi,mobileOpera:qi,mobileGecko:Gi,retina:Ki,canvas:Yi,svg:Xi,vml:Ji}),Qi=Fi?\\\"MSPointerDown\\\":\\\"pointerdown\\\",te=Fi?\\\"MSPointerMove\\\":\\\"pointermove\\\",ie=Fi?\\\"MSPointerUp\\\":\\\"pointerup\\\",ee=Fi?\\\"MSPointerCancel\\\":\\\"pointercancel\\\",ne=[\\\"INPUT\\\",\\\"SELECT\\\",\\\"OPTION\\\"],oe={},se=!1,re=0,ae=Fi?\\\"MSPointerDown\\\":Ui?\\\"pointerdown\\\":\\\"touchstart\\\",he=Fi?\\\"MSPointerUp\\\":Ui?\\\"pointerup\\\":\\\"touchend\\\",ue=\\\"_leaflet_\\\",le=\\\"_leaflet_events\\\",ce=Bi&&Si?2*window.devicePixelRatio:Ei?window.devicePixelRatio:1,_e={},de=(Object.freeze||Object)({on:V,off:q,stopPropagation:Y,disableScrollPropagation:X,disableClickPropagation:J,preventDefault:$,stop:Q,getMousePosition:tt,getWheelDelta:it,fakeStop:et,skipped:nt,isExternalTarget:ot,addListener:V,removeListener:q}),pe=xt([\\\"transform\\\",\\\"WebkitTransform\\\",\\\"OTransform\\\",\\\"MozTransform\\\",\\\"msTransform\\\"]),me=xt([\\\"webkitTransition\\\",\\\"transition\\\",\\\"OTransition\\\",\\\"MozTransition\\\",\\\"msTransition\\\"]),fe=\\\"webkitTransition\\\"===me||\\\"OTransition\\\"===me?me+\\\"End\\\":\\\"transitionend\\\";if(\\\"onselectstart\\\"in document)mi=function(){V(window,\\\"selectstart\\\",$)},fi=function(){q(window,\\\"selectstart\\\",$)};else{var ge=xt([\\\"userSelect\\\",\\\"WebkitUserSelect\\\",\\\"OUserSelect\\\",\\\"MozUserSelect\\\",\\\"msUserSelect\\\"]);mi=function(){if(ge){var t=document.documentElement.style;gi=t[ge],t[ge]=\\\"none\\\"}},fi=function(){ge&&(document.documentElement.style[ge]=gi,gi=void 0)}}var ve,ye,xe=(Object.freeze||Object)({TRANSFORM:pe,TRANSITION:me,TRANSITION_END:fe,get:rt,getStyle:at,create:ht,remove:ut,empty:lt,toFront:ct,toBack:_t,hasClass:dt,addClass:pt,removeClass:mt,setClass:ft,getClass:gt,setOpacity:vt,testProp:xt,setTransform:wt,setPosition:Lt,getPosition:Pt,disableTextSelection:mi,enableTextSelection:fi,disableImageDrag:bt,enableImageDrag:Tt,preventOutline:zt,restoreOutline:Mt}),we=ui.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Pt(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire(\\\"start\\\"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=f(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,e=1e3*this._duration;i<e?this._runFrame(this._easeOut(i/e),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){var e=this._startPos.add(this._offset.multiplyBy(t));i&&e._round(),Lt(this._el,e),this.fire(\\\"step\\\")},_complete:function(){g(this._animId),this._inProgress=!1,this.fire(\\\"end\\\")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Le=ui.extend({options:{crs:vi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=l(this,i),this._initContainer(t),this._initLayout(),this._onResize=e(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(C(i.center),i.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=me&&Ni&&!qi&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),V(this._proxy,fe,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(C(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return t=t||(Ni?this.options.zoomDelta:1),this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){return t=t||(Ni?this.options.zoomDelta:1),this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),o=this.getSize().divideBy(2),s=(t instanceof x?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():z(t);var e=w(i.paddingTopLeft||i.padding||[0,0]),n=w(i.paddingBottomRight||i.padding||[0,0]),o=this.getBoundsZoom(t,!1,e.add(n));if((o=\\\"number\\\"==typeof i.maxZoom?Math.min(i.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var s=n.subtract(e).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,i){if(!(t=z(t)).isValid())throw new Error(\\\"Bounds are not valid.\\\");var e=this._getBoundsCenterZoom(t,i);return this.setView(e.center,e.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){if(t=w(t).round(),i=i||{},!t.x&&!t.y)return this.fire(\\\"moveend\\\");if(!0!==i.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new we,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire(\\\"movestart\\\"),!1!==i.animate){pt(this._mapPane,\\\"leaflet-pan-anim\\\");var e=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)}else this._rawPanBy(t),this.fire(\\\"move\\\").fire(\\\"moveend\\\");return this},flyTo:function(t,i,e){function n(t){var i=(g*g-m*m+(t?-1:1)*x*x*v*v)/(2*(t?g:m)*x*v),e=Math.sqrt(i*i+1)-i;return e<1e-9?-18:Math.log(e)}function o(t){return(Math.exp(t)-Math.exp(-t))/2}function s(t){return(Math.exp(t)+Math.exp(-t))/2}function r(t){return o(t)/s(t)}function a(t){return m*(s(w)/s(w+y*t))}function h(t){return m*(s(w)*r(w+y*t)-o(w))/x}function u(t){return 1-Math.pow(1-t,1.5)}function l(){var e=(Date.now()-L)/b,n=u(e)*P;e<=1?(this._flyToFrame=f(l,this),this._move(this.unproject(c.add(_.subtract(c).multiplyBy(h(n)/v)),p),this.getScaleZoom(m/a(n),p),{flyTo:!0})):this._move(t,i)._moveEnd(!0)}if(!1===(e=e||{}).animate||!Ni)return this.setView(t,i,e);this._stop();var c=this.project(this.getCenter()),_=this.project(t),d=this.getSize(),p=this._zoom;t=C(t),i=void 0===i?p:i;var m=Math.max(d.x,d.y),g=m*this.getZoomScale(p,i),v=_.distanceTo(c)||1,y=1.42,x=y*y,w=n(0),L=Date.now(),P=(n(1)-w)/y,b=e.duration?1e3*e.duration:1e3*P*.8;return this._moveStart(!0,e.noMoveStart),l.call(this),this},flyToBounds:function(t,i){var e=this._getBoundsCenterZoom(t,i);return this.flyTo(e.center,e.zoom,i)},setMaxBounds:function(t){return(t=z(t)).isValid()?(this.options.maxBounds&&this.off(\\\"moveend\\\",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on(\\\"moveend\\\",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off(\\\"moveend\\\",this._panInsideMaxBounds))},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire(\\\"zoomlevelschange\\\"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire(\\\"zoomlevelschange\\\"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,z(t));return e.equals(n)||this.panTo(n,i),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),s=n.divideBy(2).round(),r=o.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire(\\\"move\\\"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(e(this.fire,this,\\\"moveend\\\"),200)):this.fire(\\\"moveend\\\")),this.fire(\\\"resize\\\",{oldSize:n,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire(\\\"viewreset\\\"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!(\\\"geolocation\\\"in navigator))return this._handleGeolocationError({code:0,message:\\\"Geolocation not supported.\\\"}),this;var n=e(this._handleGeolocationResponse,this),o=e(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var i=t.code,e=t.message||(1===i?\\\"permission denied\\\":2===i?\\\"position unavailable\\\":\\\"timeout\\\");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire(\\\"locationerror\\\",{code:i,message:\\\"Geolocation error: \\\"+e+\\\".\\\"})},_handleGeolocationResponse:function(t){var i=new M(t.coords.latitude,t.coords.longitude),e=i.toBounds(t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(e);this.setView(i,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:i,bounds:e,timestamp:t.timestamp};for(var r in t.coords)\\\"number\\\"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire(\\\"locationfound\\\",s)},addHandler:function(t,i){if(!i)return this;var e=this[t]=new i(this);return this._handlers.push(e),this.options[t]&&e.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error(\\\"Map container is being reused by another instance\\\");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ut(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire(\\\"unload\\\");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)ut(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var e=ht(\\\"div\\\",\\\"leaflet-pane\\\"+(t?\\\" leaflet-\\\"+t.replace(\\\"Pane\\\",\\\"\\\")+\\\"-pane\\\":\\\"\\\"),i||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new T(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=z(t),e=w(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),u=b(this.project(a,n),this.project(r,n)).getSize(),l=Ni?this.options.zoomSnap:1,c=h.x/u.x,_=h.y/u.y,d=i?Math.max(c,_):Math.min(c,_);return n=this.getScaleZoom(d,n),l&&(n=Math.round(n/(l/100))*(l/100),n=i?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new x(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new P(e,e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return\\\"string\\\"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?1/0:n},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(C(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(w(t),i)},layerPointToLatLng:function(t){var i=w(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(C(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(C(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(z(t))},distance:function(t,i){return this.options.crs.distance(C(t),C(i))},containerPointToLayerPoint:function(t){return w(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return w(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(w(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(C(t)))},mouseEventToContainerPoint:function(t){return tt(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=rt(t);if(!i)throw new Error(\\\"Map container not found.\\\");if(i._leaflet_id)throw new Error(\\\"Map container is already initialized.\\\");V(i,\\\"scroll\\\",this._onScroll,this),this._containerId=n(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ni,pt(t,\\\"leaflet-container\\\"+(Vi?\\\" leaflet-touch\\\":\\\"\\\")+(Ki?\\\" leaflet-retina\\\":\\\"\\\")+(Li?\\\" leaflet-oldie\\\":\\\"\\\")+(ki?\\\" leaflet-safari\\\":\\\"\\\")+(this._fadeAnimated?\\\" leaflet-fade-anim\\\":\\\"\\\"));var i=at(t,\\\"position\\\");\\\"absolute\\\"!==i&&\\\"relative\\\"!==i&&\\\"fixed\\\"!==i&&(t.style.position=\\\"relative\\\"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane(\\\"mapPane\\\",this._container),Lt(this._mapPane,new x(0,0)),this.createPane(\\\"tilePane\\\"),this.createPane(\\\"shadowPane\\\"),this.createPane(\\\"overlayPane\\\"),this.createPane(\\\"markerPane\\\"),this.createPane(\\\"tooltipPane\\\"),this.createPane(\\\"popupPane\\\"),this.options.markerZoomAnimation||(pt(t.markerPane,\\\"leaflet-zoom-hide\\\"),pt(t.shadowPane,\\\"leaflet-zoom-hide\\\"))},_resetView:function(t,i){Lt(this._mapPane,new x(0,0));var e=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire(\\\"viewprereset\\\");var n=this._zoom!==i;this._moveStart(n,!1)._move(t,i)._moveEnd(n),this.fire(\\\"viewreset\\\"),e&&this.fire(\\\"load\\\")},_moveStart:function(t,i){return t&&this.fire(\\\"zoomstart\\\"),i||this.fire(\\\"movestart\\\"),this},_move:function(t,i,e){void 0===i&&(i=this._zoom);var n=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||e&&e.pinch)&&this.fire(\\\"zoom\\\",e),this.fire(\\\"move\\\",e)},_moveEnd:function(t){return t&&this.fire(\\\"zoomend\\\"),this.fire(\\\"moveend\\\")},_stop:function(){return g(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Lt(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error(\\\"Set map center and zoom first.\\\")},_initEvents:function(t){this._targets={},this._targets[n(this._container)]=this;var i=t?q:V;i(this._container,\\\"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress\\\",this._handleDOMEvent,this),this.options.trackResize&&i(window,\\\"resize\\\",this._onResize,this),Ni&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,\\\"moveend\\\",this._onMoveEnd)},_onResize:function(){g(this._resizeRequest),this._resizeRequest=f(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,o=[],s=\\\"mouseout\\\"===i||\\\"mouseover\\\"===i,r=t.target||t.srcElement,a=!1;r;){if((e=this._targets[n(r)])&&(\\\"click\\\"===i||\\\"preclick\\\"===i)&&!t._simulated&&this._draggableMoved(e)){a=!0;break}if(e&&e.listens(i,!0)){if(s&&!ot(r,t))break;if(o.push(e),s)break}if(r===this._container)break;r=r.parentNode}return o.length||a||s||!ot(r,t)||(o=[this]),o},_handleDOMEvent:function(t){if(this._loaded&&!nt(t)){var i=t.type;\\\"mousedown\\\"!==i&&\\\"keypress\\\"!==i||zt(t.target||t.srcElement),this._fireDOMEvent(t,i)}},_mouseEvents:[\\\"click\\\",\\\"dblclick\\\",\\\"mouseover\\\",\\\"mouseout\\\",\\\"contextmenu\\\"],_fireDOMEvent:function(t,e,n){if(\\\"click\\\"===t.type){var o=i({},t);o.type=\\\"preclick\\\",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e))).length){var s=n[0];\\\"contextmenu\\\"===e&&s.listens(e,!0)&&$(t);var r={originalEvent:t};if(\\\"keypress\\\"!==t.type){var a=s.getLatLng&&(!s._radius||s._radius<=10);r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var h=0;h<n.length;h++)if(n[h].fire(e,r,!0),r.originalEvent._stopped||!1===n[h].options.bubblingMouseEvents&&-1!==d(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on(\\\"load\\\",t,i),this},_getMapPanePos:function(){return Pt(this._mapPane)||new x(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return this.project(t,i)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return b([this.project(t.getSouthWest(),i)._subtract(n),this.project(t.getNorthWest(),i)._subtract(n),this.project(t.getSouthEast(),i)._subtract(n),this.project(t.getNorthEast(),i)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e)return t;var n=this.project(t,i),o=this.getSize().divideBy(2),s=new P(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,e,i);return r.round().equals([0,0])?t:this.unproject(n.add(r),i)},_limitOffset:function(t,i){if(!i)return t;var e=this.getPixelBounds(),n=new P(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=b(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new x(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=Ni?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire(\\\"move\\\")},_onPanTransitionEnd:function(){mt(this._mapPane,\\\"leaflet-pan-anim\\\"),this.fire(\\\"moveend\\\")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();return!(!0!==(i&&i.animate)&&!this.getSize().contains(e))&&(this.panBy(e,i),!0)},_createAnimProxy:function(){var t=this._proxy=ht(\\\"div\\\",\\\"leaflet-proxy leaflet-zoom-animated\\\");this._panes.mapPane.appendChild(t),this.on(\\\"zoomanim\\\",function(t){var i=pe,e=this._proxy.style[i];wt(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on(\\\"load moveend\\\",function(){var t=this.getCenter(),i=this.getZoom();wt(this._proxy,this.project(t,i),this.getZoomScale(i,1))},this),this._on(\\\"unload\\\",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ut(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf(\\\"transform\\\")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName(\\\"leaflet-zoom-animated\\\").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==e.animate&&!this.getSize().contains(o))&&(f(function(){this._moveStart(!0,!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,pt(this._mapPane,\\\"leaflet-zoom-anim\\\")),this.fire(\\\"zoomanim\\\",{center:t,zoom:i,noUpdate:o}),setTimeout(e(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&mt(this._mapPane,\\\"leaflet-zoom-anim\\\"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),f(function(){this._moveEnd(!0)},this))}}),Pe=v.extend({options:{position:\\\"topright\\\"},initialize:function(t){l(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];return pt(i,\\\"leaflet-control\\\"),-1!==e.indexOf(\\\"bottom\\\")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},remove:function(){return this._map?(ut(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),be=function(t){return new Pe(t)};Le.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,o){var s=e+t+\\\" \\\"+e+o;i[t+o]=ht(\\\"div\\\",s,n)}var i=this._controlCorners={},e=\\\"leaflet-\\\",n=this._controlContainer=ht(\\\"div\\\",e+\\\"control-container\\\",this._container);t(\\\"top\\\",\\\"left\\\"),t(\\\"top\\\",\\\"right\\\"),t(\\\"bottom\\\",\\\"left\\\"),t(\\\"bottom\\\",\\\"right\\\")},_clearControlPos:function(){for(var t in this._controlCorners)ut(this._controlCorners[t]);ut(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Te=Pe.extend({options:{collapsed:!0,position:\\\"topright\\\",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e<n?-1:n<e?1:0}},initialize:function(t,i,e){l(this,e),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1;for(var n in t)this._addLayer(t[n],n);for(n in i)this._addLayer(i[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on(\\\"zoomend\\\",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++)this._layers[i].layer.on(\\\"add remove\\\",this._onLayerChange,this);return this._container},addTo:function(t){return Pe.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off(\\\"zoomend\\\",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off(\\\"add remove\\\",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){t.off(\\\"add remove\\\",this._onLayerChange,this);var i=this._getLayer(n(t));return i&&this._layers.splice(this._layers.indexOf(i),1),this._map?this._update():this},expand:function(){pt(this._container,\\\"leaflet-control-layers-expanded\\\"),this._form.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._form.clientHeight?(pt(this._form,\\\"leaflet-control-layers-scrollbar\\\"),this._form.style.height=t+\\\"px\\\"):mt(this._form,\\\"leaflet-control-layers-scrollbar\\\"),this._checkDisabledLayers(),this},collapse:function(){return mt(this._container,\\\"leaflet-control-layers-expanded\\\"),this},_initLayout:function(){var t=\\\"leaflet-control-layers\\\",i=this._container=ht(\\\"div\\\",t),e=this.options.collapsed;i.setAttribute(\\\"aria-haspopup\\\",!0),J(i),X(i);var n=this._form=ht(\\\"form\\\",t+\\\"-list\\\");e&&(this._map.on(\\\"click\\\",this.collapse,this),Ti||V(i,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=ht(\\\"a\\\",t+\\\"-toggle\\\",i);o.href=\\\"#\\\",o.title=\\\"Layers\\\",Vi?(V(o,\\\"click\\\",Q),V(o,\\\"click\\\",this.expand,this)):V(o,\\\"focus\\\",this.expand,this),e||this.expand(),this._baseLayersList=ht(\\\"div\\\",t+\\\"-base\\\",n),this._separator=ht(\\\"div\\\",t+\\\"-separator\\\",n),this._overlaysList=ht(\\\"div\\\",t+\\\"-overlays\\\",n),i.appendChild(n)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++)if(this._layers[i]&&n(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,n){this._map&&t.on(\\\"add remove\\\",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:n}),this.options.sortLayers&&this._layers.sort(e(function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;lt(this._baseLayersList),lt(this._overlaysList),this._layerControlInputs=[];var t,i,e,n,o=0;for(e=0;e<this._layers.length;e++)n=this._layers[e],this._addItem(n),i=i||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?\\\"\\\":\\\"none\\\"),this._separator.style.display=i&&t?\\\"\\\":\\\"none\\\",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(n(t.target)),e=i.overlay?\\\"add\\\"===t.type?\\\"overlayadd\\\":\\\"overlayremove\\\":\\\"add\\\"===t.type?\\\"baselayerchange\\\":null;e&&this._map.fire(e,i)},_createRadioElement:function(t,i){var e='<input type=\\\"radio\\\" class=\\\"leaflet-control-layers-selector\\\" name=\\\"'+t+'\\\"'+(i?' checked=\\\"checked\\\"':\\\"\\\")+\\\"/>\\\",n=document.createElement(\\\"div\\\");return n.innerHTML=e,n.firstChild},_addItem:function(t){var i,e=document.createElement(\\\"label\\\"),o=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement(\\\"input\\\")).type=\\\"checkbox\\\",i.className=\\\"leaflet-control-layers-selector\\\",i.defaultChecked=o):i=this._createRadioElement(\\\"leaflet-base-layers\\\",o),this._layerControlInputs.push(i),i.layerId=n(t.layer),V(i,\\\"click\\\",this._onInputClick,this);var s=document.createElement(\\\"span\\\");s.innerHTML=\\\" \\\"+t.name;var r=document.createElement(\\\"div\\\");return e.appendChild(r),r.appendChild(i),r.appendChild(s),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;s>=0;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,i,e=this._layerControlInputs,n=this._map.getZoom(),o=e.length-1;o>=0;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&n<i.options.minZoom||void 0!==i.options.maxZoom&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),ze=Pe.extend({options:{position:\\\"topleft\\\",zoomInText:\\\"+\\\",zoomInTitle:\\\"Zoom in\\\",zoomOutText:\\\"&#x2212;\\\",zoomOutTitle:\\\"Zoom out\\\"},onAdd:function(t){var i=\\\"leaflet-control-zoom\\\",e=ht(\\\"div\\\",i+\\\" leaflet-bar\\\"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+\\\"-in\\\",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+\\\"-out\\\",e,this._zoomOut),this._updateDisabled(),t.on(\\\"zoomend zoomlevelschange\\\",this._updateDisabled,this),e},onRemove:function(t){t.off(\\\"zoomend zoomlevelschange\\\",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){var s=ht(\\\"a\\\",e,n);return s.innerHTML=t,s.href=\\\"#\\\",s.title=i,s.setAttribute(\\\"role\\\",\\\"button\\\"),s.setAttribute(\\\"aria-label\\\",i),J(s),V(s,\\\"click\\\",Q),V(s,\\\"click\\\",o,this),V(s,\\\"click\\\",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,i=\\\"leaflet-disabled\\\";mt(this._zoomInButton,i),mt(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMinZoom())&&pt(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMaxZoom())&&pt(this._zoomInButton,i)}});Le.mergeOptions({zoomControl:!0}),Le.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ze,this.addControl(this.zoomControl))});var Me=Pe.extend({options:{position:\\\"bottomleft\\\",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i=ht(\\\"div\\\",\\\"leaflet-control-scale\\\"),e=this.options;return this._addScales(e,\\\"leaflet-control-scale-line\\\",i),t.on(e.updateWhenIdle?\\\"moveend\\\":\\\"move\\\",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?\\\"moveend\\\":\\\"move\\\",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=ht(\\\"div\\\",i,e)),t.imperial&&(this._iScale=ht(\\\"div\\\",i,e))},_update:function(){var t=this._map,i=t.getSize().y/2,e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),e=i<1e3?i+\\\" m\\\":i/1e3+\\\" km\\\";this._updateScale(this._mScale,e,i/t)},_updateImperial:function(t){var i,e,n,o=3.2808399*t;o>5280?(i=o/5280,e=this._getRoundNum(i),this._updateScale(this._iScale,e+\\\" mi\\\",e/i)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+\\\" ft\\\",n/o))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+\\\"px\\\",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+\\\"\\\").length-1),e=t/i;return e=e>=10?10:e>=5?5:e>=3?3:e>=2?2:1,i*e}}),Ce=Pe.extend({options:{position:\\\"bottomright\\\",prefix:'<a href=\\\"http://leafletjs.com\\\" title=\\\"A JS library for interactive maps\\\">Leaflet</a>'},initialize:function(t){l(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=ht(\\\"div\\\",\\\"leaflet-control-attribution\\\"),J(this._container);for(var i in t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var e=[];this.options.prefix&&e.push(this.options.prefix),t.length&&e.push(t.join(\\\", \\\")),this._container.innerHTML=e.join(\\\" | \\\")}}});Le.mergeOptions({attributionControl:!0}),Le.addInitHook(function(){this.options.attributionControl&&(new Ce).addTo(this)});Pe.Layers=Te,Pe.Zoom=ze,Pe.Scale=Me,Pe.Attribution=Ce,be.layers=function(t,i,e){return new Te(t,i,e)},be.zoom=function(t){return new ze(t)},be.scale=function(t){return new Me(t)},be.attribution=function(t){return new Ce(t)};var Ze=v.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ze.addTo=function(t,i){return t.addHandler(i,this),this};var Se,Ee={Events:hi},ke=Vi?\\\"touchstart mousedown\\\":\\\"mousedown\\\",Ie={mousedown:\\\"mouseup\\\",touchstart:\\\"touchend\\\",pointerdown:\\\"touchend\\\",MSPointerDown:\\\"touchend\\\"},Ae={mousedown:\\\"mousemove\\\",touchstart:\\\"touchmove\\\",pointerdown:\\\"touchmove\\\",MSPointerDown:\\\"touchmove\\\"},Be=ui.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){l(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(V(this._dragStartTarget,ke,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Be._dragging===this&&this.finishDrag(),q(this._dragStartTarget,ke,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!dt(this._element,\\\"leaflet-zoom-anim\\\")&&!(Be._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(Be._dragging=this,this._preventOutline&&zt(this._element),bt(),mi(),this._moving)))){this.fire(\\\"down\\\");var i=t.touches?t.touches[0]:t;this._startPoint=new x(i.clientX,i.clientY),V(document,Ae[t.type],this._onMove,this),V(document,Ie[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var i=t.touches&&1===t.touches.length?t.touches[0]:t,e=new x(i.clientX,i.clientY).subtract(this._startPoint);(e.x||e.y)&&(Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||($(t),this._moved||(this.fire(\\\"dragstart\\\"),this._moved=!0,this._startPos=Pt(this._element).subtract(e),pt(document.body,\\\"leaflet-dragging\\\"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),pt(this._lastTarget,\\\"leaflet-drag-target\\\")),this._newPos=this._startPos.add(e),this._moving=!0,g(this._animRequest),this._lastEvent=t,this._animRequest=f(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire(\\\"predrag\\\",t),Lt(this._element,this._newPos),this.fire(\\\"drag\\\",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){mt(document.body,\\\"leaflet-dragging\\\"),this._lastTarget&&(mt(this._lastTarget,\\\"leaflet-drag-target\\\"),this._lastTarget=null);for(var t in Ae)q(document,Ae[t],this._onMove,this),q(document,Ie[t],this._onUp,this);Tt(),fi(),this._moved&&this._moving&&(g(this._animRequest),this.fire(\\\"dragend\\\",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,Be._dragging=!1}}),Oe=(Object.freeze||Object)({simplify:Ct,pointToSegmentDistance:Zt,closestPointOnSegment:function(t,i,e){return Rt(t,i,e)},clipSegment:It,_getEdgeIntersection:At,_getBitCode:Bt,_sqClosestPointOnSegment:Rt,isFlat:Dt,_flat:Nt}),Re=(Object.freeze||Object)({clipPolygon:jt}),De={project:function(t){return new x(t.lng,t.lat)},unproject:function(t){return new M(t.y,t.x)},bounds:new P([-180,-90],[180,90])},Ne={R:6378137,R_MINOR:6356752.314245179,bounds:new P([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-e*Math.log(Math.max(a,1e-10)),new x(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h<15&&Math.abs(u)>1e-7;h++)i=s*Math.sin(a),i=Math.pow((1-i)/(1+i),s/2),a+=u=Math.PI/2-2*Math.atan(r*i)-a;return new M(a*e,t.x*e/n)}},je=(Object.freeze||Object)({LonLat:De,Mercator:Ne,SphericalMercator:di}),We=i({},_i,{code:\\\"EPSG:3395\\\",projection:Ne,transformation:function(){var t=.5/(Math.PI*Ne.R);return S(t,.5,-t,.5)}()}),He=i({},_i,{code:\\\"EPSG:4326\\\",projection:De,transformation:S(1/180,1,-1/180,.5)}),Fe=i({},ci,{projection:De,transformation:S(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:!0});ci.Earth=_i,ci.EPSG3395=We,ci.EPSG3857=vi,ci.EPSG900913=yi,ci.EPSG4326=He,ci.Simple=Fe;var Ue=ui.extend({options:{pane:\\\"overlayPane\\\",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[n(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[n(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var e=this.getEvents();i.on(e,this),this.once(\\\"remove\\\",function(){i.off(e,this)},this)}this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire(\\\"add\\\"),i.fire(\\\"layeradd\\\",{layer:this})}}});Le.include({addLayer:function(t){if(!t._layerAdd)throw new Error(\\\"The provided object is not a Layer.\\\");var i=n(t);return this._layers[i]?this:(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var i=n(t);return this._layers[i]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[i],this._loaded&&(this.fire(\\\"layerremove\\\",{layer:t}),t.fire(\\\"remove\\\")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&n(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){for(var i=0,e=(t=t?ei(t)?t:[t]:[]).length;i<e;i++)this.addLayer(t[i])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[n(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var i=n(t);this._zoomBoundLayers[i]&&(delete this._zoomBoundLayers[i],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,i=-1/0,e=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom)}this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,e!==this._getZoomSpan()&&this.fire(\\\"zoomlevelschange\\\"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ve=Ue.extend({initialize:function(t,i){l(this,i),this._layers={};var e,n;if(t)for(e=0,n=t.length;e<n;e++)this.addLayer(t[e])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[i]&&this._map.removeLayer(this._layers[i]),delete this._layers[i],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,e,n=Array.prototype.slice.call(arguments,1);for(i in this._layers)(e=this._layers[i])[t]&&e[t].apply(e,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke(\\\"setZIndex\\\",t)},getLayerId:function(t){return n(t)}}),qe=Ve.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ve.prototype.addLayer.call(this,t),this.fire(\\\"layeradd\\\",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ve.prototype.removeLayer.call(this,t),this.fire(\\\"layerremove\\\",{layer:t})):this},setStyle:function(t){return this.invoke(\\\"setStyle\\\",t)},bringToFront:function(){return this.invoke(\\\"bringToFront\\\")},bringToBack:function(){return this.invoke(\\\"bringToBack\\\")},getBounds:function(){var t=new T;for(var i in this._layers){var e=this._layers[i];t.extend(e.getBounds?e.getBounds():e.getLatLng())}return t}}),Ge=v.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){l(this,t)},createIcon:function(t){return this._createIcon(\\\"icon\\\",t)},createShadow:function(t){return this._createIcon(\\\"shadow\\\",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if(\\\"icon\\\"===t)throw new Error(\\\"iconUrl not set in Icon options (see the docs).\\\");return null}var n=this._createImg(e,i&&\\\"IMG\\\"===i.tagName?i:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,i){var e=this.options,n=e[i+\\\"Size\\\"];\\\"number\\\"==typeof n&&(n=[n,n]);var o=w(n),s=w(\\\"shadow\\\"===i&&e.shadowAnchor||e.iconAnchor||o&&o.divideBy(2,!0));t.className=\\\"leaflet-marker-\\\"+i+\\\" \\\"+(e.className||\\\"\\\"),s&&(t.style.marginLeft=-s.x+\\\"px\\\",t.style.marginTop=-s.y+\\\"px\\\"),o&&(t.style.width=o.x+\\\"px\\\",t.style.height=o.y+\\\"px\\\")},_createImg:function(t,i){return i=i||document.createElement(\\\"img\\\"),i.src=t,i},_getIconUrl:function(t){return Ki&&this.options[t+\\\"RetinaUrl\\\"]||this.options[t+\\\"Url\\\"]}}),Ke=Ge.extend({options:{iconUrl:\\\"marker-icon.png\\\",iconRetinaUrl:\\\"marker-icon-2x.png\\\",shadowUrl:\\\"marker-shadow.png\\\",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Ke.imagePath||(Ke.imagePath=this._detectIconPath()),(this.options.imagePath||Ke.imagePath)+Ge.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=ht(\\\"div\\\",\\\"leaflet-default-icon-path\\\",document.body),i=at(t,\\\"background-image\\\")||at(t,\\\"backgroundImage\\\");return document.body.removeChild(t),i=null===i||0!==i.indexOf(\\\"url\\\")?\\\"\\\":i.replace(/^url\\\\([\\\"']?/,\\\"\\\").replace(/marker-icon\\\\.png[\\\"']?\\\\)$/,\\\"\\\")}}),Ye=Ze.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Be(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),pt(t,\\\"leaflet-marker-draggable\\\")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&mt(this._marker._icon,\\\"leaflet-marker-draggable\\\")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=L.DomUtil.getPosition(i._icon),r=e.getPixelBounds(),a=e.getPixelOrigin(),h=b(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!h.contains(s)){var u=w((Math.max(h.max.x,s.x)-h.max.x)/(r.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(r.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(r.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(r.min.y-h.min.y)).multiplyBy(n);e.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),L.DomUtil.setPosition(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=f(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire(\\\"movestart\\\").fire(\\\"dragstart\\\")},_onPreDrag:function(t){this._marker.options.autoPan&&(g(this._panRequest),this._panRequest=f(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,e=i._shadow,n=Pt(i._icon),o=i._map.layerPointToLatLng(n);e&&Lt(e,n),i._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,i.fire(\\\"move\\\",t).fire(\\\"drag\\\",t)},_onDragEnd:function(t){g(this._panRequest),delete this._oldLatLng,this._marker.fire(\\\"moveend\\\").fire(\\\"dragend\\\",t)}}),Xe=Ue.extend({options:{icon:new Ke,interactive:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10,keyboard:!0,title:\\\"\\\",alt:\\\"\\\",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:\\\"markerPane\\\",bubblingMouseEvents:!1},initialize:function(t,i){l(this,i),this._latlng=C(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on(\\\"zoomanim\\\",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off(\\\"zoomanim\\\",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=C(t),this.update(),this.fire(\\\"move\\\",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i=\\\"leaflet-zoom-\\\"+(this._zoomAnimated?\\\"animated\\\":\\\"hide\\\"),e=t.icon.createIcon(this._icon),n=!1;e!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(e.title=t.title),\\\"IMG\\\"===e.tagName&&(e.alt=t.alt||\\\"\\\")),pt(e,i),t.keyboard&&(e.tabIndex=\\\"0\\\"),this._icon=e,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(pt(o,i),o.alt=\\\"\\\"),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(\\\"shadowPane\\\").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ut(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ut(this._shadow),this._shadow=null},_setPos:function(t){Lt(this._icon,t),this._shadow&&Lt(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(this.options.interactive&&(pt(this._icon,\\\"leaflet-interactive\\\"),this.addInteractiveTarget(this._icon),Ye)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ye(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;vt(this._icon,t),this._shadow&&vt(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Je=Ue.extend({options:{stroke:!0,color:\\\"#3388ff\\\",weight:3,opacity:1,lineCap:\\\"round\\\",lineJoin:\\\"round\\\",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:\\\"evenodd\\\",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return l(this,t),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),$e=Je.extend({options:{fill:!0,radius:10},initialize:function(t,i){l(this,i),this._latlng=C(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=C(t),this.redraw(),this.fire(\\\"move\\\",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return Je.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance(),n=[t+e,i+e];this._pxBounds=new P(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Qe=$e.extend({initialize:function(t,e,n){if(\\\"number\\\"==typeof e&&(e=i({},n,{radius:e})),l(this,e),this._latlng=C(t),isNaN(this.options.radius))throw new Error(\\\"Circle radius cannot be NaN\\\");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new T(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Je.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,e=this._map,n=e.options.crs;if(n.distance===_i.distance){var o=Math.PI/180,s=this._mRadius/_i.R/o,r=e.project([i+s,t]),a=e.project([i-s,t]),h=r.add(a).divideBy(2),u=e.unproject(h).lat,l=Math.acos((Math.cos(s*o)-Math.sin(i*o)*Math.sin(u*o))/(Math.cos(i*o)*Math.cos(u*o)))/o;(isNaN(l)||0===l)&&(l=s/Math.cos(Math.PI/180*i)),this._point=h.subtract(e.getPixelOrigin()),this._radius=isNaN(l)?0:h.x-e.project([u,t-l]).x,this._radiusY=h.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=e.latLngToLayerPoint(this._latlng),this._radius=this._point.x-e.latLngToLayerPoint(c).x}this._updateBounds()}}),tn=Je.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){l(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i,e,n=1/0,o=null,s=Rt,r=0,a=this._parts.length;r<a;r++)for(var h=this._parts[r],u=1,l=h.length;u<l;u++){var c=s(t,i=h[u-1],e=h[u],!0);c<n&&(n=c,o=s(t,i,e))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error(\\\"Must add layer to map before using getCenter()\\\");var t,i,e,n,o,s,r,a=this._rings[0],h=a.length;if(!h)return null;for(t=0,i=0;t<h-1;t++)i+=a[t].distanceTo(a[t+1])/2;if(0===i)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<h-1;t++)if(o=a[t],s=a[t+1],e=o.distanceTo(s),(n+=e)>i)return r=(n-i)/e,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=C(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new T,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Dt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],e=Dt(t),n=0,o=t.length;n<o;n++)e?(i[n]=C(t[n]),this._bounds.extend(i[n])):i[n]=this._convertLatLngs(t[n]);return i},_project:function(){var t=new P;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t);var i=this._clickTolerance(),e=new x(i,i);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(e),t.max._add(e),this._pxBounds=t)},_projectLatlngs:function(t,i,e){var n,o,s=t[0]instanceof M,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),e.extend(o[n]);i.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],i,e)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var i,e,n,o,s,r,a,h=this._parts;for(i=0,n=0,o=this._rings.length;i<o;i++)for(e=0,s=(a=this._rings[i]).length;e<s-1;e++)(r=It(a[e],a[e+1],t,e,!0))&&(h[n]=h[n]||[],h[n].push(r[0]),r[1]===a[e+1]&&e!==s-2||(h[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,e=0,n=t.length;e<n;e++)t[e]=Ct(t[e],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,s=this._parts.length;e<s;e++)for(n=0,o=(r=(a=this._parts[e]).length)-1;n<r;o=n++)if((i||0!==n)&&Zt(t,a[o],a[n])<=h)return!0;return!1}});tn._flat=Nt;var en=tn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error(\\\"Must add layer to map before using getCenter()\\\");var t,i,e,n,o,s,r,a,h,u=this._rings[0],l=u.length;if(!l)return null;for(s=r=a=0,t=0,i=l-1;t<l;i=t++)e=u[t],n=u[i],o=e.y*n.x-n.y*e.x,r+=(e.x+n.x)*o,a+=(e.y+n.y)*o,s+=3*o;return h=0===s?u[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var i=tn.prototype._convertLatLngs.call(this,t),e=i.length;return e>=2&&i[0]instanceof M&&i[0].equals(i[e-1])&&i.pop(),i},_setLatLngs:function(t){tn.prototype._setLatLngs.call(this,t),Dt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Dt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new x(i,i);if(t=new P(t.min.subtract(e),t.max.add(e)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=jt(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,e,n,o,s,r,a,h,u=!1;if(!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(i=this._parts[o]).length)-1;s<h;r=s++)e=i[s],n=i[r],e.y>t.y!=n.y>t.y&&t.x<(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(u=!u);return u||tn.prototype._containsPoint.call(this,t,!0)}}),nn=qe.extend({initialize:function(t,i){l(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=ei(t)?t:t.features;if(o){for(i=0,e=o.length;i<e;i++)((n=o[i]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=Wt(t,s);return r?(r.feature=Gt(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(i){this._setLayerStyle(i,t)},this)},_setLayerStyle:function(t,i){\\\"function\\\"==typeof i&&(i=i(t.feature)),t.setStyle&&t.setStyle(i)}}),on={toGeoJSON:function(t){return qt(this,{type:\\\"Point\\\",coordinates:Ut(this.getLatLng(),t)})}};Xe.include(on),Qe.include(on),$e.include(on),tn.include({toGeoJSON:function(t){var i=!Dt(this._latlngs),e=Vt(this._latlngs,i?1:0,!1,t);return qt(this,{type:(i?\\\"Multi\\\":\\\"\\\")+\\\"LineString\\\",coordinates:e})}}),en.include({toGeoJSON:function(t){var i=!Dt(this._latlngs),e=i&&!Dt(this._latlngs[0]),n=Vt(this._latlngs,e?2:i?1:0,!0,t);return i||(n=[n]),qt(this,{type:(e?\\\"Multi\\\":\\\"\\\")+\\\"Polygon\\\",coordinates:n})}}),Ve.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}),qt(this,{type:\\\"MultiPoint\\\",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(\\\"MultiPoint\\\"===i)return this.toMultiPoint(t);var e=\\\"GeometryCollection\\\"===i,n=[];return this.eachLayer(function(i){if(i.toGeoJSON){var o=i.toGeoJSON(t);if(e)n.push(o.geometry);else{var s=Gt(o);\\\"FeatureCollection\\\"===s.type?n.push.apply(n,s.features):n.push(s)}}}),e?qt(this,{geometries:n,type:\\\"GeometryCollection\\\"}):{type:\\\"FeatureCollection\\\",features:n}}});var sn=Kt,rn=Ue.extend({options:{opacity:1,alt:\\\"\\\",interactive:!1,crossOrigin:!1,errorOverlayUrl:\\\"\\\",zIndex:1,className:\\\"\\\"},initialize:function(t,i,e){this._url=t,this._bounds=z(i),l(this,e)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(pt(this._image,\\\"leaflet-interactive\\\"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ut(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ct(this._image),this},bringToBack:function(){return this._map&&_t(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=z(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=\\\"IMG\\\"===this._url.tagName,i=this._image=t?this._url:ht(\\\"img\\\");pt(i,\\\"leaflet-image-layer\\\"),this._zoomAnimated&&pt(i,\\\"leaflet-zoom-animated\\\"),this.options.className&&pt(i,this.options.className),i.onselectstart=r,i.onmousemove=r,i.onload=e(this.fire,this,\\\"load\\\"),i.onerror=e(this._overlayOnError,this,\\\"error\\\"),this.options.crossOrigin&&(i.crossOrigin=\\\"\\\"),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;wt(this._image,e,i)},_reset:function(){var t=this._image,i=new P(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();Lt(t,i.min),t.style.width=e.x+\\\"px\\\",t.style.height=e.y+\\\"px\\\"},_updateOpacity:function(){vt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire(\\\"error\\\");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),an=rn.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var t=\\\"VIDEO\\\"===this._url.tagName,i=this._image=t?this._url:ht(\\\"video\\\");if(pt(i,\\\"leaflet-image-layer\\\"),this._zoomAnimated&&pt(i,\\\"leaflet-zoom-animated\\\"),i.onselectstart=r,i.onmousemove=r,i.onloadeddata=e(this.fire,this,\\\"load\\\"),t){for(var n=i.getElementsByTagName(\\\"source\\\"),o=[],s=0;s<n.length;s++)o.push(n[s].src);this._url=n.length>0?o:[i.src]}else{ei(this._url)||(this._url=[this._url]),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop;for(var a=0;a<this._url.length;a++){var h=ht(\\\"source\\\");h.src=this._url[a],i.appendChild(h)}}}}),hn=Ue.extend({options:{offset:[0,7],className:\\\"\\\",pane:\\\"popupPane\\\"},initialize:function(t,i){l(this,t),this._source=i},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&vt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&vt(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(vt(this._container,0),this._removeTimeout=setTimeout(e(ut,void 0,this._container),200)):ut(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=C(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility=\\\"hidden\\\",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility=\\\"\\\",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ct(this._container),this},bringToBack:function(){return this._map&&_t(this._container),this},_updateContent:function(){if(this._content){var t=this._contentNode,i=\\\"function\\\"==typeof this._content?this._content(this._source||this):this._content;if(\\\"string\\\"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire(\\\"contentupdate\\\")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),i=w(this.options.offset),e=this._getAnchor();this._zoomAnimated?Lt(this._container,t.add(e)):i=i.add(t).add(e);var n=this._containerBottom=-i.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=n+\\\"px\\\",this._container.style.left=o+\\\"px\\\"}},_getAnchor:function(){return[0,0]}}),un=hn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:\\\"\\\"},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){hn.prototype.onAdd.call(this,t),t.fire(\\\"popupopen\\\",{popup:this}),this._source&&(this._source.fire(\\\"popupopen\\\",{popup:this},!0),this._source instanceof Je||this._source.on(\\\"preclick\\\",Y))},onRemove:function(t){hn.prototype.onRemove.call(this,t),t.fire(\\\"popupclose\\\",{popup:this}),this._source&&(this._source.fire(\\\"popupclose\\\",{popup:this},!0),this._source instanceof Je||this._source.off(\\\"preclick\\\",Y))},getEvents:function(){var t=hn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t=\\\"leaflet-popup\\\",i=this._container=ht(\\\"div\\\",t+\\\" \\\"+(this.options.className||\\\"\\\")+\\\" leaflet-zoom-animated\\\"),e=this._wrapper=ht(\\\"div\\\",t+\\\"-content-wrapper\\\",i);if(this._contentNode=ht(\\\"div\\\",t+\\\"-content\\\",e),J(e),X(this._contentNode),V(e,\\\"contextmenu\\\",Y),this._tipContainer=ht(\\\"div\\\",t+\\\"-tip-container\\\",i),this._tip=ht(\\\"div\\\",t+\\\"-tip\\\",this._tipContainer),this.options.closeButton){var n=this._closeButton=ht(\\\"a\\\",t+\\\"-close-button\\\",i);n.href=\\\"#close\\\",n.innerHTML=\\\"&#215;\\\",V(n,\\\"click\\\",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width=\\\"\\\",i.whiteSpace=\\\"nowrap\\\";var e=t.offsetWidth;e=Math.min(e,this.options.maxWidth),e=Math.max(e,this.options.minWidth),i.width=e+1+\\\"px\\\",i.whiteSpace=\\\"\\\",i.height=\\\"\\\";var n=t.offsetHeight,o=this.options.maxHeight;o&&n>o?(i.height=o+\\\"px\\\",pt(t,\\\"leaflet-popup-scrolled\\\")):mt(t,\\\"leaflet-popup-scrolled\\\"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();Lt(this._container,i.add(e))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var t=this._map,i=parseInt(at(this._container,\\\"marginBottom\\\"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,o=new x(this._containerLeft,-e-this._containerBottom);o._add(Pt(this._container));var s=t.layerPointToContainerPoint(o),r=w(this.options.autoPanPadding),a=w(this.options.autoPanPaddingTopLeft||r),h=w(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x<0&&(l=s.x-a.x),s.y+e+h.y>u.y&&(c=s.y+e-u.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(l||c)&&t.fire(\\\"autopanstart\\\").panBy([l,c])}},_onCloseButtonClick:function(t){this._close(),Q(t)},_getAnchor:function(){return w(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Le.mergeOptions({closePopupOnClick:!0}),Le.include({openPopup:function(t,i,e){return t instanceof un||(t=new un(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Ue.include({bindPopup:function(t,i){return t instanceof un?(l(t,i),this._popup=t,t._source=this):(this._popup&&!i||(this._popup=new un(i,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,i){if(t instanceof Ue||(i=t,t=this),t instanceof qe)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),this._map.openPopup(this._popup,i)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var i=t.layer||t.target;this._popup&&this._map&&(Q(t),i instanceof Je?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===i?this.closePopup():this.openPopup(i,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var ln=hn.extend({options:{pane:\\\"tooltipPane\\\",offset:[0,0],direction:\\\"auto\\\",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){hn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire(\\\"tooltipopen\\\",{tooltip:this}),this._source&&this._source.fire(\\\"tooltipopen\\\",{tooltip:this},!0)},onRemove:function(t){hn.prototype.onRemove.call(this,t),t.fire(\\\"tooltipclose\\\",{tooltip:this}),this._source&&this._source.fire(\\\"tooltipclose\\\",{tooltip:this},!0)},getEvents:function(){var t=hn.prototype.getEvents.call(this);return Vi&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t=\\\"leaflet-tooltip \\\"+(this.options.className||\\\"\\\")+\\\" leaflet-zoom-\\\"+(this._zoomAnimated?\\\"animated\\\":\\\"hide\\\");this._contentNode=this._container=ht(\\\"div\\\",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i=this._map,e=this._container,n=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,r=e.offsetWidth,a=e.offsetHeight,h=w(this.options.offset),u=this._getAnchor();\\\"top\\\"===s?t=t.add(w(-r/2+h.x,-a+h.y+u.y,!0)):\\\"bottom\\\"===s?t=t.subtract(w(r/2-h.x,-h.y,!0)):\\\"center\\\"===s?t=t.subtract(w(r/2+h.x,a/2-u.y+h.y,!0)):\\\"right\\\"===s||\\\"auto\\\"===s&&o.x<n.x?(s=\\\"right\\\",t=t.add(w(h.x+u.x,u.y-a/2+h.y,!0))):(s=\\\"left\\\",t=t.subtract(w(r+u.x-h.x,a/2-u.y-h.y,!0))),mt(e,\\\"leaflet-tooltip-right\\\"),mt(e,\\\"leaflet-tooltip-left\\\"),mt(e,\\\"leaflet-tooltip-top\\\"),mt(e,\\\"leaflet-tooltip-bottom\\\"),pt(e,\\\"leaflet-tooltip-\\\"+s),Lt(e,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&vt(this._container,t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return w(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Le.include({openTooltip:function(t,i,e){return t instanceof ln||(t=new ln(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Ue.include({bindTooltip:function(t,i){return t instanceof ln?(l(t,i),this._tooltip=t,t._source=this):(this._tooltip&&!i||(this._tooltip=new ln(i,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var i=t?\\\"off\\\":\\\"on\\\",e={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),Vi&&(e.click=this._openTooltip)),this[i](e),this._tooltipHandlersAdded=!t}},openTooltip:function(t,i){if(t instanceof Ue||(i=t,t=this),t instanceof qe)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,i),this._tooltip.options.interactive&&this._tooltip._container&&(pt(this._tooltip._container,\\\"leaflet-clickable\\\"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(mt(this._tooltip._container,\\\"leaflet-clickable\\\"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var i=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(i,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var i,e,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(i=this._map.mouseEventToContainerPoint(t.originalEvent),e=this._map.containerPointToLayerPoint(i),n=this._map.layerPointToLatLng(e)),this._tooltip.setLatLng(n)}});var cn=Ge.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:\\\"leaflet-div-icon\\\"},createIcon:function(t){var i=t&&\\\"DIV\\\"===t.tagName?t:document.createElement(\\\"div\\\"),e=this.options;if(i.innerHTML=!1!==e.html?e.html:\\\"\\\",e.bgPos){var n=w(e.bgPos);i.style.backgroundPosition=-n.x+\\\"px \\\"+-n.y+\\\"px\\\"}return this._setIconStyles(i,\\\"icon\\\"),i},createShadow:function(){return null}});Ge.Default=Ke;var _n=Ue.extend({options:{tileSize:256,opacity:1,updateWhenIdle:ji,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:\\\"tilePane\\\",className:\\\"\\\",keepBuffer:2},initialize:function(t){l(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ut(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ct(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(_t(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement(\\\"div\\\")},getTileSize:function(){var t=this.options.tileSize;return t instanceof x?t:new x(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,e=this.getPane().children,n=-t(-1/0,1/0),o=0,s=e.length;o<s;o++)i=e[o].style.zIndex,e[o]!==this._container&&i&&(n=t(n,+i));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Li){vt(this._container,this.options.opacity);var t=+new Date,i=!1,e=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);vt(o.el,s),s<1?i=!0:(o.active?e=!0:this._onOpaqueTile(o),o.active=!0)}}e&&!this._noPrune&&this._pruneTiles(),i&&(g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this))}},_onOpaqueTile:r,_initContainer:function(){this._container||(this._container=ht(\\\"div\\\",\\\"leaflet-layer \\\"+(this.options.className||\\\"\\\")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var e in this._levels)this._levels[e].el.children.length||e===t?(this._levels[e].el.style.zIndex=i-Math.abs(t-e),this._onUpdateLevel(e)):(ut(this._levels[e].el),this._removeTilesAtZoom(e),this._onRemoveLevel(e),delete this._levels[e]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=ht(\\\"div\\\",\\\"leaflet-tile-container leaflet-zoom-animated\\\",this._container),n.el.style.zIndex=i,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:r,_onRemoveLevel:r,_onCreateLevel:r,_pruneTiles:function(){if(this._map){var t,i,e=this._map.getZoom();if(e>this.options.maxZoom||e<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)if((i=this._tiles[t]).current&&!i.active){var n=i.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ut(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,e,n){var o=Math.floor(t/2),s=Math.floor(i/2),r=e-1,a=new x(+o,+s);a.z=+r;var h=this._tileCoordsToKey(a),u=this._tiles[h];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*i;s<2*i+2;s++){var r=new x(o,s);r.z=e+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),e+1<n&&this._retainChildren(o,s,e+1,n))}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t<i.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom<t?i.maxNativeZoom:t},_setView:function(t,i,e,n){var o=this._clampZoom(Math.round(i));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),e||this._pruneTiles(),this._noPrune=!!e),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels)this._setZoomTransform(this._levels[e],t,i)},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();Ni?wt(t.el,o,n):Lt(t.el,o)},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=this._map,e=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),n=i.getZoomScale(e,this._tileZoom),o=i.project(t,this._tileZoom).floor(),s=i.getSize().divideBy(2*n);return new P(o.subtract(s),o.add(s))},_update:function(t){var i=this._map;if(i){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,h=new P(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error(\\\"Attempted to load an infinite number of tiles\\\");for(var u in this._tiles){var l=this._tiles[u].coords;l.z===this._tileZoom&&h.contains(new x(l.x,l.y))||(this._tiles[u].current=!1)}if(Math.abs(e-this._tileZoom)>1)this._setView(t,e);else{for(var c=o.min.y;c<=o.max.y;c++)for(var _=o.min.x;_<=o.max.x;_++){var d=new x(_,c);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:r.push(d)}}if(r.sort(function(t,i){return t.distanceTo(s)-i.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire(\\\"loading\\\"));var m=document.createDocumentFragment();for(_=0;_<r.length;_++)this._addTile(r[_],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x<e.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y<e.min.y||t.y>e.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return z(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),o=n.add(e);return[i.unproject(n,t.z),i.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new T(i[0],i[1]);return this.options.noWrap||(e=this._map.wrapLatLngBounds(e)),e},_tileCoordsToKey:function(t){return t.x+\\\":\\\"+t.y+\\\":\\\"+t.z},_keyToTileCoords:function(t){var i=t.split(\\\":\\\"),e=new x(+i[0],+i[1]);return e.z=+i[2],e},_removeTile:function(t){var i=this._tiles[t];i&&(Ci||i.el.setAttribute(\\\"src\\\",ni),ut(i.el),delete this._tiles[t],this.fire(\\\"tileunload\\\",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){pt(t,\\\"leaflet-tile\\\");var i=this.getTileSize();t.style.width=i.x+\\\"px\\\",t.style.height=i.y+\\\"px\\\",t.onselectstart=r,t.onmousemove=r,Li&&this.options.opacity<1&&vt(t,this.options.opacity),Ti&&!zi&&(t.style.WebkitBackfaceVisibility=\\\"hidden\\\")},_addTile:function(t,i){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),e(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&f(e(this._tileReady,this,t,null,s)),Lt(s,n),this._tiles[o]={el:s,coords:t,current:!0},i.appendChild(s),this.fire(\\\"tileloadstart\\\",{tile:s,coords:t})},_tileReady:function(t,i,n){if(this._map){i&&this.fire(\\\"tileerror\\\",{error:i,tile:n,coords:t});var o=this._tileCoordsToKey(t);(n=this._tiles[o])&&(n.loaded=+new Date,this._map._fadeAnimated?(vt(n.el,0),g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),i||(pt(n.el,\\\"leaflet-tile-loaded\\\"),this.fire(\\\"tileload\\\",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire(\\\"load\\\"),Li||!this._map._fadeAnimated?f(this._pruneTiles,this):setTimeout(e(this._pruneTiles,this),250)))}},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new x(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new P(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),dn=_n.extend({options:{minZoom:0,maxZoom:18,subdomains:\\\"abc\\\",errorTileUrl:\\\"\\\",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,i){this._url=t,(i=l(this,i)).detectRetina&&Ki&&i.maxZoom>0&&(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom++):(i.zoomOffset++,i.maxZoom--),i.minZoom=Math.max(0,i.minZoom)),\\\"string\\\"==typeof i.subdomains&&(i.subdomains=i.subdomains.split(\\\"\\\")),Ti||this.on(\\\"tileunload\\\",this._onTileRemove)},setUrl:function(t,i){return this._url=t,i||this.redraw(),this},createTile:function(t,i){var n=document.createElement(\\\"img\\\");return V(n,\\\"load\\\",e(this._tileOnLoad,this,i,n)),V(n,\\\"error\\\",e(this._tileOnError,this,i,n)),this.options.crossOrigin&&(n.crossOrigin=\\\"\\\"),n.alt=\\\"\\\",n.setAttribute(\\\"role\\\",\\\"presentation\\\"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Ki?\\\"@2x\\\":\\\"\\\",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e[\\\"-y\\\"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,i){Li?setTimeout(e(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute(\\\"src\\\")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,e=this.options.zoomReverse,n=this.options.zoomOffset;return e&&(t=i-t),t+n},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=r,i.onerror=r,i.complete||(i.src=ni,ut(i),delete this._tiles[t]))}}),pn=dn.extend({defaultWmsParams:{service:\\\"WMS\\\",request:\\\"GetMap\\\",layers:\\\"\\\",styles:\\\"\\\",format:\\\"image/jpeg\\\",transparent:!1,version:\\\"1.1.1\\\"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=l(this,e)).detectRetina&&Ki?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?\\\"crs\\\":\\\"srs\\\";this.wmsParams[i]=this._crs.code,dn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=b(e.project(i[0]),e.project(i[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===He?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(\\\",\\\"),a=L.TileLayer.prototype.getTileUrl.call(this,t);return a+c(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?\\\"&BBOX=\\\":\\\"&bbox=\\\")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});dn.WMS=pn,Yt.wms=function(t,i){return new pn(t,i)};var mn=Ue.extend({options:{padding:.1,tolerance:0},initialize:function(t){l(this,t),n(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&pt(this._container,\\\"leaflet-zoom-animated\\\")),this.getPane().appendChild(this._container),this._update(),this.on(\\\"update\\\",this._updatePaths,this)},onRemove:function(){this.off(\\\"update\\\",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=Pt(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=this._map.project(t,i).subtract(s),a=o.multiplyBy(-e).add(n).add(o).subtract(r);Ni?wt(this._container,a,e):Lt(this._container,a)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new P(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),fn=mn.extend({getEvents:function(){var t=mn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){mn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement(\\\"canvas\\\");V(t,\\\"mousemove\\\",o(this._onMouseMove,32,this),this),V(t,\\\"click dblclick mousedown mouseup contextmenu\\\",this._onClick,this),V(t,\\\"mouseout\\\",this._handleMouseOut,this),this._ctx=t.getContext(\\\"2d\\\")},_destroyContainer:function(){delete this._ctx,ut(this._container),q(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){this._redrawBounds=null;for(var t in this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},mn.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=Ki?2:1;Lt(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+\\\"px\\\",i.style.height=e.y+\\\"px\\\",Ki&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire(\\\"update\\\")}},_reset:function(){mn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[n(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,e=i.next,n=i.prev;e?e.prev=n:this._drawLast=n,n?n.next=e:this._drawFirst=e,delete t._order,delete this._layers[L.stamp(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(t.options.dashArray){var i,e=t.options.dashArray.split(\\\",\\\"),n=[];for(i=0;i<e.length;i++)n.push(Number(e[i]));t.options._dashArray=n}},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||f(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new P,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,i=this._redrawBounds;if(this._ctx.save(),i){var e=i.getSize();this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var e,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(this._drawnLayers[t._leaflet_id]=t,h.beginPath(),e=0;e<a;e++){for(n=0,o=r[e].length;n<o;n++)s=r[e][n],h[n?\\\"lineTo\\\":\\\"moveTo\\\"](s.x,s.y);i&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;this._drawnLayers[t._leaflet_id]=t,1!==o&&(e.save(),e.scale(1,o)),e.beginPath(),e.arc(i.x,i.y/o,n,0,2*Math.PI,!1),1!==o&&e.restore(),this._fillStroke(e,t)}},_fillStroke:function(t,i){var e=i.options;e.fill&&(t.globalAlpha=e.fillOpacity,t.fillStyle=e.fillColor||e.color,t.fill(e.fillRule||\\\"evenodd\\\")),e.stroke&&0!==e.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=e.opacity,t.lineWidth=e.weight,t.strokeStyle=e.color,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.stroke())},_onClick:function(t){for(var i,e,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(n)&&!this._map._draggableMoved(i)&&(e=i);e&&(et(t),this._fireEvent([e],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)}},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(mt(this._container,\\\"leaflet-interactive\\\"),this._fireEvent([i],t,\\\"mouseout\\\"),this._hoveredLayer=null)},_handleMouseHover:function(t,i){for(var e,n,o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(n=e);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(pt(this._container,\\\"leaflet-interactive\\\"),this._fireEvent([n],t,\\\"mouseover\\\"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i=t._order,e=i.next,n=i.prev;e&&(e.prev=n,n?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,this._drawLast.next=i,i.next=null,this._drawLast=i,this._requestRedraw(t))},_bringToBack:function(t){var i=t._order,e=i.next,n=i.prev;n&&(n.next=e,e?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t))}}),gn=function(){try{return document.namespaces.add(\\\"lvml\\\",\\\"urn:schemas-microsoft-com:vml\\\"),function(t){return document.createElement(\\\"<lvml:\\\"+t+' class=\\\"lvml\\\">')}}catch(t){return function(t){return document.createElement(\\\"<\\\"+t+' xmlns=\\\"urn:schemas-microsoft.com:vml\\\" class=\\\"lvml\\\">')}}}(),vn={_initContainer:function(){this._container=ht(\\\"div\\\",\\\"leaflet-vml-container\\\")},_update:function(){this._map._animatingZoom||(mn.prototype._update.call(this),this.fire(\\\"update\\\"))},_initPath:function(t){var i=t._container=gn(\\\"shape\\\");pt(i,\\\"leaflet-vml-shape \\\"+(this.options.className||\\\"\\\")),i.coordsize=\\\"1 1\\\",t._path=gn(\\\"path\\\"),i.appendChild(t._path),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;ut(i),t.removeInteractiveTarget(i),delete this._layers[n(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i||(i=t._stroke=gn(\\\"stroke\\\")),o.appendChild(i),i.weight=n.weight+\\\"px\\\",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=ei(n.dashArray)?n.dashArray.join(\\\" \\\"):n.dashArray.replace(/( *, *)/g,\\\" \\\"):i.dashStyle=\\\"\\\",i.endcap=n.lineCap.replace(\\\"butt\\\",\\\"flat\\\"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e||(e=t._fill=gn(\\\"fill\\\")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?\\\"M0 0\\\":\\\"AL \\\"+i.x+\\\",\\\"+i.y+\\\" \\\"+e+\\\",\\\"+n+\\\" 0,23592600\\\")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ct(t._container)},_bringToBack:function(t){_t(t._container)}},yn=Ji?gn:E,xn=mn.extend({getEvents:function(){var t=mn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=yn(\\\"svg\\\"),this._container.setAttribute(\\\"pointer-events\\\",\\\"none\\\"),this._rootGroup=yn(\\\"g\\\"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ut(this._container),q(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){mn.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute(\\\"width\\\",i.x),e.setAttribute(\\\"height\\\",i.y)),Lt(e,t.min),e.setAttribute(\\\"viewBox\\\",[t.min.x,t.min.y,i.x,i.y].join(\\\" \\\")),this.fire(\\\"update\\\")}},_initPath:function(t){var i=t._path=yn(\\\"path\\\");t.options.className&&pt(i,t.options.className),t.options.interactive&&pt(i,\\\"leaflet-interactive\\\"),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ut(t._path),t.removeInteractiveTarget(t._path),delete this._layers[n(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,e=t.options;i&&(e.stroke?(i.setAttribute(\\\"stroke\\\",e.color),i.setAttribute(\\\"stroke-opacity\\\",e.opacity),i.setAttribute(\\\"stroke-width\\\",e.weight),i.setAttribute(\\\"stroke-linecap\\\",e.lineCap),i.setAttribute(\\\"stroke-linejoin\\\",e.lineJoin),e.dashArray?i.setAttribute(\\\"stroke-dasharray\\\",e.dashArray):i.removeAttribute(\\\"stroke-dasharray\\\"),e.dashOffset?i.setAttribute(\\\"stroke-dashoffset\\\",e.dashOffset):i.removeAttribute(\\\"stroke-dashoffset\\\")):i.setAttribute(\\\"stroke\\\",\\\"none\\\"),e.fill?(i.setAttribute(\\\"fill\\\",e.fillColor||e.color),i.setAttribute(\\\"fill-opacity\\\",e.fillOpacity),i.setAttribute(\\\"fill-rule\\\",e.fillRule||\\\"evenodd\\\")):i.setAttribute(\\\"fill\\\",\\\"none\\\"))},_updatePoly:function(t,i){this._setPath(t,k(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n=\\\"a\\\"+e+\\\",\\\"+(Math.max(Math.round(t._radiusY),1)||e)+\\\" 0 1,0 \\\",o=t._empty()?\\\"M0 0\\\":\\\"M\\\"+(i.x-e)+\\\",\\\"+i.y+n+2*e+\\\",0 \\\"+n+2*-e+\\\",0 \\\";this._setPath(t,o)},_setPath:function(t,i){t._path.setAttribute(\\\"d\\\",i)},_bringToFront:function(t){ct(t._path)},_bringToBack:function(t){_t(t._path)}});Ji&&xn.include(vn),Le.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this.options.preferCanvas&&Xt()||Jt()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if(\\\"overlayPane\\\"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=xn&&Jt({pane:t})||fn&&Xt({pane:t}),this._paneRenderers[t]=i),i}});var wn=en.extend({initialize:function(t,i){en.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=z(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});xn.create=yn,xn.pointsToPath=k,nn.geometryToLayer=Wt,nn.coordsToLatLng=Ht,nn.coordsToLatLngs=Ft,nn.latLngToCoords=Ut,nn.latLngsToCoords=Vt,nn.getFeature=qt,nn.asFeature=Gt,Le.mergeOptions({boxZoom:!0});var Ln=Ze.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on(\\\"unload\\\",this._destroy,this)},addHooks:function(){V(this._container,\\\"mousedown\\\",this._onMouseDown,this)},removeHooks:function(){q(this._container,\\\"mousedown\\\",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ut(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),mi(),bt(),this._startPoint=this._map.mouseEventToContainerPoint(t),V(document,{contextmenu:Q,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ht(\\\"div\\\",\\\"leaflet-zoom-box\\\",this._container),pt(this._container,\\\"leaflet-crosshair\\\"),this._map.fire(\\\"boxzoomstart\\\")),this._point=this._map.mouseEventToContainerPoint(t);var i=new P(this._point,this._startPoint),e=i.getSize();Lt(this._box,i.min),this._box.style.width=e.x+\\\"px\\\",this._box.style.height=e.y+\\\"px\\\"},_finish:function(){this._moved&&(ut(this._box),mt(this._container,\\\"leaflet-crosshair\\\")),fi(),Tt(),q(document,{contextmenu:Q,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(e(this._resetState,this),0);var i=new T(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire(\\\"boxzoomend\\\",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Le.addInitHook(\\\"addHandler\\\",\\\"boxZoom\\\",Ln),Le.mergeOptions({doubleClickZoom:!0});var Pn=Ze.extend({addHooks:function(){this._map.on(\\\"dblclick\\\",this._onDoubleClick,this)},removeHooks:function(){this._map.off(\\\"dblclick\\\",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,o=t.originalEvent.shiftKey?e-n:e+n;\\\"center\\\"===i.options.doubleClickZoom?i.setZoom(o):i.setZoomAround(t.containerPoint,o)}});Le.addInitHook(\\\"addHandler\\\",\\\"doubleClickZoom\\\",Pn),Le.mergeOptions({dragging:!0,inertia:!zi,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var bn=Ze.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Be(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on(\\\"predrag\\\",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on(\\\"predrag\\\",this._onPreDragWrap,this),t.on(\\\"zoomend\\\",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}pt(this._map._container,\\\"leaflet-grab leaflet-touch-drag\\\"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){mt(this._map._container,\\\"leaflet-grab\\\"),mt(this._map._container,\\\"leaflet-touch-drag\\\"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=z(this._map.options.maxBounds);this._offsetLimit=b(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire(\\\"movestart\\\").fire(\\\"dragstart\\\"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e),this._times.push(i),this._prunePositions(i)}this._map.fire(\\\"move\\\",t).fire(\\\"drag\\\",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.x<i.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y<i.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-i+e)%t+i-e,s=(n+i+e)%t-i-e,r=Math.abs(o+e)<Math.abs(s+e)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var i=this._map,e=i.options,n=!e.inertia||this._times.length<2;if(i.fire(\\\"dragend\\\",t),n)i.fire(\\\"moveend\\\");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=e.easeLinearity,a=o.multiplyBy(r/s),h=a.distanceTo([0,0]),u=Math.min(e.inertiaMaxSpeed,h),l=a.multiplyBy(u/h),c=u/(e.inertiaDeceleration*r),_=l.multiplyBy(-c/2).round();_.x||_.y?(_=i._limitOffset(_,i.options.maxBounds),f(function(){i.panBy(_,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})})):i.fire(\\\"moveend\\\")}}});Le.addInitHook(\\\"addHandler\\\",\\\"dragging\\\",bn),Le.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Tn=Ze.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex=\\\"0\\\"),V(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),q(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,i=document.documentElement,e=t.scrollTop||i.scrollTop,n=t.scrollLeft||i.scrollLeft;this._map._container.focus(),window.scrollTo(n,e)}},_onFocus:function(){this._focused=!0,this._map.fire(\\\"focus\\\")},_onBlur:function(){this._focused=!1,this._map.fire(\\\"blur\\\")},_setPanDelta:function(t){var i,e,n=this._panKeys={},o=this.keyCodes;for(i=0,e=o.left.length;i<e;i++)n[o.left[i]]=[-1*t,0];for(i=0,e=o.right.length;i<e;i++)n[o.right[i]]=[t,0];for(i=0,e=o.down.length;i<e;i++)n[o.down[i]]=[0,t];for(i=0,e=o.up.length;i<e;i++)n[o.up[i]]=[0,-1*t]},_setZoomDelta:function(t){var i,e,n=this._zoomKeys={},o=this.keyCodes;for(i=0,e=o.zoomIn.length;i<e;i++)n[o.zoomIn[i]]=t;for(i=0,e=o.zoomOut.length;i<e;i++)n[o.zoomOut[i]]=-t},_addHooks:function(){V(document,\\\"keydown\\\",this._onKeyDown,this)},_removeHooks:function(){q(document,\\\"keydown\\\",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,e=t.keyCode,n=this._map;if(e in this._panKeys){if(n._panAnim&&n._panAnim._inProgress)return;i=this._panKeys[e],t.shiftKey&&(i=w(i).multiplyBy(3)),n.panBy(i),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds)}else if(e in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else{if(27!==e||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Q(t)}}});Le.addInitHook(\\\"addHandler\\\",\\\"keyboard\\\",Tn),Le.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var zn=Ze.extend({addHooks:function(){V(this._map._container,\\\"mousewheel\\\",this._onWheelScroll,this),this._delta=0},removeHooks:function(){q(this._map._container,\\\"mousewheel\\\",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=it(t),n=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(e(this._performZoom,this),o),Q(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=e?Math.ceil(o/e)*e:o,r=t._limitZoom(i+(this._delta>0?s:-s))-i;this._delta=0,this._startTime=null,r&&(\\\"center\\\"===t.options.scrollWheelZoom?t.setZoom(i+r):t.setZoomAround(this._lastMousePos,i+r))}});Le.addInitHook(\\\"addHandler\\\",\\\"scrollWheelZoom\\\",zn),Le.mergeOptions({tap:!0,tapTolerance:15});var Mn=Ze.extend({addHooks:function(){V(this._map._container,\\\"touchstart\\\",this._onDown,this)},removeHooks:function(){q(this._map._container,\\\"touchstart\\\",this._onDown,this)},_onDown:function(t){if(t.touches){if($(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],n=i.target;this._startPos=this._newPos=new x(i.clientX,i.clientY),n.tagName&&\\\"a\\\"===n.tagName.toLowerCase()&&pt(n,\\\"leaflet-active\\\"),this._holdTimeout=setTimeout(e(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent(\\\"contextmenu\\\",i))},this),1e3),this._simulateEvent(\\\"mousedown\\\",i),V(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),q(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],e=i.target;e&&e.tagName&&\\\"a\\\"===e.tagName.toLowerCase()&&mt(e,\\\"leaflet-active\\\"),this._simulateEvent(\\\"mouseup\\\",i),this._isTapValid()&&this._simulateEvent(\\\"click\\\",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var i=t.touches[0];this._newPos=new x(i.clientX,i.clientY),this._simulateEvent(\\\"mousemove\\\",i)},_simulateEvent:function(t,i){var e=document.createEvent(\\\"MouseEvents\\\");e._simulated=!0,i.target._simulatedClick=!0,e.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(e)}});Vi&&!Ui&&Le.addInitHook(\\\"addHandler\\\",\\\"tap\\\",Mn),Le.mergeOptions({touchZoom:Vi&&!zi,bounceAtZoomLimits:!0});var Cn=Ze.extend({addHooks:function(){pt(this._map._container,\\\"leaflet-touch-zoom\\\"),V(this._map._container,\\\"touchstart\\\",this._onTouchStart,this)},removeHooks:function(){mt(this._map._container,\\\"leaflet-touch-zoom\\\"),q(this._map._container,\\\"touchstart\\\",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),\\\"center\\\"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),V(document,\\\"touchmove\\\",this._onTouchMove,this),V(document,\\\"touchend\\\",this._onTouchEnd,this),$(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,n=i.mouseEventToContainerPoint(t.touches[0]),o=i.mouseEventToContainerPoint(t.touches[1]),s=n.distanceTo(o)/this._startDist;if(this._zoom=i.getScaleZoom(s,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&s<1||this._zoom>i.getMaxZoom()&&s>1)&&(this._zoom=i._limitZoom(this._zoom)),\\\"center\\\"===i.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),g(this._animRequest);var a=e(i._move,i,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=f(a,this,!0),$(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,g(this._animRequest),q(document,\\\"touchmove\\\",this._onTouchMove),q(document,\\\"touchend\\\",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Le.addInitHook(\\\"addHandler\\\",\\\"touchZoom\\\",Cn),Le.BoxZoom=Ln,Le.DoubleClickZoom=Pn,Le.Drag=bn,Le.Keyboard=Tn,Le.ScrollWheelZoom=zn,Le.Tap=Mn,Le.TouchZoom=Cn;var Zn=window.L;window.L=t,Object.freeze=$t,t.version=\\\"1.3.1\\\",t.noConflict=function(){return window.L=Zn,this},t.Control=Pe,t.control=be,t.Browser=$i,t.Evented=ui,t.Mixin=Ee,t.Util=ai,t.Class=v,t.Handler=Ze,t.extend=i,t.bind=e,t.stamp=n,t.setOptions=l,t.DomEvent=de,t.DomUtil=xe,t.PosAnimation=we,t.Draggable=Be,t.LineUtil=Oe,t.PolyUtil=Re,t.Point=x,t.point=w,t.Bounds=P,t.bounds=b,t.Transformation=Z,t.transformation=S,t.Projection=je,t.LatLng=M,t.latLng=C,t.LatLngBounds=T,t.latLngBounds=z,t.CRS=ci,t.GeoJSON=nn,t.geoJSON=Kt,t.geoJson=sn,t.Layer=Ue,t.LayerGroup=Ve,t.layerGroup=function(t,i){return new Ve(t,i)},t.FeatureGroup=qe,t.featureGroup=function(t){return new qe(t)},t.ImageOverlay=rn,t.imageOverlay=function(t,i,e){return new rn(t,i,e)},t.VideoOverlay=an,t.videoOverlay=function(t,i,e){return new an(t,i,e)},t.DivOverlay=hn,t.Popup=un,t.popup=function(t,i){return new un(t,i)},t.Tooltip=ln,t.tooltip=function(t,i){return new ln(t,i)},t.Icon=Ge,t.icon=function(t){return new Ge(t)},t.DivIcon=cn,t.divIcon=function(t){return new cn(t)},t.Marker=Xe,t.marker=function(t,i){return new Xe(t,i)},t.TileLayer=dn,t.tileLayer=Yt,t.GridLayer=_n,t.gridLayer=function(t){return new _n(t)},t.SVG=xn,t.svg=Jt,t.Renderer=mn,t.Canvas=fn,t.canvas=Xt,t.Path=Je,t.CircleMarker=$e,t.circleMarker=function(t,i){return new $e(t,i)},t.Circle=Qe,t.circle=function(t,i,e){return new Qe(t,i,e)},t.Polyline=tn,t.polyline=function(t,i){return new tn(t,i)},t.Polygon=en,t.polygon=function(t,i){return new en(t,i)},t.Rectangle=wn,t.rectangle=function(t,i){return new wn(t,i)},t.Map=Le,t.map=function(t,i){return new Le(t,i)}});\\n}\\nexports.L = L;\\n\",\n \"type\": \"application/javascript\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet.js\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.js\": {\n \"text\": \"if($tw.browser){\\n!function(e,t){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?t(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],t):t((e.Leaflet=e.Leaflet||{},e.Leaflet.markercluster=e.Leaflet.markercluster||{}))}(this,function(e){\\\"use strict\\\";var t=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:\\\"#222\\\",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(e){L.Util.setOptions(this,e),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var t=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,t?this._withAnimation:this._noAnimation),this._markerCluster=t?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(e){if(e instanceof L.LayerGroup)return this.addLayers([e]);if(!e.getLatLng)return this._nonPointGroup.addLayer(e),this.fire(\\\"layeradd\\\",{layer:e}),this;if(!this._map)return this._needsClustering.push(e),this.fire(\\\"layeradd\\\",{layer:e}),this;if(this.hasLayer(e))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(e,this._maxZoom),this.fire(\\\"layeradd\\\",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var t=e,i=this._zoom;if(e.__parent)for(;t.__parent._zoom>=i;)t=t.__parent;return this._currentShownBounds.contains(t.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(e,t):this._animationAddLayerNonAnimated(e,t)),this},removeLayer:function(e){return e instanceof L.LayerGroup?this.removeLayers([e]):e.getLatLng?this._map?e.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(e)),this._removeLayer(e,!0),this.fire(\\\"layerremove\\\",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),e.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(e)&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,e)&&this.hasLayer(e)&&this._needsRemoving.push({layer:e,latlng:e._latlng}),this.fire(\\\"layerremove\\\",{layer:e}),this):(this._nonPointGroup.removeLayer(e),this.fire(\\\"layerremove\\\",{layer:e}),this)},addLayers:function(e,t){if(!L.Util.isArray(e))return this.addLayer(e);var i,n=this._featureGroup,r=this._nonPointGroup,s=this.options.chunkedLoading,o=this.options.chunkInterval,a=this.options.chunkProgress,h=e.length,l=0,u=!0;if(this._map){var _=(new Date).getTime(),d=L.bind(function(){for(var c=(new Date).getTime();h>l;l++){if(s&&0===l%200){var p=(new Date).getTime()-c;if(p>o)break}if(i=e[l],i instanceof L.LayerGroup)u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(i,e),h=e.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),t||this.fire(\\\"layeradd\\\",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var f=i.__parent.getAllChildMarkers(),m=f[0]===i?f[1]:f[0];n.removeLayer(m)}}else r.addLayer(i),t||this.fire(\\\"layeradd\\\",{layer:i})}a&&a(l,h,(new Date).getTime()-_),l===h?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var c=this._needsClustering;h>l;l++)i=e[l],i instanceof L.LayerGroup?(u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(i,e),h=e.length):i.getLatLng?this.hasLayer(i)||c.push(i):r.addLayer(i);return this},removeLayers:function(e){var t,i,n=e.length,r=this._featureGroup,s=this._nonPointGroup,o=!0;if(!this._map){for(t=0;n>t;t++)i=e[t],i instanceof L.LayerGroup?(o&&(e=e.slice(),o=!1),this._extractNonGroupLayers(i,e),n=e.length):(this._arraySplice(this._needsClustering,i),s.removeLayer(i),this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire(\\\"layerremove\\\",{layer:i}));return this}if(this._unspiderfy){this._unspiderfy();var a=e.slice(),h=n;for(t=0;h>t;t++)i=a[t],i instanceof L.LayerGroup?(this._extractNonGroupLayers(i,a),h=a.length):this._unspiderfyLayer(i)}for(t=0;n>t;t++)i=e[t],i instanceof L.LayerGroup?(o&&(e=e.slice(),o=!1),this._extractNonGroupLayers(i,e),n=e.length):i.__parent?(this._removeLayer(i,!0,!0),this.fire(\\\"layerremove\\\",{layer:i}),r.hasLayer(i)&&(r.removeLayer(i),i.clusterShow&&i.clusterShow())):(s.removeLayer(i),this.fire(\\\"layerremove\\\",{layer:i}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(e){e.off(this._childMarkerEventHandlers,this),delete e.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var e=new L.LatLngBounds;this._topClusterLevel&&e.extend(this._topClusterLevel._bounds);for(var t=this._needsClustering.length-1;t>=0;t--)e.extend(this._needsClustering[t].getLatLng());return e.extend(this._nonPointGroup.getBounds()),e},eachLayer:function(e,t){var i,n,r,s=this._needsClustering.slice(),o=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),n=s.length-1;n>=0;n--){for(i=!0,r=o.length-1;r>=0;r--)if(o[r].layer===s[n]){i=!1;break}i&&e.call(t,s[n])}this._nonPointGroup.eachLayer(e,t)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var t=null;return e=parseInt(e,10),this.eachLayer(function(i){L.stamp(i)===e&&(t=i)}),t},hasLayer:function(e){if(!e)return!1;var t,i=this._needsClustering;for(t=i.length-1;t>=0;t--)if(i[t]===e)return!0;for(i=this._needsRemoving,t=i.length-1;t>=0;t--)if(i[t].layer===e)return!1;return!(!e.__parent||e.__parent._group!==this)||this._nonPointGroup.hasLayer(e)},zoomToShowLayer:function(e,t){\\\"function\\\"!=typeof t&&(t=function(){});var i=function(){!e._icon&&!e.__parent._icon||this._inZoomAnimation||(this._map.off(\\\"moveend\\\",i,this),this.off(\\\"animationend\\\",i,this),e._icon?t():e.__parent._icon&&(this.once(\\\"spiderfied\\\",t,this),e.__parent.spiderfy()))};e._icon&&this._map.getBounds().contains(e.getLatLng())?t():e.__parent._zoom<Math.round(this._map._zoom)?(this._map.on(\\\"moveend\\\",i,this),this._map.panTo(e.getLatLng())):(this._map.on(\\\"moveend\\\",i,this),this.on(\\\"animationend\\\",i,this),e.__parent.zoomToBounds())},onAdd:function(e){this._map=e;var t,i,n;if(!isFinite(this._map.getMaxZoom()))throw\\\"Map has no maxZoom specified\\\";for(this._featureGroup.addTo(e),this._nonPointGroup.addTo(e),this._gridClusters||this._generateInitialClusters(),this._maxLat=e.options.crs.projection.MAX_LATITUDE,t=0,i=this._needsRemoving.length;i>t;t++)n=this._needsRemoving[t],n.newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(t=0,i=this._needsRemoving.length;i>t;t++)n=this._needsRemoving[t],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on(\\\"zoomend\\\",this._zoomEnd,this),this._map.on(\\\"moveend\\\",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(e){e.off(\\\"zoomend\\\",this._zoomEnd,this),e.off(\\\"moveend\\\",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(\\\" leaflet-cluster-anim\\\",\\\"\\\"),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(e){for(var t=e;t&&!t._icon;)t=t.__parent;return t||null},_arraySplice:function(e,t){for(var i=e.length-1;i>=0;i--)if(e[i]===t)return e.splice(i,1),!0},_removeFromGridUnclustered:function(e,t){for(var i=this._map,n=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());t>=r&&n[t].removeObject(e,i.project(e.getLatLng(),t));t--);},_childMarkerDragStart:function(e){e.target.__dragStart=e.target._latlng},_childMarkerMoved:function(e){if(!this._ignoreMove&&!e.target.__dragStart){var t=e.target._popup&&e.target._popup.isOpen();this._moveChild(e.target,e.oldLatLng,e.latlng),t&&e.target.openPopup()}},_moveChild:function(e,t,i){e._latlng=t,this.removeLayer(e),e._latlng=i,this.addLayer(e)},_childMarkerDragEnd:function(e){e.target.__dragStart&&this._moveChild(e.target,e.target.__dragStart,e.target._latlng),delete e.target.__dragStart},_removeLayer:function(e,t,i){var n=this._gridClusters,r=this._gridUnclustered,s=this._featureGroup,o=this._map,a=Math.floor(this._map.getMinZoom());t&&this._removeFromGridUnclustered(e,this._maxZoom);var h,l=e.__parent,u=l._markers;for(this._arraySplice(u,e);l&&(l._childCount--,l._boundsNeedUpdate=!0,!(l._zoom<a));)t&&l._childCount<=1?(h=l._markers[0]===e?l._markers[1]:l._markers[0],n[l._zoom].removeObject(l,o.project(l._cLatLng,l._zoom)),r[l._zoom].addObject(h,o.project(h.getLatLng(),l._zoom)),this._arraySplice(l.__parent._childClusters,l),l.__parent._markers.push(h),h.__parent=l.__parent,l._icon&&(s.removeLayer(l),i||s.addLayer(h))):l._iconNeedsUpdate=!0,l=l.__parent;delete e.__parent},_isOrIsParent:function(e,t){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},fire:function(e,t,i){if(t&&t.layer instanceof L.MarkerCluster){if(t.originalEvent&&this._isOrIsParent(t.layer._icon,t.originalEvent.relatedTarget))return;e=\\\"cluster\\\"+e}L.FeatureGroup.prototype.fire.call(this,e,t,i)},listens:function(e,t){return L.FeatureGroup.prototype.listens.call(this,e,t)||L.FeatureGroup.prototype.listens.call(this,\\\"cluster\\\"+e,t)},_defaultIconCreateFunction:function(e){var t=e.getChildCount(),i=\\\" marker-cluster-\\\";return i+=10>t?\\\"small\\\":100>t?\\\"medium\\\":\\\"large\\\",new L.DivIcon({html:\\\"<div><span>\\\"+t+\\\"</span></div>\\\",className:\\\"marker-cluster\\\"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var e=this._map,t=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick;(t||n)&&this.on(\\\"clusterclick\\\",this._zoomOrSpiderfy,this),i&&(this.on(\\\"clustermouseover\\\",this._showCoverage,this),this.on(\\\"clustermouseout\\\",this._hideCoverage,this),e.on(\\\"zoomend\\\",this._hideCoverage,this))},_zoomOrSpiderfy:function(e){for(var t=e.layer,i=t;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===t._childCount&&this.options.spiderfyOnMaxZoom?t.spiderfy():this.options.zoomToBoundsOnClick&&t.zoomToBounds(),e.originalEvent&&13===e.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(e){var t=this._map;this._inZoomAnimation||(this._shownPolygon&&t.removeLayer(this._shownPolygon),e.layer.getChildCount()>2&&e.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(e.layer.getConvexHull(),this.options.polygonOptions),t.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var e=this.options.spiderfyOnMaxZoom,t=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this._map;(e||i)&&this.off(\\\"clusterclick\\\",this._zoomOrSpiderfy,this),t&&(this.off(\\\"clustermouseover\\\",this._showCoverage,this),this.off(\\\"clustermouseout\\\",this._hideCoverage,this),n.off(\\\"zoomend\\\",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var e=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),e),this._currentShownBounds=e}},_generateInitialClusters:function(){var e=Math.ceil(this._map.getMaxZoom()),t=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;\\\"function\\\"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(e=this.options.disableClusteringAtZoom-1),this._maxZoom=e,this._gridClusters={},this._gridUnclustered={};for(var r=e;r>=t;r--)this._gridClusters[r]=new L.DistanceGrid(n(r)),this._gridUnclustered[r]=new L.DistanceGrid(n(r));this._topClusterLevel=new this._markerCluster(this,t-1)},_addLayer:function(e,t){var i,n,r=this._gridClusters,s=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(e),e.on(this._childMarkerEventHandlers,this);t>=o;t--){i=this._map.project(e.getLatLng(),t);var a=r[t].getNearObject(i);if(a)return a._addChild(e),e.__parent=a,void 0;if(a=s[t].getNearObject(i)){var h=a.__parent;h&&this._removeLayer(a,!1);var l=new this._markerCluster(this,t,a,e);r[t].addObject(l,this._map.project(l._cLatLng,t)),a.__parent=l,e.__parent=l;var u=l;for(n=t-1;n>h._zoom;n--)u=new this._markerCluster(this,n,u),r[n].addObject(u,this._map.project(a.getLatLng(),n));return h._addChild(u),this._removeFromGridUnclustered(a,t),void 0}s[t].addObject(e,i)}this._topClusterLevel._addChild(e),e.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(e){e instanceof L.MarkerCluster&&e._iconNeedsUpdate&&e._updateIcon()})},_enqueue:function(e){this._queue.push(e),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var e=0;e<this._queue.length;e++)this._queue[e].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var e=Math.round(this._map._zoom);this._processQueue(),this._zoom<e&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,e)):this._zoom>e?(this._animationStart(),this._animationZoomOut(this._zoom,e)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(e){var t=this._maxLat;return void 0!==t&&(e.getNorth()>=t&&(e._northEast.lat=1/0),e.getSouth()<=-t&&(e._southWest.lat=-1/0)),e},_animationAddLayerNonAnimated:function(e,t){if(t===e)this._featureGroup.addLayer(e);else if(2===t._childCount){t._addToMap();var i=t.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else t._updateIcon()},_extractNonGroupLayers:function(e,t){var i,n=e.getLayers(),r=0;for(t=t||[];r<n.length;r++)i=n[r],i instanceof L.LayerGroup?this._extractNonGroupLayers(i,t):t.push(i);return t},_overrideMarkerIcon:function(e){var t=e.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[e]}});return t}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire(\\\"animationend\\\")},_animationZoomOut:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire(\\\"animationend\\\")},_animationAddLayer:function(e,t){this._animationAddLayerNonAnimated(e,t)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=\\\" leaflet-cluster-anim\\\",this._inZoomAnimation++},_animationZoomIn:function(e,t){var i,n=this._getExpandedVisibleBounds(),r=this._featureGroup,s=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(n,e,s,function(s){var o,a=s._latlng,h=s._markers;for(n.contains(a)||(a=null),s._isSingleParent()&&e+1===t?(r.removeLayer(s),s._recursivelyAddChildrenToMap(null,t,n)):(s.clusterHide(),s._recursivelyAddChildrenToMap(a,t,n)),i=h.length-1;i>=0;i--)o=h[i],n.contains(o._latlng)||r.removeLayer(o)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,t),r.eachLayer(function(e){e instanceof L.MarkerCluster||!e._icon||e.clusterShow()}),this._topClusterLevel._recursively(n,e,t,function(e){e._recursivelyRestoreChildPositions(t)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(n,e,s,function(e){r.removeLayer(e),e.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(e,t){this._animationZoomOutSingle(this._topClusterLevel,e-1,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e,this._getExpandedVisibleBounds())},_animationAddLayer:function(e,t){var i=this,n=this._featureGroup;n.addLayer(e),t!==e&&(t._childCount>2?(t._updateIcon(),this._forceLayout(),this._animationStart(),e._setPos(this._map.latLngToLayerPoint(t.getLatLng())),e.clusterHide(),this._enqueue(function(){n.removeLayer(e),e.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(t,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(e,t,i){var n=this._getExpandedVisibleBounds(),r=Math.floor(this._map.getMinZoom());e._recursivelyAnimateChildrenInAndAddSelfToMap(n,r,t+1,i);var s=this;this._forceLayout(),e._recursivelyBecomeVisible(n,i),this._enqueue(function(){if(1===e._childCount){var o=e._markers[0];this._ignoreMove=!0,o.setLatLng(o.getLatLng()),this._ignoreMove=!1,o.clusterShow&&o.clusterShow()}else e._recursively(n,i,r,function(e){e._recursivelyRemoveChildrenFromMap(n,r,t+1)});s._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(\\\" leaflet-cluster-anim\\\",\\\"\\\")),this._inZoomAnimation--,this.fire(\\\"animationend\\\")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(e){return new L.MarkerClusterGroup(e)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(e,t,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:e.options.clusterPane}),this._group=e,this._zoom=t,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(e){e=e||[];for(var t=this._childClusters.length-1;t>=0;t--)this._childClusters[t].getAllChildMarkers(e);for(var i=this._markers.length-1;i>=0;i--)e.push(this._markers[i]);return e},getChildCount:function(){return this._childCount},zoomToBounds:function(e){for(var t,i=this._childClusters.slice(),n=this._group._map,r=n.getBoundsZoom(this._bounds),s=this._zoom+1,o=n.getZoom();i.length>0&&r>s;){s++;var a=[];for(t=0;t<i.length;t++)a=a.concat(i[t]._childClusters);i=a}r>s?this._group._map.setView(this._latlng,s):o>=r?this._group._map.setView(this._latlng,o+1):this._group._map.fitBounds(this._bounds,e)},getBounds:function(){var e=new L.LatLngBounds;return e.extend(this._bounds),e},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(e,t){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(e),e instanceof L.MarkerCluster?(t||(this._childClusters.push(e),e.__parent=this),this._childCount+=e._childCount):(t||this._markers.push(e),this._childCount++),this.__parent&&this.__parent._addChild(e,!0)},_setClusterCenter:function(e){this._cLatLng||(this._cLatLng=e._cLatLng||e._latlng)},_resetBounds:function(){var e=this._bounds;e._southWest&&(e._southWest.lat=1/0,e._southWest.lng=1/0),e._northEast&&(e._northEast.lat=-1/0,e._northEast.lng=-1/0)},_recalculateBounds:function(){var e,t,i,n,r=this._markers,s=this._childClusters,o=0,a=0,h=this._childCount;if(0!==h){for(this._resetBounds(),e=0;e<r.length;e++)i=r[e]._latlng,this._bounds.extend(i),o+=i.lat,a+=i.lng;for(e=0;e<s.length;e++)t=s[e],t._boundsNeedUpdate&&t._recalculateBounds(),this._bounds.extend(t._bounds),i=t._wLatLng,n=t._childCount,o+=i.lat*n,a+=i.lng*n;this._latlng=this._wLatLng=new L.LatLng(o/h,a/h),this._boundsNeedUpdate=!1}},_addToMap:function(e){e&&(this._backupLatlng=this._latlng,this.setLatLng(e)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(e,t,i){this._recursively(e,this._group._map.getMinZoom(),i-1,function(e){var i,n,r=e._markers;for(i=r.length-1;i>=0;i--)n=r[i],n._icon&&(n._setPos(t),n.clusterHide())},function(e){var i,n,r=e._childClusters;for(i=r.length-1;i>=0;i--)n=r[i],n._icon&&(n._setPos(t),n.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,t,i,n){this._recursively(e,n,t,function(r){r._recursivelyAnimateChildrenIn(e,r._group._map.latLngToLayerPoint(r.getLatLng()).round(),i),r._isSingleParent()&&i-1===n?(r.clusterShow(),r._recursivelyRemoveChildrenFromMap(e,t,i)):r.clusterHide(),r._addToMap()})},_recursivelyBecomeVisible:function(e,t){this._recursively(e,this._group._map.getMinZoom(),t,null,function(e){e.clusterShow()})},_recursivelyAddChildrenToMap:function(e,t,i){this._recursively(i,this._group._map.getMinZoom()-1,t,function(n){if(t!==n._zoom)for(var r=n._markers.length-1;r>=0;r--){var s=n._markers[r];i.contains(s._latlng)&&(e&&(s._backupLatlng=s.getLatLng(),s.setLatLng(e),s.clusterHide&&s.clusterHide()),n._group._featureGroup.addLayer(s))}},function(t){t._addToMap(e)})},_recursivelyRestoreChildPositions:function(e){for(var t=this._markers.length-1;t>=0;t--){var i=this._markers[t];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(e-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var r=this._childClusters.length-1;r>=0;r--)this._childClusters[r]._recursivelyRestoreChildPositions(e)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(e,t,i,n){var r,s;this._recursively(e,t-1,i-1,function(e){for(s=e._markers.length-1;s>=0;s--)r=e._markers[s],n&&n.contains(r._latlng)||(e._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())},function(e){for(s=e._childClusters.length-1;s>=0;s--)r=e._childClusters[s],n&&n.contains(r._latlng)||(e._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())})},_recursively:function(e,t,i,n,r){var s,o,a=this._childClusters,h=this._zoom;if(h>=t&&(n&&n(this),r&&h===i&&r(this)),t>h||i>h)for(s=a.length-1;s>=0;s--)o=a[s],e.intersects(o._bounds)&&o._recursively(e,t,i,n,r)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){return this.options.opacityWhenUnclustered=this.options.opacity||1,this.setOpacity(0)},clusterShow:function(){var e=this.setOpacity(this.options.opacity||this.options.opacityWhenUnclustered);return delete this.options.opacityWhenUnclustered,e}}),L.DistanceGrid=function(e){this._cellSize=e,this._sqCellSize=e*e,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(e,t){var i=this._getCoord(t.x),n=this._getCoord(t.y),r=this._grid,s=r[n]=r[n]||{},o=s[i]=s[i]||[],a=L.Util.stamp(e);this._objectPoint[a]=t,o.push(e)},updateObject:function(e,t){this.removeObject(e),this.addObject(e,t)},removeObject:function(e,t){var i,n,r=this._getCoord(t.x),s=this._getCoord(t.y),o=this._grid,a=o[s]=o[s]||{},h=a[r]=a[r]||[];for(delete this._objectPoint[L.Util.stamp(e)],i=0,n=h.length;n>i;i++)if(h[i]===e)return h.splice(i,1),1===n&&delete a[r],!0},eachObject:function(e,t){var i,n,r,s,o,a,h,l=this._grid;for(i in l){o=l[i];for(n in o)for(a=o[n],r=0,s=a.length;s>r;r++)h=e.call(t,a[r]),h&&(r--,s--)}},getNearObject:function(e){var t,i,n,r,s,o,a,h,l=this._getCoord(e.x),u=this._getCoord(e.y),_=this._objectPoint,d=this._sqCellSize,c=null;for(t=u-1;u+1>=t;t++)if(r=this._grid[t])for(i=l-1;l+1>=i;i++)if(s=r[i])for(n=0,o=s.length;o>n;n++)a=s[n],h=this._sqDist(_[L.Util.stamp(a)],e),(d>h||d>=h&&null===c)&&(d=h,c=a);return c},_getCoord:function(e){var t=Math.floor(e/this._cellSize);return isFinite(t)?t:e},_sqDist:function(e,t){var i=t.x-e.x,n=t.y-e.y;return i*i+n*n}},function(){L.QuickHull={getDistant:function(e,t){var i=t[1].lat-t[0].lat,n=t[0].lng-t[1].lng;return n*(e.lat-t[0].lat)+i*(e.lng-t[0].lng)},findMostDistantPointFromBaseLine:function(e,t){var i,n,r,s=0,o=null,a=[];for(i=t.length-1;i>=0;i--)n=t[i],r=this.getDistant(n,e),r>0&&(a.push(n),r>s&&(s=r,o=n));return{maxPoint:o,newPoints:a}},buildConvexHull:function(e,t){var i=[],n=this.findMostDistantPointFromBaseLine(e,t);return n.maxPoint?(i=i.concat(this.buildConvexHull([e[0],n.maxPoint],n.newPoints)),i=i.concat(this.buildConvexHull([n.maxPoint,e[1]],n.newPoints))):[e[0]]},getConvexHull:function(e){var t,i=!1,n=!1,r=!1,s=!1,o=null,a=null,h=null,l=null,u=null,_=null;for(t=e.length-1;t>=0;t--){var d=e[t];(i===!1||d.lat>i)&&(o=d,i=d.lat),(n===!1||d.lat<n)&&(a=d,n=d.lat),(r===!1||d.lng>r)&&(h=d,r=d.lng),(s===!1||d.lng<s)&&(l=d,s=d.lng)}n!==i?(_=a,u=o):(_=l,u=h);var c=[].concat(this.buildConvexHull([_,u],e),this.buildConvexHull([u,_],e));return c}}}(),L.MarkerCluster.include({getConvexHull:function(){var e,t,i=this.getAllChildMarkers(),n=[];for(t=i.length-1;t>=0;t--)e=i[t].getLatLng(),n.push(e);return L.QuickHull.getConvexHull(n)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var e,t=this.getAllChildMarkers(),i=this._group,n=i._map,r=n.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,t.length>=this._circleSpiralSwitchover?e=this._generatePointsSpiral(t.length,r):(r.y+=10,e=this._generatePointsCircle(t.length,r)),this._animationSpiderfy(t,e)}},unspiderfy:function(e){this._group._inZoomAnimation||(this._animationUnspiderfy(e),this._group._spiderfied=null)},_generatePointsCircle:function(e,t){var i,n,r=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+e),s=r/this._2PI,o=this._2PI/e,a=[];for(s=Math.max(s,35),a.length=e,i=0;e>i;i++)n=this._circleStartAngle+i*o,a[i]=new L.Point(t.x+s*Math.cos(n),t.y+s*Math.sin(n))._round();return a},_generatePointsSpiral:function(e,t){var i,n=this._group.options.spiderfyDistanceMultiplier,r=n*this._spiralLengthStart,s=n*this._spiralFootSeparation,o=n*this._spiralLengthFactor*this._2PI,a=0,h=[];for(h.length=e,i=e;i>=0;i--)e>i&&(h[i]=new L.Point(t.x+r*Math.cos(a),t.y+r*Math.sin(a))._round()),a+=s/r+5e-4*i,r+=o/a;return h},_noanimationUnspiderfy:function(){var e,t,i=this._group,n=i._map,r=i._featureGroup,s=this.getAllChildMarkers();for(i._ignoreMove=!0,this.setOpacity(1),t=s.length-1;t>=0;t--)e=s[t],r.removeLayer(e),e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng),e.setZIndexOffset&&e.setZIndexOffset(0),e._spiderLeg&&(n.removeLayer(e._spiderLeg),delete e._spiderLeg);i.fire(\\\"unspiderfied\\\",{cluster:this,markers:s}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(e,t){var i,n,r,s,o=this._group,a=o._map,h=o._featureGroup,l=this._group.options.spiderLegPolylineOptions;for(o._ignoreMove=!0,i=0;i<e.length;i++)s=a.layerPointToLatLng(t[i]),n=e[i],r=new L.Polyline([this._latlng,s],l),a.addLayer(r),n._spiderLeg=r,n._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.setZIndexOffset&&n.setZIndexOffset(1e6),h.addLayer(n);this.setOpacity(.3),o._ignoreMove=!1,o.fire(\\\"spiderfied\\\",{cluster:this,markers:e})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(e,t){var i,n,r,s,o,a,h=this,l=this._group,u=l._map,_=l._featureGroup,d=this._latlng,c=u.latLngToLayerPoint(d),p=L.Path.SVG,f=L.extend({},this._group.options.spiderLegPolylineOptions),m=f.opacity;for(void 0===m&&(m=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),p?(f.opacity=0,f.className=(f.className||\\\"\\\")+\\\" leaflet-cluster-spider-leg\\\"):f.opacity=m,l._ignoreMove=!0,i=0;i<e.length;i++)n=e[i],a=u.layerPointToLatLng(t[i]),r=new L.Polyline([d,a],f),u.addLayer(r),n._spiderLeg=r,p&&(s=r._path,o=s.getTotalLength()+.1,s.style.strokeDasharray=o,s.style.strokeDashoffset=o),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),_.addLayer(n),n._setPos&&n._setPos(c);for(l._forceLayout(),l._animationStart(),i=e.length-1;i>=0;i--)a=u.layerPointToLatLng(t[i]),n=e[i],n._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.clusterShow&&n.clusterShow(),p&&(r=n._spiderLeg,s=r._path,s.style.strokeDashoffset=0,r.setStyle({opacity:m}));this.setOpacity(.3),l._ignoreMove=!1,setTimeout(function(){l._animationEnd(),l.fire(\\\"spiderfied\\\",{cluster:h,markers:e})},200)},_animationUnspiderfy:function(e){var t,i,n,r,s,o,a=this,h=this._group,l=h._map,u=h._featureGroup,_=e?l._latLngToNewLayerPoint(this._latlng,e.zoom,e.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(),c=L.Path.SVG;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),i=d.length-1;i>=0;i--)t=d[i],t._preSpiderfyLatlng&&(t.closePopup(),t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng,o=!0,t._setPos&&(t._setPos(_),o=!1),t.clusterHide&&(t.clusterHide(),o=!1),o&&u.removeLayer(t),c&&(n=t._spiderLeg,r=n._path,s=r.getTotalLength()+.1,r.style.strokeDashoffset=s,n.setStyle({opacity:0})));h._ignoreMove=!1,setTimeout(function(){var e=0;for(i=d.length-1;i>=0;i--)t=d[i],t._spiderLeg&&e++;for(i=d.length-1;i>=0;i--)t=d[i],t._spiderLeg&&(t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),e>1&&u.removeLayer(t),l.removeLayer(t._spiderLeg),delete t._spiderLeg);h._animationEnd(),h.fire(\\\"unspiderfied\\\",{cluster:a,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on(\\\"click\\\",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on(\\\"zoomstart\\\",this._unspiderfyZoomStart,this),this._map.on(\\\"zoomend\\\",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off(\\\"click\\\",this._unspiderfyWrapper,this),this._map.off(\\\"zoomstart\\\",this._unspiderfyZoomStart,this),this._map.off(\\\"zoomanim\\\",this._unspiderfyZoomAnim,this),this._map.off(\\\"zoomend\\\",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()\\n},_unspiderfyZoomStart:function(){this._map&&this._map.on(\\\"zoomanim\\\",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(e){L.DomUtil.hasClass(this._map._mapPane,\\\"leaflet-touching\\\")||(this._map.off(\\\"zoomanim\\\",this._unspiderfyZoomAnim,this),this._unspiderfy(e))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(e){this._spiderfied&&this._spiderfied.unspiderfy(e)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(e){e._spiderLeg&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),this._map.removeLayer(e._spiderLeg),delete e._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(e){return e?e instanceof L.MarkerClusterGroup?e=e._topClusterLevel.getAllChildMarkers():e instanceof L.LayerGroup?e=e._layers:e instanceof L.MarkerCluster?e=e.getAllChildMarkers():e instanceof L.Marker&&(e=[e]):e=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(e),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(e),this},_flagParentsIconsNeedUpdate:function(e){var t,i;for(t in e)for(i=e[t].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(e){var t,i;for(t in e)i=e[t],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(e,t){var i=this.options.icon;return L.setOptions(i,e),this.setIcon(i),t&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),e.MarkerClusterGroup=t,e.MarkerCluster=i});\\n//# sourceMappingURL=leaflet.markercluster.js.map\\n}\\n\",\n \"type\": \"application/javascript\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.js\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/sycom/leaflet/mapCssTweaks.css.tid\": {\n \"title\": \"$:/plugins/sycom/leaflet/mapCssTweaks.css.tid\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20161111151011600\",\n \"tags\": \"[[$:/tags/Stylesheet]]\",\n \"text\": \"\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\\n\\n/* add some styling tweaks to leaflet */\\n.leaflet-right {\\n\\tmax-width:50%\\n}\\n.leaflet-popup-content h6 {\\n\\tfont-size:.7rem;\\n\\tmargin:0 0 .2rem 0\\n}\\n\\n.leaflet-control-attribution {\\n\\theight:1.5em;\\n}\\n.leaflet-control-attribution:hover {\\n\\theight:auto;\\n}\\n\\n.leaflet-top, .leaflet-bottom {\\n z-index:999;\\n}\\n\\n/* solve conflict between tw and leaflet */\\n.leaflet-zoom-animated {max-width: initial !important}\\n\\n/* solve background image problem for layer control */\\n.leaflet-control-layers-toggle {\\n\\tbackground-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20height%3D%2226%22%20width%3D%2226%22%3E%3Cpath%20d%3D%22M.032%2017.056l13-8%2013%208-13%208-13-8%22%20fill%3D%22%23b9b9b9%22/%3E%3Cpath%20d%3D%22M.032%2017.056l-.032.93%2013%208%2013-8%20.032-.93-13%208z%22%20fill%3D%22%23737373%22/%3E%3Cpath%20d%3D%22M0%2013.076l13-8%2013%208-13%208-13-8%22%20fill%3D%22%23cdcdcd%22/%3E%3Cpath%20d%3D%22M0%2013.076v.91l13%208%2013-8v-.91l-13%208z%22%20fill%3D%22%23737373%22/%3E%3Cpath%20d%3D%22M0%208.986l13-8%2013%208-13%208-13-8%22%20fill-opacity%3D%22.585%22%20stroke%3D%22%23797979%22%20stroke-width%3D%22.1%22%20fill%3D%22%23e9e9e9%22/%3E%3Cpath%20d%3D%22M0%208.986v1l13%208%2013-8v-1l-13%208z%22%20fill%3D%22%23737373%22/%3E%3C/svg%3E') !important\\n}\\n\\n/* default polygon stylin */\\n.polyline {fill:none}\\n.leaflet-popup-content ul {padding:0 1em}\\n\\n/* some styling for clusters */\\n.marker-cluster div {\\n min-width:16px;min-height:16px;\\n border-radius:50%;border:none;\\n vertical-align:middle;text-align:center;font-weight:bold\\n }\\n.marker-cluster div div{width:100%;height:100%}\\n.marker-cluster div span {display:block;text-shadow:0px 0px 6px #ffffff}\\n\\npath.leaflet-clickable {fill:<<colour primary>>;fill-opacity: 0.5;stroke:<<colour primary>>}\\n.leaflet-marker-colored {fill:<<colour primary>>}\\n\"\n },\n \"$:/plugins/sycom/leaflet/mapWidget.tid\": {\n \"title\": \"$:/plugins/sycom/leaflet/mapWidget.tid\",\n \"text\": \"/*\\\\\\ncreated: 20151028202401905\\nmodified: 20170318234011605\\ntitle: $:/plugins/sycom/leaflet/mapWidget.tid\\ntype: application/javascript\\nmodule-type: widget\\n\\nA widget for displaying leaflet map in TiddlyWiki\\n\\n\\\\*/\\n\\n(function() {\\n /* ----------------------- */\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n \\\"use strict\\\";\\n var Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n L = require(\\\"$:/plugins/sycom/leaflet/lib/leaflet.js\\\"),\\n markerClusterGroup = require(\\\"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.js\\\");\\n\\n var mapWidget = function(parseTreeNode, options) {\\n this.initialise(parseTreeNode, options);\\n };\\n\\n // global vars\\n var Map = [], // map collection\\n map = 0, // map order number\\n tn = 0, // tiddler number\\n fCluster = [], // the clusters\\n Colour = [], // the colors\\n clusterRadius = [], // cluster radii\\n clusterType = [], // clustering for whole map or for each tiddler\\n lfltDefBounds = [\\n [52.75, -2.55],\\n [52.85, -2.65]\\n ], // default bounds when nothing given\\n bounds, // global bounds for map ?todo one per map?\\n iter = [], // iteration indicator to avoid infinite loops\\n setting = {}; // the map's settings\\n\\n /* Inherit from the base widget class */\\n mapWidget.prototype = new Widget();\\n\\n /* Render this widget into the DOM */\\n mapWidget.prototype.render = function(parent, nextSibling) {\\n bounds = null;\\n // Compute our attributes\\n this.computeAttributes();\\n // Get the base settings for rendering : width / height (default : 100% / 500px)\\n // !todo : make a settings tidller in order to let user set it for the whole wiki (may be inspired from roadtree)\\n // !todo what happens if windows is resized?\\n var width = this.getAttribute(\\\"width\\\", \\\"100%\\\"),\\n height = this.getAttribute(\\\"height\\\", \\\"420px\\\");\\n // creating the div container\\n var div = this.document.createElement(\\\"div\\\");\\n div.setAttribute(\\\"id\\\", \\\"lfltMap-\\\" + map);\\n div.setAttribute(\\\"style\\\", \\\"width:\\\" + width + \\\";height:\\\" + height);\\n // Save the parent dom node\\n this.parentDomNode = parent;\\n // Compute our attributes\\n // this.computeAttributes();\\n // create the container\\n parent.insertBefore(div, nextSibling);\\n this.domNodes.push(div);\\n // Create the map\\n this.createMap();\\n // Execute our logic\\n this.execute();\\n // increment map number indicator\\n map += 1;\\n };\\n\\n /* Create the map for the widget */\\n mapWidget.prototype.createMap = function(parent, nextSibling) {\\n // create the leaflet and push it to #lfltMap\\n Map[map] = L.map('lfltMap-' + map);\\n // Install base tile layer (if none provided, default is \\\"osm\\\")\\n // get tilelayers from JSON\\n var fonds = JSON.parse(this.wiki.getTiddlerText(\\\"$:/plugins/sycom/leaflet/lib/tileLayers.json\\\"));\\n // create tile layers list object from json list\\n var Tiles = []; // leaflet tile layers\\n var tiles = {}; // tile identifier for control\\n // look for tile parameter\\n setting.tile = this.getAttribute(\\\"tile\\\", \\\"osm\\\");\\n setting.marker = this.getAttribute(\\\"marker\\\", null);\\n // create tile layer list\\n for (var i in fonds) {\\n if (i == setting.tile || fonds[i].id == setting.tile) {\\n setting.tile = fonds[i].id;\\n }\\n var couche = new L.TileLayer(fonds[i].url, {\\n attribution: fonds[i].attrib,\\n minZoom: fonds[i].zMin,\\n maxZoom: fonds[i].zMax,\\n unloadInvisibleTiles: true\\n });\\n Tiles[fonds[i].id] = couche;\\n tiles[fonds[i].nom] = couche;\\n }\\n // if user entered a wrong tile id\\n if (Tiles[setting.tile] === undefined) {\\n setting.tile = \\\"osm\\\";\\n $tw.utils.error(\\\"Seems you entered a wrong tile id, displayed osm instead. Please refer to plugin documentation to avoid this - error : \\\" + error);\\n }\\n Tiles[setting.tile].addTo(Map[map]);\\n // install tile layer control if needed\\n setting.tileControl = this.getAttribute(\\\"tileControl\\\");\\n if (setting.tileControl) {\\n var tControl = L.control.layers(tiles);\\n tControl.addTo(Map[map]);\\n }\\n /* !todo to come next (will have to implement leaflet.draw extension)\\n // look for draw parameter\\n setting.drawControl = this.getAttribute(\\\"drawControl\\\");\\n if (setting.drawControl) {\\n // Initialize the FeatureGroup to store editable layers\\n var drawnItems = new L.FeatureGroup();\\n Map[map].addLayer(drawnItems);\\n // Initialize the draw control and pass it the FeatureGroup of editable layers\\n var drawControl = new L.Control.Draw({\\n edit: {\\n featureGroup: drawnItems\\n }\\n }\\n );\\n Map[map].addControl(drawControl);\\n }\\n*/\\n };\\n\\n /* Compute the internal state of the widget */\\n mapWidget.prototype.execute = function() {\\n // getting wiki primary color\\n // check if you defined a tiddler name for palette but no tiddler with that\\n if(this.wiki.getTiddlerData(this.wiki.getTiddlerText(\\\"$:/palette\\\"))) Colour.wiki = this.wiki.getTiddlerData(this.wiki.getTiddlerText(\\\"$:/palette\\\")).primary;\\n // switch back to basic blue\\n else Colour.wiki = \\\"#5778d8\\\";\\n\\n // switch back to basic tiddlywiki blue if primary is defined from another color\\n /* notes to upgrade this process\\n if primaire is <<colour xxxx>> set to default gray\\n if primaire.match(\\\"<<\\\") primaire=\\\"#555\\\"; */\\n if (Colour.wiki.match(/</g)) Colour.wiki = \\\"#5778d8\\\";\\n\\n // getting style parameters\\n var style = this.getAttribute(\\\"style\\\", undefined);\\n var st;\\n // case style defined\\n if(style !== undefined) {\\n st = JSON.parse(style);\\n // color parameter will overwrite style color and style fillColor parameter\\n if(st.fillColor) Colour[map] = this.getAttribute(\\\"color\\\", st.fillColor);\\n else Colour[map] = this.getAttribute(\\\"color\\\", st.color);\\n }\\n // case style undefined\\n else {\\n st = null;\\n // checking if user defined a color if no color go undefined\\n Colour[map] = this.getAttribute(\\\"color\\\", undefined);\\n }\\n // create default icon\\n // ?todo: only if there are points to display?\\n L.icon.default = lfltIcon(setColor(null, map), setting.marker, map);\\n\\n // create whole map cluster\\n // getting cluster size parameter, if exists\\n clusterRadius[map] = this.getAttribute(\\\"cluster\\\", 80);\\n clusterType[map] = this.getAttribute(\\\"clusterType\\\", \\\"map\\\");\\n if (clusterRadius[map] === 0 || clusterType[map] == \\\"tiddler\\\") {\\n // if clusterRadius null or clustering by tiddler, no whole clustering\\n fCluster[map] = L.featureGroup();\\n } else {\\n // creating a cluter group for whole map\\n fCluster[map] = L.markerClusterGroup({\\n name: \\\"Cluster\\\" + map,\\n polygonOptions: {\\\"weight\\\":\\\"0.5\\\"},\\n maxClusterRadius: clusterRadius[map],\\n /* for the record. may be a function\\n function() {return (clusterRadius - 50) / 9 * Map[map].getZoom() + 50 - (clusterRadius - 50) / 9 },*/\\n iconCreateFunction: createCluster\\n });\\n }\\n // Get the declared places from the attributes\\n var places = this.getAttribute(\\\"places\\\", undefined);\\n var feature = L.featureGroup();\\n // Render the map\\n if (places) mapPlaces(this,\\n JSON.parse(places),\\n Map[map],\\n fCluster[map],\\n null,\\n Colour[map],\\n this.getAttribute(\\\"marker\\\"),\\n st\\n );\\n\\n // set map to objects bounds\\n if (bounds) {\\n Map[map].fitBounds(bounds);\\n } else {\\n bounds = lfltDefBounds;\\n Map[map].fitBounds(bounds);\\n }\\n // if lat long zoom settings, overwrite bounds\\n setting.lat = this.getAttribute(\\\"lat\\\");\\n setting.lg = this.getAttribute(\\\"long\\\");\\n setting.zoom = this.getAttribute(\\\"zoom\\\");\\n // overwrite lat and long center\\n if (setting.lat && setting.lg) {\\n Map[map].setView([setting.lat, setting.lg]);\\n }\\n // overwrite zoom\\n if (setting.zoom) {\\n Map[map].setZoom(setting.zoom);\\n }\\n };\\n\\n // mapping a places json object (parent object, places json object, destination feature, destination cluster, popup for base objects, ands style parameters : color, marker, json style)\\n function mapPlaces(obj, plcs, feat, clust, pop, col, mark, style) {\\n // create feature for this mapping turn\\n var feature = L.featureGroup();\\n // case 1 : data in a tiddler\\n if (plcs.tiddler) {\\n // if no tiddler is given (single space) map current Tiddler\\n // !todo would be much better if so when no attribute at all...\\n if (plcs.tiddler == \\\" \\\") {\\n mapTiddler(obj, obj.getVariable(\\\"currentTiddler\\\"), feature, clust, pop, col, mark, style);\\n }\\n // else, map the given tiddler\\n else {\\n // get data fields in the tiddler, let's seek for geo data\\n mapTiddler(obj, plcs.tiddler, feature, clust, pop, col, mark, style);\\n }\\n }\\n // case 2 : data in multiple tiddlers\\n if (plcs.tiddlers) {\\n mapTiddlers(obj, plcs.tiddlers, feature, clust, pop, col, mark, style);\\n }\\n // case 3 : data in tiddlers following a filter\\n if (plcs.filter) {\\n mapFilter(obj, plcs.filter, feature, clust, pop, col, mark, style);\\n }\\n // case 4 : data are directly listed in places (point(s) - polygon - polyline - geojson)\\n // for each we will\\n // - use dedicated function to populate mapping turn layer\\n // - add layer to map\\n if (plcs.point) {\\n // add the point to the cluster layer\\n mapPoint(plcs.point, clust, pop, col, mark);\\n // add the cluster layer to map\\n feature.addLayer(clust);\\n // set bounds\\n }\\n if (plcs.points) {\\n // ?todo : create a cluster for those points if clusterType == \\\"tiddler\\\"\\n mapPoints(plcs.points, clust, pop, col, mark);\\n feature.addLayer(clust);\\n }\\n if (plcs.polygon) {\\n var polygFeat = L.featureGroup();\\n mapPolyg(plcs.polygon, polygFeat, pop, col, style);\\n polygFeat.addTo(feature);\\n }\\n if (plcs.polygons) {\\n var polygsFeat = L.featureGroup();\\n mapPolygs(plcs.polygons, polygsFeat, pop, col, style);\\n polygsFeat.addTo(feature);\\n }\\n if (plcs.polyline) {\\n var polylFeat = L.featureGroup();\\n mapPolyl(plcs.polyline, polylFeat, pop, col, style);\\n polylFeat.addTo(feature);\\n }\\n if (plcs.polylines) {\\n var polylsFeat = L.featureGroup();\\n mapPolyls(plcs.polylines, polylsFeat, pop, col, style);\\n polylsFeat.addTo(feature);\\n }\\n if (plcs.geojson) {\\n // !todo : create a cluster for those points if clusterType == \\\"tiddler\\\"\\n var geojsonFeat = L.featureGroup();\\n mapGeoJson(plcs.geojson, geojsonFeat, clust, col, mark, style);\\n geojsonFeat.addTo(feat);\\n }\\n // add feature to map\\n feature.addTo(feat);\\n extBounds(feature);\\n }\\n\\n // add a marker for a point\\n function mapPoint(coord, clust, pop, col, mark) {\\n try {\\n var location = coord.split(\\\",\\\");\\n } catch (err) {displayError(\\\"point coord error\\\", err);}\\n try {\\n var marker = L.marker(location, {\\n icon: lfltIcon(col, mark, map)\\n });\\n if (pop) marker.bindPopup(pop);\\n\\t\\t\\tif (clust.count) clust.count +=1;\\n\\t\\t\\telse clust.count = 1;\\n clust.addLayer(marker);\\n } catch (err) {displayError(\\\"point marker error\\\", err);}\\n }\\n // add a marker serie for a points list\\n function mapPoints(list, clust, pop, col, mark) {\\n var Points = list.split(\\\" \\\");\\n for (var pt in Points) {\\n mapPoint(Points[pt], clust, pop, col, mark);\\n }\\n }\\n\\n // add a polygon\\n function mapPolyg(list, feat, pop, col, st) {\\n var Coords = list.split(\\\" \\\");\\n var Shape = [];\\n try {\\n for (var nd in Coords) {\\n var location = Coords[nd].split(\\\",\\\");\\n Shape.push(location);\\n }\\n } catch (err) {\\n displayError(\\\"polygone\\\", err);\\n }\\n try {\\n var polygon = L.polygon(Shape, {\\n color: setColor(col, map)\\n });\\n if (st) polygon.setStyle(checkStyle(st, col));\\n if (pop) polygon.bindPopup(pop);\\n polygon.addTo(feat);\\n } catch (err) {\\n displayError(\\\"polygone\\\", err);\\n }\\n }\\n // add a polygons collection\\n function mapPolygs(collec, feat, pop, col, st) {\\n var Polys = collec.split(\\\"|\\\");\\n for (var pg in Polys) {\\n mapPolyg(Polys[pg], feat, pop, col, st);\\n }\\n }\\n // add a polyline\\n function mapPolyl(list, feat, pop, col, st) {\\n var Coords = list.split(\\\" \\\");\\n var Line = [];\\n try {\\n for (var nd in Coords) {\\n var location = Coords[nd].split(\\\",\\\");\\n Line.push(location);\\n }\\n } catch (err) {\\n displayError(\\\"polyline\\\", err);\\n }\\n try {\\n var polyline = L.polyline(Line, {\\n color: setColor(col,map)\\n });\\n if (st) polyline.setStyle(checkStyle(st, col));\\n if (pop) polyline.bindPopup(pop);\\n // add polyline class in order to make fill transparent\\n polyline.setStyle({\\n \\\"className\\\": \\\"polyline\\\"\\n }).addTo(feat);\\n } catch (err) {\\n displayError(\\\"polyline\\\", err);\\n }\\n }\\n // add a polylines collection\\n function mapPolyls(collec, feat, pop, col, st) {\\n var Lines = collec.split(\\\"|\\\");\\n for (var ln in Lines) {\\n mapPolyl(Lines[ln], feat, pop, col, st);\\n }\\n }\\n\\n // add a geojson set\\n function mapGeoJson(geojson, feat, clust, col, mark, st) {\\n try {\\n var data = JSON.parse(geojson);\\n var geoJson = L.geoJSON(data, {\\n // adding style\\n style: function (feature) {\\n // get feature style only if style is not injected\\n // ?todo : only overwrite injected values?\\n if (st === undefined || st === null) {\\n st = {};\\n if(feature.properties.style !== undefined) st = feature.properties.style;\\n }\\n // get feature properties style if exists\\n if(feature.properties.color !== undefined) {\\n st.color = feature.properties.color;\\n st.fillColor = st.color;\\n }\\n // color parameter overwrite style color if exists\\n if (col !== undefined && col !== null) {\\n st.color = col;\\n st.fillColor = col;\\n }\\n // if no color is defined at the end, fallback\\n if (st.color === undefined) {\\n col = setColor(col, map);\\n st.color = col;\\n st.fillColor = col;\\n }\\n return st;\\n },\\n onEachFeature: function (feature, layer) {\\n layer.bindPopup(jsonPop(feature));\\n },\\n // adding points\\n pointToLayer: function(geoJsonPoint, latlng) {\\n // working to get color (from properties)\\n var cl;\\n if(geoJsonPoint.properties.color !== undefined) cl = geoJsonPoint.properties.color;\\n if(geoJsonPoint.properties.fillColor !== undefined) cl = geoJsonPoint.properties.fillColor;\\n if(col !== undefined && col !== null) cl = col;\\n // binding default icon\\n var jsonPoint = L.marker(latlng, {\\n icon: lfltIcon(cl, mark, map)\\n });\\n jsonPoint.bindPopup(jsonPop(geoJsonPoint));\\n\\t\\t\\t\\t\\tif (clust.count) clust.count +=1;\\n\\t\\t\\t\\t\\telse clust.count = 1;\\n clust.addLayer(jsonPoint);\\n }\\n });\\n\\n // ?todo : should we add clust to feat or to geoJson? should we add clust even if it's already here?\\n feat.addLayer(clust);\\n feat.addLayer(geoJson);\\n } catch (error) {displayError(\\\"there was an error when displaying geoJson. error : \\\", error);}\\n }\\n\\n // map a tiddler\\n function mapTiddler(obj, tid, feat, clust, pop, col, mark, style) {\\n if(iter.map.tid === undefined) iter.map.tid = 1;\\n else iter.map.tid +=1;\\n if(iter.map.tid < 4242) {\\n // get data fields in the tiddler, let's seek for geo data\\n var flds = obj.wiki.getTiddler(tid).fields,\\n feature = L.featureGroup(), // create the tiddler feature\\n popup = \\\"\\\"; // create the popup text\\n // setting marker, color, style\\n // if no marker injected, trying to get from tiddler\\n if(mark === null || mark === undefined) {\\n if(flds.marker) mark = flds.marker;\\n }\\n // working style and color together\\n var cl, st = {};\\n // style\\n if(flds.style) st = JSON.parse(flds.style);\\n // overwrite with injected values\\n if (style !== undefined && style !== null) {\\n st = style;\\n /* ?todo : should we overwrite only injected?\\n \\tfor (var v in st) {\\n if(style.v !== undefined) st.v = style.v;\\n }\\n \\tfor (var v in style) {\\n \\t}*/\\n }\\n // color\\n if (flds.color) cl = flds.color;\\n // overwrite with injected color style if exists\\n if (style !== undefined && style !== null) {\\n if (st.fillColor !== undefined) cl = st.fillColor\\n }\\n // overwrite with injected color also in style\\n if (col !== undefined && col !== null) {\\n cl = col;\\n st.color = cl; st.fillColor = cl;\\n }\\n Colour[\\\"t\\\" + tn] = cl;\\n // if clusterType is tiddler, creating a cluster group for tiddler\\n // also will have to deal with the filter / tiddler distinction\\n if (clusterType[map] == \\\"tiddler\\\") {\\n // ?todo : automate cluster creation?\\n fCluster[\\\"t\\\" + tn] = L.markerClusterGroup({\\n name: \\\"Cluster\\\" + map + \\\"Cluster\\\" + tn,\\n polygonOptions: {\\\"weight\\\":\\\"0.5\\\"},\\n maxClusterRadius: clusterRadius[map],\\n /* for the record. may be a function\\n function() {return (clusterRadius - 50) / 9 * Map[map].getZoom() + 50 - (clusterRadius - 50) / 9 },*/\\n iconCreateFunction: createCluster\\n });\\n } else {\\n fCluster[\\\"t\\\" + tn] = fCluster[map];\\n }\\n\\n // case 1 : data stored in a json tiddler\\n if (flds.type == \\\"application/json\\\") {\\n // for now, assuming any json stored data is geoJson...\\n var data = obj.wiki.getTiddlerText(tid);\\n mapGeoJson(data, feature, fCluster[\\\"t\\\" + tn], Colour[\\\"t\\\" + tn], mark, st);\\n feat.addLayer(feature);\\n }\\n // case 2 if tiddler is not JSON data, display tiddler stored geodata as point(s), polygon, polyline...\\n else {\\n // create the popup for base objects\\n popup = \\\"<h4><a href=\\\\\\\"#\\\" + encodeURIComponent(flds.title) + \\\"\\\\\\\">\\\" + flds.title + \\\"</a></h4>\\\";\\n var content = \\\"\\\";\\n if (flds.text !== \\\"\\\") {\\n // if tiddler contains a widget, avoid html rendering\\n if (flds.text.match(/<\\\\$leafmap/)) {\\n content += \\\"<pre>\\\" + flds.text + \\\"</pre>\\\";\\n }\\n // else render\\n else {\\n content += obj.wiki.renderTiddler(\\\"text/html\\\", tid).substring(0, 420);\\n }\\n }\\n // adding a link to the tiddler\\n content += \\\"<br/>(<a href=\\\\\\\"#\\\" + encodeURIComponent(flds.title) + \\\"\\\\\\\" title=\\\\\\\"read more...\\\\\\\">...</a>)\\\";\\n popup += content;\\n\\n // map recursively (!!! danger !!!)\\n mapPlaces(obj,\\n flds,\\n feature,\\n fCluster[\\\"t\\\" + tn],\\n popup,\\n cl,\\n mark,\\n st\\n );\\n feature.addTo(feat);\\n }\\n /*\\n// check if anything was rendered before binding popup\\n if (wasRendered == 0) console.log(\\\"tw-leaflet-map-plugin > non geotiddler was listed and not rendered : \\\" + flds.title);\\n // add the layer to the feature\\n feature.addLayer(subFeat);\\n feature.addTo(Map[map]); // layer.addTo(Map[map]);\\n } */\\n // get layer bounds for automatic zoom\\n extBounds(feature);\\n tn++;\\n }\\n // it tiddler rendered two many times for same map. Stoping and error launch\\n else $tw.utils.error(\\\"tiddler [[\\\" + tid + \\\"]] was rendered more than 4242 times in this map. Please double check circular dependencies...\\\");\\n }\\n\\n // map a tiddler collection\\n function mapTiddlers(obj, list, feat, clust, pop, col, mark, style) {\\n var Tids = list.split(\\\" \\\");\\n for (var td in Tids) {\\n mapTiddler(obj, Tids[td], feat, clust, pop, col, mark, style);\\n }\\n }\\n\\n // map tiddlers with a filter\\n function mapFilter(obj, filter, feat, clust, pop, col, mark, style) {\\n try {\\n var Tids = obj.wiki.filterTiddlers(filter);\\n for (var td in Tids) {\\n mapTiddler(obj, Tids[td], feat, clust, pop, col, mark, style);\\n }\\n } catch (error) {\\n $tw.utils.error(\\\"sorry there was something wrong when trying to map your filter. error : \\\" + error);\\n }\\n }\\n\\n // icon url creator\\n function iconUrl(col, tid, m) {\\n var icone = escape($tw.wiki.renderTiddler(\\\"text/html\\\", tid).replace(\\\"$primary$\\\", setColor(col, m)).replace(\\\"</p>\\\", \\\"\\\").replace(\\\"<p>\\\", \\\"\\\"));\\n return ('data:image/svg+xml;charset=UTF-8,' + icone);\\n }\\n\\n // create marker\\n // ?todo only if there are points to display;\\n function lfltIcon(col, tid, m) {\\n // checking if marker is defined. Fallback to default\\n if(tid === undefined || tid === null) tid = \\\"$:/plugins/sycom/leaflet/images/marker.svg\\\";\\n else tid = \\\"$:/plugins/sycom/leaflet/images/\\\" + tid + \\\".svg\\\";\\n if($tw.wiki.getTiddler(tid) === undefined) tid = \\\"$:/plugins/sycom/leaflet/images/marker.svg\\\";\\n // !todo create shadow from icon by transform matrix?\\n var shad = tid.split(\\\".svg\\\")[0] + \\\"shadow.svg\\\",\\n shadowUrl = 'data:image/svg+xml;charset=UTF-8,' + escape($tw.wiki.getTiddlerText(shad));\\n // get dimensions in tiddler\\n var MarkDim = $tw.wiki.getTiddler(tid).fields.marker_dim.split(\\\" \\\");\\n var ShadDim = $tw.wiki.getTiddler(shad).fields.marker_dim.split(\\\" \\\");\\n var theIcon = L.icon({\\n iconUrl: iconUrl(col, tid, m),\\n iconRetinaUrl: iconUrl(col, tid, m),\\n iconSize: [MarkDim[0], MarkDim[1]],\\n iconAnchor: [MarkDim[2], MarkDim[3]],\\n popupAnchor: [0, -MarkDim[3]],\\n shadowUrl: shadowUrl,\\n shadowRetinaUrl: shadowUrl,\\n shadowSize: [ShadDim[0], ShadDim[1]],\\n shadowAnchor: [ShadDim[2], ShadDim[3]]\\n });\\n return theIcon;\\n }\\n\\n // set color with fallback to map color or wiki...\\n function setColor(col, m) {\\n if(m === undefined) m = map;\\n if (col === undefined || col === null) col = Colour[m];\\n if (col === undefined || col === null) col = Colour.wiki;\\n return col;\\n }\\n\\n // set style with fallback to map color or wiki...\\n function checkStyle(sty, col) {\\n if (col === undefined || col === null) {\\n if(sty.color === undefined) sty.color = setColor(col, map);\\n if(sty.fillColor === undefined) sty.fillColor = setColor(col, map);\\n }\\n else {\\n sty.color = col;\\n sty.fillColor = col;\\n }\\n return sty;\\n }\\n\\n // coordinate error message\\n function displayError(objectType, error) {\\n $tw.utils.error(\\\"there was an error when mapping a \\\" + objectType + \\\" - error : \\\" + error);\\n }\\n\\n // adjust bounds to layer\\n function extBounds(feat) {\\n try {\\n if (bounds) {\\n bounds.extend(feat.getBounds());\\n } else {\\n if (feat.getBounds()._northEast) {\\n bounds = feat.getBounds();\\n }\\n }\\n } catch (error) {\\n $tw.utils.error(\\\"there was an error when trying to zoom on bounds. error : \\\" + error);\\n }\\n }\\n\\n // cluster icon creation\\n function createCluster(clust) {\\n // getting back map number\\n var m = this.name.split(\\\"Cluster\\\")[1],\\n t = this.name.split(\\\"Cluster\\\")[2],\\n zC = Map[m].getZoom(),\\n z0,cTot,cCol,cOpa;\\n // checking object density mean for the map\\n if (t === undefined) {\\n if (fCluster[m].z0 === undefined) fCluster[m].z0 = zC;\\n z0 = fCluster[m].z0;\\n if (fCluster[m].count === undefined) fCluster[m].count = 1;\\n cTot = fCluster[m].count;\\n cCol = setColor(Colour[m],m);\\n cOpa = 0.85\\n }\\n else {\\n if (fCluster[\\\"t\\\" + t].z0 === undefined) fCluster[\\\"t\\\" + t].z0 = zC;\\n z0 = fCluster[\\\"t\\\" + t].z0;\\n if (fCluster[\\\"t\\\" + t].count === undefined) fCluster[\\\"t\\\" + t].count = 1;\\n cTot = fCluster[\\\"t\\\" + t].count;\\n cCol = setColor(Colour[\\\"t\\\" + t],m);\\n cOpa = 0.65\\n }\\n // cluster icon size will be based on item number and zoom\\n // !todo: use density to get a more \\\"local\\\" percentage before calculating size\\n var cC = clust.getChildCount(),\\n cS = 20 * Math.log(clusterRadius[m]) * (1 + Math.log(cTot)/Math.max(cTot * Math.pow(2,zC-z0),Math.log(cTot))) * (1 - 1 / ((Math.log(cTot) / cTot) * Math.pow(2,zC-z0) * cC + 1));\\n if (cS < 34) cS = 34;\\n var cF; // font size of cluster text\\n if (cC > 9999) cF = cS / 3;\\n else {if (cC > 999) cF = cS / 3.5;\\n else cF = cS / 2}\\n if (cF < 12) cF = 12;\\n // creating icon. Checking tiddler or whole clustering before\\n return new L.DivIcon({\\n html: '<div style=\\\"width:' + cS + 'px;height:' + cS + 'px;font-size:' + cF + 'px;background-color:' + cCol + ';border-color:' + cCol + ';opacity:'+cOpa+'\\\"><div><span style=\\\"line-height:' + cS + 'px;opacity:'+(cOpa+0.12)+'\\\">' + cC + \\\"</span></div></div>\\\",\\n className: \\\"marker-cluster marker-cluster-\\\" + cC,\\n iconSize: new L.Point(cS, cS)\\n });\\n }\\n\\n // popup function for Json\\n function jsonPop(feat) {\\n // extracting data to create popup (all non-null data!)\\n var Prop = feat.properties,\\n jsontitle = \\\"\\\",\\n jsondesc = \\\"\\\",\\n jsonhtml = \\\"\\\";\\n // testing if properties title or name exists\\n if (Prop.name) jsontitle += Prop.name + \\\" \\\";\\n if (Prop.title) jsontitle += Prop.title + \\\" \\\";\\n if (Prop.description) jsondesc += Prop.description + \\\"\\\";\\n // populating other data\\n // if we got a title\\n if (jsontitle !== \\\"\\\") {\\n jsonhtml += \\\"<h4>\\\" + jsontitle + \\\"</h4>\\\";\\n // if we got a description let's give it\\n if (jsondesc !== \\\"\\\") jsonhtml += jsondesc;\\n else {\\n jsonhtml+= \\\"<ul>\\\";\\n for (var p in Prop) {\\n if (Prop[p] !== null && Prop[p] !== \\\"\\\" && p != \\\"name\\\" && p != \\\"title\\\") jsonhtml += \\\"<li>\\\" + p + \\\" : \\\" + Prop[p] + \\\"</li>\\\";\\n }\\n jsonhtml += \\\"</ul>\\\";\\n }\\n }\\n // if we have no title, giving one with first fields\\n else {\\n // in case we've got a description. Stop after title\\n if (jsondesc !== \\\"\\\") {\\n for (var pr in Prop) {\\n // if title is really to short (as an id), taking next field\\n if (jsontitle.length < 8) jsontitle += Prop[pr] + \\\" \\\";\\n else break;\\n }\\n jsonhtml = \\\"<h4>\\\" + jsontitle + \\\"</h4>\\\" + jsonhtml;\\n }\\n else {\\n for (var po in Prop) {\\n // if title is really to short (as an id), taking next field\\n if (jsontitle.length < 4) jsontitle += Prop[po] + \\\" \\\";\\n else {\\n if (Prop[po] !== null && Prop[po] !== \\\"\\\") jsonhtml += \\\"<li>\\\" + po + \\\" : \\\" + Prop[po] + \\\"</li>\\\";\\n }\\n }\\n jsonhtml = \\\"<h4>\\\" + jsontitle + \\\"</h4><ul>\\\" + jsonhtml + \\\"</ul>\\\";\\n }\\n }\\n return jsonhtml;\\n }\\n\\n exports.leafmap = mapWidget;\\n\\n})();\\n/*\\nMISC NOTES for later\\nJSON.parse(tiddler.fields.text);\\nvar jsonData = this.wiki.getTiddlerAsJson(this.to),\\n*/\\n\",\n \"created\": \"20151028202401905\",\n \"modified\": \"20170318234011605\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"$:/plugins/sycom/leaflet/readme\": {\n \"title\": \"$:/plugins/sycom/leaflet/readme\",\n \"text\": \"The [leaflet plugin](#$:/plugins/sycom/leaflet) is a work in progress integration of the [leaflet][leaflet] library in TiddlyWiki in order to display geographical purpose tiddlers.\\n\\nHave a look at [demo page on the web][plugindemo] or at integrated documentation which describes usage and examples.\\n\\nKeep in mind that the plugin might be buggy or imperfect. Please [report any comment or issue][issues] on main repo.\\n\\n## Sources / licenses\\n* [leaflet][leaflet] library (_1.3.1_) - License 2-clause BSD\\n * leaflet-[markerCluster][markercluster] extension - Licence MIT\\n* [leaflet plugin][source] is released under similar [BSD 3-Clause license][license] as TiddlyWiki.\\n!! Side projects\\n\\n[plugindemo]: https://sycom.gitlab.io/TiddlyWiki-Plugins/#Michel%20Strogoff%20from%20the%20sky\\n[source]: https://framagit.org/sycom/TiddlyWiki-Plugins/plugins/sycom/leaflet\\n[issues]: https://framagit.org/sycom/TiddlyWiki-Plugins/issues\\n[leaflet]: http://leafletjs.com/\\n[markercluster]: https://github.com/Leaflet/Leaflet.markercluster\\n[license]: https://framagit.org/sycom/TiddlyWiki-Plugins/LICENSE.md\\n\",\n \"type\": \"text/x-markdown\",\n \"created\": \"20151119173416000\",\n \"modified\": \"20190332172200000\",\n \"caption\": \"Readme\"\n },\n \"$:/plugins/sycom/leaflet/templates/geoTiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/templates/geoTiddler\",\n \"created\": \"20180602095702318\",\n \"modified\": \"20180602105242971\",\n \"tags\": \"$:/tags/ViewTemplate\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"<$list filter=\\\"[all[current]has[point]] [all[current]has[points]] [all[current]has[polyline]] [all[current]has[polylines]] [all[current]has[polygon]] [all[current]has[polygons]] [all[current]has[places]] [all[current]has[geojson]]\\\">\\n <$leafmap places='{\\\"tiddler\\\":\\\" \\\"}' height='240px'/>\\n</$list>\\n\"\n }\n }\n}","bag":"default","revision":"0","version":"0.8.6","type":"application/json","title":"$:/plugins/sycom/leaflet","source":"https://framagit.org/sycom/TiddlyWiki-Plugins","plugin-type":"plugin","list":"readme usage geoSyntax tileLayers markers example","description":"Leaflet maps","dependents":"","core-version":">=5.0.0","author":"Sylvain Comte"},{"created":"20250424154531704","creator":"M00","text":"[\n {\n \"id\": \"toner\",\n \"nom\": \"Black Ink\",\n \"url\": \"https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key=ea5a140c-5aab-45de-b449-15713235d293\",\n \"attrib\": \"&copy; <a href='https://www.stadiamaps.com/' target='_blank'>Stadia Maps</a>, &copy; <a href='https://www.stamen.com/' target='_blank'>Stamen Design</a>, &copy; <a href='https://openmaptiles.org/' target='_blank'>OpenMapTiles</a>, &copy; <a href='https://www.openstreetmap.org/copyright' target='_blank'>OpenStreetMap contributors</a>\",\n \"zMin\": 0,\n \"zMax\": 20\n },\n {\n \"id\": \"osm\",\n \"nom\": \"OpenStreetMap\",\n \"url\": \"http://{s}.tile.osm.org/{z}/{x}/{y}.png\",\n \"attrib\": \"Map tiles by &copy;<a href='http://osm.org/copyright'>OSM</a>, licence <a href='http://creativecommons.org/licenses/by-sa/3.0'>CC BY SA</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\",\n \"zMin\": 1,\n \"zMax\": 20\n },\n {\n \"id\": \"sat\",\n \"nom\": \"Satellite Esri\",\n \"url\": \"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}\",\n \"attrib\": \"&copy;Map tiles by Esri &mdash; Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community\",\n \"zMin\": 1,\n \"zMax\": 20\n },\n {\n \"id\": \"positron\",\n \"nom\": \"Positron\",\n \"url\": \"http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png\",\n \"attrib\": \"&copy;Map tiles by <a href='https://cartodb.com/basemaps/' target='_blank'>CartoDB</a>, under <a href='https://creativecommons.org/licenses/by/3.0/' target='_blank'>CC BY 3.0</a>. Data by &copy;<a href='http://openstreetmap.org'>OSM</a> contributors, licence <a href='http://opendatacommons.org/licenses/odbl/'>ODbL</a>.\",\n \"zMin\": 1,\n \"zMax\": 20\n }\n]\n","type":"application/json","title":"$:/plugins/sycom/leaflet/lib/tileLayers.json","modified":"20250515175046817","modifier":"M00"},{"title":"$:/plugins/tiddlywiki/highlight","name":"Highlight","description":"Highlight.js syntax highlighting","author":"Joao Bolila","list":"readme usage license","stability":"STABILITY_2_STABLE","version":"5.3.7","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/config/HighlightPlugin/TypeMappings/application/javascript\":{\"text\":\"javascript\"},\"$:/config/HighlightPlugin/TypeMappings/application/json\":{\"text\":\"json\"},\"$:/config/HighlightPlugin/TypeMappings/text/css\":{\"text\":\"css\"},\"$:/config/HighlightPlugin/TypeMappings/text/html\":{\"text\":\"html\"},\"$:/config/HighlightPlugin/TypeMappings/image/svg+xml\":{\"text\":\"xml\"},\"$:/config/HighlightPlugin/TypeMappings/text/x-markdown\":{\"text\":\"markdown\"},\"$:/config/HighlightPlugin/TypeMappings/text/markdown\":{\"text\":\"markdown\"},\"$:/plugins/tiddlywiki/highlight/highlight.js\":{\"text\":\"var e,n=function(){'use strict';var e={exports:{}};function t(n){return n instanceof Map?n.clear=n.delete=n.set=()=>{throw Error('map is read-only')}:n instanceof Set&&(n.add=n.clear=n.delete=()=>{throw Error('set is read-only')}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{e=n[e];'object'!=typeof e||Object.isFrozen(e)||t(e)}),n}e.exports=t,e.exports.default=t;var $=e.exports;class O{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/\\\"/g,'&quot;').replace(/'/g,'&#x27;')}function l(e,...n){const t=Object.create(null);for(const n in e)t[n]=e[n];return n.forEach(e=>{for(const n in e)t[n]=e[n]}),t}const i=e=>!!e.kind;class x{constructor(e,n){this.buffer='',this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){var n,t,a;i(e)&&(a=e.kind,a=e.sublanguage?'language-'+a:([e,n]=[a,{prefix:this.classPrefix}['prefix']],e.includes('.')?[''+n+(t=e.split('.')).shift(),...t.map((e,n)=>''+e+'_'.repeat(n+1))].join(' '):''+n+e),this.span(a))}closeNode(e){i(e)&&(this.buffer+='</span>')}value(){return this.buffer}span(e){this.buffer+=`<span class=\\\"${e}\\\">`}}class a{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){e={kind:e,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(1<this.stack.length)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(n,e){return'string'==typeof e?n.addText(e):e.children&&(n.openNode(e),e.children.forEach(e=>this._walk(n,e)),n.closeNode(e)),n}static _collapse(e){'string'!=typeof e&&e.children&&(e.children.every(e=>'string'==typeof e)?e.children=[e.children.join('')]:e.children.forEach(e=>{a._collapse(e)}))}}class F extends a{constructor(e){super(),this.options=e}addKeyword(e,n){''!==e&&(this.openNode(n),this.addText(e),this.closeNode())}addText(e){''!==e&&this.add(e)}addSublanguage(e,n){e=e.root;e.kind=n,e.sublanguage=!0,this.add(e)}toHTML(){return new x(this,this.options).value()}finalize(){return!0}}function c(e){return e?'string'==typeof e?e:e.source:null}function r(e){return s('(?=',e,')')}function U(e){return s('(?:',e,')*')}function j(e){return s('(?:',e,')?')}function s(...e){return e.map(e=>c(e)).join('')}function d(...e){var n,t='object'==typeof(n=(t=e)[t.length-1])&&n.constructor===Object?(t.splice(t.length-1,1),n):{};return'('+(t.capture?'':'?:')+e.map(e=>c(e)).join('|')+')'}function g(e){return RegExp(e.toString()+'|').exec('').length-1}const k=/\\\\[(?:[^\\\\\\\\\\\\]]|\\\\\\\\.)*\\\\]|\\\\(\\\\??|\\\\\\\\([1-9][0-9]*)|\\\\\\\\./;function u(e,{joinWith:n}){let i=0;return e.map(e=>{var n=i+=1;let t=c(e),a='';for(;0<t.length;){const e=k.exec(t);if(!e){a+=t;break}a+=t.substring(0,e.index),t=t.substring(e.index+e[0].length),'\\\\\\\\'===e[0][0]&&e[1]?a+='\\\\\\\\'+(Number(e[1])+n):(a+=e[0],'('===e[0]&&i++)}return a}).map(e=>`(${e})`).join(n)}var e='[a-zA-Z]\\\\\\\\w*',o='[a-zA-Z_]\\\\\\\\w*',b='\\\\\\\\b\\\\\\\\d+(\\\\\\\\.\\\\\\\\d+)?',m='(-?)(\\\\\\\\b0[xX][a-fA-F0-9]+|(\\\\\\\\b\\\\\\\\d+(\\\\\\\\.\\\\\\\\d*)?|\\\\\\\\.\\\\\\\\d+)([eE][-+]?\\\\\\\\d+)?)',p='\\\\\\\\b(0b[01]+)',_={begin:'\\\\\\\\\\\\\\\\[\\\\\\\\s\\\\\\\\S]',relevance:0},P={scope:'string',begin:'\\\\'',end:'\\\\'',illegal:'\\\\\\\\n',contains:[_]},q={scope:'string',begin:'\\\"',end:'\\\"',illegal:'\\\\\\\\n',contains:[_]},h=(e,n,t={})=>{e=l({scope:'comment',begin:e,end:n,contains:[]},t),e.contains.push({scope:'doctag',begin:'[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)',end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0}),n=d('I','a','is','so','us','to','at','if','in','it','on',/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return e.contains.push({begin:s(/[ ]+/,'(',n,/[.]?[:]?([.][ ]|[ ])/,'){3}')}),e},K=h('//','$'),H=h('/\\\\\\\\*','\\\\\\\\*/'),Z=h('#','$'),f=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\\\\b\\\\B/,IDENT_RE:e,UNDERSCORE_IDENT_RE:o,NUMBER_RE:b,C_NUMBER_RE:m,BINARY_NUMBER_RE:p,RE_STARTERS_RE:'!|!=|!==|%|%=|&|&&|&=|\\\\\\\\*|\\\\\\\\*=|\\\\\\\\+|\\\\\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\\\\\?|\\\\\\\\[|\\\\\\\\{|\\\\\\\\(|\\\\\\\\^|\\\\\\\\^=|\\\\\\\\||\\\\\\\\|=|\\\\\\\\|\\\\\\\\||~',SHEBANG:(e={})=>{var n=/^#![ ]*\\\\//;return e.binary&&(e.begin=s(n,/.*\\\\b/,e.binary,/\\\\b.*/)),l({scope:'meta',begin:n,end:/$/,relevance:0,'on:begin':(e,n)=>{0!==e.index&&n.ignoreMatch()}},e)},BACKSLASH_ESCAPE:_,APOS_STRING_MODE:P,QUOTE_STRING_MODE:q,PHRASAL_WORDS_MODE:{begin:/\\\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\\\b/},COMMENT:h,C_LINE_COMMENT_MODE:K,C_BLOCK_COMMENT_MODE:H,HASH_COMMENT_MODE:Z,NUMBER_MODE:{scope:'number',begin:b,relevance:0},C_NUMBER_MODE:{scope:'number',begin:m,relevance:0},BINARY_NUMBER_MODE:{scope:'number',begin:p,relevance:0},REGEXP_MODE:{begin:/(?=\\\\/[^/\\\\n]*\\\\/)/,contains:[{scope:'regexp',begin:/\\\\//,end:/\\\\/[gimuy]*/,illegal:/\\\\n/,contains:[_,{begin:/\\\\[/,end:/\\\\]/,relevance:0,contains:[_]}]}]},TITLE_MODE:{scope:'title',begin:e,relevance:0},UNDERSCORE_TITLE_MODE:{scope:'title',begin:o,relevance:0},METHOD_GUARD:{begin:'\\\\\\\\.\\\\\\\\s*[a-zA-Z_]\\\\\\\\w*',relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{'on:begin':(e,n)=>{n.data._beginMatch=e[1]},'on:end':(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})});function G(e,n){'.'===e.input[e.index-1]&&n.ignoreMatch()}const W=(n,e)=>{if(n.beforeMatch){if(n.starts)throw Error('beforeMatch cannot be used with starts');var t=Object.assign({},n);Object.keys(n).forEach(e=>{delete n[e]}),n.keywords=t.keywords,n.begin=s(t.beforeMatch,r(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch}},Q=['of','and','for','in','not','or','if','then','parent','list','value'];function X(n,a,e='keyword'){const i=Object.create(null);return'string'==typeof n?t(e,n.split(' ')):Array.isArray(n)?t(e,n):Object.keys(n).forEach(e=>{Object.assign(i,X(n[e],a,e))}),i;function t(t,e){(e=a?e.map(e=>e.toLowerCase()):e).forEach(e=>{var n,e=e.split('|');i[e[0]]=[t,(n=e[0],(e=e[1])?Number(e):(e=>Q.includes(e.toLowerCase()))(n)?0:1)]})}}const V={},M=e=>{console.error(e)},J=(e,...n)=>{console.log('WARN: '+e,...n)},E=(e,n)=>{V[e+'/'+n]||(console.log(`Deprecated as of ${e}. `+n),V[e+'/'+n]=!0)},v=Error();function Y(e,n,{key:t}){let a=0;var i=e[t],r={},s={};for(let e=1;e<=n.length;e++)s[e+a]=i[e],r[e+a]=!0,a+=g(n[e-1]);e[t]=s,e[t]._emit=r,e[t]._multi=!0}function ee(r){function s(e,n){return RegExp(c(e),'m'+(r.case_insensitive?'i':'')+(r.unicodeRegex?'u':'')+(n?'g':''))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,n){n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),this.matchAt+=g(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);var e=this.regexes.map(e=>e[1]);this.matcherRe=s(u(e,{joinWith:'|'}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;var n,t,e=this.matcherRe.exec(e);return e?(n=e.findIndex((e,n)=>0<n&&void 0!==e),t=this.matchIndexes[n],e.splice(0,n),Object.assign(e,t)):null}}class o{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,n){this.rules.push([e,n]),'begin'===n.type&&this.count++}exec(e){const n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;let t=n.exec(e);if(this.resumingScanAtSamePosition()&&(!t||t.index!==this.lastIndex)){const n=this.getMatcher(0);n.lastIndex=this.lastIndex+1,t=n.exec(e)}return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count)&&this.considerAll(),t}}if(r.compilerExtensions||(r.compilerExtensions=[]),r.contains&&r.contains.includes('self'))throw Error('ERR: contains `self` is not supported at the top-level of a language. See documentation.');return r.classNameAliases=l(r.classNameAliases||{}),function n(t,a){const i=t;if(!t.isCompiled){[function(e,n){void 0!==e.className&&(e.scope=e.className,delete e.className)},function(e,n){if(e.match){if(e.begin||e.end)throw Error('begin & end are not supported with match');e.begin=e.match,delete e.match}},function(e){if((n=e).scope&&'object'==typeof n.scope&&null!==n.scope&&(n.beginScope=n.scope,delete n.scope),'string'==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),'string'==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),n=e,Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw M('skip, excludeBegin, returnBegin not compatible with beginScope: {}'),v;if('object'!=typeof n.beginScope||null===n.beginScope)throw M('beginScope must be object'),v;Y(n,n.begin,{key:'beginScope'}),n.begin=u(n.begin,{joinWith:''})}var n=e;if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw M('skip, excludeEnd, returnEnd not compatible with endScope: {}'),v;if('object'!=typeof n.endScope||null===n.endScope)throw M('endScope must be object'),v;Y(n,n.end,{key:'endScope'}),n.end=u(n.end,{joinWith:''})}},W].forEach(e=>e(t,a)),r.compilerExtensions.forEach(e=>e(t,a)),t.__beforeBegin=null,[function(e,n){n&&e.beginKeywords&&(e.begin='\\\\\\\\b('+e.beginKeywords.split(' ').join('|')+')(?!\\\\\\\\.)(?=\\\\\\\\b|\\\\\\\\s)',e.__beforeBegin=G,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance)&&(e.relevance=0)},function(e,n){Array.isArray(e.illegal)&&(e.illegal=d(...e.illegal))},function(e,n){void 0===e.relevance&&(e.relevance=1)}].forEach(e=>e(t,a)),t.isCompiled=!0;let e=null;'object'==typeof t.keywords&&t.keywords.$pattern&&(t.keywords=Object.assign({},t.keywords),e=t.keywords.$pattern,delete t.keywords.$pattern),e=e||/\\\\w+/,t.keywords&&(t.keywords=X(t.keywords,r.case_insensitive)),i.keywordPatternRe=s(e,!0),a&&(t.begin||(t.begin=/\\\\B|\\\\b/),i.beginRe=s(i.begin),t.end||t.endsWithParent||(t.end=/\\\\B|\\\\b/),t.end&&(i.endRe=s(i.end)),i.terminatorEnd=c(i.end)||'',t.endsWithParent)&&a.terminatorEnd&&(i.terminatorEnd+=(t.end?'|':'')+a.terminatorEnd),t.illegal&&(i.illegalRe=s(t.illegal)),t.contains||(t.contains=[]),t.contains=[].concat(...t.contains.map(e=>{return(n='self'===e?t:e).variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(e=>l(n,{variants:null},e))),n.cachedVariants||(function e(n){return!!n&&(n.endsWithParent||e(n.starts))}(n)?l(n,{starts:n.starts?l(n.starts):null}):Object.isFrozen(n)?l(n):n);var n})),t.contains.forEach(e=>{n(e,i)}),t.starts&&n(t.starts,a),i.matcher=(e=>{const n=new o;return e.contains.forEach(e=>n.addRule(e.begin,{rule:e,type:'begin'})),e.terminatorEnd&&n.addRule(e.terminatorEnd,{type:'end'}),e.illegal&&n.addRule(e.illegal,{type:'illegal'}),n})(i)}return i}(r)}class ne extends Error{constructor(e,n){super(e),this.name='HTMLInjectionError',this.html=n}}const A=n,te=l,ae=Symbol('nomatch');{var y={};const D=Object.create(null),I=Object.create(null),L=[];let x=!0;const B='Could not find the language \\\\'{}\\\\', did you forget to load/include a language module?',z={disableAutodetect:!0,name:'Plain text',contains:[]};let k={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\\\\blang(?:uage)?-([\\\\w-]+)\\\\b/i,classPrefix:'hljs-',cssSelector:'pre code',languages:null,__emitter:F};function ie(e){return k.noHighlightRe.test(e)}function re(e,n,t){let a='',i='';'object'==typeof n?(a=e,t=n.ignoreIllegals,i=n.language):(E('10.7.0','highlight(lang, code, ...args) has been deprecated.'),E('10.7.0','Please use highlight(code, options) instead.\\\\nhttps://github.com/highlightjs/highlight.js/issues/2277'),i=e,a=n),void 0===t&&(t=!0);e={code:a,language:i},R('before:highlight',e),n=e.result||S(e.language,e.code,t);return n.code=e.code,R('after:highlight',n),n}function S(c,d,g,e){const s=Object.create(null);function r(){if(!_.keywords)return h.addText(E);let e=0,n=(_.keywordPatternRe.lastIndex=0,_.keywordPatternRe.exec(E)),t='';for(;n;){t+=E.substring(e,n.index);var a=o.case_insensitive?n[0].toLowerCase():n[0],i=(r=a,_.keywords[r]);if(i){const[e,r]=i;if(h.addText(t),t='',s[a]=(s[a]||0)+1,s[a]<=7&&(v+=r),e.startsWith('_'))t+=n[0];else{const t=o.classNameAliases[e]||e;h.addKeyword(n[0],t)}}else t+=n[0];e=_.keywordPatternRe.lastIndex,n=_.keywordPatternRe.exec(E)}var r;t+=E.substr(e),h.addText(t)}function u(){(null!=_.subLanguage?()=>{if(''!==E){let e=null;if('string'==typeof _.subLanguage){if(!D[_.subLanguage])return void h.addText(E);e=S(_.subLanguage,E,!0,l[_.subLanguage]),l[_.subLanguage]=e._top}else e=C(E,_.subLanguage.length?_.subLanguage:null);0<_.relevance&&(v+=e.relevance),h.addSublanguage(e._emitter,e.language)}}:r)(),E=''}function i(e,n){let t=1;for(;void 0!==n[t];){var a,i;e._emit[t]?(a=o.classNameAliases[e[t]]||e[t],i=n[t],a?h.addKeyword(i,a):(E=i,r(),E=''),t++):t++}}function b(e,n){e.scope&&'string'==typeof e.scope&&h.openNode(o.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(h.addKeyword(E,o.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),E=''):e.beginScope._multi&&(i(e.beginScope,n),E='')),_=Object.create(e,{parent:{value:_}})}function m(e){var n=e[0],t=d.substr(e.index),a=function e(n,t,a){let i=(e=>(e=e&&e.exec(a))&&0===e.index)(n.endRe);if(i){if(n['on:end']){const a=new O(n);n['on:end'](t,a),a.isMatchIgnored&&(i=!1)}if(i){for(;n.endsParent&&n.parent;)n=n.parent;return n}}if(n.endsWithParent)return e(n.parent,t,a)}(_,e,t);if(!a)return ae;t=_;for(_.endScope&&_.endScope._wrap?(u(),h.addKeyword(n,_.endScope._wrap)):_.endScope&&_.endScope._multi?(u(),i(_.endScope,e)):t.skip?E+=n:(t.returnEnd||t.excludeEnd||(E+=n),u(),t.excludeEnd&&(E=n));_.scope&&h.closeNode(),_.skip||_.subLanguage||(v+=_.relevance),(_=_.parent)!==a.parent;);return a.starts&&b(a.starts,e),t.returnEnd?0:n.length}let p={};function n(e,n){var t,a=n&&n[0];if(E+=e,null==a)return u(),0;if('begin'===p.type&&'end'===n.type&&p.index===n.index&&''===a){if(E+=d.slice(n.index,n.index+1),x)return 1;{const e=Error(`0 width match regex (${c})`);throw e.languageName=c,e.badRule=p.rule,e}}if('begin'===(p=n).type){var i=n;const r=i[0],s=i.rule,o=new O(s),l=[s.__beforeBegin,s['on:begin']];for(const s of l)if(s&&(s(i,o),o.isMatchIgnored))return t=r,0===_.matcher.regexIndex?(E+=t[0],1):(N=!0,0);return s.skip?E+=r:(s.excludeBegin&&(E+=r),u(),s.returnBegin||s.excludeBegin||(E=r)),b(s,i),s.returnBegin?0:r.length}if('illegal'===n.type&&!g){const c=Error('Illegal lexeme \\\"'+a+'\\\" for mode \\\"'+(_.scope||'<unnamed>')+'\\\"');throw c.mode=_,c}if('end'===n.type){const c=m(n);if(c!==ae)return c}if('illegal'===n.type&&''===a)return 1;if(1e5<w&&w>3*n.index)throw Error('potential infinite loop, way more iterations than matches');return E+=a,a.length}const o=T(c);if(!o)throw M(B.replace('{}',c)),Error('Unknown language: \\\"'+c+'\\\"');var t=ee(o);let a='',_=e||t;const l={},h=new k.__emitter(k);var f=[];for(let e=_;e!==o;e=e.parent)e.scope&&f.unshift(e.scope);f.forEach(e=>h.openNode(e));let E='',v=0,y=0,w=0,N=!1;try{for(_.matcher.considerAll();;){w++,N?N=!1:_.matcher.considerAll(),_.matcher.lastIndex=y;const c=_.matcher.exec(d);if(!c)break;const D=n(d.substring(y,c.index),c);y=c.index+D}return n(d.substr(y)),h.closeAllNodes(),h.finalize(),a=h.toHTML(),{language:c,value:a,relevance:v,illegal:!1,_emitter:h,_top:_}}catch(e){if(e.message&&e.message.includes('Illegal'))return{language:c,value:A(d),illegal:!0,relevance:0,_illegalBy:{message:e.message,index:y,context:d.slice(y-100,y+100),mode:e.mode,resultSoFar:a},_emitter:h};if(x)return{language:c,value:A(d),illegal:!1,relevance:0,errorRaised:e,_emitter:h,_top:_};throw e}}function C(n,e){e=e||k.languages||Object.keys(D);t=n,(a={value:A(t),illegal:!1,relevance:0,_top:z,_emitter:new k.__emitter(k)})._emitter.addText(t);var t=a,a=e.filter(T).filter(oe).map(e=>S(e,n,!1)),e=(a.unshift(t),a.sort((e,n)=>{if(e.relevance!==n.relevance)return n.relevance-e.relevance;if(e.language&&n.language){if(T(e.language).supersetOf===n.language)return 1;if(T(n.language).supersetOf===e.language)return-1}return 0})),[t,a]=e,e=t;return e.secondBest=a,e}function w(e){var n=(e=>{let n=e.className+' ';n+=e.parentNode?e.parentNode.className:'';var t=k.languageDetectRe.exec(n);if(t){const n=T(t[1]);return n||(J(B.replace('{}',t[1])),J('Falling back to no-highlight mode for this block.',e)),n?t[1]:'no-highlight'}return n.split(/\\\\s+/).find(e=>ie(e)||T(e))})(e);if(!ie(n)){if(R('before:highlightElement',{el:e,language:n}),0<e.children.length&&(k.ignoreUnescapedHTML||(console.warn('One of your code blocks includes unescaped HTML. This is a potentially serious security risk.'),console.warn('https://github.com/highlightjs/highlight.js/wiki/security'),console.warn('The element with unescaped HTML:'),console.warn(e)),k.throwUnescapedHTML))throw new ne('One of your code blocks includes unescaped HTML.',e.innerHTML);var t=e.textContent,a=n?re(t,{language:n,ignoreIllegals:!0}):C(t),i=(e.innerHTML=a.value,e),r=a.language;n=n&&I[n]||r,i.classList.add('hljs'),i.classList.add('language-'+n),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),R('after:highlightElement',{el:e,result:a,text:t})}}let e=!1;function N(){'loading'!==document.readyState?document.querySelectorAll(k.cssSelector).forEach(w):e=!0}function T(e){return e=(e||'').toLowerCase(),D[e]||D[I[e]]}function se(e,{languageName:n}){(e='string'==typeof e?[e]:e).forEach(e=>{I[e.toLowerCase()]=n})}function oe(e){e=T(e);return e&&!e.disableAutodetect}function R(e,n){const t=e;L.forEach(e=>{e[t]&&e[t](n)})}'undefined'!=typeof window&&window.addEventListener&&window.addEventListener('DOMContentLoaded',()=>{e&&N()},!1),Object.assign(y,{highlight:re,highlightAuto:C,highlightAll:N,highlightElement:w,highlightBlock:e=>(E('10.7.0','highlightBlock will be removed entirely in v12.0'),E('10.7.0','Please use highlightElement now.'),w(e)),configure:e=>{k=te(k,e)},initHighlighting:()=>{N(),E('10.6.0','initHighlighting() deprecated. Use highlightAll() now.')},initHighlightingOnLoad:()=>{N(),E('10.6.0','initHighlightingOnLoad() deprecated. Use highlightAll() now.')},registerLanguage:(n,e)=>{let t=null;try{t=e(y)}catch(e){if(M('Language definition for \\\\'{}\\\\' could not be registered.'.replace('{}',n)),!x)throw e;M(e),t=z}t.name||(t.name=n),(D[n]=t).rawDefinition=e.bind(null,y),t.aliases&&se(t.aliases,{languageName:n})},unregisterLanguage:e=>{delete D[e];for(const D of Object.keys(I))I[D]===e&&delete I[D]},listLanguages:()=>Object.keys(D),getLanguage:T,registerAliases:se,autoDetection:oe,inherit:te,addPlugin:e=>{var n;(n=e)['before:highlightBlock']&&!n['before:highlightElement']&&(n['before:highlightElement']=e=>{n['before:highlightBlock'](Object.assign({block:e.el},e))}),n['after:highlightBlock']&&!n['after:highlightElement']&&(n['after:highlightElement']=e=>{n['after:highlightBlock'](Object.assign({block:e.el},e))}),L.push(e)}}),y.debugMode=()=>{x=!1},y.safeMode=()=>{x=!0},y.versionString='11.4.0',y.regex={concat:s,lookahead:r,either:d,optional:j,anyNumberOfTimes:U};for(const y in f)'object'==typeof f[y]&&$(f[y]);return Object.assign(y,f),y}}();'object'==typeof exports&&'undefined'!=typeof module&&(module.exports=n),n.registerLanguage('c',e=>{var n=e.regex,t=e.COMMENT('//','$',{contains:[{begin:/\\\\\\\\\\\\n/}]}),a='[a-zA-Z_]\\\\\\\\w*::',i='(decltype\\\\\\\\(auto\\\\\\\\)|'+n.optional(a)+'[a-zA-Z_]\\\\\\\\w*'+n.optional('<[^<>]+>')+')',r={className:'type',variants:[{begin:'\\\\\\\\b[a-z\\\\\\\\d_]*_t\\\\\\\\b'},{match:/\\\\batomic_[a-z]{3,6}\\\\b/}]},s={className:'string',variants:[{begin:'(u8?|U|L)?\\\"',end:'\\\"',illegal:'\\\\\\\\n',contains:[e.BACKSLASH_ESCAPE]},{begin:'(u8?|U|L)?\\\\'(\\\\\\\\\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\\\\\S)|.)',end:'\\\\'',illegal:'.'},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R\\\"([^()\\\\\\\\ ]{0,16})\\\\(/,end:/\\\\)([^()\\\\\\\\ ]{0,16})\\\"/})]},o={className:'number',variants:[{begin:'\\\\\\\\b(0b[01\\\\']+)'},{begin:'(-?)\\\\\\\\b([\\\\\\\\d\\\\']+(\\\\\\\\.[\\\\\\\\d\\\\']*)?|\\\\\\\\.[\\\\\\\\d\\\\']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)'},{begin:'(-?)(\\\\\\\\b0[xX][a-fA-F0-9\\\\']+|(\\\\\\\\b[\\\\\\\\d\\\\']+(\\\\\\\\.[\\\\\\\\d\\\\']*)?|\\\\\\\\.[\\\\\\\\d\\\\']+)([eE][-+]?[\\\\\\\\d\\\\']+)?)'}],relevance:0},l={className:'meta',begin:/#\\\\s*[a-z]+\\\\b/,end:/$/,keywords:{keyword:'if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include'},contains:[{begin:/\\\\\\\\\\\\n/,relevance:0},e.inherit(s,{className:'string'}),{className:'string',begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},c={className:'title',begin:n.optional(a)+e.IDENT_RE,relevance:0},n=n.optional(a)+e.IDENT_RE+'\\\\\\\\s*\\\\\\\\(',a={keyword:['asm','auto','break','case','continue','default','do','else','enum','extern','for','fortran','goto','if','inline','register','restrict','return','sizeof','struct','switch','typedef','union','volatile','while','_Alignas','_Alignof','_Atomic','_Generic','_Noreturn','_Static_assert','_Thread_local','alignas','alignof','noreturn','static_assert','thread_local','_Pragma'],type:['float','double','signed','unsigned','int','short','long','char','void','_Bool','_Complex','_Imaginary','_Decimal32','_Decimal64','_Decimal128','const','static','complex','bool','imaginary'],literal:'true false NULL',built_in:'std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr'},d=[l,r,t,e.C_BLOCK_COMMENT_MODE,o,s],g={variants:[{begin:/=/,end:/;/},{begin:/\\\\(/,end:/\\\\)/},{beginKeywords:'new throw return else',end:/;/}],keywords:a,contains:d.concat([{begin:/\\\\(/,end:/\\\\)/,keywords:a,contains:d.concat(['self']),relevance:0}]),relevance:0},i={begin:'('+i+'[\\\\\\\\*&\\\\\\\\s]+)+'+n,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:a,illegal:/[^\\\\w\\\\s\\\\*&:<>.]/,contains:[{begin:'decltype\\\\\\\\(auto\\\\\\\\)',keywords:a,relevance:0},{begin:n,returnBegin:!0,contains:[e.inherit(c,{className:'title.function'})],relevance:0},{relevance:0,match:/,/},{className:'params',begin:/\\\\(/,end:/\\\\)/,keywords:a,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,s,o,r,{begin:/\\\\(/,end:/\\\\)/,keywords:a,relevance:0,contains:['self',t,e.C_BLOCK_COMMENT_MODE,s,o,r]}]},r,t,e.C_BLOCK_COMMENT_MODE,l]};return{name:'C',aliases:['h'],keywords:a,disableAutodetect:!0,illegal:'</',contains:[].concat(g,i,d,[l,{begin:e.IDENT_RE+'::',keywords:a},{className:'class',beginKeywords:'enum class struct union',end:/[{;:<>=]/,contains:[{beginKeywords:'final class struct'},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:a}}}),n.registerLanguage('xml',e=>{var n=e.regex,t=n.concat(/[A-Z_]/,n.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),a={className:'symbol',begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\\\\s/,contains:[{className:'keyword',begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\\\\n/}]},r=e.inherit(i,{begin:/\\\\(/,end:/\\\\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:'string'}),o=e.inherit(e.QUOTE_STRING_MODE,{className:'string'}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:'attr',begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\\\\s*/,relevance:0,contains:[{className:'string',endsParent:!0,variants:[{begin:/\\\"/,end:/\\\"/,contains:[a]},{begin:/'/,end:/'/,contains:[a]},{begin:/[^\\\\s\\\"'=<>`]+/}]}]}]};return{name:'HTML, XML',aliases:['html','xhtml','rss','atom','xjb','xsd','xsl','plist','wsf','svg'],case_insensitive:!0,contains:[{className:'meta',begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,o,s,r,{begin:/\\\\[/,end:/\\\\]/,contains:[{className:'meta',begin:/<![a-z]/,end:/>/,contains:[i,r,o,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\\\\[CDATA\\\\[/,end:/\\\\]\\\\]>/,relevance:10},a,{className:'meta',begin:/<\\\\?xml/,end:/\\\\?>/,relevance:10},{className:'tag',begin:/<style(?=\\\\s|>)/,end:/>/,keywords:{name:'style'},contains:[l],starts:{end:/<\\\\/style>/,returnEnd:!0,subLanguage:['css','xml']}},{className:'tag',begin:/<script(?=\\\\s|>)/,end:/>/,keywords:{name:'script'},contains:[l],starts:{end:/<\\\\/script>/,returnEnd:!0,subLanguage:['javascript','handlebars','xml']}},{className:'tag',begin:/<>|<\\\\/>/},{className:'tag',begin:n.concat(/</,n.lookahead(n.concat(t,n.either(/\\\\/>/,/>/,/\\\\s/)))),end:/\\\\/?>/,contains:[{className:'name',begin:t,relevance:0,starts:l}]},{className:'tag',begin:n.concat(/<\\\\//,n.lookahead(n.concat(t,/>/))),contains:[{className:'name',begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}),n.registerLanguage('markdown',e=>{var n={begin:/<\\\\/?[A-Za-z_]/,end:'>',subLanguage:'xml',relevance:0},e={variants:[{begin:/\\\\[.+?\\\\]\\\\[.*?\\\\]/,relevance:0},{begin:/\\\\[.+?\\\\]\\\\(((data|javascript|mailto):|(?:http|ftp)s?:\\\\/\\\\/).*?\\\\)/,relevance:2},{begin:e.regex.concat(/\\\\[.+?\\\\]\\\\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\\\\/\\\\/.*?\\\\)/),relevance:2},{begin:/\\\\[.+?\\\\]\\\\([./?&#].*?\\\\)/,relevance:1},{begin:/\\\\[.*?\\\\]\\\\(.*?\\\\)/,relevance:0}],returnBegin:!0,contains:[{match:/\\\\[(?=\\\\])/},{className:'string',relevance:0,begin:'\\\\\\\\[',end:'\\\\\\\\]',excludeBegin:!0,returnEnd:!0},{className:'link',relevance:0,begin:'\\\\\\\\]\\\\\\\\(',end:'\\\\\\\\)',excludeBegin:!0,excludeEnd:!0},{className:'symbol',relevance:0,begin:'\\\\\\\\]\\\\\\\\[',end:'\\\\\\\\]',excludeBegin:!0,excludeEnd:!0}]},t={className:'strong',contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\\\\*{2}/,end:/\\\\*{2}/}]},a={className:'emphasis',contains:[],variants:[{begin:/\\\\*(?!\\\\*)/,end:/\\\\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};t.contains.push(a),a.contains.push(t);let i=[n,e];return t.contains=t.contains.concat(i),a.contains=a.contains.concat(i),{name:'Markdown',aliases:['md','mkdown','mkd'],contains:[{className:'section',variants:[{begin:'^#{1,6}',end:'$',contains:i=i.concat(t,a)},{begin:'(?=^.+?\\\\\\\\n[=-]{2,}$)',contains:[{begin:'^[=-]*$'},{begin:'^',end:'\\\\\\\\n',contains:i}]}]},n,{className:'bullet',begin:'^[ \\\\t]*([*+-]|(\\\\\\\\d+\\\\\\\\.))(?=\\\\\\\\s+)',end:'\\\\\\\\s+',excludeEnd:!0},t,a,{className:'quote',begin:'^>\\\\\\\\s+',contains:i,end:'$'},{className:'code',variants:[{begin:'(`{3,})[^`](.|\\\\\\\\n)*?\\\\\\\\1`*[ ]*'},{begin:'(~{3,})[^~](.|\\\\\\\\n)*?\\\\\\\\1~*[ ]*'},{begin:'```',end:'```+[ ]*$'},{begin:'~~~',end:'~~~+[ ]*$'},{begin:'`.+?`'},{begin:'(?=^( {4}|\\\\\\\\t))',contains:[{begin:'^( {4}|\\\\\\\\t)',end:'(\\\\\\\\n)$'}],relevance:0}]},{begin:'^[-\\\\\\\\*]{3,}',end:'$'},e,{begin:/^\\\\[[^\\\\n]+\\\\]:/,returnBegin:!0,contains:[{className:'symbol',begin:/\\\\[/,end:/\\\\]/,excludeBegin:!0,excludeEnd:!0},{className:'link',begin:/:\\\\s*/,end:/$/,excludeBegin:!0}]}]}}),e=(()=>{'use strict';return e=>{var n=e.regex,t={},a={begin:/\\\\$\\\\{/,end:/\\\\}/,contains:['self',{begin:/:-/,contains:[t]}]},n=(Object.assign(t,{className:'variable',variants:[{begin:n.concat(/\\\\$[\\\\w\\\\d#@][\\\\w\\\\d_]*/,'(?![\\\\\\\\w\\\\\\\\d])(?![$])')},a]}),{className:'subst',begin:/\\\\$\\\\(/,end:/\\\\)/,contains:[e.BACKSLASH_ESCAPE]}),a={begin:/<<-?\\\\s*(?=\\\\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\\\\w+)/,end:/(\\\\w+)/,className:'string'})]}},i={className:'string',begin:/\\\"/,end:/\\\"/,contains:[e.BACKSLASH_ESCAPE,t,n]},n=(n.contains.push(i),{begin:/\\\\$\\\\(\\\\(/,end:/\\\\)\\\\)/,contains:[{begin:/\\\\d+#[0-9a-f]+/,className:'number'},e.NUMBER_MODE,t]}),r=e.SHEBANG({binary:'(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)',relevance:10}),s={className:'function',begin:/\\\\w[\\\\w\\\\d_]*\\\\s*\\\\(\\\\s*\\\\)\\\\s*\\\\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\\\\w[\\\\w\\\\d_]*/})],relevance:0};return{name:'Bash',aliases:['sh'],keywords:{$pattern:/\\\\b[a-z._-]+\\\\b/,keyword:['if','then','else','elif','fi','for','while','in','do','done','case','esac','function'],literal:['true','false'],built_in:['break','cd','continue','eval','exec','exit','export','getopts','hash','pwd','readonly','return','shift','test','times','trap','umask','unset','alias','bind','builtin','caller','command','declare','echo','enable','help','let','local','logout','mapfile','printf','read','readarray','source','type','typeset','ulimit','unalias','set','shopt','autoload','bg','bindkey','bye','cap','chdir','clone','comparguments','compcall','compctl','compdescribe','compfiles','compgroups','compquote','comptags','comptry','compvalues','dirs','disable','disown','echotc','echoti','emulate','fc','fg','float','functions','getcap','getln','history','integer','jobs','kill','limit','log','noglob','popd','print','pushd','pushln','rehash','sched','setcap','setopt','stat','suspend','ttyctl','unfunction','unhash','unlimit','unsetopt','vared','wait','whence','where','which','zcompile','zformat','zftp','zle','zmodload','zparseopts','zprof','zpty','zregexparse','zsocket','zstyle','ztcp','chcon','chgrp','chown','chmod','cp','dd','df','dir','dircolors','ln','ls','mkdir','mkfifo','mknod','mktemp','mv','realpath','rm','rmdir','shred','sync','touch','truncate','vdir','b2sum','base32','base64','cat','cksum','comm','csplit','cut','expand','fmt','fold','head','join','md5sum','nl','numfmt','od','paste','ptx','pr','sha1sum','sha224sum','sha256sum','sha384sum','sha512sum','shuf','sort','split','sum','tac','tail','tr','tsort','unexpand','uniq','wc','arch','basename','chroot','date','dirname','du','echo','env','expr','factor','groups','hostid','id','link','logname','nice','nohup','nproc','pathchk','pinky','printenv','printf','pwd','readlink','runcon','seq','sleep','stat','stdbuf','stty','tee','test','timeout','tty','uname','unlink','uptime','users','who','whoami','yes']},contains:[r,e.SHEBANG(),s,n,e.HASH_COMMENT_MODE,a,{match:/(\\\\/[a-z._-]+)+/},i,{className:'',begin:/\\\\\\\\\\\"/},{className:'string',begin:/'/,end:/'/},t]}}})(),n.registerLanguage('bash',e),n.registerLanguage('dockerfile',e=>({name:'Dockerfile',aliases:['docker'],case_insensitive:!0,keywords:['from','maintainer','expose','env','arg','user','onbuild','stopsignal'],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:'run cmd entrypoint volume add copy workdir label healthcheck shell',starts:{end:/[^\\\\\\\\]$/,subLanguage:'bash'}}],illegal:'</'})),e=(()=>{'use strict';var e='\\\\\\\\.([0-9](_*[0-9])*)',n='[0-9a-fA-F](_*[0-9a-fA-F])*',d={className:'number',variants:[{begin:`(\\\\\\\\b([0-9](_*[0-9])*)((${e})|\\\\\\\\.)?|(${e}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\\\\\\\b`},{begin:`\\\\\\\\b([0-9](_*[0-9])*)((${e})[fFdD]?\\\\\\\\b|\\\\\\\\.([fFdD]\\\\\\\\b)?)`},{begin:`(${e})[fFdD]?\\\\\\\\b`},{begin:'\\\\\\\\b([0-9](_*[0-9])*)[fFdD]\\\\\\\\b'},{begin:`\\\\\\\\b0[xX]((${n})\\\\\\\\.?|(${n})?\\\\\\\\.(${n}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\\\\\\\b`},{begin:'\\\\\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\\\\\b'},{begin:`\\\\\\\\b0[xX](${n})[lL]?\\\\\\\\b`},{begin:'\\\\\\\\b0(_*[0-7])*[lL]?\\\\\\\\b'},{begin:'\\\\\\\\b0[bB][01](_*[01])*[lL]?\\\\\\\\b'}],relevance:0};return e=>{var n={keyword:'abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual',built_in:'Byte Short Char Int Long Boolean Float Double Void Unit Nothing',literal:'true false null'},t={className:'symbol',begin:e.UNDERSCORE_IDENT_RE+'@'},a={className:'subst',begin:/\\\\$\\\\{/,end:/\\\\}/,contains:[e.C_NUMBER_MODE]},i={className:'variable',begin:'\\\\\\\\$'+e.UNDERSCORE_IDENT_RE},i={className:'string',variants:[{begin:'\\\"\\\"\\\"',end:'\\\"\\\"\\\"(?=[^\\\"])',contains:[i,a]},{begin:'\\\\'',end:'\\\\'',illegal:/\\\\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'\\\"',end:'\\\"',illegal:/\\\\n/,contains:[e.BACKSLASH_ESCAPE,i,a]}]},a=(a.contains.push(i),{className:'meta',begin:'@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\\\\\s*:(?:\\\\\\\\s*'+e.UNDERSCORE_IDENT_RE+')?'}),r={className:'meta',begin:'@'+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\\\\(/,end:/\\\\)/,contains:[e.inherit(i,{className:'string'})]}]},s=d,o=e.COMMENT('/\\\\\\\\*','\\\\\\\\*/',{contains:[e.C_BLOCK_COMMENT_MODE]}),l={variants:[{className:'type',begin:e.UNDERSCORE_IDENT_RE},{begin:/\\\\(/,end:/\\\\)/,contains:[]}]},c=l;return c.variants[1].contains=[l],l.variants[1].contains=[c],{name:'Kotlin',aliases:['kt','kts'],keywords:n,contains:[e.COMMENT('/\\\\\\\\*\\\\\\\\*','\\\\\\\\*/',{relevance:0,contains:[{className:'doctag',begin:'@[A-Za-z]+'}]}),e.C_LINE_COMMENT_MODE,o,{className:'keyword',begin:/\\\\b(break|continue|return|this)\\\\b/,starts:{contains:[{className:'symbol',begin:/@\\\\w+/}]}},t,a,r,{className:'function',beginKeywords:'fun',end:'[(]|$',returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+'\\\\\\\\s*\\\\\\\\(',returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:'type',begin:/</,end:/>/,keywords:'reified',relevance:0},{className:'params',begin:/\\\\(/,end:/\\\\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\\\\/]/,endsWithParent:!0,contains:[l,e.C_LINE_COMMENT_MODE,o],relevance:0},e.C_LINE_COMMENT_MODE,o,a,r,i,e.C_NUMBER_MODE]},o]},{className:'class',beginKeywords:'class interface trait',end:/[:\\\\{(]|$/,excludeEnd:!0,illegal:'extends implements',contains:[{beginKeywords:'public protected internal private constructor'},e.UNDERSCORE_TITLE_MODE,{className:'type',begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:'type',begin:/[,:]\\\\s*/,end:/[<\\\\(,]|$/,excludeBegin:!0,returnEnd:!0},a,r]},i,{className:'meta',begin:'^#!/usr/bin/env',end:'$',illegal:'\\\\n'},s]}}})(),n.registerLanguage('kotlin',e),e=(()=>{'use strict';const O='[A-Za-z$_][0-9A-Za-z$_]*',M=['as','in','of','if','for','while','finally','var','new','function','do','return','void','else','break','catch','instanceof','with','throw','case','default','try','switch','continue','typeof','delete','let','yield','const','class','debugger','async','await','static','import','from','export','extends'],A=['true','false','null','undefined','NaN','Infinity'],S=['Object','Function','Boolean','Symbol','Math','Date','Number','BigInt','String','RegExp','Array','Float32Array','Float64Array','Int8Array','Uint8Array','Uint8ClampedArray','Int16Array','Int32Array','Uint16Array','Uint32Array','BigInt64Array','BigUint64Array','Set','Map','WeakSet','WeakMap','ArrayBuffer','SharedArrayBuffer','Atomics','DataView','JSON','Promise','Generator','GeneratorFunction','AsyncFunction','Reflect','Proxy','Intl','WebAssembly'],C=['Error','EvalError','InternalError','RangeError','ReferenceError','SyntaxError','TypeError','URIError'],T=['setInterval','setTimeout','clearInterval','clearTimeout','require','exports','eval','isFinite','isNaN','parseFloat','parseInt','decodeURI','decodeURIComponent','encodeURI','encodeURIComponent','escape','unescape'],R=['arguments','this','super','console','window','document','localStorage','module','global'],D=[].concat(T,S,C);function o(e){const n=e.regex,t=O,a=/<[A-Za-z0-9\\\\\\\\._:-]+/,i=/\\\\/[A-Za-z0-9\\\\\\\\._:-]+>|\\\\/>/,r=(e,n)=>{var t,a,i=e[0].length+e.index,r=e.input[i];'<'!==r&&','!==r&&('>'===r&&([r,t]=[e,i],a='</'+r[0].slice(1),-1===r.input.indexOf(a,t))&&n.ignoreMatch(),!(r=e.input.substr(i).match(/^\\\\s+extends\\\\s+/))||0!==r.index)||n.ignoreMatch()},s={$pattern:O,keyword:M,literal:A,built_in:D,'variable.language':R},o='\\\\\\\\.([0-9](_?[0-9])*)',l='0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*',c={className:'number',variants:[{begin:`(\\\\\\\\b(${l})((${o})|\\\\\\\\.)?|(${o}))[eE][+-]?([0-9](_?[0-9])*)\\\\\\\\b`},{begin:`\\\\\\\\b(${l})\\\\\\\\b((${o})\\\\\\\\b|\\\\\\\\.)?|(${o})\\\\\\\\b`},{begin:'\\\\\\\\b(0|[1-9](_?[0-9])*)n\\\\\\\\b'},{begin:'\\\\\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\\\\\b'},{begin:'\\\\\\\\b0[bB][0-1](_?[0-1])*n?\\\\\\\\b'},{begin:'\\\\\\\\b0[oO][0-7](_?[0-7])*n?\\\\\\\\b'},{begin:'\\\\\\\\b0[0-7]+n?\\\\\\\\b'}],relevance:0},d={className:'subst',begin:'\\\\\\\\$\\\\\\\\{',end:'\\\\\\\\}',keywords:s,contains:[]},g={begin:'html`',end:'',starts:{end:'`',returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:'xml'}},u={begin:'css`',end:'',starts:{end:'`',returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:'css'}},b={className:'string',begin:'`',end:'`',contains:[e.BACKSLASH_ESCAPE,d]},m={className:'comment',variants:[e.COMMENT(/\\\\/\\\\*\\\\*(?!\\\\/)/,'\\\\\\\\*/',{relevance:0,contains:[{begin:'(?=@[A-Za-z]+)',relevance:0,contains:[{className:'doctag',begin:'@[A-Za-z]+'},{className:'type',begin:'\\\\\\\\{',end:'\\\\\\\\}',excludeEnd:!0,excludeBegin:!0,relevance:0},{className:'variable',begin:t+'(?=\\\\\\\\s*(-)|$)',endsParent:!0,relevance:0},{begin:/(?=[^\\\\n])\\\\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},p=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,u,b,c];d.contains=p.concat({begin:/\\\\{/,end:/\\\\}/,keywords:s,contains:['self'].concat(p)});var _=[].concat(m,d.contains),_=_.concat([{begin:/\\\\(/,end:/\\\\)/,keywords:s,contains:['self'].concat(_)}]),h={className:'params',begin:/\\\\(/,end:/\\\\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:_},f={variants:[{match:[/class/,/\\\\s+/,t,/\\\\s+/,/extends/,/\\\\s+/,n.concat(t,'(',n.concat(/\\\\./,t),')*')],scope:{1:'keyword',3:'title.class',5:'keyword',7:'title.class.inherited'}},{match:[/class/,/\\\\s+/,t],scope:{1:'keyword',3:'title.class'}}]},E={relevance:0,match:n.either(/\\\\bJSON/,/\\\\b[A-Z][a-z]+([A-Z][a-z]*|\\\\d)*/,/\\\\b[A-Z]{2,}([A-Z][a-z]+|\\\\d)+([A-Z][a-z]*)*/,/\\\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\\\d)*([A-Z][a-z]*)*/),className:'title.class',keywords:{_:[...S,...C]}},v={variants:[{match:[/function/,/\\\\s+/,t,/(?=\\\\s*\\\\()/]},{match:[/function/,/\\\\s*(?=\\\\()/]}],className:{1:'keyword',3:'title.function'},label:'func.def',contains:[h],illegal:/%/},y={match:n.concat(/\\\\b/,(y=[...T,'super'],n.concat('(?!',y.join('|'),')')),t,n.lookahead(/\\\\(/)),className:'title.function',relevance:0},w={begin:n.concat(/\\\\./,n.lookahead(n.concat(t,/(?![0-9A-Za-z$_(])/))),end:t,excludeBegin:!0,keywords:'prototype',className:'property',relevance:0},N={match:[/get|set/,/\\\\s+/,t,/(?=\\\\()/],className:{1:'keyword',3:'title.function'},contains:[{begin:/\\\\(\\\\)/},h]},x='(\\\\\\\\([^()]*(\\\\\\\\([^()]*(\\\\\\\\([^()]*\\\\\\\\)[^()]*)*\\\\\\\\)[^()]*)*\\\\\\\\)|'+e.UNDERSCORE_IDENT_RE+')\\\\\\\\s*=>',k={match:[/const|var|let/,/\\\\s+/,t,/\\\\s*/,/=\\\\s*/,/(async\\\\s*)?/,n.lookahead(x)],keywords:'async',className:{1:'keyword',3:'title.function'},contains:[h]};return{name:'Javascript',aliases:['js','jsx','mjs','cjs'],keywords:s,exports:{PARAMS_CONTAINS:_,CLASS_REFERENCE:E},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:'shebang',binary:'node',relevance:5}),{label:'use_strict',className:'meta',relevance:10,begin:/^\\\\s*['\\\"]use (strict|asm)['\\\"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,u,b,m,c,E,{className:'attr',begin:t+n.lookahead(':'),relevance:0},k,{begin:'('+e.RE_STARTERS_RE+'|\\\\\\\\b(case|return|throw)\\\\\\\\b)\\\\\\\\s*',keywords:'return throw case',relevance:0,contains:[m,e.REGEXP_MODE,{className:'function',begin:x,returnBegin:!0,end:'\\\\\\\\s*=>',contains:[{className:'params',variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\\\\(\\\\s*\\\\)/,skip:!0},{begin:/\\\\(/,end:/\\\\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:_}]}]},{begin:/,/,relevance:0},{match:/\\\\s+/,relevance:0},{variants:[{begin:'<>',end:'</>'},{match:/<[A-Za-z0-9\\\\\\\\._:-]+\\\\s*\\\\/>/},{begin:a,'on:begin':r,end:i}],subLanguage:'xml',contains:[{begin:a,end:i,skip:!0,contains:['self']}]}]},v,{beginKeywords:'while if switch catch for'},{begin:'\\\\\\\\b(?!function)'+e.UNDERSCORE_IDENT_RE+'\\\\\\\\([^()]*(\\\\\\\\([^()]*(\\\\\\\\([^()]*\\\\\\\\)[^()]*)*\\\\\\\\)[^()]*)*\\\\\\\\)\\\\\\\\s*\\\\\\\\{',returnBegin:!0,label:'func.def',contains:[h,e.inherit(e.TITLE_MODE,{begin:t,className:'title.function'})]},{match:/\\\\.\\\\.\\\\./,relevance:0},w,{match:'\\\\\\\\$'+t,relevance:0},{match:[/\\\\bconstructor(?=\\\\s*\\\\()/],className:{1:'title.function'},contains:[h]},y,{relevance:0,match:/\\\\b[A-Z][A-Z_0-9]+\\\\b/,className:'variable.constant'},f,N,{match:/\\\\$[(.]/}]}}return e=>{var n=o(e),t=['any','void','number','boolean','string','object','never','enum'],a={beginKeywords:'namespace',end:/\\\\{/,excludeEnd:!0,contains:[n.exports.CLASS_REFERENCE]},i={beginKeywords:'interface',end:/\\\\{/,excludeEnd:!0,keywords:{keyword:'interface extends',built_in:t},contains:[n.exports.CLASS_REFERENCE]},t={$pattern:O,keyword:M.concat(['type','namespace','typedef','interface','public','private','protected','implements','declare','abstract','readonly']),literal:A,built_in:D.concat(t),'variable.language':R},r={className:'meta',begin:'@[A-Za-z$_][0-9A-Za-z$_]*'},s=(e,n,t)=>{var a=e.contains.findIndex(e=>e.label===n);if(-1===a)throw Error('can not find mode to replace');e.contains.splice(a,1,t)};return Object.assign(n.keywords,t),n.exports.PARAMS_CONTAINS.push(r),n.contains=n.contains.concat([r,a,i]),s(n,'shebang',e.SHEBANG()),s(n,'use_strict',{className:'meta',relevance:10,begin:/^\\\\s*['\\\"]use strict['\\\"]/}),n.contains.find(e=>'func.def'===e.label).relevance=0,Object.assign(n,{name:'TypeScript',aliases:['ts','tsx']}),n}})(),n.registerLanguage('typescript',e),n.registerLanguage('python',e=>{var n=e.regex,t=/[\\\\p{XID_Start}_]\\\\p{XID_Continue}*/u,a=['and','as','assert','async','await','break','class','continue','def','del','elif','else','except','finally','for','from','global','if','import','in','is','lambda','nonlocal|10','not','or','pass','raise','return','try','while','with','yield'],i={$pattern:/[A-Za-z]\\\\w+|__\\\\w+__/,keyword:a,built_in:['__import__','abs','all','any','ascii','bin','bool','breakpoint','bytearray','bytes','callable','chr','classmethod','compile','complex','delattr','dict','dir','divmod','enumerate','eval','exec','filter','float','format','frozenset','getattr','globals','hasattr','hash','help','hex','id','input','int','isinstance','issubclass','iter','len','list','locals','map','max','memoryview','min','next','object','oct','open','ord','pow','print','property','range','repr','reversed','round','set','setattr','slice','sorted','staticmethod','str','sum','super','tuple','type','vars','zip'],literal:['__debug__','Ellipsis','False','None','NotImplemented','True'],type:['Any','Callable','Coroutine','Dict','List','Literal','Generic','Optional','Sequence','Set','Tuple','Type','Union']},r={className:'meta',begin:/^(>>>|\\\\.\\\\.\\\\.) /},s={className:'subst',begin:/\\\\{/,end:/\\\\}/,keywords:i,illegal:/#/},o={begin:/\\\\{\\\\{/,relevance:0},o={className:'string',contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,r],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?\\\"\\\"\\\"/,end:/\\\"\\\"\\\"/,contains:[e.BACKSLASH_ESCAPE,r],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,r,o,s]},{begin:/([fF][rR]|[rR][fF]|[fF])\\\"\\\"\\\"/,end:/\\\"\\\"\\\"/,contains:[e.BACKSLASH_ESCAPE,r,o,s]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])\\\"/,end:/\\\"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])\\\"/,end:/\\\"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,s]},{begin:/([fF][rR]|[rR][fF]|[fF])\\\"/,end:/\\\"/,contains:[e.BACKSLASH_ESCAPE,o,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l='[0-9](_?[0-9])*',c=`(\\\\\\\\b(${l}))?\\\\\\\\.(${l})|\\\\\\\\b(${l})\\\\\\\\.`,a='\\\\\\\\b|'+a.join('|'),c={className:'number',relevance:0,variants:[{begin:`(\\\\\\\\b(${l})|(${c}))[eE][+-]?(${l})[jJ]?(?=${a})`},{begin:`(${c})[jJ]?`},{begin:`\\\\\\\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${a})`},{begin:`\\\\\\\\b0[bB](_?[01])+[lL]?(?=${a})`},{begin:`\\\\\\\\b0[oO](_?[0-7])+[lL]?(?=${a})`},{begin:`\\\\\\\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${a})`},{begin:`\\\\\\\\b(${l})[jJ](?=${a})`}]},l={className:'comment',begin:n.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\\\\b\\\\B/,endsWithParent:!0}]},a={className:'params',variants:[{className:'',begin:/\\\\(\\\\s*\\\\)/,skip:!0},{begin:/\\\\(/,end:/\\\\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:['self',r,c,o,e.HASH_COMMENT_MODE]}]};return s.contains=[o,c,r],{name:'Python',aliases:['py','gyp','ipython'],unicodeRegex:!0,keywords:i,illegal:/(<\\\\/|->|\\\\?)|=>/,contains:[r,c,{begin:/\\\\bself\\\\b/},{beginKeywords:'if',relevance:0},o,l,e.HASH_COMMENT_MODE,{match:[/\\\\bdef/,/\\\\s+/,t],scope:{1:'keyword',3:'title.function'},contains:[a]},{variants:[{match:[/\\\\bclass/,/\\\\s+/,t,/\\\\s*/,/\\\\(\\\\s*/,t,/\\\\s*\\\\)/]},{match:[/\\\\bclass/,/\\\\s+/,t]}],scope:{1:'keyword',3:'title.class',6:'title.class.inherited'}},{className:'meta',begin:/^[\\\\t ]*@/,end:/(?=#)|$/,contains:[c,a,o]}]}}),n.registerLanguage('python-repl',e=>({aliases:['pycon'],contains:[{className:'meta',starts:{end:/ |$/,starts:{end:'$',subLanguage:'python'}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\\\\.\\\\.\\\\.(?=[ ]|$)/}]}]})),n.registerLanguage('php',e=>{var n=e.regex,t='[a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$]))',a=n.concat('([a-zA-Z_\\\\\\\\x7f-\\\\\\\\xff]',t),t=n.concat('([A-Z]',t),i={scope:'variable',match:'\\\\\\\\$+'+a},r={scope:'subst',variants:[{begin:/\\\\$\\\\w+/},{begin:/\\\\{\\\\$/,end:/\\\\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),o='[ \\\\t\\\\n]',s={scope:'string',variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),s,e.END_SAME_AS_BEGIN({begin:/<<<[ \\\\t]*(\\\\w+)\\\\n/,end:/[ \\\\t]*(\\\\w+)\\\\b/,contains:e.QUOTE_STRING_MODE.contains.concat(r)})]},r={scope:'number',variants:[{begin:'\\\\\\\\b0[bB][01]+(?:_[01]+)*\\\\\\\\b'},{begin:'\\\\\\\\b0[oO][0-7]+(?:_[0-7]+)*\\\\\\\\b'},{begin:'\\\\\\\\b0[xX][\\\\\\\\da-fA-F]+(?:_[\\\\\\\\da-fA-F]+)*\\\\\\\\b'},{begin:'(?:\\\\\\\\b\\\\\\\\d+(?:_\\\\\\\\d+)*(\\\\\\\\.(?:\\\\\\\\d+(?:_\\\\\\\\d+)*))?|\\\\\\\\B\\\\\\\\.\\\\\\\\d+)(?:[eE][+-]?\\\\\\\\d+)?'}],relevance:0},l=['__CLASS__','__DIR__','__FILE__','__FUNCTION__','__COMPILER_HALT_OFFSET__','__LINE__','__METHOD__','__NAMESPACE__','__TRAIT__','die','echo','exit','include','include_once','print','require','require_once','array','abstract','and','as','binary','bool','boolean','break','callable','case','catch','class','clone','const','continue','declare','default','do','double','else','elseif','empty','enddeclare','endfor','endforeach','endif','endswitch','endwhile','enum','eval','extends','final','finally','float','for','foreach','from','global','goto','if','implements','instanceof','insteadof','int','integer','interface','isset','iterable','list','match|0','mixed','new','never','object','or','private','protected','public','readonly','real','return','string','switch','throw','trait','try','unset','use','var','void','while','xor','yield'],c=['Error|0','AppendIterator','ArgumentCountError','ArithmeticError','ArrayIterator','ArrayObject','AssertionError','BadFunctionCallException','BadMethodCallException','CachingIterator','CallbackFilterIterator','CompileError','Countable','DirectoryIterator','DivisionByZeroError','DomainException','EmptyIterator','ErrorException','Exception','FilesystemIterator','FilterIterator','GlobIterator','InfiniteIterator','InvalidArgumentException','IteratorIterator','LengthException','LimitIterator','LogicException','MultipleIterator','NoRewindIterator','OutOfBoundsException','OutOfRangeException','OuterIterator','OverflowException','ParentIterator','ParseError','RangeException','RecursiveArrayIterator','RecursiveCachingIterator','RecursiveCallbackFilterIterator','RecursiveDirectoryIterator','RecursiveFilterIterator','RecursiveIterator','RecursiveIteratorIterator','RecursiveRegexIterator','RecursiveTreeIterator','RegexIterator','RuntimeException','SeekableIterator','SplDoublyLinkedList','SplFileInfo','SplFileObject','SplFixedArray','SplHeap','SplMaxHeap','SplMinHeap','SplObjectStorage','SplObserver','SplPriorityQueue','SplQueue','SplStack','SplSubject','SplTempFileObject','TypeError','UnderflowException','UnexpectedValueException','UnhandledMatchError','ArrayAccess','BackedEnum','Closure','Fiber','Generator','Iterator','IteratorAggregate','Serializable','Stringable','Throwable','Traversable','UnitEnum','WeakReference','WeakMap','Directory','__PHP_Incomplete_Class','parent','php_user_filter','self','static','stdClass'],d={keyword:l,literal:(()=>{const n=[];return['false','null','true'].forEach(e=>{n.push(e),e.toLowerCase()===e?n.push(e.toUpperCase()):n.push(e.toLowerCase())}),n})(),built_in:c},g=e=>e.map(e=>e.replace(/\\\\|\\\\d+$/,'')),u={variants:[{match:[/new/,n.concat(o,'+'),n.concat('(?!',g(c).join('\\\\\\\\b|'),'\\\\\\\\b)'),n.concat(/\\\\\\\\?/,a),n.concat(o,'*',/\\\\(/)],scope:{1:'keyword',4:'title.class'}}]},l={relevance:0,match:[/\\\\b/,n.concat('(?!fn\\\\\\\\b|function\\\\\\\\b|',g(l).join('\\\\\\\\b|'),'|',g(c).join('\\\\\\\\b|'),'\\\\\\\\b)'),a,n.concat(o,'*'),n.lookahead(/(?=\\\\()/)],scope:{3:'title.function.invoke'}},g=n.concat(a,'\\\\\\\\b(?!\\\\\\\\()'),c={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\\\\b)/)),g],scope:{2:'variable.constant'}},{match:[/::/,/class/],scope:{2:'variable.language'}},{match:[t,n.concat('::',n.lookahead(/(?!class\\\\b)/))],scope:{1:'title.class'}},{match:[t,/::/,/class/],scope:{1:'title.class',3:'variable.language'}}]};return{case_insensitive:!1,keywords:d,contains:[e.HASH_COMMENT_MODE,e.COMMENT('//','$'),e.COMMENT('/\\\\\\\\*','\\\\\\\\*/',{contains:[{scope:'doctag',match:'@[A-Za-z]+'}]}),{match:/__halt_compiler\\\\(\\\\);/,keywords:'__halt_compiler',starts:{scope:'comment',end:e.MATCH_NOTHING_RE,contains:[{match:/\\\\?>/,scope:'meta',endsParent:!0}]}},{scope:'meta',variants:[{begin:/<\\\\?php/,relevance:10},{begin:/<\\\\?[=]?/},{begin:/\\\\?>/}]},{scope:'variable.language',match:/\\\\$this\\\\b/},i,l,c,{match:[/const/,/\\\\s/,a,/\\\\s*=/],scope:{1:'keyword',3:'variable.constant'}},u,{scope:'function',relevance:0,beginKeywords:'fn function',end:/[;{]/,excludeEnd:!0,illegal:'[$%\\\\\\\\[]',contains:[{beginKeywords:'use'},e.UNDERSCORE_TITLE_MODE,{begin:'=>',endsParent:!0},{scope:'params',begin:'\\\\\\\\(',end:'\\\\\\\\)',excludeBegin:!0,excludeEnd:!0,keywords:d,contains:['self',i,c,e.C_BLOCK_COMMENT_MODE,s,r]}]},{scope:'class',variants:[{beginKeywords:'enum',illegal:/[($\\\"]/},{beginKeywords:'class interface trait',illegal:/[:($\\\"]/}],relevance:0,end:/\\\\{/,excludeEnd:!0,contains:[{beginKeywords:'extends implements'},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:'namespace',relevance:0,end:';',illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:'title.class'})]},{beginKeywords:'use',relevance:0,end:';',contains:[{match:/\\\\b(as|const|function)\\\\b/,scope:'keyword'},e.UNDERSCORE_TITLE_MODE]},s,r]}}),e=(()=>{'use strict';const s=['a','abbr','address','article','aside','audio','b','blockquote','body','button','canvas','caption','cite','code','dd','del','details','dfn','div','dl','dt','em','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','header','hgroup','html','i','iframe','img','input','ins','kbd','label','legend','li','main','mark','menu','nav','object','ol','p','q','quote','samp','section','span','strong','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','tr','ul','var','video'],o=['any-hover','any-pointer','aspect-ratio','color','color-gamut','color-index','device-aspect-ratio','device-height','device-width','display-mode','forced-colors','grid','height','hover','inverted-colors','monochrome','orientation','overflow-block','overflow-inline','pointer','prefers-color-scheme','prefers-contrast','prefers-reduced-motion','prefers-reduced-transparency','resolution','scan','scripting','update','width','min-width','max-width','min-height','max-height'],l=['active','any-link','blank','checked','current','default','defined','dir','disabled','drop','empty','enabled','first','first-child','first-of-type','fullscreen','future','focus','focus-visible','focus-within','has','host','host-context','hover','indeterminate','in-range','invalid','is','lang','last-child','last-of-type','left','link','local-link','not','nth-child','nth-col','nth-last-child','nth-last-col','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','past','placeholder-shown','read-only','read-write','required','right','root','scope','target','target-within','user-invalid','valid','visited','where'],c=['after','backdrop','before','cue','cue-region','first-letter','first-line','grammar-error','marker','part','placeholder','selection','slotted','spelling-error'],d=['align-content','align-items','align-self','all','animation','animation-delay','animation-direction','animation-duration','animation-fill-mode','animation-iteration-count','animation-name','animation-play-state','animation-timing-function','backface-visibility','background','background-attachment','background-clip','background-color','background-image','background-origin','background-position','background-repeat','background-size','border','border-bottom','border-bottom-color','border-bottom-left-radius','border-bottom-right-radius','border-bottom-style','border-bottom-width','border-collapse','border-color','border-image','border-image-outset','border-image-repeat','border-image-slice','border-image-source','border-image-width','border-left','border-left-color','border-left-style','border-left-width','border-radius','border-right','border-right-color','border-right-style','border-right-width','border-spacing','border-style','border-top','border-top-color','border-top-left-radius','border-top-right-radius','border-top-style','border-top-width','border-width','bottom','box-decoration-break','box-shadow','box-sizing','break-after','break-before','break-inside','caption-side','caret-color','clear','clip','clip-path','clip-rule','color','column-count','column-fill','column-gap','column-rule','column-rule-color','column-rule-style','column-rule-width','column-span','column-width','columns','contain','content','content-visibility','counter-increment','counter-reset','cue','cue-after','cue-before','cursor','direction','display','empty-cells','filter','flex','flex-basis','flex-direction','flex-flow','flex-grow','flex-shrink','flex-wrap','float','flow','font','font-display','font-family','font-feature-settings','font-kerning','font-language-override','font-size','font-size-adjust','font-smoothing','font-stretch','font-style','font-synthesis','font-variant','font-variant-caps','font-variant-east-asian','font-variant-ligatures','font-variant-numeric','font-variant-position','font-variation-settings','font-weight','gap','glyph-orientation-vertical','grid','grid-area','grid-auto-columns','grid-auto-flow','grid-auto-rows','grid-column','grid-column-end','grid-column-start','grid-gap','grid-row','grid-row-end','grid-row-start','grid-template','grid-template-areas','grid-template-columns','grid-template-rows','hanging-punctuation','height','hyphens','icon','image-orientation','image-rendering','image-resolution','ime-mode','isolation','justify-content','left','letter-spacing','line-break','line-height','list-style','list-style-image','list-style-position','list-style-type','margin','margin-bottom','margin-left','margin-right','margin-top','marks','mask','mask-border','mask-border-mode','mask-border-outset','mask-border-repeat','mask-border-slice','mask-border-source','mask-border-width','mask-clip','mask-composite','mask-image','mask-mode','mask-origin','mask-position','mask-repeat','mask-size','mask-type','max-height','max-width','min-height','min-width','mix-blend-mode','nav-down','nav-index','nav-left','nav-right','nav-up','none','normal','object-fit','object-position','opacity','order','orphans','outline','outline-color','outline-offset','outline-style','outline-width','overflow','overflow-wrap','overflow-x','overflow-y','padding','padding-bottom','padding-left','padding-right','padding-top','page-break-after','page-break-before','page-break-inside','pause','pause-after','pause-before','perspective','perspective-origin','pointer-events','position','quotes','resize','rest','rest-after','rest-before','right','row-gap','scroll-margin','scroll-margin-block','scroll-margin-block-end','scroll-margin-block-start','scroll-margin-bottom','scroll-margin-inline','scroll-margin-inline-end','scroll-margin-inline-start','scroll-margin-left','scroll-margin-right','scroll-margin-top','scroll-padding','scroll-padding-block','scroll-padding-block-end','scroll-padding-block-start','scroll-padding-bottom','scroll-padding-inline','scroll-padding-inline-end','scroll-padding-inline-start','scroll-padding-left','scroll-padding-right','scroll-padding-top','scroll-snap-align','scroll-snap-stop','scroll-snap-type','shape-image-threshold','shape-margin','shape-outside','speak','speak-as','src','tab-size','table-layout','text-align','text-align-all','text-align-last','text-combine-upright','text-decoration','text-decoration-color','text-decoration-line','text-decoration-style','text-emphasis','text-emphasis-color','text-emphasis-position','text-emphasis-style','text-indent','text-justify','text-orientation','text-overflow','text-rendering','text-shadow','text-transform','text-underline-position','top','transform','transform-box','transform-origin','transform-style','transition','transition-delay','transition-duration','transition-property','transition-timing-function','unicode-bidi','vertical-align','visibility','voice-balance','voice-duration','voice-family','voice-pitch','voice-range','voice-rate','voice-stress','voice-volume','white-space','widows','width','will-change','word-break','word-spacing','word-wrap','writing-mode','z-index'].reverse();return e=>{var n={IMPORTANT:{scope:'meta',begin:'!important'},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:'number',begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\\\b/},FUNCTION_DISPATCH:{className:'built_in',begin:/[\\\\w-]+(?=\\\\()/},ATTRIBUTE_SELECTOR_MODE:{scope:'selector-attr',begin:/\\\\[/,end:/\\\\]/,illegal:'$',contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:'number',begin:e.NUMBER_RE+'(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?',relevance:0},CSS_VARIABLE:{className:'attr',begin:/--[A-Za-z][A-Za-z0-9_-]*/}},t=c,a=l,i='@[a-z-]+',r={className:'variable',begin:'(\\\\\\\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\\\\\\\b'};return{name:'SCSS',case_insensitive:!0,illegal:'[=/|\\\\']',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n.CSS_NUMBER_MODE,{className:'selector-id',begin:'#[A-Za-z0-9_-]+',relevance:0},{className:'selector-class',begin:'\\\\\\\\.[A-Za-z0-9_-]+',relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:'selector-tag',begin:'\\\\\\\\b('+s.join('|')+')\\\\\\\\b',relevance:0},{className:'selector-pseudo',begin:':('+a.join('|')+')'},{className:'selector-pseudo',begin:':(:)?('+t.join('|')+')'},r,{begin:/\\\\(/,end:/\\\\)/,contains:[n.CSS_NUMBER_MODE]},n.CSS_VARIABLE,{className:'attribute',begin:'\\\\\\\\b('+d.join('|')+')\\\\\\\\b'},{begin:'\\\\\\\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\\\\\\\b'},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,r,n.HEXCOLOR,n.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.IMPORTANT]},{begin:'@(page|font-face)',keywords:{$pattern:i,keyword:'@page @font-face'}},{begin:'@',end:'[{;]',returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:'and or not only',attribute:o.join(' ')},contains:[{begin:i,className:'keyword'},{begin:/[a-z-]+(?=:)/,className:'attribute'},r,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.HEXCOLOR,n.CSS_NUMBER_MODE]},n.FUNCTION_DISPATCH]}}})(),n.registerLanguage('scss',e),e=(()=>{'use strict';return t=>{const e=[{begin:/\\\\^{6}[0-9a-f]{6}/},{begin:/\\\\^{5}[0-9a-f]{5}/},{begin:/\\\\^{4}[0-9a-f]{4}/},{begin:/\\\\^{3}[0-9a-f]{3}/},{begin:/\\\\^{2}[0-9a-f]{2}/},{begin:/\\\\^{2}[\\\\u0000-\\\\u007f]/}],n=[{className:'keyword',begin:/\\\\\\\\/,relevance:0,contains:[{endsParent:!0,begin:t.regex.either(...['(?:NeedsTeXFormat|RequirePackage|GetIdInfo)','Provides(?:Expl)?(?:Package|Class|File)','(?:DeclareOption|ProcessOptions)','(?:documentclass|usepackage|input|include)','makeat(?:letter|other)','ExplSyntax(?:On|Off)','(?:new|renew|provide)?command','(?:re)newenvironment','(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand','(?:New|Renew|Provide|Declare)DocumentEnvironment','(?:(?:e|g|x)?def|let)','(?:begin|end)','(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)','caption','(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)','(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)','(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)','(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)','(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)','(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)'].map(e=>e+'(?![a-zA-Z@:_])'))},{endsParent:!0,begin:RegExp(['(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*','[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}','[qs]__?[a-zA-Z](?:_?[a-zA-Z])+','use(?:_i)?:[a-zA-Z]*','(?:else|fi|or):','(?:if|cs|exp):w','(?:hbox|vbox):n','::[a-zA-Z]_unbraced','::[a-zA-Z:]'].map(e=>e+'(?![a-zA-Z:_])').join('|'))},{endsParent:!0,variants:e},{endsParent:!0,relevance:0,variants:[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}]}]},{className:'params',relevance:0,begin:/#+\\\\d?/},{variants:e},{className:'built_in',relevance:0,begin:/[$&^_]/},{className:'meta',begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:'$',relevance:10},t.COMMENT('%','$',{relevance:0})],a={begin:/\\\\{/,end:/\\\\}/,relevance:0,contains:['self',...n]},i=t.inherit(a,{relevance:0,endsParent:!0,contains:[a,...n]}),r={begin:/\\\\[/,end:/\\\\]/,endsParent:!0,relevance:0,contains:[a,...n]},s={begin:/\\\\s+/,relevance:0},o=[i],l=[r],c=(e,n)=>({contains:[s],starts:{relevance:0,contains:e,starts:n}}),d=(e,n)=>({begin:'\\\\\\\\\\\\\\\\'+e+'(?![a-zA-Z@:_])',keywords:{$pattern:/\\\\\\\\[a-zA-Z]+/,keyword:'\\\\\\\\'+e},relevance:0,contains:[s],starts:n}),g=(e,n)=>t.inherit({begin:'\\\\\\\\\\\\\\\\begin(?=[ \\\\t]*(\\\\\\\\r?\\\\\\\\n[ \\\\t]*)?\\\\\\\\{'+e+'\\\\\\\\})',keywords:{$pattern:/\\\\\\\\[a-zA-Z]+/,keyword:'\\\\\\\\begin'},relevance:0},c(o,n)),u=(e='string')=>t.END_SAME_AS_BEGIN({className:e,begin:/(.|\\\\r?\\\\n)/,end:/(.|\\\\r?\\\\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),b=e=>({className:'string',end:'(?=\\\\\\\\\\\\\\\\end\\\\\\\\{'+e+'\\\\\\\\})'}),m=(e='string')=>({relevance:0,begin:/\\\\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\\\\})/,endsParent:!0,contains:[{begin:/\\\\{/,end:/\\\\}/,relevance:0,contains:['self']}]}]}});return{name:'LaTeX',aliases:['tex'],contains:[...['verb','lstinline'].map(e=>d(e,{contains:[u()]})),d('mint',c(o,{contains:[u()]})),d('mintinline',c(o,{contains:[m(),u()]})),d('url',{contains:[m('link'),m('link')]}),d('hyperref',{contains:[m('link')]}),d('href',c(l,{contains:[m('link')]})),...[].concat(...['','\\\\\\\\*'].map(n=>[g('verbatim'+n,b('verbatim'+n)),g('filecontents'+n,c(o,b('filecontents'+n))),...['','B','L'].map(e=>g(e+'Verbatim'+n,c(l,b(e+'Verbatim'+n))))])),g('minted',c(l,c(o,b('minted')))),...n]}}})(),n.registerLanguage('latex',e),n.registerLanguage('vbnet',e=>{var n=e.regex,t=/\\\\d{1,2}\\\\/\\\\d{1,2}\\\\/\\\\d{4}/,a=/\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}/,i=/(\\\\d|1[012])(:\\\\d+){0,2} *(AM|PM)/,r=/\\\\d{1,2}(:\\\\d{1,2}){1,2}/,a={className:'literal',variants:[{begin:n.concat(/# */,n.either(a,t),/ *#/)},{begin:n.concat(/# */,r,/ *#/)},{begin:n.concat(/# */,i,/ *#/)},{begin:n.concat(/# */,n.either(a,t),/ +/,n.either(i,r),/ *#/)}]},t=e.COMMENT(/'''/,/$/,{contains:[{className:'doctag',begin:/<\\\\/?/,end:/>/}]}),n=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\\\\t ]|^)REM(?=\\\\s)/}]});return{name:'Visual Basic .NET',aliases:['vb'],case_insensitive:!0,classNameAliases:{label:'symbol'},keywords:{keyword:'addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield',built_in:'addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort',type:'boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort',literal:'true false nothing'},illegal:'//|\\\\\\\\{|\\\\\\\\}|endif|gosub|variant|wend|^\\\\\\\\$ ',contains:[{className:'string',begin:/\\\"(\\\"\\\"|[^/n])\\\"C\\\\b/},{className:'string',begin:/\\\"/,end:/\\\"/,illegal:/\\\\n/,contains:[{begin:/\\\"\\\"/}]},a,{className:'number',relevance:0,variants:[{begin:/\\\\b\\\\d[\\\\d_]*((\\\\.[\\\\d_]+(E[+-]?[\\\\d_]+)?)|(E[+-]?[\\\\d_]+))[RFD@!#]?/},{begin:/\\\\b\\\\d[\\\\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\\\\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:'label',begin:/^\\\\w+:/},t,n,{className:'meta',begin:/[\\\\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\\\\b/,end:/$/,keywords:{keyword:'const disable else elseif enable end externalsource if region then'},contains:[n]}]}}),n.registerLanguage('diff',e=>{e=e.regex;return{name:'Diff',aliases:['patch'],contains:[{className:'meta',relevance:10,match:e.either(/^@@ +-\\\\d+,\\\\d+ +\\\\+\\\\d+,\\\\d+ +@@/,/^\\\\*\\\\*\\\\* +\\\\d+,\\\\d+ +\\\\*\\\\*\\\\*\\\\*$/,/^--- +\\\\d+,\\\\d+ +----$/)},{className:'comment',variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\\\\*{3} /,/^\\\\+{3}/,/^diff --git/),end:/$/},{match:/^\\\\*{15}$/}]},{className:'addition',begin:/^\\\\+/,end:/$/},{className:'deletion',begin:/^-/,end:/$/},{className:'addition',begin:/^!/,end:/$/}]}}),n.registerLanguage('makefile',e=>{var n={className:'variable',variants:[{begin:'\\\\\\\\$\\\\\\\\('+e.UNDERSCORE_IDENT_RE+'\\\\\\\\)',contains:[e.BACKSLASH_ESCAPE]},{begin:/\\\\$[@%<?\\\\^\\\\+\\\\*]/}]},t={className:'string',begin:/\\\"/,end:/\\\"/,contains:[e.BACKSLASH_ESCAPE,n]},a={begin:'^'+e.UNDERSCORE_IDENT_RE+'\\\\\\\\s*(?=[:+?]?=)'};return{name:'Makefile',aliases:['mk','mak','make'],keywords:{$pattern:/[\\\\w-]+/,keyword:'define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath'},contains:[e.HASH_COMMENT_MODE,n,t,{className:'variable',begin:/\\\\$\\\\([\\\\w-]+\\\\s/,end:/\\\\)/,keywords:{built_in:'subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value'},contains:[n]},a,{className:'meta',begin:/^\\\\.PHONY:/,end:/$/,keywords:{$pattern:/[\\\\.\\\\w]+/,keyword:'.PHONY'}},{className:'section',begin:/^[^\\\\s]+:/,end:/$/,contains:[n]}]}}),n.registerLanguage('lua',e=>{var n='\\\\\\\\[=*\\\\\\\\[',t='\\\\\\\\]=*\\\\\\\\]',a={begin:n,end:t,contains:['self']},i=[e.COMMENT('--(?!\\\\\\\\[=*\\\\\\\\[)','$'),e.COMMENT('--\\\\\\\\[=*\\\\\\\\[',t,{contains:[a],relevance:10})];return{name:'Lua',keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:'true false nil',keyword:'and break do else elseif end for goto if in local not or repeat return then until while',built_in:'_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove'},contains:i.concat([{className:'function',beginKeywords:'function',end:'\\\\\\\\)',contains:[e.inherit(e.TITLE_MODE,{begin:'([_a-zA-Z]\\\\\\\\w*\\\\\\\\.)*([_a-zA-Z]\\\\\\\\w*:)?[_a-zA-Z]\\\\\\\\w*'}),{className:'params',begin:'\\\\\\\\(',endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:'string',begin:n,end:t,contains:[a],relevance:5}])}}),n.registerLanguage('csharp',e=>{var n={keyword:['abstract','as','base','break','case','catch','class','const','continue','do','else','event','explicit','extern','finally','fixed','for','foreach','goto','if','implicit','in','interface','internal','is','lock','namespace','new','operator','out','override','params','private','protected','public','readonly','record','ref','return','sealed','sizeof','stackalloc','static','struct','switch','this','throw','try','typeof','unchecked','unsafe','using','virtual','void','volatile','while'].concat(['add','alias','and','ascending','async','await','by','descending','equals','from','get','global','group','init','into','join','let','nameof','not','notnull','on','or','orderby','partial','remove','select','set','unmanaged','value|0','var','when','where','with','yield']),built_in:['bool','byte','char','decimal','delegate','double','dynamic','enum','float','int','long','nint','nuint','object','sbyte','short','string','ulong','uint','ushort'],literal:['default','false','null','true']},t=e.inherit(e.TITLE_MODE,{begin:'[a-zA-Z](\\\\\\\\.?\\\\\\\\w)*'}),a={className:'number',variants:[{begin:'\\\\\\\\b(0b[01\\\\']+)'},{begin:'(-?)\\\\\\\\b([\\\\\\\\d\\\\']+(\\\\\\\\.[\\\\\\\\d\\\\']*)?|\\\\\\\\.[\\\\\\\\d\\\\']+)(u|U|l|L|ul|UL|f|F|b|B)'},{begin:'(-?)(\\\\\\\\b0[xX][a-fA-F0-9\\\\']+|(\\\\\\\\b[\\\\\\\\d\\\\']+(\\\\\\\\.[\\\\\\\\d\\\\']*)?|\\\\\\\\.[\\\\\\\\d\\\\']+)([eE][-+]?[\\\\\\\\d\\\\']+)?)'}],relevance:0},i={className:'string',begin:'@\\\"',end:'\\\"',contains:[{begin:'\\\"\\\"'}]},r=e.inherit(i,{illegal:/\\\\n/}),s={className:'subst',begin:/\\\\{/,end:/\\\\}/,keywords:n},o=e.inherit(s,{illegal:/\\\\n/}),l={className:'string',begin:/\\\\$\\\"/,end:'\\\"',illegal:/\\\\n/,contains:[{begin:/\\\\{\\\\{/},{begin:/\\\\}\\\\}/},e.BACKSLASH_ESCAPE,o]},c={className:'string',begin:/\\\\$@\\\"/,end:'\\\"',contains:[{begin:/\\\\{\\\\{/},{begin:/\\\\}\\\\}/},{begin:'\\\"\\\"'},s]},d=e.inherit(c,{illegal:/\\\\n/,contains:[{begin:/\\\\{\\\\{/},{begin:/\\\\}\\\\}/},{begin:'\\\"\\\"'},o]}),s=(s.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],o.contains=[d,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\\\\n/})],{variants:[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}),o={begin:'<',end:'>',contains:[{beginKeywords:'in out'},t]},d=e.IDENT_RE+'(<'+e.IDENT_RE+'(\\\\\\\\s*,\\\\\\\\s*'+e.IDENT_RE+')*>)?(\\\\\\\\[\\\\\\\\])?',r={begin:'@'+e.IDENT_RE,relevance:0};return{name:'C#',aliases:['cs','c#'],keywords:n,illegal:/::/,contains:[e.COMMENT('///','$',{returnBegin:!0,contains:[{className:'doctag',variants:[{begin:'///',relevance:0},{begin:'\\\\x3c!--|--\\\\x3e'},{begin:'</?',end:'>'}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:'meta',begin:'#',end:'$',keywords:{keyword:'if else elif endif define undef warning error line region endregion pragma checksum'}},s,a,{beginKeywords:'class interface',relevance:0,end:/[{;=]/,illegal:/[^\\\\s:,]/,contains:[{beginKeywords:'where class'},t,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:'namespace',relevance:0,end:/[{;=]/,illegal:/[^\\\\s:]/,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:'record',relevance:0,end:/[{;=]/,illegal:/[^\\\\s:]/,contains:[t,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:'meta',begin:'^\\\\\\\\s*\\\\\\\\[(?=[\\\\\\\\w])',excludeBegin:!0,end:'\\\\\\\\]',excludeEnd:!0,contains:[{className:'string',begin:/\\\"/,end:/\\\"/}]},{beginKeywords:'new return throw await else',relevance:0},{className:'function',begin:'('+d+'\\\\\\\\s+)+'+e.IDENT_RE+'\\\\\\\\s*(<[^=]+>\\\\\\\\s*)?\\\\\\\\(',returnBegin:!0,end:/\\\\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{beginKeywords:'public private protected static internal protected abstract async extern override unsafe virtual new sealed partial',relevance:0},{begin:e.IDENT_RE+'\\\\\\\\s*(<[^=]+>\\\\\\\\s*)?\\\\\\\\(',returnBegin:!0,contains:[e.TITLE_MODE,o],relevance:0},{match:/\\\\(\\\\)/},{className:'params',begin:/\\\\(/,end:/\\\\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,contains:[s,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r]}}),n.registerLanguage('json',e=>({name:'JSON',contains:[{className:'attr',begin:/\\\"(\\\\\\\\.|[^\\\\\\\\\\\"\\\\r\\\\n])*\\\"(?=\\\\s*:)/,relevance:1.01},{match:/[{}[\\\\],:]/,className:'punctuation',relevance:0},e.QUOTE_STRING_MODE,{beginKeywords:'true false null'},e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:'\\\\\\\\S'})),n.registerLanguage('nginx',e=>{var n=e.regex,t={className:'variable',variants:[{begin:/\\\\$\\\\d+/},{begin:/\\\\$\\\\{\\\\w+\\\\}/},{begin:n.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},t={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\\\\/dev\\\\/poll/,literal:['on','off','yes','no','true','false','none','blocked','debug','info','notice','warn','error','crit','select','break','last','permanent','redirect','kqueue','rtsig','epoll','poll','/dev/poll']},relevance:0,illegal:'=>',contains:[e.HASH_COMMENT_MODE,{className:'string',contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/\\\"/,end:/\\\"/},{begin:/'/,end:/'/}]},{begin:'([a-z]+):/',end:'\\\\\\\\s',endsWithParent:!0,excludeEnd:!0,contains:[t]},{className:'regexp',contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:'\\\\\\\\s\\\\\\\\^',end:'\\\\\\\\s|\\\\\\\\{|;',returnEnd:!0},{begin:'~\\\\\\\\*?\\\\\\\\s+',end:'\\\\\\\\s|\\\\\\\\{|;',returnEnd:!0},{begin:'\\\\\\\\*(\\\\\\\\.[a-z\\\\\\\\-]+)+'},{begin:'([a-z\\\\\\\\-]+\\\\\\\\.)+\\\\\\\\*'}]},{className:'number',begin:'\\\\\\\\b\\\\\\\\d{1,3}\\\\\\\\.\\\\\\\\d{1,3}\\\\\\\\.\\\\\\\\d{1,3}\\\\\\\\.\\\\\\\\d{1,3}(:\\\\\\\\d{1,5})?\\\\\\\\b'},{className:'number',begin:'\\\\\\\\b\\\\\\\\d+[kKmMgGdshdwy]?\\\\\\\\b',relevance:0},t]};return{name:'Nginx config',aliases:['nginxconf'],contains:[e.HASH_COMMENT_MODE,{beginKeywords:'upstream location',end:/;|\\\\{/,contains:t.contains,keywords:{section:'upstream location'}},{className:'section',begin:n.concat(e.UNDERSCORE_IDENT_RE+n.lookahead(/\\\\s+\\\\{/)),relevance:0},{begin:n.lookahead(e.UNDERSCORE_IDENT_RE+'\\\\\\\\s'),end:';|\\\\\\\\{',contains:[{className:'attribute',begin:e.UNDERSCORE_IDENT_RE,starts:t}],relevance:0}],illegal:'[^\\\\\\\\s\\\\\\\\}\\\\\\\\{]'}}),n.registerLanguage('ruby',e=>{var n=e.regex,t='([a-zA-Z_]\\\\\\\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\\\\\\\*\\\\\\\\*|[-/+%^&*~`|]|\\\\\\\\[\\\\\\\\]=?)',a={keyword:'and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__',built_in:'proc lambda',literal:'true false nil'},i={className:'doctag',begin:'@[A-Za-z]+'},r={begin:'#<',end:'>'},i=[e.COMMENT('#','$',{contains:[i]}),e.COMMENT('^=begin','^=end',{contains:[i],relevance:10}),e.COMMENT('^__END__','\\\\\\\\n$')],s={className:'subst',begin:/#\\\\{/,end:/\\\\}/,keywords:a},o={className:'string',contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/\\\"/,end:/\\\"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\\\\(/,end:/\\\\)/},{begin:/%[qQwWx]?\\\\[/,end:/\\\\]/},{begin:/%[qQwWx]?\\\\{/,end:/\\\\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\\\\//,end:/\\\\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\\\\|/,end:/\\\\|/},{begin:/\\\\B\\\\?(\\\\\\\\\\\\d{1,3})/},{begin:/\\\\B\\\\?(\\\\\\\\x[A-Fa-f0-9]{1,2})/},{begin:/\\\\B\\\\?(\\\\\\\\u\\\\{?[A-Fa-f0-9]{1,6}\\\\}?)/},{begin:/\\\\B\\\\?(\\\\\\\\M-\\\\\\\\C-|\\\\\\\\M-\\\\\\\\c|\\\\\\\\c\\\\\\\\M-|\\\\\\\\M-|\\\\\\\\C-\\\\\\\\M-)[\\\\x20-\\\\x7e]/},{begin:/\\\\B\\\\?\\\\\\\\(c|C-)[\\\\x20-\\\\x7e]/},{begin:/\\\\B\\\\?\\\\\\\\?\\\\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\\\\w+)(?=\\\\W)[^\\\\n]*\\\\n(?:[^\\\\n]*\\\\n)*?\\\\s*\\\\1\\\\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\\\\w+)/,end:/(\\\\w+)/,contains:[e.BACKSLASH_ESCAPE,s]})]}]},l='[0-9](_?[0-9])*',l={className:'number',relevance:0,variants:[{begin:`\\\\\\\\b([1-9](_?[0-9])*|0)(\\\\\\\\.(${l}))?([eE][+-]?(${l})|r)?i?\\\\\\\\b`},{begin:'\\\\\\\\b0[dD][0-9](_?[0-9])*r?i?\\\\\\\\b'},{begin:'\\\\\\\\b0[bB][0-1](_?[0-1])*r?i?\\\\\\\\b'},{begin:'\\\\\\\\b0[oO][0-7](_?[0-7])*r?i?\\\\\\\\b'},{begin:'\\\\\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\\\\\\\b'},{begin:'\\\\\\\\b0(_?[0-7])+r?i?\\\\\\\\b'}]},c={className:'params',begin:'\\\\\\\\(',end:'\\\\\\\\)',endsParent:!0,keywords:a},n=[o,{className:'class',beginKeywords:'class module',end:'$|;',illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:'[A-Za-z_]\\\\\\\\w*(::\\\\\\\\w+)*(\\\\\\\\?|!)?'}),{begin:'<\\\\\\\\s*',contains:[{begin:'('+e.IDENT_RE+'::)?'+e.IDENT_RE,relevance:0}]}].concat(i)},{className:'function',begin:n.concat(/def\\\\s+/,n.lookahead(t+'\\\\\\\\s*(\\\\\\\\(|;|$)')),relevance:0,keywords:'def',end:'$|;',contains:[e.inherit(e.TITLE_MODE,{begin:t}),c].concat(i)},{begin:e.IDENT_RE+'::'},{className:'symbol',begin:e.UNDERSCORE_IDENT_RE+'(!|\\\\\\\\?)?:',relevance:0},{className:'symbol',begin:':(?!\\\\\\\\s)',contains:[o,{begin:t}],relevance:0},l,{className:'variable',begin:'(\\\\\\\\$\\\\\\\\W)|((\\\\\\\\$|@@?)(\\\\\\\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?\\\\'])'},{className:'params',begin:/\\\\|/,end:/\\\\|/,relevance:0,keywords:a},{begin:'('+e.RE_STARTERS_RE+'|unless)\\\\\\\\s*',keywords:'unless',contains:[{className:'regexp',contains:[e.BACKSLASH_ESCAPE,s],illegal:/\\\\n/,variants:[{begin:'/',end:'/[a-z]*'},{begin:/%r\\\\{/,end:/\\\\}[a-z]*/},{begin:'%r\\\\\\\\(',end:'\\\\\\\\)[a-z]*'},{begin:'%r!',end:'![a-z]*'},{begin:'%r\\\\\\\\[',end:'\\\\\\\\][a-z]*'}]}].concat(r,i),relevance:0}].concat(r,i),o=(s.contains=n,[{begin:/^\\\\s*=>/,starts:{end:'$',contains:c.contains=n}},{className:'meta',begin:'^([>?]>|[\\\\\\\\w#]+\\\\\\\\(\\\\\\\\w+\\\\\\\\):\\\\\\\\d+:\\\\\\\\d+>|(\\\\\\\\w+-)?\\\\\\\\d+\\\\\\\\.\\\\\\\\d+\\\\\\\\.\\\\\\\\d+(p\\\\\\\\d+)?[^\\\\\\\\d][^>]+>)(?=[ ])',starts:{end:'$',contains:n}}]);return i.unshift(r),{name:'Ruby',aliases:['rb','gemspec','podspec','thor','irb'],keywords:a,illegal:/\\\\/\\\\*/,contains:[e.SHEBANG({binary:'ruby'})].concat(o).concat(i).concat(n)}}),n.registerLanguage('yaml',e=>{var n='true false yes no null',t='[\\\\\\\\w#;/?:@&=+$,.~*\\\\'()[\\\\\\\\]]+',a={className:'string',relevance:0,variants:[{begin:/'/,end:/'/},{begin:/\\\"/,end:/\\\"/},{begin:/\\\\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:'template-variable',variants:[{begin:/\\\\{\\\\{/,end:/\\\\}\\\\}/},{begin:/%\\\\{/,end:/\\\\}/}]}]},i=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/\\\"/,end:/\\\"/},{begin:/[^\\\\s,{}[\\\\]]+/}]}),r={end:',',endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},t=[{className:'attr',variants:[{begin:'\\\\\\\\w[\\\\\\\\w :\\\\\\\\/.-]*:(?=[ \\\\t]|$)'},{begin:'\\\"\\\\\\\\w[\\\\\\\\w :\\\\\\\\/.-]*\\\":(?=[ \\\\t]|$)'},{begin:'\\\\'\\\\\\\\w[\\\\\\\\w :\\\\\\\\/.-]*\\\\':(?=[ \\\\t]|$)'}]},{className:'meta',begin:'^---\\\\\\\\s*$',relevance:10},{className:'string',begin:'[\\\\\\\\|>]([1-9]?[+-])?[ ]*\\\\\\\\n( +)[^ ][^\\\\\\\\n]*\\\\\\\\n(\\\\\\\\2[^\\\\\\\\n]+\\\\\\\\n?)*'},{begin:'<%[%=-]?',end:'[%-]?%>',subLanguage:'ruby',excludeBegin:!0,excludeEnd:!0,relevance:0},{className:'type',begin:'!\\\\\\\\w+!'+t},{className:'type',begin:'!<'+t+'>'},{className:'type',begin:'!'+t},{className:'type',begin:'!!'+t},{className:'meta',begin:'&'+e.UNDERSCORE_IDENT_RE+'$'},{className:'meta',begin:'\\\\\\\\*'+e.UNDERSCORE_IDENT_RE+'$'},{className:'bullet',begin:'-(?=[ ]|$)',relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{className:'number',begin:'\\\\\\\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\\\\\\\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\\\\\\\.[0-9]*)?([ \\\\\\\\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\\\\\\\b'},{className:'number',begin:e.C_NUMBER_RE+'\\\\\\\\b',relevance:0},{begin:/\\\\{/,end:/\\\\}/,contains:[r],illegal:'\\\\\\\\n',relevance:0},{begin:'\\\\\\\\[',end:'\\\\\\\\]',contains:[r],illegal:'\\\\\\\\n',relevance:0},a],n=[...t];return n.pop(),n.push(i),r.contains=n,{name:'YAML',case_insensitive:!0,aliases:['yml'],contains:t}}),n.registerLanguage('php-template',e=>({name:'PHP template',subLanguage:'xml',contains:[{begin:/<\\\\?(php|=)?/,end:/\\\\?>/,subLanguage:'php',contains:[{begin:'/\\\\\\\\*',end:'\\\\\\\\*/',skip:!0},{begin:'b\\\"',end:'\\\"',skip:!0},{begin:'b\\\\'',end:'\\\\'',skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]})),n.registerLanguage('sql',e=>{const n=e.regex,t=e.COMMENT('--','$'),a=['true','false','unknown'],i=['bigint','binary','blob','boolean','char','character','clob','date','dec','decfloat','decimal','float','int','integer','interval','nchar','nclob','national','numeric','real','row','smallint','time','timestamp','varchar','varying','varbinary'],r=['abs','acos','array_agg','asin','atan','avg','cast','ceil','ceiling','coalesce','corr','cos','cosh','count','covar_pop','covar_samp','cume_dist','dense_rank','deref','element','exp','extract','first_value','floor','json_array','json_arrayagg','json_exists','json_object','json_objectagg','json_query','json_table','json_table_primitive','json_value','lag','last_value','lead','listagg','ln','log','log10','lower','max','min','mod','nth_value','ntile','nullif','percent_rank','percentile_cont','percentile_disc','position','position_regex','power','rank','regr_avgx','regr_avgy','regr_count','regr_intercept','regr_r2','regr_slope','regr_sxx','regr_sxy','regr_syy','row_number','sin','sinh','sqrt','stddev_pop','stddev_samp','substring','substring_regex','sum','tan','tanh','translate','translate_regex','treat','trim','trim_array','unnest','upper','value_of','var_pop','var_samp','width_bucket'],s=['create table','insert into','primary key','foreign key','not null','alter table','add constraint','grouping sets','on overflow','character set','respect nulls','ignore nulls','nulls first','nulls last','depth first','breadth first'],o=r,l=['abs','acos','all','allocate','alter','and','any','are','array','array_agg','array_max_cardinality','as','asensitive','asin','asymmetric','at','atan','atomic','authorization','avg','begin','begin_frame','begin_partition','between','bigint','binary','blob','boolean','both','by','call','called','cardinality','cascaded','case','cast','ceil','ceiling','char','char_length','character','character_length','check','classifier','clob','close','coalesce','collate','collect','column','commit','condition','connect','constraint','contains','convert','copy','corr','corresponding','cos','cosh','count','covar_pop','covar_samp','create','cross','cube','cume_dist','current','current_catalog','current_date','current_default_transform_group','current_path','current_role','current_row','current_schema','current_time','current_timestamp','current_path','current_role','current_transform_group_for_type','current_user','cursor','cycle','date','day','deallocate','dec','decimal','decfloat','declare','default','define','delete','dense_rank','deref','describe','deterministic','disconnect','distinct','double','drop','dynamic','each','element','else','empty','end','end_frame','end_partition','end-exec','equals','escape','every','except','exec','execute','exists','exp','external','extract','false','fetch','filter','first_value','float','floor','for','foreign','frame_row','free','from','full','function','fusion','get','global','grant','group','grouping','groups','having','hold','hour','identity','in','indicator','initial','inner','inout','insensitive','insert','int','integer','intersect','intersection','interval','into','is','join','json_array','json_arrayagg','json_exists','json_object','json_objectagg','json_query','json_table','json_table_primitive','json_value','lag','language','large','last_value','lateral','lead','leading','left','like','like_regex','listagg','ln','local','localtime','localtimestamp','log','log10','lower','match','match_number','match_recognize','matches','max','member','merge','method','min','minute','mod','modifies','module','month','multiset','national','natural','nchar','nclob','new','no','none','normalize','not','nth_value','ntile','null','nullif','numeric','octet_length','occurrences_regex','of','offset','old','omit','on','one','only','open','or','order','out','outer','over','overlaps','overlay','parameter','partition','pattern','per','percent','percent_rank','percentile_cont','percentile_disc','period','portion','position','position_regex','power','precedes','precision','prepare','primary','procedure','ptf','range','rank','reads','real','recursive','ref','references','referencing','regr_avgx','regr_avgy','regr_count','regr_intercept','regr_r2','regr_slope','regr_sxx','regr_sxy','regr_syy','release','result','return','returns','revoke','right','rollback','rollup','row','row_number','rows','running','savepoint','scope','scroll','search','second','seek','select','sensitive','session_user','set','show','similar','sin','sinh','skip','smallint','some','specific','specifictype','sql','sqlexception','sqlstate','sqlwarning','sqrt','start','static','stddev_pop','stddev_samp','submultiset','subset','substring','substring_regex','succeeds','sum','symmetric','system','system_time','system_user','table','tablesample','tan','tanh','then','time','timestamp','timezone_hour','timezone_minute','to','trailing','translate','translate_regex','translation','treat','trigger','trim','trim_array','true','truncate','uescape','union','unique','unknown','unnest','update','upper','user','using','value','values','value_of','var_pop','var_samp','varbinary','varchar','varying','versioning','when','whenever','where','width_bucket','window','with','within','without','year','add','asc','collation','desc','final','first','last','view'].filter(e=>!r.includes(e)),c={begin:n.concat(/\\\\b/,n.either(...o),/\\\\s*\\\\(/),relevance:0,keywords:{built_in:o}};return{name:'SQL',case_insensitive:!0,illegal:/[{}]|<\\\\//,keywords:{$pattern:/\\\\b[\\\\w\\\\.]+/,keyword:(({exceptions:n,when:e})=>{const t=e;return n=n||[],l.map(e=>!e.match(/\\\\|\\\\d+$/)&&!n.includes(e)&&t(e)?e+'|0':e)})({when:e=>e.length<3}),literal:a,type:i,built_in:['current_catalog','current_date','current_default_transform_group','current_path','current_role','current_schema','current_transform_group_for_type','current_user','session_user','system_time','system_user','current_time','localtime','current_timestamp','localtimestamp']},contains:[{begin:n.either(...s),relevance:0,keywords:{$pattern:/[\\\\w\\\\.]+/,keyword:l.concat(s),literal:a,type:i}},{className:'type',begin:n.either('double precision','large object','with timezone','without timezone')},c,{className:'variable',begin:/@[a-z0-9]+/},{className:'string',variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/\\\"/,end:/\\\"/,contains:[{begin:/\\\"\\\"/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:'operator',begin:/[-+*/=%^~]|&&?|\\\\|\\\\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}),n.registerLanguage('objectivec',e=>{var n=/[a-zA-Z@][a-zA-Z0-9_]*/,t={$pattern:n,keyword:['@interface','@class','@protocol','@implementation']};return{name:'Objective-C',aliases:['mm','objc','obj-c','obj-c++','objective-c++'],keywords:{$pattern:n,keyword:['int','float','while','char','export','sizeof','typedef','const','struct','for','union','unsigned','long','volatile','static','bool','mutable','if','do','return','goto','void','enum','else','break','extern','asm','case','short','default','double','register','explicit','signed','typename','this','switch','continue','wchar_t','inline','readonly','assign','readwrite','self','@synchronized','id','typeof','nonatomic','super','unichar','IBOutlet','IBAction','strong','weak','copy','in','out','inout','bycopy','byref','oneway','__strong','__weak','__block','__autoreleasing','@private','@protected','@public','@try','@property','@end','@throw','@catch','@finally','@autoreleasepool','@synthesize','@dynamic','@selector','@optional','@required','@encode','@package','@import','@defs','@compatibility_alias','__bridge','__bridge_transfer','__bridge_retained','__bridge_retain','__covariant','__contravariant','__kindof','_Nonnull','_Nullable','_Null_unspecified','__FUNCTION__','__PRETTY_FUNCTION__','__attribute__','getter','setter','retain','unsafe_unretained','nonnull','nullable','null_unspecified','null_resettable','class','instancetype','NS_DESIGNATED_INITIALIZER','NS_UNAVAILABLE','NS_REQUIRES_SUPER','NS_RETURNS_INNER_POINTER','NS_INLINE','NS_AVAILABLE','NS_DEPRECATED','NS_ENUM','NS_OPTIONS','NS_SWIFT_UNAVAILABLE','NS_ASSUME_NONNULL_BEGIN','NS_ASSUME_NONNULL_END','NS_REFINED_FOR_SWIFT','NS_SWIFT_NAME','NS_SWIFT_NOTHROW','NS_DURING','NS_HANDLER','NS_ENDHANDLER','NS_VALUERETURN','NS_VOIDRETURN'],literal:['false','true','FALSE','TRUE','nil','YES','NO','NULL'],built_in:['BOOL','dispatch_once_t','dispatch_queue_t','dispatch_sync','dispatch_async','dispatch_once']},illegal:'</',contains:[{className:'built_in',begin:'\\\\\\\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\\\\\\\w+'},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:'string',variants:[{begin:'@\\\"',end:'\\\"',illegal:'\\\\\\\\n',contains:[e.BACKSLASH_ESCAPE]}]},{className:'meta',begin:/#\\\\s*[a-z]+\\\\b/,end:/$/,keywords:{keyword:'if else elif endif define undef warning error line pragma ifdef ifndef include'},contains:[{begin:/\\\\\\\\\\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:'string'}),{className:'string',begin:/<.*?>/,end:/$/,illegal:'\\\\\\\\n'},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:'class',begin:'('+t.keyword.join('|')+')\\\\\\\\b',end:/(\\\\{|$)/,excludeEnd:!0,keywords:t,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:'\\\\\\\\.'+e.UNDERSCORE_IDENT_RE,relevance:0}]}}),n.registerLanguage('cpp',e=>{var n=e.regex,t=e.COMMENT('//','$',{contains:[{begin:/\\\\\\\\\\\\n/}]}),a='[a-zA-Z_]\\\\\\\\w*::',i='(?!struct)(decltype\\\\\\\\(auto\\\\\\\\)|'+n.optional(a)+'[a-zA-Z_]\\\\\\\\w*'+n.optional('<[^<>]+>')+')',r={className:'type',begin:'\\\\\\\\b[a-z\\\\\\\\d_]*_t\\\\\\\\b'},s={className:'string',variants:[{begin:'(u8?|U|L)?\\\"',end:'\\\"',illegal:'\\\\\\\\n',contains:[e.BACKSLASH_ESCAPE]},{begin:'(u8?|U|L)?\\\\'(\\\\\\\\\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\\\\\S)|.)',end:'\\\\'',illegal:'.'},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R\\\"([^()\\\\\\\\ ]{0,16})\\\\(/,end:/\\\\)([^()\\\\\\\\ ]{0,16})\\\"/})]},o={className:'number',variants:[{begin:'\\\\\\\\b(0b[01\\\\']+)'},{begin:'(-?)\\\\\\\\b([\\\\\\\\d\\\\']+(\\\\\\\\.[\\\\\\\\d\\\\']*)?|\\\\\\\\.[\\\\\\\\d\\\\']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)'},{begin:'(-?)(\\\\\\\\b0[xX][a-fA-F0-9\\\\']+|(\\\\\\\\b[\\\\\\\\d\\\\']+(\\\\\\\\.[\\\\\\\\d\\\\']*)?|\\\\\\\\.[\\\\\\\\d\\\\']+)([eE][-+]?[\\\\\\\\d\\\\']+)?)'}],relevance:0},l={className:'meta',begin:/#\\\\s*[a-z]+\\\\b/,end:/$/,keywords:{keyword:'if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include'},contains:[{begin:/\\\\\\\\\\\\n/,relevance:0},e.inherit(s,{className:'string'}),{className:'string',begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},c={className:'title',begin:n.optional(a)+e.IDENT_RE,relevance:0},a=n.optional(a)+e.IDENT_RE+'\\\\\\\\s*\\\\\\\\(',d={type:['bool','char','char16_t','char32_t','char8_t','double','float','int','long','short','void','wchar_t','unsigned','signed','const','static'],keyword:['alignas','alignof','and','and_eq','asm','atomic_cancel','atomic_commit','atomic_noexcept','auto','bitand','bitor','break','case','catch','class','co_await','co_return','co_yield','compl','concept','const_cast|10','consteval','constexpr','constinit','continue','decltype','default','delete','do','dynamic_cast|10','else','enum','explicit','export','extern','false','final','for','friend','goto','if','import','inline','module','mutable','namespace','new','noexcept','not','not_eq','nullptr','operator','or','or_eq','override','private','protected','public','reflexpr','register','reinterpret_cast|10','requires','return','sizeof','static_assert','static_cast|10','struct','switch','synchronized','template','this','thread_local','throw','transaction_safe','transaction_safe_dynamic','true','try','typedef','typeid','typename','union','using','virtual','volatile','while','xor','xor_eq'],literal:['NULL','false','nullopt','nullptr','true'],built_in:['_Pragma'],_type_hints:['any','auto_ptr','barrier','binary_semaphore','bitset','complex','condition_variable','condition_variable_any','counting_semaphore','deque','false_type','future','imaginary','initializer_list','istringstream','jthread','latch','lock_guard','multimap','multiset','mutex','optional','ostringstream','packaged_task','pair','promise','priority_queue','queue','recursive_mutex','recursive_timed_mutex','scoped_lock','set','shared_future','shared_lock','shared_mutex','shared_timed_mutex','shared_ptr','stack','string_view','stringstream','timed_mutex','thread','true_type','tuple','unique_lock','unique_ptr','unordered_map','unordered_multimap','unordered_multiset','unordered_set','variant','vector','weak_ptr','wstring','wstring_view']},n={className:'function.dispatch',relevance:0,keywords:{_hint:['abort','abs','acos','apply','as_const','asin','atan','atan2','calloc','ceil','cerr','cin','clog','cos','cosh','cout','declval','endl','exchange','exit','exp','fabs','floor','fmod','forward','fprintf','fputs','free','frexp','fscanf','future','invoke','isalnum','isalpha','iscntrl','isdigit','isgraph','islower','isprint','ispunct','isspace','isupper','isxdigit','labs','launder','ldexp','log','log10','make_pair','make_shared','make_shared_for_overwrite','make_tuple','make_unique','malloc','memchr','memcmp','memcpy','memset','modf','move','pow','printf','putchar','puts','realloc','scanf','sin','sinh','snprintf','sprintf','sqrt','sscanf','std','stderr','stdin','stdout','strcat','strchr','strcmp','strcpy','strcspn','strlen','strncat','strncmp','strncpy','strpbrk','strrchr','strspn','strstr','swap','tan','tanh','terminate','to_underlying','tolower','toupper','vfprintf','visit','vprintf','vsprintf']},begin:n.concat(/\\\\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\\\\s*\\\\(/))},g=[n,l,r,t,e.C_BLOCK_COMMENT_MODE,o,s],u={variants:[{begin:/=/,end:/;/},{begin:/\\\\(/,end:/\\\\)/},{beginKeywords:'new throw return else',end:/;/}],keywords:d,contains:g.concat([{begin:/\\\\(/,end:/\\\\)/,keywords:d,contains:g.concat(['self']),relevance:0}]),relevance:0},i={className:'function',begin:'('+i+'[\\\\\\\\*&\\\\\\\\s]+)+'+a,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\\\\w\\\\s\\\\*&:<>.]/,contains:[{begin:'decltype\\\\\\\\(auto\\\\\\\\)',keywords:d,relevance:0},{begin:a,returnBegin:!0,contains:[c],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,o]},{relevance:0,match:/,/},{className:'params',begin:/\\\\(/,end:/\\\\)/,keywords:d,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,s,o,r,{begin:/\\\\(/,end:/\\\\)/,keywords:d,relevance:0,contains:['self',t,e.C_BLOCK_COMMENT_MODE,s,o,r]}]},r,t,e.C_BLOCK_COMMENT_MODE,l]};return{name:'C++',aliases:['cc','c++','h++','hpp','hh','hxx','cxx'],keywords:d,illegal:'</',classNameAliases:{'function.dispatch':'built_in'},contains:[].concat(u,i,n,g,[l,{begin:'\\\\\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\\\\\\\s*<(?!<)',end:'>',keywords:d,contains:['self',r]},{begin:e.IDENT_RE+'::',keywords:d},{match:[/\\\\b(?:enum(?:\\\\s+(?:class|struct))?|class|struct|union)/,/\\\\s+/,/\\\\w+/],className:{1:'keyword',3:'title.class'}}])}}),n.registerLanguage('apache',e=>{var n={className:'number',begin:/\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}(:\\\\d{1,5})?/};return{name:'Apache config',aliases:['apacheconf'],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:'section',begin:/<\\\\/?/,end:/>/,contains:[n,{className:'number',begin:/:\\\\d{1,5}/},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:'attribute',begin:/\\\\w+/,relevance:0,keywords:{_:['order','deny','allow','setenv','rewriterule','rewriteengine','rewritecond','documentroot','sethandler','errordocument','loadmodule','options','header','listen','serverroot','servername']},starts:{end:/$/,relevance:0,keywords:{literal:'on off all deny allow'},contains:[{className:'meta',begin:/\\\\s\\\\[/,end:/\\\\]$/},{className:'variable',begin:/[\\\\$%]\\\\{/,end:/\\\\}/,contains:['self',{className:'number',begin:/[$%]\\\\d+/}]},n,{className:'number',begin:/\\\\b\\\\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\\\\S/}}),n.registerLanguage('plaintext',e=>({name:'Plain text',aliases:['text','txt'],disableAutodetect:!0})),n.registerLanguage('shell',e=>({name:'Shell Session',aliases:['console','shellsession'],contains:[{className:'meta',begin:/^\\\\s{0,3}[/~\\\\w\\\\d[\\\\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\\\\\\\](?=\\\\s*$)/,subLanguage:'bash'}}]})),n.registerLanguage('r',e=>{var n=e.regex,t=/(?:(?:[a-zA-Z]|\\\\.[._a-zA-Z])[._a-zA-Z0-9]*)|\\\\.(?!\\\\d)/,a=n.either(/0[xX][0-9a-fA-F]+\\\\.[0-9a-fA-F]*[pP][+-]?\\\\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\\\\d+)?[Li]?/,/(?:\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+)(?:[eE][+-]?\\\\d+)?[Li]?/),i=/[=!<>:]=|\\\\|\\\\||&&|:::?|<-|<<-|->>|->|\\\\|>|[-+*\\\\/?!$&|:<=>@^~]|\\\\*\\\\*/,r=n.either(/[()]/,/[{}]/,/\\\\[\\\\[/,/[[\\\\]]/,/\\\\\\\\/,/,/);return{name:'R',keywords:{$pattern:t,keyword:'function if in break next repeat else for while',literal:'NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10',built_in:'LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm'},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:'doctag',match:/@examples/,starts:{end:n.lookahead(n.either(/\\\\n^#'\\\\s*(?=@[a-zA-Z]+)/,/\\\\n^(?!#')/)),endsParent:!0}},{scope:'doctag',begin:'@param',end:/$/,contains:[{scope:'variable',variants:[{match:t},{match:/`(?:\\\\\\\\.|[^`\\\\\\\\])+`/}],endsParent:!0}]},{scope:'doctag',match:/@[a-zA-Z]+/},{scope:'keyword',match:/\\\\\\\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:'string',contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]\\\"(-*)\\\\(/,end:/\\\\)(-*)\\\"/}),e.END_SAME_AS_BEGIN({begin:/[rR]\\\"(-*)\\\\{/,end:/\\\\}(-*)\\\"/}),e.END_SAME_AS_BEGIN({begin:/[rR]\\\"(-*)\\\\[/,end:/\\\\](-*)\\\"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\\\\(/,end:/\\\\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\\\\{/,end:/\\\\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\\\\[/,end:/\\\\](-*)'/}),{begin:'\\\"',end:'\\\"',relevance:0},{begin:'\\\\'',end:'\\\\'',relevance:0}]},{relevance:0,variants:[{scope:{1:'operator',2:'number'},match:[i,a]},{scope:{1:'operator',2:'number'},match:[/%[^%]*%/,a]},{scope:{1:'punctuation',2:'number'},match:[r,a]},{scope:{2:'number'},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:'operator'},match:[t,/\\\\s+/,/<-/,/\\\\s+/]},{scope:'operator',relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:'punctuation',relevance:0,match:r},{begin:'`',end:'`',contains:[{begin:/\\\\\\\\./}]}]}}),n.registerLanguage('ini',e=>{var n=e.regex,t={className:'number',relevance:0,variants:[{begin:/([+-]+)?[\\\\d]+_[\\\\d_]+/},{begin:e.NUMBER_RE}]},a=e.COMMENT(),i=(a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}],{className:'variable',variants:[{begin:/\\\\$[\\\\w\\\\d\\\"][\\\\w\\\\d_]*/},{begin:/\\\\$\\\\{(.*?)\\\\}/}]}),r={className:'literal',begin:/\\\\bon|off|true|false|yes|no\\\\b/},e={className:'string',contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'\\\\'\\\\'\\\\'',end:'\\\\'\\\\'\\\\'',relevance:10},{begin:'\\\"\\\"\\\"',end:'\\\"\\\"\\\"',relevance:10},{begin:'\\\"',end:'\\\"'},{begin:'\\\\'',end:'\\\\''}]},s={begin:/\\\\[/,end:/\\\\]/,contains:[a,r,i,e,t,'self'],relevance:0},o=n.either(/[A-Za-z0-9_-]+/,/\\\"(\\\\\\\\\\\"|[^\\\"])*\\\"/,/'[^']*'/);return{name:'TOML, also INI',aliases:['toml'],case_insensitive:!0,illegal:/\\\\S/,contains:[a,{className:'section',begin:/\\\\[+/,end:/\\\\]+/},{begin:n.concat(o,'(\\\\\\\\s*\\\\\\\\.\\\\\\\\s*',o,')*',n.lookahead(/\\\\s*=\\\\s*[^#\\\\s]/)),className:'attr',starts:{end:/$/,contains:[a,s,r,i,e,t]}}]}}),e=(()=>{'use strict';const g=['a','abbr','address','article','aside','audio','b','blockquote','body','button','canvas','caption','cite','code','dd','del','details','dfn','div','dl','dt','em','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','header','hgroup','html','i','iframe','img','input','ins','kbd','label','legend','li','main','mark','menu','nav','object','ol','p','q','quote','samp','section','span','strong','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','tr','ul','var','video'],u=['any-hover','any-pointer','aspect-ratio','color','color-gamut','color-index','device-aspect-ratio','device-height','device-width','display-mode','forced-colors','grid','height','hover','inverted-colors','monochrome','orientation','overflow-block','overflow-inline','pointer','prefers-color-scheme','prefers-contrast','prefers-reduced-motion','prefers-reduced-transparency','resolution','scan','scripting','update','width','min-width','max-width','min-height','max-height'],b=['active','any-link','blank','checked','current','default','defined','dir','disabled','drop','empty','enabled','first','first-child','first-of-type','fullscreen','future','focus','focus-visible','focus-within','has','host','host-context','hover','indeterminate','in-range','invalid','is','lang','last-child','last-of-type','left','link','local-link','not','nth-child','nth-col','nth-last-child','nth-last-col','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','past','placeholder-shown','read-only','read-write','required','right','root','scope','target','target-within','user-invalid','valid','visited','where'],m=['after','backdrop','before','cue','cue-region','first-letter','first-line','grammar-error','marker','part','placeholder','selection','slotted','spelling-error'],p=['align-content','align-items','align-self','all','animation','animation-delay','animation-direction','animation-duration','animation-fill-mode','animation-iteration-count','animation-name','animation-play-state','animation-timing-function','backface-visibility','background','background-attachment','background-clip','background-color','background-image','background-origin','background-position','background-repeat','background-size','border','border-bottom','border-bottom-color','border-bottom-left-radius','border-bottom-right-radius','border-bottom-style','border-bottom-width','border-collapse','border-color','border-image','border-image-outset','border-image-repeat','border-image-slice','border-image-source','border-image-width','border-left','border-left-color','border-left-style','border-left-width','border-radius','border-right','border-right-color','border-right-style','border-right-width','border-spacing','border-style','border-top','border-top-color','border-top-left-radius','border-top-right-radius','border-top-style','border-top-width','border-width','bottom','box-decoration-break','box-shadow','box-sizing','break-after','break-before','break-inside','caption-side','caret-color','clear','clip','clip-path','clip-rule','color','column-count','column-fill','column-gap','column-rule','column-rule-color','column-rule-style','column-rule-width','column-span','column-width','columns','contain','content','content-visibility','counter-increment','counter-reset','cue','cue-after','cue-before','cursor','direction','display','empty-cells','filter','flex','flex-basis','flex-direction','flex-flow','flex-grow','flex-shrink','flex-wrap','float','flow','font','font-display','font-family','font-feature-settings','font-kerning','font-language-override','font-size','font-size-adjust','font-smoothing','font-stretch','font-style','font-synthesis','font-variant','font-variant-caps','font-variant-east-asian','font-variant-ligatures','font-variant-numeric','font-variant-position','font-variation-settings','font-weight','gap','glyph-orientation-vertical','grid','grid-area','grid-auto-columns','grid-auto-flow','grid-auto-rows','grid-column','grid-column-end','grid-column-start','grid-gap','grid-row','grid-row-end','grid-row-start','grid-template','grid-template-areas','grid-template-columns','grid-template-rows','hanging-punctuation','height','hyphens','icon','image-orientation','image-rendering','image-resolution','ime-mode','isolation','justify-content','left','letter-spacing','line-break','line-height','list-style','list-style-image','list-style-position','list-style-type','margin','margin-bottom','margin-left','margin-right','margin-top','marks','mask','mask-border','mask-border-mode','mask-border-outset','mask-border-repeat','mask-border-slice','mask-border-source','mask-border-width','mask-clip','mask-composite','mask-image','mask-mode','mask-origin','mask-position','mask-repeat','mask-size','mask-type','max-height','max-width','min-height','min-width','mix-blend-mode','nav-down','nav-index','nav-left','nav-right','nav-up','none','normal','object-fit','object-position','opacity','order','orphans','outline','outline-color','outline-offset','outline-style','outline-width','overflow','overflow-wrap','overflow-x','overflow-y','padding','padding-bottom','padding-left','padding-right','padding-top','page-break-after','page-break-before','page-break-inside','pause','pause-after','pause-before','perspective','perspective-origin','pointer-events','position','quotes','resize','rest','rest-after','rest-before','right','row-gap','scroll-margin','scroll-margin-block','scroll-margin-block-end','scroll-margin-block-start','scroll-margin-bottom','scroll-margin-inline','scroll-margin-inline-end','scroll-margin-inline-start','scroll-margin-left','scroll-margin-right','scroll-margin-top','scroll-padding','scroll-padding-block','scroll-padding-block-end','scroll-padding-block-start','scroll-padding-bottom','scroll-padding-inline','scroll-padding-inline-end','scroll-padding-inline-start','scroll-padding-left','scroll-padding-right','scroll-padding-top','scroll-snap-align','scroll-snap-stop','scroll-snap-type','shape-image-threshold','shape-margin','shape-outside','speak','speak-as','src','tab-size','table-layout','text-align','text-align-all','text-align-last','text-combine-upright','text-decoration','text-decoration-color','text-decoration-line','text-decoration-style','text-emphasis','text-emphasis-color','text-emphasis-position','text-emphasis-style','text-indent','text-justify','text-orientation','text-overflow','text-rendering','text-shadow','text-transform','text-underline-position','top','transform','transform-box','transform-origin','transform-style','transition','transition-delay','transition-duration','transition-property','transition-timing-function','unicode-bidi','vertical-align','visibility','voice-balance','voice-duration','voice-family','voice-pitch','voice-range','voice-rate','voice-stress','voice-volume','white-space','widows','width','will-change','word-break','word-spacing','word-wrap','writing-mode','z-index'].reverse(),_=b.concat(m);return e=>{var n={IMPORTANT:{scope:'meta',begin:'!important'},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:'number',begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\\\b/},FUNCTION_DISPATCH:{className:'built_in',begin:/[\\\\w-]+(?=\\\\()/},ATTRIBUTE_SELECTOR_MODE:{scope:'selector-attr',begin:/\\\\[/,end:/\\\\]/,illegal:'$',contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:'number',begin:e.NUMBER_RE+'(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?',relevance:0},CSS_VARIABLE:{className:'attr',begin:/--[A-Za-z][A-Za-z0-9_-]*/}},t=_,a='([\\\\\\\\w-]+|@\\\\\\\\{[\\\\\\\\w-]+\\\\\\\\})',i=[],r=[],s=e=>({className:'string',begin:'~?'+e+'.*?'+e}),o=(e,n,t)=>({className:e,begin:n,relevance:t}),l={$pattern:/[a-z-]+/,keyword:'and or not only',attribute:u.join(' ')},s=(r.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s('\\\\''),s('\\\"'),n.CSS_NUMBER_MODE,{begin:'(url|data-uri)\\\\\\\\(',starts:{className:'string',end:'[\\\\\\\\)\\\\\\\\n]',excludeEnd:!0}},n.HEXCOLOR,{begin:'\\\\\\\\(',end:'\\\\\\\\)',contains:r,keywords:l,relevance:0},o('variable','@@?[\\\\\\\\w-]+',10),o('variable','@\\\\\\\\{[\\\\\\\\w-]+\\\\\\\\}'),o('built_in','~?`[^`]*?`'),{className:'attribute',begin:'[\\\\\\\\w-]+\\\\\\\\s*:',end:':',returnBegin:!0,excludeEnd:!0},n.IMPORTANT),r.concat({begin:/\\\\{/,end:/\\\\}/,contains:i})),c={beginKeywords:'when',endsWithParent:!0,contains:[{beginKeywords:'and not'}].concat(r)},d={begin:a+'\\\\\\\\s*:',returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},n.CSS_VARIABLE,{className:'attribute',begin:'\\\\\\\\b('+p.join('|')+')\\\\\\\\b',end:/(?=:)/,starts:{endsWithParent:!0,illegal:'[<=$]',relevance:0,contains:r}}]},l={className:'keyword',begin:'@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\\\\\\\b',starts:{end:'[;{}]',keywords:l,returnEnd:!0,contains:r,relevance:0}},r={className:'variable',variants:[{begin:'@[\\\\\\\\w-]+\\\\\\\\s*:',relevance:15},{begin:'@[\\\\\\\\w-]+'}],starts:{end:'[;}]',returnEnd:!0,contains:s}},c={variants:[{begin:'[\\\\\\\\.#:&\\\\\\\\[>]',end:'[;{}]'},{begin:a,end:/\\\\{/}],returnBegin:!0,returnEnd:!0,illegal:'[<=\\\\'$\\\"]',relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,o('keyword','all\\\\\\\\b'),o('variable','@\\\\\\\\{[\\\\\\\\w-]+\\\\\\\\}'),{begin:'\\\\\\\\b('+g.join('|')+')\\\\\\\\b',className:'selector-tag'},n.CSS_NUMBER_MODE,o('selector-tag',a,0),o('selector-id','#'+a),o('selector-class','\\\\\\\\.'+a,0),o('selector-tag','&',0),n.ATTRIBUTE_SELECTOR_MODE,{className:'selector-pseudo',begin:':('+b.join('|')+')'},{className:'selector-pseudo',begin:':(:)?('+m.join('|')+')'},{begin:/\\\\(/,end:/\\\\)/,relevance:0,contains:s},{begin:'!important'},n.FUNCTION_DISPATCH]},a={begin:`[\\\\\\\\w-]+:(:)?(${t.join('|')})`,returnBegin:!0,contains:[c]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,r,a,d,c),{name:'Less',case_insensitive:!0,illegal:'[=>\\\\'/<($\\\"]',contains:i}}})(),n.registerLanguage('less',e),n.registerLanguage('fortran',e=>{var n=e.regex,t={variants:[e.COMMENT('!','$',{relevance:0}),e.COMMENT('^C[ ]','$',{relevance:0}),e.COMMENT('^C$','$',{relevance:0})]},a=/(_[a-z_\\\\d]+)?/,i=/([de][+-]?\\\\d+)?/,n={className:'number',variants:[{begin:n.concat(/\\\\b\\\\d+/,/\\\\.(\\\\d*)/,i,a)},{begin:n.concat(/\\\\b\\\\d+/,i,a)},{begin:n.concat(/\\\\.\\\\d+/,i,a)}],relevance:0},i={className:'function',beginKeywords:'subroutine function program',illegal:'[${=\\\\\\\\n]',contains:[e.UNDERSCORE_TITLE_MODE,{className:'params',begin:'\\\\\\\\(',end:'\\\\\\\\)'}]};return{name:'Fortran',case_insensitive:!0,aliases:['f90','f95'],keywords:{keyword:['kind','do','concurrent','local','shared','while','private','call','intrinsic','where','elsewhere','type','endtype','endmodule','endselect','endinterface','end','enddo','endif','if','forall','endforall','only','contains','default','return','stop','then','block','endblock','endassociate','public','subroutine|10','function','program','.and.','.or.','.not.','.le.','.eq.','.ge.','.gt.','.lt.','goto','save','else','use','module','select','case','access','blank','direct','exist','file','fmt','form','formatted','iostat','name','named','nextrec','number','opened','rec','recl','sequential','status','unformatted','unit','continue','format','pause','cycle','exit','c_null_char','c_alert','c_backspace','c_form_feed','flush','wait','decimal','round','iomsg','synchronous','nopass','non_overridable','pass','protected','volatile','abstract','extends','import','non_intrinsic','value','deferred','generic','final','enumerator','class','associate','bind','enum','c_int','c_short','c_long','c_long_long','c_signed_char','c_size_t','c_int8_t','c_int16_t','c_int32_t','c_int64_t','c_int_least8_t','c_int_least16_t','c_int_least32_t','c_int_least64_t','c_int_fast8_t','c_int_fast16_t','c_int_fast32_t','c_int_fast64_t','c_intmax_t','C_intptr_t','c_float','c_double','c_long_double','c_float_complex','c_double_complex','c_long_double_complex','c_bool','c_char','c_null_ptr','c_null_funptr','c_new_line','c_carriage_return','c_horizontal_tab','c_vertical_tab','iso_c_binding','c_loc','c_funloc','c_associated','c_f_pointer','c_ptr','c_funptr','iso_fortran_env','character_storage_size','error_unit','file_storage_size','input_unit','iostat_end','iostat_eor','numeric_storage_size','output_unit','c_f_procpointer','ieee_arithmetic','ieee_support_underflow_control','ieee_get_underflow_mode','ieee_set_underflow_mode','newunit','contiguous','recursive','pad','position','action','delim','readwrite','eor','advance','nml','interface','procedure','namelist','include','sequence','elemental','pure','impure','integer','real','character','complex','logical','codimension','dimension','allocatable|10','parameter','external','implicit|10','none','double','precision','assign','intent','optional','pointer','target','in','out','common','equivalence','data'],literal:['.False.','.True.'],built_in:['alog','alog10','amax0','amax1','amin0','amin1','amod','cabs','ccos','cexp','clog','csin','csqrt','dabs','dacos','dasin','datan','datan2','dcos','dcosh','ddim','dexp','dint','dlog','dlog10','dmax1','dmin1','dmod','dnint','dsign','dsin','dsinh','dsqrt','dtan','dtanh','float','iabs','idim','idint','idnint','ifix','isign','max0','max1','min0','min1','sngl','algama','cdabs','cdcos','cdexp','cdlog','cdsin','cdsqrt','cqabs','cqcos','cqexp','cqlog','cqsin','cqsqrt','dcmplx','dconjg','derf','derfc','dfloat','dgamma','dimag','dlgama','iqint','qabs','qacos','qasin','qatan','qatan2','qcmplx','qconjg','qcos','qcosh','qdim','qerf','qerfc','qexp','qgamma','qimag','qlgama','qlog','qlog10','qmax1','qmin1','qmod','qnint','qsign','qsin','qsinh','qsqrt','qtan','qtanh','abs','acos','aimag','aint','anint','asin','atan','atan2','char','cmplx','conjg','cos','cosh','exp','ichar','index','int','log','log10','max','min','nint','sign','sin','sinh','sqrt','tan','tanh','print','write','dim','lge','lgt','lle','llt','mod','nullify','allocate','deallocate','adjustl','adjustr','all','allocated','any','associated','bit_size','btest','ceiling','count','cshift','date_and_time','digits','dot_product','eoshift','epsilon','exponent','floor','fraction','huge','iand','ibclr','ibits','ibset','ieor','ior','ishft','ishftc','lbound','len_trim','matmul','maxexponent','maxloc','maxval','merge','minexponent','minloc','minval','modulo','mvbits','nearest','pack','present','product','radix','random_number','random_seed','range','repeat','reshape','rrspacing','scale','scan','selected_int_kind','selected_real_kind','set_exponent','shape','size','spacing','spread','sum','system_clock','tiny','transpose','trim','ubound','unpack','verify','achar','iachar','transfer','dble','entry','dprod','cpu_time','command_argument_count','get_command','get_command_argument','get_environment_variable','is_iostat_end','ieee_arithmetic','ieee_support_underflow_control','ieee_get_underflow_mode','ieee_set_underflow_mode','is_iostat_eor','move_alloc','new_line','selected_char_kind','same_type_as','extends_type_of','acosh','asinh','atanh','bessel_j0','bessel_j1','bessel_jn','bessel_y0','bessel_y1','bessel_yn','erf','erfc','erfc_scaled','gamma','log_gamma','hypot','norm2','atomic_define','atomic_ref','execute_command_line','leadz','trailz','storage_size','merge_bits','bge','bgt','ble','blt','dshiftl','dshiftr','findloc','iall','iany','iparity','image_index','lcobound','ucobound','maskl','maskr','num_images','parity','popcnt','poppar','shifta','shiftl','shiftr','this_image','sync','change','team','co_broadcast','co_max','co_min','co_sum','co_reduce']},illegal:/\\\\/\\\\*/,contains:[{className:'string',relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},i,{begin:/^C\\\\s*=(?!=)/,relevance:0},t,n]}}),e=(()=>{'use strict';const a=['a','abbr','address','article','aside','audio','b','blockquote','body','button','canvas','caption','cite','code','dd','del','details','dfn','div','dl','dt','em','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','header','hgroup','html','i','iframe','img','input','ins','kbd','label','legend','li','main','mark','menu','nav','object','ol','p','q','quote','samp','section','span','strong','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','tr','ul','var','video'],i=['any-hover','any-pointer','aspect-ratio','color','color-gamut','color-index','device-aspect-ratio','device-height','device-width','display-mode','forced-colors','grid','height','hover','inverted-colors','monochrome','orientation','overflow-block','overflow-inline','pointer','prefers-color-scheme','prefers-contrast','prefers-reduced-motion','prefers-reduced-transparency','resolution','scan','scripting','update','width','min-width','max-width','min-height','max-height'],r=['active','any-link','blank','checked','current','default','defined','dir','disabled','drop','empty','enabled','first','first-child','first-of-type','fullscreen','future','focus','focus-visible','focus-within','has','host','host-context','hover','indeterminate','in-range','invalid','is','lang','last-child','last-of-type','left','link','local-link','not','nth-child','nth-col','nth-last-child','nth-last-col','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','past','placeholder-shown','read-only','read-write','required','right','root','scope','target','target-within','user-invalid','valid','visited','where'],s=['after','backdrop','before','cue','cue-region','first-letter','first-line','grammar-error','marker','part','placeholder','selection','slotted','spelling-error'],o=['align-content','align-items','align-self','all','animation','animation-delay','animation-direction','animation-duration','animation-fill-mode','animation-iteration-count','animation-name','animation-play-state','animation-timing-function','backface-visibility','background','background-attachment','background-clip','background-color','background-image','background-origin','background-position','background-repeat','background-size','border','border-bottom','border-bottom-color','border-bottom-left-radius','border-bottom-right-radius','border-bottom-style','border-bottom-width','border-collapse','border-color','border-image','border-image-outset','border-image-repeat','border-image-slice','border-image-source','border-image-width','border-left','border-left-color','border-left-style','border-left-width','border-radius','border-right','border-right-color','border-right-style','border-right-width','border-spacing','border-style','border-top','border-top-color','border-top-left-radius','border-top-right-radius','border-top-style','border-top-width','border-width','bottom','box-decoration-break','box-shadow','box-sizing','break-after','break-before','break-inside','caption-side','caret-color','clear','clip','clip-path','clip-rule','color','column-count','column-fill','column-gap','column-rule','column-rule-color','column-rule-style','column-rule-width','column-span','column-width','columns','contain','content','content-visibility','counter-increment','counter-reset','cue','cue-after','cue-before','cursor','direction','display','empty-cells','filter','flex','flex-basis','flex-direction','flex-flow','flex-grow','flex-shrink','flex-wrap','float','flow','font','font-display','font-family','font-feature-settings','font-kerning','font-language-override','font-size','font-size-adjust','font-smoothing','font-stretch','font-style','font-synthesis','font-variant','font-variant-caps','font-variant-east-asian','font-variant-ligatures','font-variant-numeric','font-variant-position','font-variation-settings','font-weight','gap','glyph-orientation-vertical','grid','grid-area','grid-auto-columns','grid-auto-flow','grid-auto-rows','grid-column','grid-column-end','grid-column-start','grid-gap','grid-row','grid-row-end','grid-row-start','grid-template','grid-template-areas','grid-template-columns','grid-template-rows','hanging-punctuation','height','hyphens','icon','image-orientation','image-rendering','image-resolution','ime-mode','isolation','justify-content','left','letter-spacing','line-break','line-height','list-style','list-style-image','list-style-position','list-style-type','margin','margin-bottom','margin-left','margin-right','margin-top','marks','mask','mask-border','mask-border-mode','mask-border-outset','mask-border-repeat','mask-border-slice','mask-border-source','mask-border-width','mask-clip','mask-composite','mask-image','mask-mode','mask-origin','mask-position','mask-repeat','mask-size','mask-type','max-height','max-width','min-height','min-width','mix-blend-mode','nav-down','nav-index','nav-left','nav-right','nav-up','none','normal','object-fit','object-position','opacity','order','orphans','outline','outline-color','outline-offset','outline-style','outline-width','overflow','overflow-wrap','overflow-x','overflow-y','padding','padding-bottom','padding-left','padding-right','padding-top','page-break-after','page-break-before','page-break-inside','pause','pause-after','pause-before','perspective','perspective-origin','pointer-events','position','quotes','resize','rest','rest-after','rest-before','right','row-gap','scroll-margin','scroll-margin-block','scroll-margin-block-end','scroll-margin-block-start','scroll-margin-bottom','scroll-margin-inline','scroll-margin-inline-end','scroll-margin-inline-start','scroll-margin-left','scroll-margin-right','scroll-margin-top','scroll-padding','scroll-padding-block','scroll-padding-block-end','scroll-padding-block-start','scroll-padding-bottom','scroll-padding-inline','scroll-padding-inline-end','scroll-padding-inline-start','scroll-padding-left','scroll-padding-right','scroll-padding-top','scroll-snap-align','scroll-snap-stop','scroll-snap-type','shape-image-threshold','shape-margin','shape-outside','speak','speak-as','src','tab-size','table-layout','text-align','text-align-all','text-align-last','text-combine-upright','text-decoration','text-decoration-color','text-decoration-line','text-decoration-style','text-emphasis','text-emphasis-color','text-emphasis-position','text-emphasis-style','text-indent','text-justify','text-orientation','text-overflow','text-rendering','text-shadow','text-transform','text-underline-position','top','transform','transform-box','transform-origin','transform-style','transition','transition-delay','transition-duration','transition-property','transition-timing-function','unicode-bidi','vertical-align','visibility','voice-balance','voice-duration','voice-family','voice-pitch','voice-range','voice-rate','voice-stress','voice-volume','white-space','widows','width','will-change','word-break','word-spacing','word-wrap','writing-mode','z-index'].reverse();return e=>{var n=e.regex,t={IMPORTANT:{scope:'meta',begin:'!important'},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:'number',begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\\\b/},FUNCTION_DISPATCH:{className:'built_in',begin:/[\\\\w-]+(?=\\\\()/},ATTRIBUTE_SELECTOR_MODE:{scope:'selector-attr',begin:/\\\\[/,end:/\\\\]/,illegal:'$',contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:'number',begin:e.NUMBER_RE+'(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?',relevance:0},CSS_VARIABLE:{className:'attr',begin:/--[A-Za-z][A-Za-z0-9_-]*/}},e=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:'CSS',case_insensitive:!0,illegal:/[=|'\\\\$]/,keywords:{keyframePosition:'from to'},classNameAliases:{keyframePosition:'selector-tag'},contains:[t.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},t.CSS_NUMBER_MODE,{className:'selector-id',begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:'selector-class',begin:'\\\\\\\\.[a-zA-Z-][a-zA-Z0-9_-]*',relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:'selector-pseudo',variants:[{begin:':('+r.join('|')+')'},{begin:':(:)?('+s.join('|')+')'}]},t.CSS_VARIABLE,{className:'attribute',begin:'\\\\\\\\b('+o.join('|')+')\\\\\\\\b'},{begin:/:/,end:/[;}{]/,contains:[t.BLOCK_COMMENT,t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...e,{begin:/(url|data-uri)\\\\(/,end:/\\\\)/,relevance:0,keywords:{built_in:'url data-uri'},contains:[{className:'string',begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},t.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:'[{;]',relevance:0,illegal:/:/,contains:[{className:'keyword',begin:/@-?\\\\w[\\\\w]*(-\\\\w+)*/},{begin:/\\\\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:'and or not only',attribute:i.join(' ')},contains:[{begin:/[a-z-]+(?=:)/,className:'attribute'},...e,t.CSS_NUMBER_MODE]}]},{className:'selector-tag',begin:'\\\\\\\\b('+a.join('|')+')\\\\\\\\b'}]}}})(),n.registerLanguage('css',e),n.registerLanguage('perl',e=>{const i=e.regex,r=/[dualxmsipngr]{0,12}/,n={$pattern:/[\\\\w.]+/,keyword:'abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0'},t={className:'subst',begin:'[$@]\\\\\\\\{',end:'\\\\\\\\}',keywords:n},a={begin:/->\\\\{/,end:/\\\\}/},s={variants:[{begin:/\\\\$\\\\d/},{begin:i.concat(/[$%@](\\\\^\\\\w\\\\b|#\\\\w+(::\\\\w+)*|\\\\{\\\\w+\\\\}|\\\\w+(::\\\\w*)*)/,'(?![A-Za-z])(?![@$%])')},{begin:/[$%@][^\\\\s\\\\w{]/,relevance:0}]},o=[e.BACKSLASH_ESCAPE,t,s],l=[/!/,/\\\\//,/\\\\|/,/\\\\?/,/'/,/\\\"/,/#/],c=(e,n,t='\\\\\\\\1')=>{var a='\\\\\\\\1'===t?t:i.concat(t,n);return i.concat(i.concat('(?:',e,')'),n,/(?:\\\\\\\\.|[^\\\\\\\\\\\\/])*?/,a,/(?:\\\\\\\\.|[^\\\\\\\\\\\\/])*?/,t,r)},d=(e,n,t)=>i.concat(i.concat('(?:',e,')'),n,/(?:\\\\\\\\.|[^\\\\\\\\\\\\/])*?/,t,r),g=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\\\\w/,/=cut/,{endsWithParent:!0}),a,{className:'string',contains:o,variants:[{begin:'q[qwxr]?\\\\\\\\s*\\\\\\\\(',end:'\\\\\\\\)',relevance:5},{begin:'q[qwxr]?\\\\\\\\s*\\\\\\\\[',end:'\\\\\\\\]',relevance:5},{begin:'q[qwxr]?\\\\\\\\s*\\\\\\\\{',end:'\\\\\\\\}',relevance:5},{begin:'q[qwxr]?\\\\\\\\s*\\\\\\\\|',end:'\\\\\\\\|',relevance:5},{begin:'q[qwxr]?\\\\\\\\s*<',end:'>',relevance:5},{begin:'qw\\\\\\\\s+q',end:'q',relevance:5},{begin:'\\\\'',end:'\\\\'',contains:[e.BACKSLASH_ESCAPE]},{begin:'\\\"',end:'\\\"'},{begin:'`',end:'`',contains:[e.BACKSLASH_ESCAPE]},{begin:/\\\\{\\\\w+\\\\}/,relevance:0},{begin:'-?\\\\\\\\w+\\\\\\\\s*=>',relevance:0}]},{className:'number',begin:'(\\\\\\\\b0[0-7_]+)|(\\\\\\\\b0x[0-9a-fA-F_]+)|(\\\\\\\\b[1-9][0-9_]*(\\\\\\\\.[0-9_]+)?)|[0_]\\\\\\\\b',relevance:0},{begin:'(\\\\\\\\/\\\\\\\\/|'+e.RE_STARTERS_RE+'|\\\\\\\\b(split|return|print|reverse|grep)\\\\\\\\b)\\\\\\\\s*',keywords:'split return print reverse grep',relevance:0,contains:[e.HASH_COMMENT_MODE,{className:'regexp',variants:[{begin:c('s|tr|y',i.either(...l,{capture:!0}))},{begin:c('s|tr|y','\\\\\\\\(','\\\\\\\\)')},{begin:c('s|tr|y','\\\\\\\\[','\\\\\\\\]')},{begin:c('s|tr|y','\\\\\\\\{','\\\\\\\\}')}],relevance:2},{className:'regexp',variants:[{begin:/(m|qr)\\\\/\\\\//,relevance:0},{begin:d('(?:m|qr)?',/\\\\//,/\\\\//)},{begin:d('m|qr',i.either(...l,{capture:!0}),/\\\\1/)},{begin:d('m|qr',/\\\\(/,/\\\\)/)},{begin:d('m|qr',/\\\\[/,/\\\\]/)},{begin:d('m|qr',/\\\\{/,/\\\\}/)}]}]},{className:'function',beginKeywords:'sub',end:'(\\\\\\\\s*\\\\\\\\(.*?\\\\\\\\))?[;{]',excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:'-\\\\\\\\w\\\\\\\\b',relevance:0},{begin:'^__DATA__$',end:'^__END__$',subLanguage:'mojolicious',contains:[{begin:'^@@.*',end:'$',className:'comment'}]}];return t.contains=g,{name:'Perl',aliases:['pl','pm'],keywords:n,contains:a.contains=g}}),e=(()=>{'use strict';function a(e){return e?'string'==typeof e?e:e.source:null}function C(e){return T('(?=',e,')')}function T(...e){return e.map(e=>a(e)).join('')}function R(...e){var n,t='object'==typeof(n=(t=e)[t.length-1])&&n.constructor===Object?(t.splice(t.length-1,1),n):{};return'('+(t.capture?'':'?:')+e.map(e=>a(e)).join('|')+')'}const D=e=>T(/\\\\b/,e,/\\\\w$/.test(e)?/\\\\b/:/\\\\B/),I=['Protocol','Type'].map(D),L=['init','self'].map(D),B=['Any','Self'],z=['actor','associatedtype','async','await',/as\\\\?/,/as!/,'as','break','case','catch','class','continue','convenience','default','defer','deinit','didSet','do','dynamic','else','enum','extension','fallthrough',/fileprivate\\\\(set\\\\)/,'fileprivate','final','for','func','get','guard','if','import','indirect','infix',/init\\\\?/,/init!/,'inout',/internal\\\\(set\\\\)/,'internal','in','is','isolated','nonisolated','lazy','let','mutating','nonmutating',/open\\\\(set\\\\)/,'open','operator','optional','override','postfix','precedencegroup','prefix',/private\\\\(set\\\\)/,'private','protocol',/public\\\\(set\\\\)/,'public','repeat','required','rethrows','return','set','some','static','struct','subscript','super','switch','throws','throw',/try\\\\?/,/try!/,'try','typealias',/unowned\\\\(safe\\\\)/,/unowned\\\\(unsafe\\\\)/,'unowned','var','weak','where','while','willSet'],$=['false','nil','true'],F=['assignment','associativity','higherThan','left','lowerThan','none','right'],U=['#colorLiteral','#column','#dsohandle','#else','#elseif','#endif','#error','#file','#fileID','#fileLiteral','#filePath','#function','#if','#imageLiteral','#keyPath','#line','#selector','#sourceLocation','#warn_unqualified_access','#warning'],j=['abs','all','any','assert','assertionFailure','debugPrint','dump','fatalError','getVaList','isKnownUniquelyReferenced','max','min','numericCast','pointwiseMax','pointwiseMin','precondition','preconditionFailure','print','readLine','repeatElement','sequence','stride','swap','swift_unboxFromSwiftValueWithType','transcode','type','unsafeBitCast','unsafeDowncast','withExtendedLifetime','withUnsafeMutablePointer','withUnsafePointer','withVaList','withoutActuallyEscaping','zip'],e=R(/[/=\\\\-+!*%<>&|^~?]/,/[\\\\u00A1-\\\\u00A7]/,/[\\\\u00A9\\\\u00AB]/,/[\\\\u00AC\\\\u00AE]/,/[\\\\u00B0\\\\u00B1]/,/[\\\\u00B6\\\\u00BB\\\\u00BF\\\\u00D7\\\\u00F7]/,/[\\\\u2016-\\\\u2017]/,/[\\\\u2020-\\\\u2027]/,/[\\\\u2030-\\\\u203E]/,/[\\\\u2041-\\\\u2053]/,/[\\\\u2055-\\\\u205E]/,/[\\\\u2190-\\\\u23FF]/,/[\\\\u2500-\\\\u2775]/,/[\\\\u2794-\\\\u2BFF]/,/[\\\\u2E00-\\\\u2E7F]/,/[\\\\u3001-\\\\u3003]/,/[\\\\u3008-\\\\u3020]/,/[\\\\u3030]/),P=R(e,/[\\\\u0300-\\\\u036F]/,/[\\\\u1DC0-\\\\u1DFF]/,/[\\\\u20D0-\\\\u20FF]/,/[\\\\uFE00-\\\\uFE0F]/,/[\\\\uFE20-\\\\uFE2F]/),q=T(e,P,'*'),n=R(/[a-zA-Z_]/,/[\\\\u00A8\\\\u00AA\\\\u00AD\\\\u00AF\\\\u00B2-\\\\u00B5\\\\u00B7-\\\\u00BA]/,/[\\\\u00BC-\\\\u00BE\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u00FF]/,/[\\\\u0100-\\\\u02FF\\\\u0370-\\\\u167F\\\\u1681-\\\\u180D\\\\u180F-\\\\u1DBF]/,/[\\\\u1E00-\\\\u1FFF]/,/[\\\\u200B-\\\\u200D\\\\u202A-\\\\u202E\\\\u203F-\\\\u2040\\\\u2054\\\\u2060-\\\\u206F]/,/[\\\\u2070-\\\\u20CF\\\\u2100-\\\\u218F\\\\u2460-\\\\u24FF\\\\u2776-\\\\u2793]/,/[\\\\u2C00-\\\\u2DFF\\\\u2E80-\\\\u2FFF]/,/[\\\\u3004-\\\\u3007\\\\u3021-\\\\u302F\\\\u3031-\\\\u303F\\\\u3040-\\\\uD7FF]/,/[\\\\uF900-\\\\uFD3D\\\\uFD40-\\\\uFDCF\\\\uFDF0-\\\\uFE1F\\\\uFE30-\\\\uFE44]/,/[\\\\uFE47-\\\\uFEFE\\\\uFF00-\\\\uFFFD]/),K=R(n,/\\\\d/,/[\\\\u0300-\\\\u036F\\\\u1DC0-\\\\u1DFF\\\\u20D0-\\\\u20FF\\\\uFE20-\\\\uFE2F]/),H=T(n,K,'*'),Z=T(/[A-Z]/,K,'*'),G=['autoclosure',T(/convention\\\\(/,R('swift','block','c'),/\\\\)/),'discardableResult','dynamicCallable','dynamicMemberLookup','escaping','frozen','GKInspectable','IBAction','IBDesignable','IBInspectable','IBOutlet','IBSegueAction','inlinable','main','nonobjc','NSApplicationMain','NSCopying','NSManaged',T(/objc\\\\(/,H,/\\\\)/),'objc','objcMembers','propertyWrapper','requires_stored_property_inits','resultBuilder','testable','UIApplicationMain','unknown','usableFromInline'],W=['iOS','iOSApplicationExtension','macOS','macOSApplicationExtension','macCatalyst','macCatalystApplicationExtension','watchOS','watchOSApplicationExtension','tvOS','tvOSApplicationExtension','swift'];return e=>{const n={match:/\\\\s+/,relevance:0},t=e.COMMENT('/\\\\\\\\*','\\\\\\\\*/',{contains:['self']}),a=[e.C_LINE_COMMENT_MODE,t],i={match:[/\\\\./,R(...I,...L)],className:{2:'keyword'}},r={match:T(/\\\\./,R(...z)),relevance:0},s=z.filter(e=>'string'==typeof e).concat(['_|0']),o={variants:[{className:'keyword',match:R(...z.filter(e=>'string'!=typeof e).concat(B).map(D),...L)}]},l={$pattern:R(/\\\\b\\\\w+/,/#\\\\w+/),keyword:s.concat(U),literal:$},c=[i,r,o],d=[{match:T(/\\\\./,R(...j)),relevance:0},{className:'built_in',match:T(/\\\\b/,R(...j),/(?=\\\\()/)}],g={match:/->/,relevance:0},u=[g,{className:'operator',relevance:0,variants:[{match:q},{match:`\\\\\\\\.(\\\\\\\\.|${P})+`}]}],b='([0-9a-fA-F]_*)+',m={className:'number',relevance:0,variants:[{match:'\\\\\\\\b(([0-9]_*)+)(\\\\\\\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\\\\\\\b'},{match:`\\\\\\\\b0x(${b})(\\\\\\\\.(${b}))?([pP][+-]?(([0-9]_*)+))?\\\\\\\\b`},{match:/\\\\b0o([0-7]_*)+\\\\b/},{match:/\\\\b0b([01]_*)+\\\\b/}]},p=(e='')=>({className:'subst',variants:[{match:T(/\\\\\\\\/,e,/[0\\\\\\\\tnr\\\"']/)},{match:T(/\\\\\\\\/,e,/u\\\\{[0-9a-fA-F]{1,8}\\\\}/)}]}),_=(e='')=>({className:'subst',label:'interpol',begin:T(/\\\\\\\\/,e,/\\\\(/),end:/\\\\)/}),h=(e='')=>{return{begin:T(e,/\\\"\\\"\\\"/),end:T(/\\\"\\\"\\\"/,e),contains:[p(e),([n='']=[e],{className:'subst',match:T(/\\\\\\\\/,n,/[\\\\t ]*(?:[\\\\r\\\\n]|\\\\r\\\\n)/)}),_(e)]};var n},f=(e='')=>({begin:T(e,/\\\"/),end:T(/\\\"/,e),contains:[p(e),_(e)]}),E={className:'string',variants:[h(),h('#'),h('##'),h('###'),f(),f('#'),f('##'),f('###')]},v={match:T(/`/,H,/`/)},y=[v,{className:'variable',match:/\\\\$\\\\d+/},{className:'variable',match:`\\\\\\\\$${K}+`}],w=[{match:/(@|#(un)?)available/,className:'keyword',starts:{contains:[{begin:/\\\\(/,end:/\\\\)/,keywords:W,contains:[...u,m,E]}]}},{className:'keyword',match:T(/@/,R(...G))},{className:'meta',match:T(/@/,H)}],N={match:C(/\\\\b[A-Z]/),relevance:0,contains:[{className:'type',match:T(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,K,'+')},{className:'type',match:Z,relevance:0},{match:/[?!]+/,relevance:0},{match:/\\\\.\\\\.\\\\./,relevance:0},{match:T(/\\\\s+&\\\\s+/,C(Z)),relevance:0}]},x={begin:/</,end:/>/,keywords:l,contains:[...a,...c,...w,g,N]};N.contains.push(x);var k={begin:/\\\\(/,end:/\\\\)/,relevance:0,keywords:l,contains:['self',{match:T(H,/\\\\s*:/),keywords:'_|0',relevance:0},...a,...c,...d,...u,m,E,...y,...w,N]},O={begin:/</,end:/>/,contains:[...a,N]},M={begin:/\\\\(/,end:/\\\\)/,keywords:l,contains:[{begin:R(C(T(H,/\\\\s*:/)),C(T(H,/\\\\s+/,H,/\\\\s*:/))),end:/:/,relevance:0,contains:[{className:'keyword',match:/\\\\b_\\\\b/},{className:'params',match:H}]},...a,...c,...u,m,E,...w,N,k],endsParent:!0,illegal:/[\\\"']/},A={match:[/func/,/\\\\s+/,R(v.match,H,q)],className:{1:'keyword',3:'title.function'},contains:[O,M,n],illegal:[/\\\\[/,/%/]},O={match:[/\\\\b(?:subscript|init[?!]?)/,/\\\\s*(?=[<(])/],className:{1:'keyword'},contains:[O,M,n],illegal:/\\\\[|%/},M={match:[/operator/,/\\\\s+/,q],className:{1:'keyword',3:'title'}},S={begin:[/precedencegroup/,/\\\\s+/,Z],className:{1:'keyword',3:'title'},contains:[N],keywords:[...F,...$],end:/}/};for(const e of E.variants){const C=e.contains.find(e=>'interpol'===e.label),T=(C.keywords=l,[...c,...d,...u,m,E,...y]);C.contains=[...T,{begin:/\\\\(/,end:/\\\\)/,contains:['self',...T]}]}return{name:'Swift',keywords:l,contains:[...a,A,O,{beginKeywords:'struct protocol class extension enum actor',end:'\\\\\\\\{',excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:'title.class',begin:/[A-Za-z$_][\\\\u00C0-\\\\u02B80-9A-Za-z$_]*/}),...c]},M,S,{beginKeywords:'import',end:/$/,contains:[...a],relevance:0},...c,...d,...u,m,E,...y,...w,N,k]}}})(),n.registerLanguage('swift',e),n.registerLanguage('go',e=>{var n={keyword:['break','case','chan','const','continue','default','defer','else','fallthrough','for','func','go','goto','if','import','interface','map','package','range','return','select','struct','switch','type','var'],type:['bool','byte','complex64','complex128','error','float32','float64','int8','int16','int32','int64','string','uint8','uint16','uint32','uint64','int','uint','uintptr','rune'],literal:['true','false','iota','nil'],built_in:['append','cap','close','complex','copy','imag','len','make','new','panic','print','println','real','recover','delete']};return{name:'Go',aliases:['golang'],keywords:n,illegal:'</',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:'string',variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:'`',end:'`'}]},{className:'number',variants:[{begin:e.C_NUMBER_RE+'[i]',relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:'function',beginKeywords:'func',end:'\\\\\\\\s*(\\\\\\\\{|$)',excludeEnd:!0,contains:[e.TITLE_MODE,{className:'params',begin:/\\\\(/,end:/\\\\)/,endsParent:!0,keywords:n,illegal:/[\\\"']/}]}]}}),e=(()=>{'use strict';const O='[A-Za-z$_][0-9A-Za-z$_]*',M=['as','in','of','if','for','while','finally','var','new','function','do','return','void','else','break','catch','instanceof','with','throw','case','default','try','switch','continue','typeof','delete','let','yield','const','class','debugger','async','await','static','import','from','export','extends'],A=['true','false','null','undefined','NaN','Infinity'],S=['Object','Function','Boolean','Symbol','Math','Date','Number','BigInt','String','RegExp','Array','Float32Array','Float64Array','Int8Array','Uint8Array','Uint8ClampedArray','Int16Array','Int32Array','Uint16Array','Uint32Array','BigInt64Array','BigUint64Array','Set','Map','WeakSet','WeakMap','ArrayBuffer','SharedArrayBuffer','Atomics','DataView','JSON','Promise','Generator','GeneratorFunction','AsyncFunction','Reflect','Proxy','Intl','WebAssembly'],C=['Error','EvalError','InternalError','RangeError','ReferenceError','SyntaxError','TypeError','URIError'],T=['setInterval','setTimeout','clearInterval','clearTimeout','require','exports','eval','isFinite','isNaN','parseFloat','parseInt','decodeURI','decodeURIComponent','encodeURI','encodeURIComponent','escape','unescape'],R=['arguments','this','super','console','window','document','localStorage','module','global'],D=[].concat(T,S,C);return e=>{const n=e.regex,t=O,a=/<[A-Za-z0-9\\\\\\\\._:-]+/,i=/\\\\/[A-Za-z0-9\\\\\\\\._:-]+>|\\\\/>/,r=(e,n)=>{var t,a,i=e[0].length+e.index,r=e.input[i];'<'!==r&&','!==r&&('>'===r&&([r,t]=[e,i],a='</'+r[0].slice(1),-1===r.input.indexOf(a,t))&&n.ignoreMatch(),!(r=e.input.substr(i).match(/^\\\\s+extends\\\\s+/))||0!==r.index)||n.ignoreMatch()},s={$pattern:O,keyword:M,literal:A,built_in:D,'variable.language':R},o='\\\\\\\\.([0-9](_?[0-9])*)',l='0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*',c={className:'number',variants:[{begin:`(\\\\\\\\b(${l})((${o})|\\\\\\\\.)?|(${o}))[eE][+-]?([0-9](_?[0-9])*)\\\\\\\\b`},{begin:`\\\\\\\\b(${l})\\\\\\\\b((${o})\\\\\\\\b|\\\\\\\\.)?|(${o})\\\\\\\\b`},{begin:'\\\\\\\\b(0|[1-9](_?[0-9])*)n\\\\\\\\b'},{begin:'\\\\\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\\\\\b'},{begin:'\\\\\\\\b0[bB][0-1](_?[0-1])*n?\\\\\\\\b'},{begin:'\\\\\\\\b0[oO][0-7](_?[0-7])*n?\\\\\\\\b'},{begin:'\\\\\\\\b0[0-7]+n?\\\\\\\\b'}],relevance:0},d={className:'subst',begin:'\\\\\\\\$\\\\\\\\{',end:'\\\\\\\\}',keywords:s,contains:[]},g={begin:'html`',end:'',starts:{end:'`',returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:'xml'}},u={begin:'css`',end:'',starts:{end:'`',returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:'css'}},b={className:'string',begin:'`',end:'`',contains:[e.BACKSLASH_ESCAPE,d]},m={className:'comment',variants:[e.COMMENT(/\\\\/\\\\*\\\\*(?!\\\\/)/,'\\\\\\\\*/',{relevance:0,contains:[{begin:'(?=@[A-Za-z]+)',relevance:0,contains:[{className:'doctag',begin:'@[A-Za-z]+'},{className:'type',begin:'\\\\\\\\{',end:'\\\\\\\\}',excludeEnd:!0,excludeBegin:!0,relevance:0},{className:'variable',begin:t+'(?=\\\\\\\\s*(-)|$)',endsParent:!0,relevance:0},{begin:/(?=[^\\\\n])\\\\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},p=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,u,b,c];d.contains=p.concat({begin:/\\\\{/,end:/\\\\}/,keywords:s,contains:['self'].concat(p)});var _=[].concat(m,d.contains),_=_.concat([{begin:/\\\\(/,end:/\\\\)/,keywords:s,contains:['self'].concat(_)}]),h={className:'params',begin:/\\\\(/,end:/\\\\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:_},f={variants:[{match:[/class/,/\\\\s+/,t,/\\\\s+/,/extends/,/\\\\s+/,n.concat(t,'(',n.concat(/\\\\./,t),')*')],scope:{1:'keyword',3:'title.class',5:'keyword',7:'title.class.inherited'}},{match:[/class/,/\\\\s+/,t],scope:{1:'keyword',3:'title.class'}}]},E={relevance:0,match:n.either(/\\\\bJSON/,/\\\\b[A-Z][a-z]+([A-Z][a-z]*|\\\\d)*/,/\\\\b[A-Z]{2,}([A-Z][a-z]+|\\\\d)+([A-Z][a-z]*)*/,/\\\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\\\d)*([A-Z][a-z]*)*/),className:'title.class',keywords:{_:[...S,...C]}},v={variants:[{match:[/function/,/\\\\s+/,t,/(?=\\\\s*\\\\()/]},{match:[/function/,/\\\\s*(?=\\\\()/]}],className:{1:'keyword',3:'title.function'},label:'func.def',contains:[h],illegal:/%/},y={match:n.concat(/\\\\b/,(y=[...T,'super'],n.concat('(?!',y.join('|'),')')),t,n.lookahead(/\\\\(/)),className:'title.function',relevance:0},w={begin:n.concat(/\\\\./,n.lookahead(n.concat(t,/(?![0-9A-Za-z$_(])/))),end:t,excludeBegin:!0,keywords:'prototype',className:'property',relevance:0},N={match:[/get|set/,/\\\\s+/,t,/(?=\\\\()/],className:{1:'keyword',3:'title.function'},contains:[{begin:/\\\\(\\\\)/},h]},x='(\\\\\\\\([^()]*(\\\\\\\\([^()]*(\\\\\\\\([^()]*\\\\\\\\)[^()]*)*\\\\\\\\)[^()]*)*\\\\\\\\)|'+e.UNDERSCORE_IDENT_RE+')\\\\\\\\s*=>',k={match:[/const|var|let/,/\\\\s+/,t,/\\\\s*/,/=\\\\s*/,/(async\\\\s*)?/,n.lookahead(x)],keywords:'async',className:{1:'keyword',3:'title.function'},contains:[h]};return{name:'Javascript',aliases:['js','jsx','mjs','cjs'],keywords:s,exports:{PARAMS_CONTAINS:_,CLASS_REFERENCE:E},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:'shebang',binary:'node',relevance:5}),{label:'use_strict',className:'meta',relevance:10,begin:/^\\\\s*['\\\"]use (strict|asm)['\\\"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,u,b,m,c,E,{className:'attr',begin:t+n.lookahead(':'),relevance:0},k,{begin:'('+e.RE_STARTERS_RE+'|\\\\\\\\b(case|return|throw)\\\\\\\\b)\\\\\\\\s*',keywords:'return throw case',relevance:0,contains:[m,e.REGEXP_MODE,{className:'function',begin:x,returnBegin:!0,end:'\\\\\\\\s*=>',contains:[{className:'params',variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\\\\(\\\\s*\\\\)/,skip:!0},{begin:/\\\\(/,end:/\\\\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:_}]}]},{begin:/,/,relevance:0},{match:/\\\\s+/,relevance:0},{variants:[{begin:'<>',end:'</>'},{match:/<[A-Za-z0-9\\\\\\\\._:-]+\\\\s*\\\\/>/},{begin:a,'on:begin':r,end:i}],subLanguage:'xml',contains:[{begin:a,end:i,skip:!0,contains:['self']}]}]},v,{beginKeywords:'while if switch catch for'},{begin:'\\\\\\\\b(?!function)'+e.UNDERSCORE_IDENT_RE+'\\\\\\\\([^()]*(\\\\\\\\([^()]*(\\\\\\\\([^()]*\\\\\\\\)[^()]*)*\\\\\\\\)[^()]*)*\\\\\\\\)\\\\\\\\s*\\\\\\\\{',returnBegin:!0,label:'func.def',contains:[h,e.inherit(e.TITLE_MODE,{begin:t,className:'title.function'})]},{match:/\\\\.\\\\.\\\\./,relevance:0},w,{match:'\\\\\\\\$'+t,relevance:0},{match:[/\\\\bconstructor(?=\\\\s*\\\\()/],className:{1:'title.function'},contains:[h]},y,{relevance:0,match:/\\\\b[A-Z][A-Z_0-9]+\\\\b/,className:'variable.constant'},f,N,{match:/\\\\$[(.]/}]}}})(),n.registerLanguage('javascript',e),n.registerLanguage('rust',e=>{var n=e.regex,n={className:'title.function.invoke',relevance:0,begin:n.concat(/\\\\b/,/(?!let\\\\b)/,e.IDENT_RE,n.lookahead(/\\\\s*\\\\(/))},t='([ui](8|16|32|64|128|size)|f(32|64))?',a=['drop ','Copy','Send','Sized','Sync','Drop','Fn','FnMut','FnOnce','ToOwned','Clone','Debug','PartialEq','PartialOrd','Eq','Ord','AsRef','AsMut','Into','From','Default','Iterator','Extend','IntoIterator','DoubleEndedIterator','ExactSizeIterator','SliceConcatExt','ToString','assert!','assert_eq!','bitflags!','bytes!','cfg!','col!','concat!','concat_idents!','debug_assert!','debug_assert_eq!','env!','panic!','file!','format!','format_args!','include_bin!','include_str!','line!','local_data_key!','module_path!','option_env!','print!','println!','select!','stringify!','try!','unimplemented!','unreachable!','vec!','write!','writeln!','macro_rules!','assert_ne!','debug_assert_ne!'];return{name:'Rust',aliases:['rs'],keywords:{$pattern:e.IDENT_RE+'!?',type:['i8','i16','i32','i64','i128','isize','u8','u16','u32','u64','u128','usize','f32','f64','str','char','bool','Box','Option','Result','String','Vec'],keyword:['abstract','as','async','await','become','box','break','const','continue','crate','do','dyn','else','enum','extern','false','final','fn','for','if','impl','in','let','loop','macro','match','mod','move','mut','override','priv','pub','ref','return','self','Self','static','struct','super','trait','true','try','type','typeof','unsafe','unsized','use','virtual','where','while','yield'],literal:['true','false','Some','None','Ok','Err'],built_in:a},illegal:'</',contains:[e.C_LINE_COMMENT_MODE,e.COMMENT('/\\\\\\\\*','\\\\\\\\*/',{contains:['self']}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?\\\"/,illegal:null}),{className:'string',variants:[{begin:/b?r(#*)\\\"(.|\\\\n)*?\\\"\\\\1(?!#)/},{begin:/b?'\\\\\\\\?(x\\\\w{2}|u\\\\w{4}|U\\\\w{8}|.)'/}]},{className:'symbol',begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:'number',variants:[{begin:'\\\\\\\\b0b([01_]+)'+t},{begin:'\\\\\\\\b0o([0-7_]+)'+t},{begin:'\\\\\\\\b0x([A-Fa-f0-9_]+)'+t},{begin:'\\\\\\\\b(\\\\\\\\d[\\\\\\\\d_]*(\\\\\\\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)'+t}],relevance:0},{begin:[/fn/,/\\\\s+/,e.UNDERSCORE_IDENT_RE],className:{1:'keyword',3:'title.function'}},{className:'meta',begin:'#!?\\\\\\\\[',end:'\\\\\\\\]',contains:[{className:'string',begin:/\\\"/,end:/\\\"/}]},{begin:[/let/,/\\\\s+/,/(?:mut\\\\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:'keyword',3:'keyword',4:'variable'}},{begin:[/for/,/\\\\s+/,e.UNDERSCORE_IDENT_RE,/\\\\s+/,/in/],className:{1:'keyword',3:'variable',5:'keyword'}},{begin:[/type/,/\\\\s+/,e.UNDERSCORE_IDENT_RE],className:{1:'keyword',3:'title.class'}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\\\\s+/,e.UNDERSCORE_IDENT_RE],className:{1:'keyword',3:'title.class'}},{begin:e.IDENT_RE+'::',keywords:{keyword:'Self',built_in:a}},{className:'punctuation',begin:'->'},n]}}),e=(()=>{'use strict';var e='\\\\\\\\.([0-9](_*[0-9])*)',n='[0-9a-fA-F](_*[0-9a-fA-F])*',s={className:'number',variants:[{begin:`(\\\\\\\\b([0-9](_*[0-9])*)((${e})|\\\\\\\\.)?|(${e}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\\\\\\\b`},{begin:`\\\\\\\\b([0-9](_*[0-9])*)((${e})[fFdD]?\\\\\\\\b|\\\\\\\\.([fFdD]\\\\\\\\b)?)`},{begin:`(${e})[fFdD]?\\\\\\\\b`},{begin:'\\\\\\\\b([0-9](_*[0-9])*)[fFdD]\\\\\\\\b'},{begin:`\\\\\\\\b0[xX]((${n})\\\\\\\\.?|(${n})?\\\\\\\\.(${n}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\\\\\\\b`},{begin:'\\\\\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\\\\\b'},{begin:`\\\\\\\\b0[xX](${n})[lL]?\\\\\\\\b`},{begin:'\\\\\\\\b0(_*[0-7])*[lL]?\\\\\\\\b'},{begin:'\\\\\\\\b0[bB][01](_*[01])*[lL]?\\\\\\\\b'}],relevance:0};return e=>{e.regex;var n='[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*',t=n+function n(t,a,i){return-1===i?'':t.replace(a,e=>n(t,a,i-1))}('(?:<'+n+'~~~(?:\\\\\\\\s*,\\\\\\\\s*'+n+'~~~)*>)?',/~~~/g,2),a={keyword:['synchronized','abstract','private','var','static','if','const ','for','while','strictfp','finally','protected','import','native','final','void','enum','else','break','transient','catch','instanceof','volatile','case','assert','package','default','public','try','switch','continue','throws','protected','public','private','module','requires','exports','do','sealed'],literal:['false','true','null'],type:['char','boolean','long','float','int','byte','short','double'],built_in:['super','this']},i={className:'meta',begin:'@'+n,contains:[{begin:/\\\\(/,end:/\\\\)/,contains:['self']}]},r={className:'params',begin:/\\\\(/,end:/\\\\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:'Java',aliases:['jsp'],keywords:a,illegal:/<\\\\/|#/,contains:[e.COMMENT('/\\\\\\\\*\\\\\\\\*','\\\\\\\\*/',{relevance:0,contains:[{begin:/\\\\w+@/,relevance:0},{className:'doctag',begin:'@[A-Za-z]+'}]}),{begin:/import java\\\\.[a-z]+\\\\./,keywords:'import',relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/\\\"\\\"\\\"/,end:/\\\"\\\"\\\"/,className:'string',contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\\\\b(?:class|interface|enum|extends|implements|new)/,/\\\\s+/,n],className:{1:'keyword',3:'title.class'}},{match:/non-sealed/,scope:'keyword'},{begin:[n,/\\\\s+/,n,/\\\\s+/,/=/],className:{1:'type',3:'variable',5:'operator'}},{begin:[/record/,/\\\\s+/,n],className:{1:'keyword',3:'title.class'},contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:'new throw return else',relevance:0},{begin:['(?:'+t+'\\\\\\\\s+)',e.UNDERSCORE_IDENT_RE,/\\\\s*(?=\\\\()/],className:{2:'title.function'},keywords:a,contains:[{className:'params',begin:/\\\\(/,end:/\\\\)/,keywords:a,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},s,i]}}})(),n.registerLanguage('java',e),exports.hljs=n;\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/highlight/highlight.css\":{\"text\":\"/*!\\n Theme: Default\\n Description: Original highlight.js style\\n Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>\\n Maintainer: @highlightjs/core-team\\n Website: https://highlightjs.org/\\n License: see project LICENSE\\n Touched: 2021\\n*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}\",\"type\":\"text/css\",\"tags\":\"[[$:/tags/Stylesheet]] [[$:/tags/Stylesheet/Highlight]]\"},\"$:/plugins/tiddlywiki/highlight/highlightblock.js\":{\"text\":\"'use strict';var e=require('$:/core/modules/widgets/codeblock.js').codeblock,l=require('$:/plugins/tiddlywiki/highlight/highlight.js');void 0!==l.getLanguage&&($tw.utils.each($tw.modules.types.highlight,function(e,i){$tw.utils.evalSandboxed(e.definition,{hljs:l,exports:{}},i)}),e.prototype.postRender=function(){var e=this.domNodes[0],i=this.language,t=this.wiki.getTiddler('$:/config/HighlightPlugin/TypeMappings/'+i);(i=t?t.fields.text||'':i)&&l.getLanguage(i)&&(e.className='hljs',e.children[0].className=i.toLowerCase()+' hljs',$tw.browser&&!e.isTiddlyWikiFakeDom?l.highlightElement(e.children[0]):(t=e.textContent,e.children[0].innerHTML=l.highlight(t,{language:i,ignoreIllegals:!0}).value,e.isTiddlyWikiFakeDom&&(e.children[0].textInnerHTML=t)))});\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/tiddlywiki/highlight/license\":{\"type\":\"text/plain\",\"text\":\"Copyright (c) 2006, Ivan Sagalaev\\nAll rights reserved.\\nRedistribution and use in source and binary forms, with or without\\nmodification, are permitted provided that the following conditions are met:\\n\\n * Redistributions of source code must retain the above copyright\\n notice, this list of conditions and the following disclaimer.\\n * Redistributions in binary form must reproduce the above copyright\\n notice, this list of conditions and the following disclaimer in the\\n documentation and/or other materials provided with the distribution.\\n * Neither the name of highlight.js nor the names of its contributors\\n may be used to endorse or promote products derived from this software\\n without specific prior written permission.\\n\\nTHIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\nDISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY\\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n\"},\"$:/plugins/tiddlywiki/highlight/readme\":{\"text\":\"\\\\define highlightVersion()11.4.0\\nThis plugin provides syntax highlighting of code blocks using version <<highlightVersion>> of [[highlight.js|https://github.com/isagalaev/highlight.js]] from Ivan Sagalaev. This plugin does not work on browsers that do not fully support ~JavaScript ES6 (2015). If you need highlight.js running on those legacy browsers, you would need to install the \\\"Highlight (Legacy)\\\" plugin instead. Here's a [[ES6 compatibility table|https://caniuse.com/?search=es6]].\\n\\n! Built-in Language Brushes\\n\\nThe plugin includes support for the following common languages (referred to as \\\"brushes\\\" by highlight.js):\\n\\n* bash\\n* c\\n* cpp\\n* csharp\\n* css\\n* diff\\n* go\\n* html, xml\\n* java\\n* javascript\\n* json\\n* kotlin\\n* less\\n* lua\\n* makefile\\n* markdown\\n* objectivec\\n* perl\\n* php\\n* plaintext\\n* python\\n* R\\n* ruby\\n* rust\\n* scss\\n* sql\\n* shell session\\n* swift\\n* toml, ini\\n* typescript\\n* visual basic .net\\n* yaml\\n\\nAnd these additional ones:\\n\\n* apache config\\n* dockerfile\\n* fortran\\n* latex\\n* nginx config\\n\\nThe mapping between a MIME type and a highlight.js language specifier is accomplished via mapping tiddlers whose titles start with `$:/config/HighlightPlugin/TypeMappings/`.\\n\"},\"$:/plugins/tiddlywiki/highlight/styles\":{\"tags\":\"[[$:/tags/Stylesheet]] [[$:/tags/Stylesheet/Highlight]]\",\"text\":\"pre.hljs {\\n padding: 0;\\n}\\n\\npre code.hljs {\\n padding: 0.5em;\\n}\\n\\n.hljs {\\n background: <<colour tiddler-editor-background>>;\\n color: <<colour foreground>>;\\n -webkit-text-size-adjust:none;\\n}\\n\\n.hljs-comment,\\n.hljs-quote {\\n color: #93a1a1;\\n}\\n\\n/* Solarized Green */\\n.hljs-keyword,\\n.hljs-selector-tag,\\n.hljs-addition {\\n color: #859900;\\n}\\n\\n/* Solarized Cyan */\\n.hljs-number,\\n.hljs-string,\\n.hljs-meta .hljs-string,\\n.hljs-literal,\\n.hljs-doctag,\\n.hljs-regexp {\\n color: #2aa198;\\n}\\n\\n/* Solarized Blue */\\n.hljs-title,\\n.hljs-section,\\n.hljs-name,\\n.hljs-selector-id,\\n.hljs-selector-class {\\n color: #268bd2;\\n}\\n\\n/* Solarized Yellow */\\n.hljs-attribute,\\n.hljs-attr,\\n.hljs-variable,\\n.hljs-template-variable,\\n.hljs-class .hljs-title,\\n.hljs-type {\\n color: #b58900;\\n}\\n\\n/* Solarized Orange */\\n.hljs-symbol,\\n.hljs-bullet,\\n.hljs-subst,\\n.hljs-meta,\\n.hljs-meta .hljs-keyword,\\n.hljs-selector-attr,\\n.hljs-selector-pseudo,\\n.hljs-link {\\n color: #cb4b16;\\n}\\n\\n/* Solarized Red */\\n.hljs-built_in,\\n.hljs-deletion {\\n color: #dc322f;\\n}\\n\\n.hljs-formula {\\n background: #eee8d5;\\n}\\n\\n.hljs-emphasis {\\n font-style: italic;\\n}\\n\\n.hljs-strong {\\n font-weight: bold;\\n}\\n\"},\"$:/plugins/tiddlywiki/highlight/usage\":{\"text\":\"\\\\import $:/plugins/tiddlywiki/highlight/readme\\n! Usage\\n\\nSyntax highlighting is triggered when you add language information to code blocks defined with triple backticks or with the `<$codeblock>` widget. For fenced code blocks, specify the code's language immediately after the first set of backticks:\\n\\n```\\n ```js\\n var a = b + c; // Highlighted as JavaScript\\n ```\\n```\\n\\n! Adding Themes\\n\\nThe available themes can be found from the following CDNs:\\n\\n* <a href=`https://www.jsdelivr.com/package/gh/highlightjs/cdn-release?path=build%2Fstyles&version=$(highlightVersion)$` class=\\\"tc-tiddlylink-external\\\" target=\\\"_blank\\\">jsDelivr</a>\\n* <a href=`https://unpkg.com/browse/@highlightjs/cdn-assets@$(highlightVersion)$/styles/` class=\\\"tc-tiddlylink-external\\\" target=\\\"_blank\\\">unpkg</a>\\n\\nYou can add themes from highlight.js by copying the CSS to a new tiddler and tagging it with [[$:/tags/Stylesheet/Highlight]], with type set to `text/css`.\\n\\nThen, check the new theme in the following list and uncheck others: \\n\\n<$list filter='[[$:/tags/Stylesheet/Highlight]tagging[]]'>\\n\\n<$checkbox tag='$:/tags/Stylesheet'> <<currentTiddler>></$checkbox>\\n\\n</$list>! Supporting Additional Languages\\n\\nThe [[highlight.js|https://github.com/highlightjs/highlight.js]] project supports many languages. Only a subset of these languages are supported by the plugin. You can change the language set using either of the following methods:\\n\\n!! Browser-based Method\\n\\nYou can import language definitions into <$text text=JavaScript/> tiddlers, with their `module-type` set to \\\"highlight\\\".\\n\\nFirst, locate the language file(s) you need. You can fetch the files from the following CDNs:\\n\\n* <a href=`https://www.jsdelivr.com/package/gh/highlightjs/cdn-release?path=build%2Flanguages&version=$(highlightVersion)$` class=\\\"tc-tiddlylink-external\\\" target=\\\"_blank\\\">jsDelivr</a>\\n* <a href=`https://unpkg.com/browse/@highlightjs/cdn-assets@$(highlightVersion)$/languages/` class=\\\"tc-tiddlylink-external\\\" target=\\\"_blank\\\">unpkg</a>\\n\\nThen, click the button below to create a \\\"highlight\\\" module. Copy and paste the content of a language file into the the text area. Give your tiddler a meaningful title so you can keep track of the languages you've installed. You may choose to either create one tiddler per language or lump all language definitions into one tiddler. Save and reload your wiki.\\n\\n<$button tooltip='add new languages'aria-label='add new languages'>\\n<$action-createtiddler $basetitle=highlight-language.js text=''type='application/javascript'module-type=highlight>\\n<$action-sendmessage $param=<<createTiddler-title>>$message=tm-edit-tiddler/>\\n</$action-createtiddler>\\nAdd New Language(s)\\n</$button>\\n\\n!!! Keeping Your Language Definitions Up-to-date\\n\\nRemember to update installed languages whenever this plugin is upgraded: \\n\\n<ul>\\n<$list emptyMessage='<li>(none installed)'filter=[[highlight]modules[]]>\\n<li><$link><<currentTiddler>></$link></li>\\n</$list>\\n</ul>\\n\\n!! Via <$text text=\\\"TiddlyWiki\\\"/> on Node.js\\n\\nYou can replace the supplied highlight.js library with a custom version:\\n\\n# Go to the highlight.js project [[download page|https://highlightjs.org/download/]], select the language definitions to include, and press the Download button to download a zip archive containing customised support files for a highlight.js syntax highlighting server.\\n# Locate the `highlight.min.js` file in the highlight plugin -- on a stock Debian 8 system running Tiddlywiki5 under node-js, it is in `/usr/local/lib/node_modules/tiddlywiki/plugins/tiddlywiki/highlight/files/`.\\n# Replace the plugin `highlight.min.js` file located in step 2 with the one from the downloaded archive obtained in step 1.\\n# Restart the ~TiddlyWiki server.\"}},\"ugly\":true}"},{"title":"$:/plugins/tiddlywiki/markdown","name":"Markdown","description":"Markdown parser based on markdown-it","list":"readme settings syntax license","stability":"STABILITY_2_STABLE","version":"5.3.7","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/tiddlywiki/markdown/EditorToolbar/bold\":{\"list-after\":\"$:/core/ui/EditorToolbar/bold\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/bold\",\"caption\":\"{{$:/language/Buttons/Bold/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Bold/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((bold))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=wrap-selection prefix=** suffix=**/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/heading-1\":{\"list-after\":\"$:/core/ui/EditorToolbar/heading-1\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-1\",\"caption\":\"{{$:/language/Buttons/Heading1/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Heading1/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((heading-1))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=# count=1/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/heading-2\":{\"list-after\":\"$:/core/ui/EditorToolbar/heading-2\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-2\",\"caption\":\"{{$:/language/Buttons/Heading2/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Heading2/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((heading-2))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=# count=2/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/heading-3\":{\"list-after\":\"$:/core/ui/EditorToolbar/heading-3\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-3\",\"caption\":\"{{$:/language/Buttons/Heading3/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Heading3/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((heading-3))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=# count=3/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/heading-4\":{\"list-after\":\"$:/core/ui/EditorToolbar/heading-4\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-4\",\"caption\":\"{{$:/language/Buttons/Heading4/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Heading4/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((heading-4))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=# count=4/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/heading-5\":{\"list-after\":\"$:/core/ui/EditorToolbar/heading-5\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-5\",\"caption\":\"{{$:/language/Buttons/Heading5/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Heading5/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((heading-5))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=# count=5/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/heading-6\":{\"list-after\":\"$:/core/ui/EditorToolbar/heading-6\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-6\",\"caption\":\"{{$:/language/Buttons/Heading6/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Heading6/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((heading-6))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=# count=6/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/italic\":{\"list-after\":\"$:/core/ui/EditorToolbar/italic\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/italic\",\"caption\":\"{{$:/language/Buttons/Italic/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Italic/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((italic))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=wrap-selection prefix=* suffix=*/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/link-dropdown\":{\"text\":\"\\\\define lingo-base()$:/language/Buttons/Link/\\n\\\\define add-link-actions()<$action-sendmessage $message=tm-edit-text-operation text={{$(linkTiddler)$}}$param=make-markdown-link/><$action-deletetiddler $filter=\\\"[<dropdown-state>] [<searchTiddler>] [<linkTiddler>] [<storeTitle>] [<searchListState>]\\\"/>\\n\\\\define get-focus-selector()[data-tiddler-title=\\\"$(cssEscapedTitle)$\\\"] .tc-create-wikitext-link input\\n\\\\define cancel-search-actions-inner()<$let userInput={{{[<storeTitle>get[text]]}}}><$list filter='[<searchTiddler>get[text]!match<userInput>]'emptyMessage=\\\"<$action-deletetiddler $filter='[<searchTiddler>] [<linkTiddler>] [<storeTitle>] [<searchListState>]'/>\\\"><$action-setfield $tiddler=<<searchTiddler>>text=<<userInput>>/><$action-setfield $tiddler=<<refreshTitle>>text=yes/>\\n\\\\define cancel-search-actions()<$list filter=\\\"[<storeTitle>!has[text]<searchTiddler>!has[text]]\\\"emptyMessage=\\\"<<cancel-search-actions-inner>>\\\"><$action-sendmessage $message=tm-edit-text-operation $param=focus-editor/>\\n\\\\define external-link()<$button style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\"actions=<<add-link-actions>>class=tc-btn-invisible>{{$:/core/images/chevron-right}}\\n\\\\define set-next-input-tab(beforeafter:after)<$macrocall stateTitle='$:/state/tab/search-results/sidebar'tag='$:/tags/SearchResults'beforeafter=\\\"$beforeafter$\\\"defaultState={{$:/config/SearchResults/Default}}actions=\\\"<$action-setfield $tiddler='$:/state/search/currentTab' text=<<nextTab>>/>\\\"$name=change-input-tab/>\\n\\\\define body(config-title)\\n''<<lingo Hint>>''\\n\\n<$vars searchTiddler=\\\"\\\"\\\"$config-title$/search\\\"\\\"\\\"linkTiddler=\\\"\\\"\\\"$config-title$/link\\\"\\\"\\\"linktext=''searchListState=<<qualify'$:/temp/link-search/selected-item'>>refreshTitle=<<qualify'$:/temp/link-search/refresh'>>storeTitle=<<qualify'$:/temp/link-search/input'>>>\\n\\n<$let linkTiddler=<<searchTiddler>>><$keyboard actions=<<set-next-input-tab>>key=((input-tab-right))><$keyboard key=((input-tab-left)) actions=<<set-next-input-tab before>>class=tc-create-wikitext-link><$macrocall $name=keyboard-driven-input tiddler=<<searchTiddler>>storeTitle=<<storeTitle>>selectionStateTitle=<<searchListState>>refreshTitle=<<refreshTitle>>type=search filterMinLength=1 tag=input focus inputCancelActions=<<cancel-search-actions>>inputAcceptActions=<<add-link-actions>>placeholder={{$:/language/Search/Search}}default=''configTiddlerFilter='[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]'class=tc-popup-handle/></$keyboard></$keyboard>&#32;<$reveal tag=span state=<<storeTitle>>text=''type=nomatch><<external-link>>&#32;<$button style='width: auto; display: inline-block; background-colour: inherit;'class=tc-btn-invisible><<cancel-search-actions>><$let cssEscapedTitle={{{[<storyTiddler>escapecss[]]}}}><$action-sendmessage $param=<<get-focus-selector>>$message=tm-focus-selector/></$let>{{$:/core/images/close-button}}</$button></$reveal></$let>\\n\\n<$reveal tag=div state=<<storeTitle>>text=''type=nomatch>\\n\\n<$linkcatcher actions=<<add-link-actions>>to=<<linkTiddler>>>\\n\\n<$vars userInput={{{[<storeTitle>get[text]]}}}configTiddler={{{[[$:/state/search/currentTab]!is[missing]get[text]]~[{$:/config/SearchResults/Default}]}}}>\\n\\n{{$:/core/ui/SearchResults}}\\n\\\\end\\n<$macrocall config-title=<<qualify'$:/state/Link/'>>$name=body/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/link\":{\"list-after\":\"$:/core/ui/EditorToolbar/link\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/link\",\"caption\":\"{{$:/language/Buttons/Link/Caption}}\",\"description\":\"{{$:/language/Buttons/Link/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((link))\",\"dropdown\":\"$:/plugins/tiddlywiki/markdown/EditorToolbar/link-dropdown\",\"text\":\"\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/linkify\":{\"caption\":\"{{$:/language/Buttons/Linkify/Caption}} (Markdown)\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"description\":\"{{$:/language/Buttons/Linkify/Hint}}\",\"icon\":\"$:/plugins/tiddlywiki/markdown/images/markdown-linkify\",\"list-after\":\"$:/core/ui/EditorToolbar/linkify\",\"shortcuts\":\"((linkify))\",\"tags\":\"$:/tags/EditorToolbar\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=wrap-selection prefix=[ suffix=]()/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/list-bullet\":{\"list-after\":\"$:/core/ui/EditorToolbar/list-bullet\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/list-bullet\",\"caption\":\"{{$:/language/Buttons/ListBullet/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/ListBullet/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((list-bullet))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=* count=1/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/list-number\":{\"list-after\":\"$:/core/ui/EditorToolbar/list-number\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/list-number\",\"caption\":\"{{$:/language/Buttons/ListNumber/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/ListNumber/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((list-number))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=1. count=1/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/mono-block\":{\"list-after\":\"$:/core/ui/EditorToolbar/mono-block\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/mono-block\",\"caption\":\"{{$:/language/Buttons/MonoBlock/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/MonoBlock/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((mono-block))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation prefix=\\\"\\n```\\\"suffix=\\\"```\\\"$param=wrap-lines/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/mono-line\":{\"list-after\":\"$:/core/ui/EditorToolbar/mono-line\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/mono-line\",\"caption\":\"{{$:/language/Buttons/MonoLine/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/MonoLine/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((mono-line))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation prefix=\\\"`\\\"suffix=\\\"`\\\"$param=wrap-selection/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/picture-dropdown\":{\"text\":\"\\\\define replacement-text()![](<#$(escaped-text)$>)\\n\\\\define escapetitle()[()<>\\\\\\\\]\\n''{{$:/language/Buttons/Picture/Hint}}''\\n\\n<$macrocall actions='\\n\\n<$let escaped-text={{{ [<imageTitle>search-replace:g:regexp<escapetitle>,[\\\\$&]] }}}>\\n<$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"replace-selection\\\"\\n\\ttext=<<replacement-text>>\\n/>\\n\\n<$action-deletetiddler\\n\\t$tiddler=<<dropdown-state>>\\n/>\\n</$let>\\n'$name=image-picker/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/picture\":{\"list-after\":\"$:/core/ui/EditorToolbar/picture\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/picture\",\"caption\":\"{{$:/language/Buttons/Picture/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Picture/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((picture))\",\"dropdown\":\"$:/plugins/tiddlywiki/markdown/EditorToolbar/picture-dropdown\",\"text\":\"\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/quote\":{\"list-after\":\"$:/core/ui/EditorToolbar/quote\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/quote\",\"caption\":\"{{$:/language/Buttons/Quote/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Quote/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((quote))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=prefix-lines character=\\\">\\\"count=1/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/strikethrough\":{\"list-after\":\"$:/core/ui/EditorToolbar/strikethrough\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/strikethrough\",\"caption\":\"{{$:/language/Buttons/Strikethrough/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Strikethrough/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((strikethrough))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=wrap-selection prefix=~~ suffix=~~/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/subscript\":{\"list-after\":\"$:/core/ui/EditorToolbar/subscript\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/subscript\",\"caption\":\"{{$:/language/Buttons/Subscript/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Subscript/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((subscript))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=wrap-selection prefix=~ suffix=~/>\\n\"},\"$:/plugins/tiddlywiki/markdown/EditorToolbar/superscript\":{\"list-after\":\"$:/core/ui/EditorToolbar/superscript\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/superscript\",\"caption\":\"{{$:/language/Buttons/Superscript/Caption}} (Markdown)\",\"description\":\"{{$:/language/Buttons/Superscript/Hint}}\",\"condition\":\"[<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]\",\"shortcuts\":\"((superscript))\",\"text\":\"<$action-sendmessage $message=tm-edit-text-operation $param=wrap-selection prefix=^ suffix=^/>\\n\"},\"$:/plugins/tiddlywiki/markdown/KeyboardShortcuts/new-markdown-tiddler\":{\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-markdown-tiddler))\",\"text\":\"<$navigator story=\\\"$:/StoryList\\\"history=\\\"$:/HistoryList\\\"openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}}openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}}relinkOnRename={{$:/config/RelinkOnRename}}><$action-sendmessage type=\\\"text/markdown\\\"$message=tm-new-tiddler/>\"},\"$:/config/ShortcutInfo/new-markdown-tiddler\":{\"text\":\"{{$:/language/Buttons/NewMarkdown/Hint}}\"},\"$:/config/shortcuts-mac/new-markdown-tiddler\":{\"text\":\"ctrl-M\"},\"$:/config/shortcuts-not-mac/new-markdown-tiddler\":{\"text\":\"alt-M\"},\"$:/config/markdown/breaks\":{\"text\":\"false\"},\"$:/config/markdown/linkify\":{\"text\":\"false\"},\"$:/config/markdown/quotes\":{\"text\":\"“”‘’\"},\"$:/config/markdown/renderWikiText\":{\"text\":\"true\"},\"$:/config/markdown/renderWikiTextPragma\":{\"text\":\"\\\\rules only html entity syslink prettylink image prettyextlink wikilink commentblock commentinline macrocallblock macrocallinline transcludeblock transcludeinline filteredtranscludeblock filteredtranscludeinline\"},\"$:/config/markdown/typographer\":{\"text\":\"false\"},\"$:/language/Docs/Types/text/markdown\":{\"description\":\"Markdown\",\"name\":\"text/markdown\",\"group\":\"Text\"},\"$:/plugins/tiddlywiki/markdown/editor-operations/make-markdown-link.js\":{\"text\":\"'use strict';exports['make-markdown-link']=function(e,t){var a,r=/[()<>\\\\\\\\]/g,c='\\\\\\\\$&';t.selection?(a=t.selection.replace(/[\\\\[\\\\]\\\\\\\\]/g,c),-1!==e.paramObject.text.indexOf('://')?t.replacement='['+a+']('+e.paramObject.text.replace(/[()\\\\\\\\]/g,c)+')':t.replacement='['+a+'](<#'+e.paramObject.text.replace(r,c)+'>)'):-1!==e.paramObject.text.indexOf('://')?t.replacement='<'+e.paramObject.text.replace(/[<>]/g,function(e,t,a){return encodeURI(e)})+'>':t.replacement='[](<#'+e.paramObject.text.replace(r,c)+'>)',t.cutStart=t.selStart,t.cutEnd=t.selEnd,t.newSelStart=t.selStart+t.replacement.length,t.newSelEnd=t.newSelStart};\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/plugins/tiddlywiki/markdown/markdown-it.js\":{\"text\":\"var e,t;e=this,t=function(){'use strict';var i={Aacute:'Á',aacute:'á',Abreve:'Ă',abreve:'ă',ac:'∾',acd:'∿',acE:'∾̳',Acirc:'Â',acirc:'â',acute:'´',Acy:'А',acy:'а',AElig:'Æ',aelig:'æ',af:'',Afr:'𝔄',afr:'𝔞',Agrave:'À',agrave:'à',alefsym:'ℵ',aleph:'ℵ',Alpha:'Α',alpha:'α',Amacr:'Ā',amacr:'ā',amalg:'⨿',amp:'&',AMP:'&',andand:'⩕',And:'⩓',and:'∧',andd:'⩜',andslope:'⩘',andv:'⩚',ang:'∠',ange:'⦤',angle:'∠',angmsdaa:'⦨',angmsdab:'⦩',angmsdac:'⦪',angmsdad:'⦫',angmsdae:'⦬',angmsdaf:'⦭',angmsdag:'⦮',angmsdah:'⦯',angmsd:'∡',angrt:'∟',angrtvb:'⊾',angrtvbd:'⦝',angsph:'∢',angst:'Å',angzarr:'⍼',Aogon:'Ą',aogon:'ą',Aopf:'𝔸',aopf:'𝕒',apacir:'⩯',ap:'≈',apE:'⩰',ape:'≊',apid:'≋',apos:'\\\\'',ApplyFunction:'',approx:'≈',approxeq:'≊',Aring:'Å',aring:'å',Ascr:'𝒜',ascr:'𝒶',Assign:'≔',ast:'*',asymp:'≈',asympeq:'≍',Atilde:'Ã',atilde:'ã',Auml:'Ä',auml:'ä',awconint:'∳',awint:'⨑',backcong:'≌',backepsilon:'϶',backprime:'',backsim:'∽',backsimeq:'⋍',Backslash:'',Barv:'⫧',barvee:'⊽',barwed:'⌅',Barwed:'⌆',barwedge:'⌅',bbrk:'⎵',bbrktbrk:'⎶',bcong:'≌',Bcy:'Б',bcy:'б',bdquo:'„',becaus:'∵',because:'∵',Because:'∵',bemptyv:'⦰',bepsi:'϶',bernou:'',Bernoullis:'',Beta:'Β',beta:'β',beth:'ℶ',between:'≬',Bfr:'𝔅',bfr:'𝔟',bigcap:'⋂',bigcirc:'◯',bigcup:'',bigodot:'⨀',bigoplus:'⨁',bigotimes:'⨂',bigsqcup:'⨆',bigstar:'★',bigtriangledown:'▽',bigtriangleup:'△',biguplus:'⨄',bigvee:'',bigwedge:'⋀',bkarow:'⤍',blacklozenge:'⧫',blacksquare:'▪',blacktriangle:'▴',blacktriangledown:'▾',blacktriangleleft:'◂',blacktriangleright:'▸',blank:'␣',blk12:'▒',blk14:'░',blk34:'▓',block:'█',bne:'=⃥',bnequiv:'≡⃥',bNot:'⫭',bnot:'⌐',Bopf:'𝔹',bopf:'𝕓',bot:'⊥',bottom:'⊥',bowtie:'⋈',boxbox:'⧉',boxdl:'┐',boxdL:'╕',boxDl:'╖',boxDL:'╗',boxdr:'┌',boxdR:'╒',boxDr:'╓',boxDR:'╔',boxh:'─',boxH:'═',boxhd:'┬',boxHd:'╤',boxhD:'╥',boxHD:'╦',boxhu:'┴',boxHu:'╧',boxhU:'╨',boxHU:'╩',boxminus:'⊟',boxplus:'⊞',boxtimes:'⊠',boxul:'┘',boxuL:'╛',boxUl:'╜',boxUL:'╝',boxur:'└',boxuR:'╘',boxUr:'╙',boxUR:'╚',boxv:'│',boxV:'║',boxvh:'┼',boxvH:'╪',boxVh:'╫',boxVH:'╬',boxvl:'┤',boxvL:'╡',boxVl:'╢',boxVL:'╣',boxvr:'├',boxvR:'╞',boxVr:'╟',boxVR:'╠',bprime:'',breve:'˘',Breve:'˘',brvbar:'¦',bscr:'𝒷',Bscr:'',bsemi:'⁏',bsim:'∽',bsime:'⋍',bsolb:'⧅',bsol:'\\\\\\\\',bsolhsub:'⟈',bull:'•',bullet:'•',bump:'≎',bumpE:'⪮',bumpe:'≏',Bumpeq:'≎',bumpeq:'≏',Cacute:'Ć',cacute:'ć',capand:'⩄',capbrcup:'⩉',capcap:'⩋',cap:'∩',Cap:'⋒',capcup:'⩇',capdot:'⩀',CapitalDifferentialD:'',caps:'∩︀',caret:'',caron:'ˇ',Cayleys:'',ccaps:'⩍',Ccaron:'Č',ccaron:'č',Ccedil:'Ç',ccedil:'ç',Ccirc:'Ĉ',ccirc:'ĉ',Cconint:'∰',ccups:'⩌',ccupssm:'⩐',Cdot:'Ċ',cdot:'ċ',cedil:'¸',Cedilla:'¸',cemptyv:'⦲',cent:'¢',centerdot:'·',CenterDot:'·',cfr:'𝔠',Cfr:'',CHcy:'Ч',chcy:'ч',check:'✓',checkmark:'✓',Chi:'Χ',chi:'χ',circ:'ˆ',circeq:'≗',circlearrowleft:'↺',circlearrowright:'↻',circledast:'⊛',circledcirc:'⊚',circleddash:'⊝',CircleDot:'⊙',circledR:'®',circledS:'Ⓢ',CircleMinus:'⊖',CirclePlus:'⊕',CircleTimes:'⊗',cir:'○',cirE:'⧃',cire:'≗',cirfnint:'⨐',cirmid:'⫯',cirscir:'⧂',ClockwiseContourIntegral:'∲',CloseCurlyDoubleQuote:'”',CloseCurlyQuote:'',clubs:'♣',clubsuit:'♣',colon:':',Colon:'∷',Colone:'⩴',colone:'≔',coloneq:'≔',comma:',',commat:'@',comp:'∁',compfn:'∘',complement:'∁',complexes:'',cong:'≅',congdot:'⩭',Congruent:'≡',conint:'∮',Conint:'∯',ContourIntegral:'∮',copf:'𝕔',Copf:'',coprod:'∐',Coproduct:'∐',copy:'©',COPY:'©',copysr:'℗',CounterClockwiseContourIntegral:'∳',crarr:'↵',cross:'✗',Cross:'',Cscr:'𝒞',cscr:'𝒸',csub:'⫏',csube:'⫑',csup:'⫐',csupe:'⫒',ctdot:'⋯',cudarrl:'⤸',cudarrr:'⤵',cuepr:'⋞',cuesc:'⋟',cularr:'↶',cularrp:'⤽',cupbrcap:'⩈',cupcap:'⩆',CupCap:'≍',cup:'',Cup:'⋓',cupcup:'⩊',cupdot:'⊍',cupor:'⩅',cups:'',curarr:'↷',curarrm:'⤼',curlyeqprec:'⋞',curlyeqsucc:'⋟',curlyvee:'⋎',curlywedge:'⋏',curren:'¤',curvearrowleft:'↶',curvearrowright:'↷',cuvee:'⋎',cuwed:'⋏',cwconint:'∲',cwint:'∱',cylcty:'⌭',dagger:'†',Dagger:'‡',daleth:'ℸ',darr:'↓',Darr:'↡',dArr:'⇓',dash:'',Dashv:'⫤',dashv:'⊣',dbkarow:'⤏',dblac:'˝',Dcaron:'Ď',dcaron:'ď',Dcy:'Д',dcy:'д',ddagger:'‡',ddarr:'⇊',DD:'',dd:'',DDotrahd:'⤑',ddotseq:'⩷',deg:'°',Del:'∇',Delta:'Δ',delta:'δ',demptyv:'⦱',dfisht:'⥿',Dfr:'𝔇',dfr:'𝔡',dHar:'⥥',dharl:'⇃',dharr:'⇂',DiacriticalAcute:'´',DiacriticalDot:'˙',DiacriticalDoubleAcute:'˝',DiacriticalGrave:'`',DiacriticalTilde:'˜',diam:'⋄',diamond:'⋄',Diamond:'⋄',diamondsuit:'♦',diams:'♦',die:'¨',DifferentialD:'',digamma:'ϝ',disin:'⋲',div:'÷',divide:'÷',divideontimes:'⋇',divonx:'⋇',DJcy:'Ђ',djcy:'ђ',dlcorn:'⌞',dlcrop:'⌍',dollar:'$',Dopf:'𝔻',dopf:'𝕕',Dot:'¨',dot:'˙',DotDot:'⃜',doteq:'≐',doteqdot:'≑',DotEqual:'≐',dotminus:'∸',dotplus:'∔',dotsquare:'⊡',doublebarwedge:'⌆',DoubleContourIntegral:'∯',DoubleDot:'¨',DoubleDownArrow:'⇓',DoubleLeftArrow:'⇐',DoubleLeftRightArrow:'⇔',DoubleLeftTee:'⫤',DoubleLongLeftArrow:'⟸',DoubleLongLeftRightArrow:'⟺',DoubleLongRightArrow:'⟹',DoubleRightArrow:'⇒',DoubleRightTee:'⊨',DoubleUpArrow:'⇑',DoubleUpDownArrow:'⇕',DoubleVerticalBar:'∥',DownArrowBar:'⤓',downarrow:'↓',DownArrow:'↓',Downarrow:'⇓',DownArrowUpArrow:'⇵',DownBreve:'̑',downdownarrows:'⇊',downharpoonleft:'⇃',downharpoonright:'⇂',DownLeftRightVector:'⥐',DownLeftTeeVector:'⥞',DownLeftVectorBar:'⥖',DownLeftVector:'↽',DownRightTeeVector:'⥟',DownRightVectorBar:'⥗',DownRightVector:'⇁',DownTeeArrow:'↧',DownTee:'',drbkarow:'⤐',drcorn:'⌟',drcrop:'⌌',Dscr:'𝒟',dscr:'𝒹',DScy:'Ѕ',dscy:'ѕ',dsol:'⧶',Dstrok:'Đ',dstrok:'đ',dtdot:'⋱',dtri:'▿',dtrif:'▾',duarr:'⇵',duhar:'⥯',dwangle:'⦦',DZcy:'Џ',dzcy:'џ',dzigrarr:'⟿',Eacute:'É',eacute:'é',easter:'⩮',Ecaron:'Ě',ecaron:'ě',Ecirc:'Ê',ecirc:'ê',ecir:'≖',ecolon:'≕',Ecy:'Э',ecy:'э',eDDot:'⩷',Edot:'Ė',edot:'ė',eDot:'≑',ee:'',efDot:'≒',Efr:'𝔈',efr:'𝔢',eg:'⪚',Egrave:'È',egrave:'è',egs:'⪖',egsdot:'⪘',el:'⪙',Element:'∈',elinters:'⏧',ell:'',els:'⪕',elsdot:'⪗',Emacr:'Ē',emacr:'ē',empty:'∅',emptyset:'∅',EmptySmallSquare:'◻',emptyv:'∅',EmptyVerySmallSquare:'▫',emsp13:'',emsp14:'',emsp:'',ENG:'Ŋ',eng:'ŋ',ensp:'',Eogon:'Ę',eogon:'ę',Eopf:'𝔼',eopf:'𝕖',epar:'⋕',eparsl:'⧣',eplus:'⩱',epsi:'ε',Epsilon:'Ε',epsilon:'ε',epsiv:'ϵ',eqcirc:'≖',eqcolon:'≕',eqsim:'≂',eqslantgtr:'⪖',eqslantless:'⪕',Equal:'⩵',equals:'=',EqualTilde:'≂',equest:'≟',Equilibrium:'⇌',equiv:'≡',equivDD:'⩸',eqvparsl:'⧥',erarr:'⥱',erDot:'≓',escr:'',Escr:'',esdot:'≐',Esim:'⩳',esim:'≂',Eta:'Η',eta:'η',ETH:'Ð',eth:'ð',Euml:'Ë',euml:'ë',euro:'€',excl:'!',exist:'∃',Exists:'∃',expectation:'',exponentiale:'',ExponentialE:'',fallingdotseq:'≒',Fcy:'Ф',fcy:'ф',female:'♀',ffilig:'ffi',fflig:'ff',ffllig:'ffl',Ffr:'𝔉',ffr:'𝔣',filig:'fi',FilledSmallSquare:'◼',FilledVerySmallSquare:'▪',fjlig:'fj',flat:'♭',fllig:'fl',fltns:'▱',fnof:'ƒ',Fopf:'𝔽',fopf:'𝕗',forall:'∀',ForAll:'∀',fork:'⋔',forkv:'⫙',Fouriertrf:'',fpartint:'⨍',frac12:'½',frac13:'⅓',frac14:'¼',frac15:'⅕',frac16:'⅙',frac18:'⅛',frac23:'⅔',frac25:'⅖',frac34:'¾',frac35:'⅗',frac38:'⅜',frac45:'⅘',frac56:'⅚',frac58:'⅝',frac78:'⅞',frasl:'',frown:'⌢',fscr:'𝒻',Fscr:'',gacute:'ǵ',Gamma:'Γ',gamma:'γ',Gammad:'Ϝ',gammad:'ϝ',gap:'⪆',Gbreve:'Ğ',gbreve:'ğ',Gcedil:'Ģ',Gcirc:'Ĝ',gcirc:'ĝ',Gcy:'Г',gcy:'г',Gdot:'Ġ',gdot:'ġ',ge:'≥',gE:'≧',gEl:'⪌',gel:'⋛',geq:'≥',geqq:'≧',geqslant:'⩾',gescc:'⪩',ges:'⩾',gesdot:'⪀',gesdoto:'⪂',gesdotol:'⪄',gesl:'⋛︀',gesles:'⪔',Gfr:'𝔊',gfr:'𝔤',gg:'≫',Gg:'⋙',ggg:'⋙',gimel:'ℷ',GJcy:'Ѓ',gjcy:'ѓ',gla:'⪥',gl:'≷',glE:'⪒',glj:'⪤',gnap:'⪊',gnapprox:'⪊',gne:'⪈',gnE:'≩',gneq:'⪈',gneqq:'≩',gnsim:'⋧',Gopf:'𝔾',gopf:'𝕘',grave:'`',GreaterEqual:'≥',GreaterEqualLess:'⋛',GreaterFullEqual:'≧',GreaterGreater:'⪢',GreaterLess:'≷',GreaterSlantEqual:'⩾',GreaterTilde:'≳',Gscr:'𝒢',gscr:'',gsim:'≳',gsime:'⪎',gsiml:'⪐',gtcc:'⪧',gtcir:'⩺',gt:'>',GT:'>',Gt:'≫',gtdot:'⋗',gtlPar:'⦕',gtquest:'⩼',gtrapprox:'⪆',gtrarr:'⥸',gtrdot:'⋗',gtreqless:'⋛',gtreqqless:'⪌',gtrless:'≷',gtrsim:'≳',gvertneqq:'≩︀',gvnE:'≩︀',Hacek:'ˇ',hairsp:'',half:'½',hamilt:'',HARDcy:'Ъ',hardcy:'ъ',harrcir:'⥈',harr:'↔',hArr:'⇔',harrw:'↭',Hat:'^',hbar:'ℏ',Hcirc:'Ĥ',hcirc:'ĥ',hearts:'♥',heartsuit:'♥',hellip:'…',hercon:'⊹',hfr:'𝔥',Hfr:'',HilbertSpace:'',hksearow:'⤥',hkswarow:'⤦',hoarr:'⇿',homtht:'∻',hookleftarrow:'↩',hookrightarrow:'↪',hopf:'𝕙',Hopf:'',horbar:'―',HorizontalLine:'─',hscr:'𝒽',Hscr:'',hslash:'ℏ',Hstrok:'Ħ',hstrok:'ħ',HumpDownHump:'≎',HumpEqual:'≏',hybull:'',hyphen:'',Iacute:'Í',iacute:'í',ic:'',Icirc:'Î',icirc:'î',Icy:'И',icy:'и',Idot:'İ',IEcy:'Е',iecy:'е',iexcl:'¡',iff:'⇔',ifr:'𝔦',Ifr:'',Igrave:'Ì',igrave:'ì',ii:'',iiiint:'⨌',iiint:'∭',iinfin:'⧜',iiota:'℩',IJlig:'IJ',ijlig:'ij',Imacr:'Ī',imacr:'ī',image:'',ImaginaryI:'',imagline:'',imagpart:'',imath:'ı',Im:'',imof:'⊷',imped:'Ƶ',Implies:'⇒',incare:'℅',in:'∈',infin:'∞',infintie:'⧝',inodot:'ı',intcal:'⊺',int:'∫',Int:'∬',integers:'',Integral:'∫',intercal:'⊺',Intersection:'⋂',intlarhk:'⨗',intprod:'⨼',InvisibleComma:'',InvisibleTimes:'',IOcy:'Ё',iocy:'ё',Iogon:'Į',iogon:'į',Iopf:'𝕀',iopf:'𝕚',Iota:'Ι',iota:'ι',iprod:'⨼',iquest:'¿',iscr:'𝒾',Iscr:'',isin:'∈',isindot:'⋵',isinE:'⋹',isins:'⋴',isinsv:'⋳',isinv:'∈',it:'',Itilde:'Ĩ',itilde:'ĩ',Iukcy:'І',iukcy:'і',Iuml:'Ï',iuml:'ï',Jcirc:'Ĵ',jcirc:'ĵ',Jcy:'Й',jcy:'й',Jfr:'𝔍',jfr:'𝔧',jmath:'ȷ',Jopf:'𝕁',jopf:'𝕛',Jscr:'𝒥',jscr:'𝒿',Jsercy:'Ј',jsercy:'ј',Jukcy:'Є',jukcy:'є',Kappa:'Κ',kappa:'κ',kappav:'ϰ',Kcedil:'Ķ',kcedil:'ķ',Kcy:'К',kcy:'к',Kfr:'𝔎',kfr:'𝔨',kgreen:'ĸ',KHcy:'Х',khcy:'х',KJcy:'Ќ',kjcy:'ќ',Kopf:'𝕂',kopf:'𝕜',Kscr:'𝒦',kscr:'𝓀',lAarr:'⇚',Lacute:'Ĺ',lacute:'ĺ',laemptyv:'⦴',lagran:'',Lambda:'Λ',lambda:'λ',lang:'⟨',Lang:'⟪',langd:'⦑',langle:'⟨',lap:'⪅',Laplacetrf:'',laquo:'«',larrb:'⇤',larrbfs:'⤟',larr:'←',Larr:'↞',lArr:'⇐',larrfs:'⤝',larrhk:'↩',larrlp:'↫',larrpl:'⤹',larrsim:'⥳',larrtl:'↢',latail:'⤙',lAtail:'⤛',lat:'⪫',late:'⪭',lates:'⪭︀',lbarr:'⤌',lBarr:'⤎',lbbrk:'',lbrace:'{',lbrack:'[',lbrke:'⦋',lbrksld:'⦏',lbrkslu:'⦍',Lcaron:'Ľ',lcaron:'ľ',Lcedil:'Ļ',lcedil:'ļ',lceil:'⌈',lcub:'{',Lcy:'Л',lcy:'л',ldca:'⤶',ldquo:'“',ldquor:'„',ldrdhar:'⥧',ldrushar:'⥋',ldsh:'↲',le:'≤',lE:'≦',LeftAngleBracket:'⟨',LeftArrowBar:'⇤',leftarrow:'←',LeftArrow:'←',Leftarrow:'⇐',LeftArrowRightArrow:'⇆',leftarrowtail:'↢',LeftCeiling:'⌈',LeftDoubleBracket:'⟦',LeftDownTeeVector:'⥡',LeftDownVectorBar:'⥙',LeftDownVector:'⇃',LeftFloor:'⌊',leftharpoondown:'↽',leftharpoonup:'↼',leftleftarrows:'⇇',leftrightarrow:'↔',LeftRightArrow:'↔',Leftrightarrow:'⇔',leftrightarrows:'⇆',leftrightharpoons:'⇋',leftrightsquigarrow:'↭',LeftRightVector:'⥎',LeftTeeArrow:'↤',LeftTee:'⊣',LeftTeeVector:'⥚',leftthreetimes:'⋋',LeftTriangleBar:'⧏',LeftTriangle:'⊲',LeftTriangleEqual:'⊴',LeftUpDownVector:'⥑',LeftUpTeeVector:'⥠',LeftUpVectorBar:'⥘',LeftUpVector:'↿',LeftVectorBar:'⥒',LeftVector:'↼',lEg:'⪋',leg:'⋚',leq:'≤',leqq:'≦',leqslant:'⩽',lescc:'⪨',les:'⩽',lesdot:'⩿',lesdoto:'⪁',lesdotor:'⪃',lesg:'⋚︀',lesges:'⪓',lessapprox:'⪅',lessdot:'⋖',lesseqgtr:'⋚',lesseqqgtr:'⪋',LessEqualGreater:'⋚',LessFullEqual:'≦',LessGreater:'≶',lessgtr:'≶',LessLess:'⪡',lesssim:'≲',LessSlantEqual:'⩽',LessTilde:'≲',lfisht:'⥼',lfloor:'⌊',Lfr:'𝔏',lfr:'𝔩',lg:'≶',lgE:'⪑',lHar:'⥢',lhard:'↽',lharu:'↼',lharul:'⥪',lhblk:'▄',LJcy:'Љ',ljcy:'љ',llarr:'⇇',ll:'≪',Ll:'⋘',llcorner:'⌞',Lleftarrow:'⇚',llhard:'⥫',lltri:'◺',Lmidot:'Ŀ',lmidot:'ŀ',lmoustache:'⎰',lmoust:'⎰',lnap:'⪉',lnapprox:'⪉',lne:'⪇',lnE:'≨',lneq:'⪇',lneqq:'≨',lnsim:'⋦',loang:'⟬',loarr:'⇽',lobrk:'⟦',longleftarrow:'⟵',LongLeftArrow:'⟵',Longleftarrow:'⟸',longleftrightarrow:'⟷',LongLeftRightArrow:'⟷',Longleftrightarrow:'⟺',longmapsto:'⟼',longrightarrow:'⟶',LongRightArrow:'⟶',Longrightarrow:'⟹',looparrowleft:'↫',looparrowright:'↬',lopar:'⦅',Lopf:'𝕃',lopf:'𝕝',loplus:'⨭',lotimes:'⨴',lowast:'',lowbar:'_',LowerLeftArrow:'↙',LowerRightArrow:'↘',loz:'◊',lozenge:'◊',lozf:'⧫',lpar:'(',lparlt:'⦓',lrarr:'⇆',lrcorner:'⌟',lrhar:'⇋',lrhard:'⥭',lrm:'',lrtri:'⊿',lsaquo:'',lscr:'𝓁',Lscr:'',lsh:'↰',Lsh:'↰',lsim:'≲',lsime:'⪍',lsimg:'⪏',lsqb:'[',lsquo:'',lsquor:'',Lstrok:'Ł',lstrok:'ł',ltcc:'⪦',ltcir:'⩹',lt:'<',LT:'<',Lt:'≪',ltdot:'⋖',lthree:'⋋',ltimes:'⋉',ltlarr:'⥶',ltquest:'⩻',ltri:'◃',ltrie:'⊴',ltrif:'◂',ltrPar:'⦖',lurdshar:'⥊',luruhar:'⥦',lvertneqq:'≨︀',lvnE:'≨︀',macr:'¯',male:'♂',malt:'✠',maltese:'✠',Map:'⤅',map:'↦',mapsto:'↦',mapstodown:'↧',mapstoleft:'↤',mapstoup:'↥',marker:'▮',mcomma:'⨩',Mcy:'М',mcy:'м',mdash:'—',mDDot:'∺',measuredangle:'∡',MediumSpace:'',Mellintrf:'',Mfr:'𝔐',mfr:'𝔪',mho:'℧',micro:'µ',midast:'*',midcir:'⫰',mid:'',middot:'·',minusb:'⊟',minus:'',minusd:'∸',minusdu:'⨪',MinusPlus:'∓',mlcp:'⫛',mldr:'…',mnplus:'∓',models:'⊧',Mopf:'𝕄',mopf:'𝕞',mp:'∓',mscr:'𝓂',Mscr:'',mstpos:'∾',Mu:'Μ',mu:'μ',multimap:'⊸',mumap:'⊸',nabla:'∇',Nacute:'Ń',nacute:'ń',nang:'∠⃒',nap:'≉',napE:'⩰̸',napid:'≋̸',napos:'ʼn',napprox:'≉',natural:'♮',naturals:'',natur:'♮',nbsp:' ',nbump:'≎̸',nbumpe:'≏̸',ncap:'⩃',Ncaron:'Ň',ncaron:'ň',Ncedil:'Ņ',ncedil:'ņ',ncong:'≇',ncongdot:'⩭̸',ncup:'⩂',Ncy:'Н',ncy:'н',ndash:'',nearhk:'⤤',nearr:'↗',neArr:'⇗',nearrow:'↗',ne:'≠',nedot:'≐̸',NegativeMediumSpace:'',NegativeThickSpace:'',NegativeThinSpace:'',NegativeVeryThinSpace:'',nequiv:'≢',nesear:'⤨',nesim:'≂̸',NestedGreaterGreater:'≫',NestedLessLess:'≪',NewLine:'\\\\n',nexist:'∄',nexists:'∄',Nfr:'𝔑',nfr:'𝔫',ngE:'≧̸',nge:'≱',ngeq:'≱',ngeqq:'≧̸',ngeqslant:'⩾̸',nges:'⩾̸',nGg:'⋙̸',ngsim:'≵',nGt:'≫⃒',ngt:'≯',ngtr:'≯',nGtv:'≫̸',nharr:'↮',nhArr:'⇎',nhpar:'⫲',ni:'∋',nis:'⋼',nisd:'⋺',niv:'∋',NJcy:'Њ',njcy:'њ',nlarr:'↚',nlArr:'⇍',nldr:'‥',nlE:'≦̸',nle:'≰',nleftarrow:'↚',nLeftarrow:'⇍',nleftrightarrow:'↮',nLeftrightarrow:'⇎',nleq:'≰',nleqq:'≦̸',nleqslant:'⩽̸',nles:'⩽̸',nless:'≮',nLl:'⋘̸',nlsim:'≴',nLt:'≪⃒',nlt:'≮',nltri:'⋪',nltrie:'⋬',nLtv:'≪̸',nmid:'∤',NoBreak:'',NonBreakingSpace:' ',nopf:'𝕟',Nopf:'',Not:'⫬',not:'¬',NotCongruent:'≢',NotCupCap:'≭',NotDoubleVerticalBar:'∦',NotElement:'∉',NotEqual:'≠',NotEqualTilde:'≂̸',NotExists:'∄',NotGreater:'≯',NotGreaterEqual:'≱',NotGreaterFullEqual:'≧̸',NotGreaterGreater:'≫̸',NotGreaterLess:'≹',NotGreaterSlantEqual:'⩾̸',NotGreaterTilde:'≵',NotHumpDownHump:'≎̸',NotHumpEqual:'≏̸',notin:'∉',notindot:'⋵̸',notinE:'⋹̸',notinva:'∉',notinvb:'⋷',notinvc:'⋶',NotLeftTriangleBar:'⧏̸',NotLeftTriangle:'⋪',NotLeftTriangleEqual:'⋬',NotLess:'≮',NotLessEqual:'≰',NotLessGreater:'≸',NotLessLess:'≪̸',NotLessSlantEqual:'⩽̸',NotLessTilde:'≴',NotNestedGreaterGreater:'⪢̸',NotNestedLessLess:'⪡̸',notni:'∌',notniva:'∌',notnivb:'⋾',notnivc:'⋽',NotPrecedes:'⊀',NotPrecedesEqual:'⪯̸',NotPrecedesSlantEqual:'⋠',NotReverseElement:'∌',NotRightTriangleBar:'⧐̸',NotRightTriangle:'⋫',NotRightTriangleEqual:'⋭',NotSquareSubset:'⊏̸',NotSquareSubsetEqual:'⋢',NotSquareSuperset:'⊐̸',NotSquareSupersetEqual:'⋣',NotSubset:'⊂⃒',NotSubsetEqual:'⊈',NotSucceeds:'⊁',NotSucceedsEqual:'⪰̸',NotSucceedsSlantEqual:'⋡',NotSucceedsTilde:'≿̸',NotSuperset:'⊃⃒',NotSupersetEqual:'⊉',NotTilde:'≁',NotTildeEqual:'≄',NotTildeFullEqual:'≇',NotTildeTilde:'≉',NotVerticalBar:'∤',nparallel:'∦',npar:'∦',nparsl:'⫽⃥',npart:'∂̸',npolint:'⨔',npr:'⊀',nprcue:'⋠',nprec:'⊀',npreceq:'⪯̸',npre:'⪯̸',nrarrc:'⤳̸',nrarr:'↛',nrArr:'⇏',nrarrw:'↝̸',nrightarrow:'↛',nRightarrow:'⇏',nrtri:'⋫',nrtrie:'⋭',nsc:'⊁',nsccue:'⋡',nsce:'⪰̸',Nscr:'𝒩',nscr:'𝓃',nshortmid:'∤',nshortparallel:'∦',nsim:'≁',nsime:'≄',nsimeq:'≄',nsmid:'∤',nspar:'∦',nsqsube:'⋢',nsqsupe:'⋣',nsub:'⊄',nsubE:'⫅̸',nsube:'⊈',nsubset:'⊂⃒',nsubseteq:'⊈',nsubseteqq:'⫅̸',nsucc:'⊁',nsucceq:'⪰̸',nsup:'⊅',nsupE:'⫆̸',nsupe:'⊉',nsupset:'⊃⃒',nsupseteq:'⊉',nsupseteqq:'⫆̸',ntgl:'≹',Ntilde:'Ñ',ntilde:'ñ',ntlg:'≸',ntriangleleft:'⋪',ntrianglelefteq:'⋬',ntriangleright:'⋫',ntrianglerighteq:'⋭',Nu:'Ν',nu:'ν',num:'#',numero:'№',numsp:'',nvap:'≍⃒',nvdash:'⊬',nvDash:'⊭',nVdash:'⊮',nVDash:'⊯',nvge:'≥⃒',nvgt:'>⃒',nvHarr:'⤄',nvinfin:'⧞',nvlArr:'⤂',nvle:'≤⃒',nvlt:'<⃒',nvltrie:'⊴⃒',nvrArr:'⤃',nvrtrie:'⊵⃒',nvsim:'∼⃒',nwarhk:'⤣',nwarr:'↖',nwArr:'⇖',nwarrow:'↖',nwnear:'⤧',Oacute:'Ó',oacute:'ó',oast:'⊛',Ocirc:'Ô',ocirc:'ô',ocir:'⊚',Ocy:'О',ocy:'о',odash:'⊝',Odblac:'Ő',odblac:'ő',odiv:'⨸',odot:'⊙',odsold:'⦼',OElig:'Œ',oelig:'œ',ofcir:'⦿',Ofr:'𝔒',ofr:'𝔬',ogon:'˛',Ograve:'Ò',ograve:'ò',ogt:'⧁',ohbar:'⦵',ohm:'Ω',oint:'∮',olarr:'↺',olcir:'⦾',olcross:'⦻',oline:'‾',olt:'⧀',Omacr:'Ō',omacr:'ō',Omega:'Ω',omega:'ω',Omicron:'Ο',omicron:'ο',omid:'⦶',ominus:'⊖',Oopf:'𝕆',oopf:'𝕠',opar:'⦷',OpenCurlyDoubleQuote:'“',OpenCurlyQuote:'',operp:'⦹',oplus:'⊕',orarr:'↻',Or:'⩔',or:'',ord:'⩝',order:'',orderof:'',ordf:'ª',ordm:'º',origof:'⊶',oror:'⩖',orslope:'⩗',orv:'⩛',oS:'Ⓢ',Oscr:'𝒪',oscr:'',Oslash:'Ø',oslash:'ø',osol:'⊘',Otilde:'Õ',otilde:'õ',otimesas:'⨶',Otimes:'⨷',otimes:'⊗',Ouml:'Ö',ouml:'ö',ovbar:'⌽',OverBar:'‾',OverBrace:'⏞',OverBracket:'⎴',OverParenthesis:'⏜',para:'¶',parallel:'∥',par:'∥',parsim:'⫳',parsl:'⫽',part:'∂',PartialD:'∂',Pcy:'П',pcy:'п',percnt:'%',period:'.',permil:'‰',perp:'⊥',pertenk:'‱',Pfr:'𝔓',pfr:'𝔭',Phi:'Φ',phi:'φ',phiv:'ϕ',phmmat:'',phone:'☎',Pi:'Π',pi:'π',pitchfork:'⋔',piv:'ϖ',planck:'ℏ',planckh:'',plankv:'ℏ',plusacir:'⨣',plusb:'⊞',pluscir:'⨢',plus:'+',plusdo:'∔',plusdu:'⨥',pluse:'⩲',PlusMinus:'±',plusmn:'±',plussim:'⨦',plustwo:'⨧',pm:'±',Poincareplane:'',pointint:'⨕',popf:'𝕡',Popf:'',pound:'£',prap:'⪷',Pr:'⪻',pr:'≺',prcue:'≼',precapprox:'⪷',prec:'≺',preccurlyeq:'≼',Precedes:'≺',PrecedesEqual:'⪯',PrecedesSlantEqual:'≼',PrecedesTilde:'≾',preceq:'⪯',precnapprox:'⪹',precneqq:'⪵',precnsim:'⋨',pre:'⪯',prE:'⪳',precsim:'≾',prime:'',Prime:'″',primes:'',prnap:'⪹',prnE:'⪵',prnsim:'⋨',prod:'∏',Product:'∏',profalar:'⌮',profline:'⌒',profsurf:'⌓',prop:'∝',Proportional:'∝',Proportion:'∷',propto:'∝',prsim:'≾',prurel:'⊰',Pscr:'𝒫',pscr:'𝓅',Psi:'Ψ',psi:'ψ',puncsp:'',Qfr:'𝔔',qfr:'𝔮',qint:'⨌',qopf:'𝕢',Qopf:'',qprime:'⁗',Qscr:'𝒬',qscr:'𝓆',quaternions:'',quatint:'⨖',quest:'?',questeq:'≟',quot:'\\\"',QUOT:'\\\"',rAarr:'⇛',race:'∽̱',Racute:'Ŕ',racute:'ŕ',radic:'√',raemptyv:'⦳',rang:'⟩',Rang:'⟫',rangd:'⦒',range:'⦥',rangle:'⟩',raquo:'»',rarrap:'⥵',rarrb:'⇥',rarrbfs:'⤠',rarrc:'⤳',rarr:'→',Rarr:'↠',rArr:'⇒',rarrfs:'⤞',rarrhk:'↪',rarrlp:'↬',rarrpl:'⥅',rarrsim:'⥴',Rarrtl:'⤖',rarrtl:'↣',rarrw:'↝',ratail:'⤚',rAtail:'⤜',ratio:'',rationals:'',rbarr:'⤍',rBarr:'⤏',RBarr:'⤐',rbbrk:'',rbrace:'}',rbrack:']',rbrke:'⦌',rbrksld:'⦎',rbrkslu:'⦐',Rcaron:'Ř',rcaron:'ř',Rcedil:'Ŗ',rcedil:'ŗ',rceil:'⌉',rcub:'}',Rcy:'Р',rcy:'р',rdca:'⤷',rdldhar:'⥩',rdquo:'”',rdquor:'”',rdsh:'↳',real:'',realine:'',realpart:'',reals:'',Re:'',rect:'▭',reg:'®',REG:'®',ReverseElement:'∋',ReverseEquilibrium:'⇋',ReverseUpEquilibrium:'⥯',rfisht:'⥽',rfloor:'⌋',rfr:'𝔯',Rfr:'',rHar:'⥤',rhard:'⇁',rharu:'⇀',rharul:'⥬',Rho:'Ρ',rho:'ρ',rhov:'ϱ',RightAngleBracket:'⟩',RightArrowBar:'⇥',rightarrow:'→',RightArrow:'→',Rightarrow:'⇒',RightArrowLeftArrow:'⇄',rightarrowtail:'↣',RightCeiling:'⌉',RightDoubleBracket:'⟧',RightDownTeeVector:'⥝',RightDownVectorBar:'⥕',RightDownVector:'⇂',RightFloor:'⌋',rightharpoondown:'⇁',rightharpoonup:'⇀',rightleftarrows:'⇄',rightleftharpoons:'⇌',rightrightarrows:'⇉',rightsquigarrow:'↝',RightTeeArrow:'↦',RightTee:'⊢',RightTeeVector:'⥛',rightthreetimes:'⋌',RightTriangleBar:'⧐',RightTriangle:'⊳',RightTriangleEqual:'⊵',RightUpDownVector:'⥏',RightUpTeeVector:'⥜',RightUpVectorBar:'⥔',RightUpVector:'↾',RightVectorBar:'⥓',RightVector:'⇀',ring:'˚',risingdotseq:'≓',rlarr:'⇄',rlhar:'⇌',rlm:'',rmoustache:'⎱',rmoust:'⎱',rnmid:'⫮',roang:'⟭',roarr:'⇾',robrk:'⟧',ropar:'⦆',ropf:'𝕣',Ropf:'',roplus:'⨮',rotimes:'⨵',RoundImplies:'⥰',rpar:')',rpargt:'⦔',rppolint:'⨒',rrarr:'⇉',Rrightarrow:'⇛',rsaquo:'',rscr:'𝓇',Rscr:'',rsh:'↱',Rsh:'↱',rsqb:']',rsquo:'',rsquor:'',rthree:'⋌',rtimes:'⋊',rtri:'▹',rtrie:'⊵',rtrif:'▸',rtriltri:'⧎',RuleDelayed:'⧴',ruluhar:'⥨',rx:'℞',Sacute:'Ś',sacute:'ś',sbquo:'',scap:'⪸',Scaron:'Š',scaron:'š',Sc:'⪼',sc:'≻',sccue:'≽',sce:'⪰',scE:'⪴',Scedil:'Ş',scedil:'ş',Scirc:'Ŝ',scirc:'ŝ',scnap:'⪺',scnE:'⪶',scnsim:'⋩',scpolint:'⨓',scsim:'≿',Scy:'С',scy:'с',sdotb:'⊡',sdot:'⋅',sdote:'⩦',searhk:'⤥',searr:'↘',seArr:'⇘',searrow:'↘',sect:'§',semi:';',seswar:'⤩',setminus:'',setmn:'',sext:'✶',Sfr:'𝔖',sfr:'𝔰',sfrown:'⌢',sharp:'♯',SHCHcy:'Щ',shchcy:'щ',SHcy:'Ш',shcy:'ш',ShortDownArrow:'↓',ShortLeftArrow:'←',shortmid:'',shortparallel:'∥',ShortRightArrow:'→',ShortUpArrow:'↑',shy:'­',Sigma:'Σ',sigma:'σ',sigmaf:'ς',sigmav:'ς',sim:'',simdot:'⩪',sime:'≃',simeq:'≃',simg:'⪞',simgE:'⪠',siml:'⪝',simlE:'⪟',simne:'≆',simplus:'⨤',simrarr:'⥲',slarr:'←',SmallCircle:'∘',smallsetminus:'',smashp:'⨳',smeparsl:'⧤',smid:'',smile:'⌣',smt:'⪪',smte:'⪬',smtes:'⪬︀',SOFTcy:'Ь',softcy:'ь',solbar:'⌿',solb:'⧄',sol:'/',Sopf:'𝕊',sopf:'𝕤',spades:'♠',spadesuit:'♠',spar:'∥',sqcap:'⊓',sqcaps:'⊓︀',sqcup:'⊔',sqcups:'⊔︀',Sqrt:'√',sqsub:'⊏',sqsube:'⊑',sqsubset:'⊏',sqsubseteq:'⊑',sqsup:'⊐',sqsupe:'⊒',sqsupset:'⊐',sqsupseteq:'⊒',square:'□',Square:'□',SquareIntersection:'⊓',SquareSubset:'⊏',SquareSubsetEqual:'⊑',SquareSuperset:'⊐',SquareSupersetEqual:'⊒',SquareUnion:'⊔',squarf:'▪',squ:'□',squf:'▪',srarr:'→',Sscr:'𝒮',sscr:'𝓈',ssetmn:'',ssmile:'⌣',sstarf:'⋆',Star:'⋆',star:'☆',starf:'★',straightepsilon:'ϵ',straightphi:'ϕ',strns:'¯',sub:'⊂',Sub:'⋐',subdot:'⪽',subE:'⫅',sube:'⊆',subedot:'⫃',submult:'⫁',subnE:'⫋',subne:'⊊',subplus:'⪿',subrarr:'⥹',subset:'⊂',Subset:'⋐',subseteq:'⊆',subseteqq:'⫅',SubsetEqual:'⊆',subsetneq:'⊊',subsetneqq:'⫋',subsim:'⫇',subsub:'⫕',subsup:'⫓',succapprox:'⪸',succ:'≻',succcurlyeq:'≽',Succeeds:'≻',SucceedsEqual:'⪰',SucceedsSlantEqual:'≽',SucceedsTilde:'≿',succeq:'⪰',succnapprox:'⪺',succneqq:'⪶',succnsim:'⋩',succsim:'≿',SuchThat:'∋',sum:'∑',Sum:'∑',sung:'♪',sup1:'¹',sup2:'²',sup3:'³',sup:'⊃',Sup:'⋑',supdot:'⪾',supdsub:'⫘',supE:'⫆',supe:'⊇',supedot:'⫄',Superset:'⊃',SupersetEqual:'⊇',suphsol:'⟉',suphsub:'⫗',suplarr:'⥻',supmult:'⫂',supnE:'⫌',supne:'⊋',supplus:'⫀',supset:'⊃',Supset:'⋑',supseteq:'⊇',supseteqq:'⫆',supsetneq:'⊋',supsetneqq:'⫌',supsim:'⫈',supsub:'⫔',supsup:'⫖',swarhk:'⤦',swarr:'↙',swArr:'⇙',swarrow:'↙',swnwar:'⤪',szlig:'ß',Tab:'\\\\t',target:'⌖',Tau:'Τ',tau:'τ',tbrk:'⎴',Tcaron:'Ť',tcaron:'ť',Tcedil:'Ţ',tcedil:'ţ',Tcy:'Т',tcy:'т',tdot:'⃛',telrec:'⌕',Tfr:'𝔗',tfr:'𝔱',there4:'∴',therefore:'∴',Therefore:'∴',Theta:'Θ',theta:'θ',thetasym:'ϑ',thetav:'ϑ',thickapprox:'≈',thicksim:'',ThickSpace:'',ThinSpace:'',thinsp:'',thkap:'≈',thksim:'',THORN:'Þ',thorn:'þ',tilde:'˜',Tilde:'',TildeEqual:'≃',TildeFullEqual:'≅',TildeTilde:'≈',timesbar:'⨱',timesb:'⊠',times:'×',timesd:'⨰',tint:'∭',toea:'⤨',topbot:'⌶',topcir:'⫱',top:'',Topf:'𝕋',topf:'𝕥',topfork:'⫚',tosa:'⤩',tprime:'‴',trade:'™',TRADE:'™',triangle:'▵',triangledown:'▿',triangleleft:'◃',trianglelefteq:'⊴',triangleq:'≜',triangleright:'▹',trianglerighteq:'⊵',tridot:'◬',trie:'≜',triminus:'⨺',TripleDot:'⃛',triplus:'⨹',trisb:'⧍',tritime:'⨻',trpezium:'⏢',Tscr:'𝒯',tscr:'𝓉',TScy:'Ц',tscy:'ц',TSHcy:'Ћ',tshcy:'ћ',Tstrok:'Ŧ',tstrok:'ŧ',twixt:'≬',twoheadleftarrow:'↞',twoheadrightarrow:'↠',Uacute:'Ú',uacute:'ú',uarr:'↑',Uarr:'↟',uArr:'⇑',Uarrocir:'⥉',Ubrcy:'Ў',ubrcy:'ў',Ubreve:'Ŭ',ubreve:'ŭ',Ucirc:'Û',ucirc:'û',Ucy:'У',ucy:'у',udarr:'⇅',Udblac:'Ű',udblac:'ű',udhar:'⥮',ufisht:'⥾',Ufr:'𝔘',ufr:'𝔲',Ugrave:'Ù',ugrave:'ù',uHar:'⥣',uharl:'↿',uharr:'↾',uhblk:'▀',ulcorn:'⌜',ulcorner:'⌜',ulcrop:'⌏',ultri:'◸',Umacr:'Ū',umacr:'ū',uml:'¨',UnderBar:'_',UnderBrace:'⏟',UnderBracket:'⎵',UnderParenthesis:'⏝',Union:'',UnionPlus:'⊎',Uogon:'Ų',uogon:'ų',Uopf:'𝕌',uopf:'𝕦',UpArrowBar:'⤒',uparrow:'↑',UpArrow:'↑',Uparrow:'⇑',UpArrowDownArrow:'⇅',updownarrow:'↕',UpDownArrow:'↕',Updownarrow:'⇕',UpEquilibrium:'⥮',upharpoonleft:'↿',upharpoonright:'↾',uplus:'⊎',UpperLeftArrow:'↖',UpperRightArrow:'↗',upsi:'υ',Upsi:'ϒ',upsih:'ϒ',Upsilon:'Υ',upsilon:'υ',UpTeeArrow:'↥',UpTee:'⊥',upuparrows:'⇈',urcorn:'⌝',urcorner:'⌝',urcrop:'⌎',Uring:'Ů',uring:'ů',urtri:'◹',Uscr:'𝒰',uscr:'𝓊',utdot:'⋰',Utilde:'Ũ',utilde:'ũ',utri:'▵',utrif:'▴',uuarr:'⇈',Uuml:'Ü',uuml:'ü',uwangle:'⦧',vangrt:'⦜',varepsilon:'ϵ',varkappa:'ϰ',varnothing:'∅',varphi:'ϕ',varpi:'ϖ',varpropto:'∝',varr:'↕',vArr:'⇕',varrho:'ϱ',varsigma:'ς',varsubsetneq:'⊊︀',varsubsetneqq:'⫋︀',varsupsetneq:'⊋︀',varsupsetneqq:'⫌︀',vartheta:'ϑ',vartriangleleft:'⊲',vartriangleright:'⊳',vBar:'⫨',Vbar:'⫫',vBarv:'⫩',Vcy:'В',vcy:'в',vdash:'⊢',vDash:'⊨',Vdash:'⊩',VDash:'⊫',Vdashl:'⫦',veebar:'⊻',vee:'',Vee:'',veeeq:'≚',vellip:'⋮',verbar:'|',Verbar:'‖',vert:'|',Vert:'‖',VerticalBar:'',VerticalLine:'|',VerticalSeparator:'❘',VerticalTilde:'≀',VeryThinSpace:'',Vfr:'𝔙',vfr:'𝔳',vltri:'⊲',vnsub:'⊂⃒',vnsup:'⊃⃒',Vopf:'𝕍',vopf:'𝕧',vprop:'∝',vrtri:'⊳',Vscr:'𝒱',vscr:'𝓋',vsubnE:'⫋︀',vsubne:'⊊︀',vsupnE:'⫌︀',vsupne:'⊋︀',Vvdash:'⊪',vzigzag:'⦚',Wcirc:'Ŵ',wcirc:'ŵ',wedbar:'⩟',wedge:'∧',Wedge:'⋀',wedgeq:'≙',weierp:'℘',Wfr:'𝔚',wfr:'𝔴',Wopf:'𝕎',wopf:'𝕨',wp:'℘',wr:'≀',wreath:'≀',Wscr:'𝒲',wscr:'𝓌',xcap:'⋂',xcirc:'◯',xcup:'',xdtri:'▽',Xfr:'𝔛',xfr:'𝔵',xharr:'⟷',xhArr:'⟺',Xi:'Ξ',xi:'ξ',xlarr:'⟵',xlArr:'⟸',xmap:'⟼',xnis:'⋻',xodot:'⨀',Xopf:'𝕏',xopf:'𝕩',xoplus:'⨁',xotime:'⨂',xrarr:'⟶',xrArr:'⟹',Xscr:'𝒳',xscr:'𝓍',xsqcup:'⨆',xuplus:'⨄',xutri:'△',xvee:'',xwedge:'⋀',Yacute:'Ý',yacute:'ý',YAcy:'Я',yacy:'я',Ycirc:'Ŷ',ycirc:'ŷ',Ycy:'Ы',ycy:'ы',yen:'¥',Yfr:'𝔜',yfr:'𝔶',YIcy:'Ї',yicy:'ї',Yopf:'𝕐',yopf:'𝕪',Yscr:'𝒴',yscr:'𝓎',YUcy:'Ю',yucy:'ю',yuml:'ÿ',Yuml:'Ÿ',Zacute:'Ź',zacute:'ź',Zcaron:'Ž',zcaron:'ž',Zcy:'З',zcy:'з',Zdot:'Ż',zdot:'ż',zeetrf:'',ZeroWidthSpace:'',Zeta:'Ζ',zeta:'ζ',zfr:'𝔷',Zfr:'',ZHcy:'Ж',zhcy:'ж',zigrarr:'⇝',zopf:'𝕫',Zopf:'',Zscr:'𝒵',zscr:'𝓏',zwj:'',zwnj:''},a=/[!-#%-\\\\*,-\\\\/:;\\\\?@\\\\[-\\\\]_\\\\{\\\\}\\\\xA1\\\\xA7\\\\xAB\\\\xB6\\\\xB7\\\\xBB\\\\xBF\\\\u037E\\\\u0387\\\\u055A-\\\\u055F\\\\u0589\\\\u058A\\\\u05BE\\\\u05C0\\\\u05C3\\\\u05C6\\\\u05F3\\\\u05F4\\\\u0609\\\\u060A\\\\u060C\\\\u060D\\\\u061B\\\\u061E\\\\u061F\\\\u066A-\\\\u066D\\\\u06D4\\\\u0700-\\\\u070D\\\\u07F7-\\\\u07F9\\\\u0830-\\\\u083E\\\\u085E\\\\u0964\\\\u0965\\\\u0970\\\\u09FD\\\\u0A76\\\\u0AF0\\\\u0C84\\\\u0DF4\\\\u0E4F\\\\u0E5A\\\\u0E5B\\\\u0F04-\\\\u0F12\\\\u0F14\\\\u0F3A-\\\\u0F3D\\\\u0F85\\\\u0FD0-\\\\u0FD4\\\\u0FD9\\\\u0FDA\\\\u104A-\\\\u104F\\\\u10FB\\\\u1360-\\\\u1368\\\\u1400\\\\u166D\\\\u166E\\\\u169B\\\\u169C\\\\u16EB-\\\\u16ED\\\\u1735\\\\u1736\\\\u17D4-\\\\u17D6\\\\u17D8-\\\\u17DA\\\\u1800-\\\\u180A\\\\u1944\\\\u1945\\\\u1A1E\\\\u1A1F\\\\u1AA0-\\\\u1AA6\\\\u1AA8-\\\\u1AAD\\\\u1B5A-\\\\u1B60\\\\u1BFC-\\\\u1BFF\\\\u1C3B-\\\\u1C3F\\\\u1C7E\\\\u1C7F\\\\u1CC0-\\\\u1CC7\\\\u1CD3\\\\u2010-\\\\u2027\\\\u2030-\\\\u2043\\\\u2045-\\\\u2051\\\\u2053-\\\\u205E\\\\u207D\\\\u207E\\\\u208D\\\\u208E\\\\u2308-\\\\u230B\\\\u2329\\\\u232A\\\\u2768-\\\\u2775\\\\u27C5\\\\u27C6\\\\u27E6-\\\\u27EF\\\\u2983-\\\\u2998\\\\u29D8-\\\\u29DB\\\\u29FC\\\\u29FD\\\\u2CF9-\\\\u2CFC\\\\u2CFE\\\\u2CFF\\\\u2D70\\\\u2E00-\\\\u2E2E\\\\u2E30-\\\\u2E4E\\\\u3001-\\\\u3003\\\\u3008-\\\\u3011\\\\u3014-\\\\u301F\\\\u3030\\\\u303D\\\\u30A0\\\\u30FB\\\\uA4FE\\\\uA4FF\\\\uA60D-\\\\uA60F\\\\uA673\\\\uA67E\\\\uA6F2-\\\\uA6F7\\\\uA874-\\\\uA877\\\\uA8CE\\\\uA8CF\\\\uA8F8-\\\\uA8FA\\\\uA8FC\\\\uA92E\\\\uA92F\\\\uA95F\\\\uA9C1-\\\\uA9CD\\\\uA9DE\\\\uA9DF\\\\uAA5C-\\\\uAA5F\\\\uAADE\\\\uAADF\\\\uAAF0\\\\uAAF1\\\\uABEB\\\\uFD3E\\\\uFD3F\\\\uFE10-\\\\uFE19\\\\uFE30-\\\\uFE52\\\\uFE54-\\\\uFE61\\\\uFE63\\\\uFE68\\\\uFE6A\\\\uFE6B\\\\uFF01-\\\\uFF03\\\\uFF05-\\\\uFF0A\\\\uFF0C-\\\\uFF0F\\\\uFF1A\\\\uFF1B\\\\uFF1F\\\\uFF20\\\\uFF3B-\\\\uFF3D\\\\uFF3F\\\\uFF5B\\\\uFF5D\\\\uFF5F-\\\\uFF65]|\\\\uD800[\\\\uDD00-\\\\uDD02\\\\uDF9F\\\\uDFD0]|\\\\uD801\\\\uDD6F|\\\\uD802[\\\\uDC57\\\\uDD1F\\\\uDD3F\\\\uDE50-\\\\uDE58\\\\uDE7F\\\\uDEF0-\\\\uDEF6\\\\uDF39-\\\\uDF3F\\\\uDF99-\\\\uDF9C]|\\\\uD803[\\\\uDF55-\\\\uDF59]|\\\\uD804[\\\\uDC47-\\\\uDC4D\\\\uDCBB\\\\uDCBC\\\\uDCBE-\\\\uDCC1\\\\uDD40-\\\\uDD43\\\\uDD74\\\\uDD75\\\\uDDC5-\\\\uDDC8\\\\uDDCD\\\\uDDDB\\\\uDDDD-\\\\uDDDF\\\\uDE38-\\\\uDE3D\\\\uDEA9]|\\\\uD805[\\\\uDC4B-\\\\uDC4F\\\\uDC5B\\\\uDC5D\\\\uDCC6\\\\uDDC1-\\\\uDDD7\\\\uDE41-\\\\uDE43\\\\uDE60-\\\\uDE6C\\\\uDF3C-\\\\uDF3E]|\\\\uD806[\\\\uDC3B\\\\uDE3F-\\\\uDE46\\\\uDE9A-\\\\uDE9C\\\\uDE9E-\\\\uDEA2]|\\\\uD807[\\\\uDC41-\\\\uDC45\\\\uDC70\\\\uDC71\\\\uDEF7\\\\uDEF8]|\\\\uD809[\\\\uDC70-\\\\uDC74]|\\\\uD81A[\\\\uDE6E\\\\uDE6F\\\\uDEF5\\\\uDF37-\\\\uDF3B\\\\uDF44]|\\\\uD81B[\\\\uDE97-\\\\uDE9A]|\\\\uD82F\\\\uDC9F|\\\\uD836[\\\\uDE87-\\\\uDE8B]|\\\\uD83A[\\\\uDD5E\\\\uDD5F]/,R={};function c(e,t,r){var n,s,o,i,a='';for('string'!=typeof t&&(r=t,t=c.defaultChars),void 0===r&&(r=!0),i=function(e){var t,r,n=R[e];if(!n){for(n=R[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push('%'+('0'+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)n[e.charCodeAt(t)]=e[t]}return n}(t),n=0,s=e.length;n<s;n++)if(o=e.charCodeAt(n),r&&37===o&&n+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(n+1,n+3)))a+=e.slice(n,n+3),n+=2;else if(o<128)a+=i[o];else if(55296<=o&&o<=57343){if(55296<=o&&o<=56319&&n+1<s&&56320<=(o=e.charCodeAt(n+1))&&o<=57343){a+=encodeURIComponent(e[n]+e[n+1]),n++;continue}a+='%EF%BF%BD'}else a+=encodeURIComponent(e[n]);return a}c.defaultChars=';/?:@&=+$,-_.!~*\\\\'()#',c.componentChars='-_.!~*\\\\'()';var e=c,B={};function r(e,t){var l=function(e){var t,r,n=B[e];if(!n){for(n=B[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t<e.length;t++)n[r=e.charCodeAt(t)]='%'+('0'+r.toString(16).toUpperCase()).slice(-2)}return n}(t='string'!=typeof t?r.defaultChars:t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){for(var t,r,n,s,o,i='',a=0,c=e.length;a<c;a+=3)(t=parseInt(e.slice(a+1,a+3),16))<128?i+=l[t]:192==(224&t)&&a+3<c&&128==(192&(r=parseInt(e.slice(a+4,a+6),16)))?(i+=(o=t<<6&1984|63&r)<128?'<27><>':String.fromCharCode(o),a+=3):224==(240&t)&&a+6<c&&(r=parseInt(e.slice(a+4,a+6),16),n=parseInt(e.slice(a+7,a+9),16),128==(192&r))&&128==(192&n)?(i+=(o=t<<12&61440|r<<6&4032|63&n)<2048||55296<=o&&o<=57343?'<27><><EFBFBD>':String.fromCharCode(o),a+=6):240==(248&t)&&a+9<c&&(r=parseInt(e.slice(a+4,a+6),16),n=parseInt(e.slice(a+7,a+9),16),s=parseInt(e.slice(a+10,a+12),16),128==(192&r))&&128==(192&n)&&128==(192&s)?((o=t<<18&1835008|r<<12&258048|n<<6&4032|63&s)<65536||1114111<o?i+='<27><><EFBFBD><EFBFBD>':(o-=65536,i+=String.fromCharCode(55296+(o>>10),56320+(1023&o))),a+=9):i+='<27>';return i})}r.defaultChars=';/?:@&=+$,#',r.componentChars='';var t=r;function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var s,N,O,P,j,U,V,Z,$,G=/^([a-z0-9.+-]+:)/i,H=/:[0-9]*$/,J=/^(\\\\/\\\\/?(?!\\\\/)[^\\\\?\\\\s]*)(\\\\?[^\\\\s]*)?$/,o=['{','}','|','\\\\\\\\','^','`'].concat(['<','>','\\\"','`',' ','\\\\r','\\\\n','\\\\t']),o=['\\\\''].concat(o),W=['%','/','?',';','#'].concat(o),Y=['/','?','#'],K=/^[+a-z0-9A-Z_-]{0,63}$/,Q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,X={javascript:!0,'javascript:':!0},ee={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,'http:':!0,'https:':!0,'ftp:':!0,'gopher:':!0,'file:':!0},l=(n.prototype.parse=function(e,t){var r,n;if(o=(o=e).trim(),!t&&1===e.split('#').length){e=J.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}e=G.exec(o);if(e&&(r=(e=e[0]).toLowerCase(),this.protocol=e,o=o.substr(e.length)),!(t||e||o.match(/^\\\\/\\\\/[^@\\\\/]+@[^@\\\\/]+/))||!(g='//'===o.substr(0,2))||e&&X[e]||(o=o.substr(2),this.slashes=!0),!X[e]&&(g||e&&!ee[e])){var s=-1;for(a=0;a<Y.length;a++)-1!==(n=o.indexOf(Y[a]))&&(-1===s||n<s)&&(s=n);for(-1!==(t=-1===s?o.lastIndexOf('@'):o.lastIndexOf('@',s))&&(g=o.slice(0,t),o=o.slice(t+1),this.auth=g),s=-1,a=0;a<W.length;a++)-1!==(n=o.indexOf(W[a]))&&(-1===s||n<s)&&(s=n);':'===o[(s=-1===s?o.length:s)-1]&&s--;var e=o.slice(0,s),o=o.slice(s),t=(this.parseHost(e),this.hostname=this.hostname||'','['===this.hostname[0]&&']'===this.hostname[this.hostname.length-1]);if(!t)for(var i=this.hostname.split(/\\\\./),a=0,c=i.length;a<c;a++){var l=i[a];if(l&&!l.match(K)){for(var u='',p=0,h=l.length;p<h;p++)127<l.charCodeAt(p)?u+='x':u+=l[p];if(!u.match(K)){var f=i.slice(0,a),d=i.slice(a+1),m=l.match(Q);m&&(f.push(m[1]),d.unshift(m[2])),d.length&&(o=d.join('.')+o),this.hostname=f.join('.');break}}}255<this.hostname.length&&(this.hostname=''),t&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var g=o.indexOf('#'),e=(-1!==g&&(this.hash=o.substr(g),o=o.slice(0,g)),o.indexOf('?'));return-1!==e&&(this.search=o.substr(e),o=o.slice(0,e)),o&&(this.pathname=o),ee[r]&&this.hostname&&!this.pathname&&(this.pathname=''),this},n.prototype.parseHost=function(e){var t=H.exec(e);t&&(':'!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},{encode:e,decode:t,format:function(e){var t='',t=(t=(t+=e.protocol||'')+(e.slashes?'//':''))+(e.auth?e.auth+'@':'');return e.hostname&&-1!==e.hostname.indexOf(':')?t+='['+e.hostname+']':t+=e.hostname||'',(t=(t=(t+=e.port?':'+e.port:'')+(e.pathname||''))+(e.search||''))+(e.hash||'')},parse:function(e,t){var r;return e&&e instanceof n?e:((r=new n).parse(e,t),r)}}),te=/[\\\\0-\\\\uD7FF\\\\uE000-\\\\uFFFF]|[\\\\uD800-\\\\uDBFF][\\\\uDC00-\\\\uDFFF]|[\\\\uD800-\\\\uDBFF](?![\\\\uDC00-\\\\uDFFF])|(?:[^\\\\uD800-\\\\uDBFF]|^)[\\\\uDC00-\\\\uDFFF]/,re=/[\\\\0-\\\\x1F\\\\x7F-\\\\x9F]/,ne=/[ \\\\xA0\\\\u1680\\\\u2000-\\\\u200A\\\\u2028\\\\u2029\\\\u202F\\\\u205F\\\\u3000]/,o={Any:te,Cc:re,Cf:/[\\\\xAD\\\\u0600-\\\\u0605\\\\u061C\\\\u06DD\\\\u070F\\\\u08E2\\\\u180E\\\\u200B-\\\\u200F\\\\u202A-\\\\u202E\\\\u2060-\\\\u2064\\\\u2066-\\\\u206F\\\\uFEFF\\\\uFFF9-\\\\uFFFB]|\\\\uD804[\\\\uDCBD\\\\uDCCD]|\\\\uD82F[\\\\uDCA0-\\\\uDCA3]|\\\\uD834[\\\\uDD73-\\\\uDD7A]|\\\\uDB40[\\\\uDC01\\\\uDC20-\\\\uDC7F]/,P:a,Z:ne},u=(e=(s={path:void 0,exports:{},require:function(e,t){throw null==t&&s.path,new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs')}}).exports,N=Object.prototype.hasOwnProperty,O=/\\\\\\\\([!\\\"#$%&'()*+,\\\\-.\\\\/:;<=>?@[\\\\\\\\\\\\]^_`{|}~])/g,P=new RegExp(O.source+'|'+/&([a-z#][a-z0-9]{1,31});/gi.source,'gi'),j=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,U=/[&<>\\\"]/,V=/[&<>\\\"]/g,Z={'&':'&amp;','<':'&lt;','>':'&gt;','\\\"':'&quot;'},$=/[.?*+^$[\\\\]\\\\\\\\(){}|-]/g,e.lib={},e.lib.mdurl=l,e.lib.ucmicro=o,e.assign=function(r){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if('object'!=typeof t)throw new TypeError(t+'must be object');Object.keys(t).forEach(function(e){r[e]=t[e]})}}),r},e.isString=function(e){return'[object String]'===Object.prototype.toString.call(e)},e.has=le,e.unescapeMd=function(e){return e.indexOf('\\\\\\\\')<0?e:e.replace(O,'$1')},e.unescapeAll=function(e){return e.indexOf('\\\\\\\\')<0&&e.indexOf('&')<0?e:e.replace(P,function(e,t,r){return t||(t=e,e=0,le(i,r=r)?i[r]:35===r.charCodeAt(0)&&j.test(r)&&ue(e='x'===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10))?pe(e):t)})},e.isValidEntityCode=ue,e.fromCodePoint=pe,e.escapeHtml=function(e){return U.test(e)?e.replace(V,he):e},e.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},e.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(e){if(8192<=e&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(e){return a.test(e)},e.escapeRE=function(e){return e.replace($,'\\\\\\\\$&')},e.normalizeReference=function(e){return e=e.trim().replace(/\\\\s+/g,' '),(e='Ṿ'==='ẞ'.toLowerCase()?e.replace(/\\\\u1e9e/g,'ß'):e).toLowerCase().toUpperCase()},s.exports),se=u.unescapeAll,oe=u.unescapeAll,ie={parseLinkLabel:function(e,t,r){var n,s,o,i,a=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--n){s=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)n++;else if(r)return e.pos=l,-1}return s&&(a=e.pos),e.pos=l,a},parseLinkDestination:function(e,t,r){var n,s,o=t,i={ok:!1,pos:0,lines:0,str:''};if(60===e.charCodeAt(t))for(t++;t<r;){if(10===(n=e.charCodeAt(t)))return i;if(60===n)return i;if(62===n)return i.pos=t+1,i.str=se(e.slice(o+1,t)),i.ok=!0,i;92===n&&t+1<r?t+=2:t++}else{for(s=0;t<r&&32!==(n=e.charCodeAt(t))&&!(n<32||127===n);)if(92===n&&t+1<r){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===n&&32<++s)return i;if(41===n){if(0===s)break;s--}t++}o!==t&&0===s&&(i.str=se(e.slice(o,t)),i.lines=0,i.pos=t,i.ok=!0)}return i},parseLinkTitle:function(e,t,r){var n,s,o=0,i=t,a={ok:!1,pos:0,lines:0,str:''};if(!(r<=t||34!==(s=e.charCodeAt(t))&&39!==s&&40!==s))for(t++,40===s&&(s=41);t<r;){if((n=e.charCodeAt(t))===s)return a.pos=t+1,a.lines=o,a.str=oe(e.slice(i+1,t)),a.ok=!0,a;if(40===n&&41===s)return a;(10===n||92===n&&t+1<r&&(t++,10===e.charCodeAt(t)))&&o++,t++}return a}},ae=u.assign,ce=u.unescapeAll,p=u.escapeHtml,h={};function le(e,t){return N.call(e,t)}function ue(e){return!(55296<=e&&e<=57343||64976<=e&&e<=65007||65535==(65535&e)||65534==(65535&e)||0<=e&&e<=8||11===e||14<=e&&e<=31||127<=e&&e<=159||1114111<e)}function pe(e){var t;return 65535<e?(t=55296+((e-=65536)>>10),String.fromCharCode(t,56320+(1023&e))):String.fromCharCode(e)}function he(e){return Z[e]}function f(){this.rules=ae({},h)}h.code_inline=function(e,t,r,n,s){var o=e[t];return'<code'+s.renderAttrs(o)+'>'+p(e[t].content)+'</code>'},h.code_block=function(e,t,r,n,s){var o=e[t];return'<pre'+s.renderAttrs(o)+'><code>'+p(e[t].content)+'</code></pre>\\\\n'},h.fence=function(e,t,r,n,s){var o,e=e[t],t=e.info?ce(e.info).trim():'',i='',a='';return t&&(i=(o=t.split(/(\\\\s+)/g))[0],a=o.slice(2).join('')),0===(o=r.highlight&&r.highlight(e.content,i,a)||p(e.content)).indexOf('<pre')?o+'\\\\n':t?(a=e.attrIndex('class'),t=e.attrs?e.attrs.slice():[],a<0?t.push(['class',r.langPrefix+i]):(t[a]=t[a].slice(),t[a][1]+=' '+r.langPrefix+i),'<pre><code'+s.renderAttrs({attrs:t})+'>'+o+'</code></pre>\\\\n'):'<pre><code'+s.renderAttrs(e)+'>'+o+'</code></pre>\\\\n'},h.image=function(e,t,r,n,s){var o=e[t];return o.attrs[o.attrIndex('alt')][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(e,t,r)},h.hardbreak=function(e,t,r){return r.xhtmlOut?'<br />\\\\n':'<br>\\\\n'},h.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?'<br />\\\\n':'<br>\\\\n':'\\\\n'},h.text=function(e,t){return p(e[t].content)},h.html_block=function(e,t){return e[t].content},h.html_inline=function(e,t){return e[t].content},f.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return'';for(n='',t=0,r=e.attrs.length;t<r;t++)n+=' '+p(e.attrs[t][0])+'=\\\"'+p(e.attrs[t][1])+'\\\"';return n},f.prototype.renderToken=function(e,t,r){var n='',s=!1,o=e[t];return o.hidden?'':(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(n+='\\\\n'),n=(n+=(-1===o.nesting?'</':'<')+o.tag)+this.renderAttrs(o),0===o.nesting&&r.xhtmlOut&&(n+=' /'),n+((s=o.block&&(s=!0,1===o.nesting)&&t+1<e.length&&('inline'===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===o.tag)?!1:s)?'>\\\\n':'>'))},f.prototype.renderInline=function(e,t,r){for(var n,s='',o=this.rules,i=0,a=e.length;i<a;i++)void 0!==o[n=e[i].type]?s+=o[n](e,i,t,r,this):s+=this.renderToken(e,i,t);return s},f.prototype.renderInlineAsText=function(e,t,r){for(var n='',s=0,o=e.length;s<o;s++)'text'===e[s].type?n+=e[s].content:'image'===e[s].type?n+=this.renderInlineAsText(e[s].children,t,r):'softbreak'===e[s].type&&(n+='\\\\n');return n},f.prototype.render=function(e,t,r){for(var n,s='',o=this.rules,i=0,a=e.length;i<a;i++)'inline'===(n=e[i].type)?s+=this.renderInline(e[i].children,t,r):void 0!==o[n]?s+=o[e[i].type](e,i,t,r,this):s+=this.renderToken(e,i,t,r);return s};var fe=f;function d(){this.__rules__=[],this.__cache__=null}d.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},d.prototype.__compile__=function(){var r=this,t=[''];r.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),r.__cache__={},t.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(e){!e.enabled||t&&e.alt.indexOf(t)<0||r.__cache__[t].push(e.fn)})})},d.prototype.at=function(e,t,r){var n=this.__find__(e),r=r||{};if(-1===n)throw new Error('Parser rule not found: '+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null},d.prototype.before=function(e,t,r,n){var s=this.__find__(e),n=n||{};if(-1===s)throw new Error('Parser rule not found: '+e);this.__rules__.splice(s,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},d.prototype.after=function(e,t,r,n){var s=this.__find__(e),n=n||{};if(-1===s)throw new Error('Parser rule not found: '+e);this.__rules__.splice(s+1,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},d.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},d.prototype.enable=function(e,r){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var t=this.__find__(e);if(t<0){if(r)return;throw new Error('Rules manager: invalid rule name '+e)}this.__rules__[t].enabled=!0,n.push(e)},this),this.__cache__=null,n},d.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},d.prototype.disable=function(e,r){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var t=this.__find__(e);if(t<0){if(r)return;throw new Error('Rules manager: invalid rule name '+e)}this.__rules__[t].enabled=!1,n.push(e)},this),this.__cache__=null,n},d.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};var m=d,de=/\\\\r\\\\n?|\\\\n/g,me=/\\\\0/g,ge=u.arrayReplaceAt;var _e=/\\\\+-|\\\\.\\\\.|\\\\?\\\\?\\\\?\\\\?|!!!!|,,|--/,ke=/\\\\((c|tm|r)\\\\)/i,be=/\\\\((c|tm|r)\\\\)/gi,ve={c:'©',r:'®',tm:'™'};function Ce(e,t){return ve[t.toLowerCase()]}var ye=u.isWhiteSpace,Ae=u.isPunctChar,xe=u.isMdAsciiPunct,De=/['\\\"]/,we=/['\\\"]/g;function D(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function g(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content='',this.markup='',this.info='',this.meta=null,this.block=!1,this.hidden=!1}g.prototype.attrIndex=function(e){var t,r,n;if(this.attrs)for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},g.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},g.prototype.attrSet=function(e,t){var r=this.attrIndex(e),e=[e,t];r<0?this.attrPush(e):this.attrs[r]=e},g.prototype.attrGet=function(e){var e=this.attrIndex(e),t=null;return t=0<=e?this.attrs[e][1]:t},g.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+' '+t};var _=g;function Ee(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ee.prototype.Token=_;var t=Ee,qe=[['normalize',function(e){var t=(t=e.src.replace(de,'\\\\n')).replace(me,'<27>');e.src=t}],['block',function(e){var t;e.inlineMode?((t=new e.Token('inline','',0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],['inline',function(e){for(var t,r=e.tokens,n=0,s=r.length;n<s;n++)'inline'===(t=r[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}],['linkify',function(e){var t,r,n,s,o,i,a,c,l,u,p,h,f,d,m,g,_,k=e.tokens;if(e.md.options.linkify)for(r=0,n=k.length;r<n;r++)if('inline'===k[r].type&&e.md.linkify.pretest(k[r].content))for(f=0,t=(s=k[r].children).length-1;0<=t;t--)if('link_close'!==(i=s[t]).type){if('html_inline'===i.type&&(_=i.content,/^<a[>\\\\s]/i.test(_)&&0<f&&f--,/^<\\\\/a\\\\s*>/i.test(i.content))&&f++,!(0<f)&&'text'===i.type&&e.md.linkify.test(i.content)){for(l=i.content,g=e.md.linkify.match(l),a=[],h=i.level,(p=0)<g.length&&0===g[0].index&&0<t&&'text_special'===s[t-1].type&&(g=g.slice(1)),c=0;c<g.length;c++)d=g[c].url,d=e.md.normalizeLink(d),e.md.validateLink(d)&&(m=g[c].text,m=g[c].schema?'mailto:'!==g[c].schema||/^mailto:/i.test(m)?e.md.normalizeLinkText(m):e.md.normalizeLinkText('mailto:'+m).replace(/^mailto:/,''):e.md.normalizeLinkText('http://'+m).replace(/^http:\\\\/\\\\//,''),(u=g[c].index)>p&&((o=new e.Token('text','',0)).content=l.slice(p,u),o.level=h,a.push(o)),(o=new e.Token('link_open','a',1)).attrs=[['href',d]],o.level=h++,o.markup='linkify',o.info='auto',a.push(o),(o=new e.Token('text','',0)).content=m,o.level=h,a.push(o),(o=new e.Token('link_close','a',-1)).level=--h,o.markup='linkify',o.info='auto',a.push(o),p=g[c].lastIndex);p<l.length&&((o=new e.Token('text','',0)).content=l.slice(p),o.level=h,a.push(o)),k[r].children=s=ge(s,t,a)}}else for(t--;s[t].level!==i.level&&'link_open'!==s[t].type;)t--}],['replacements',function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;0<=t;t--)if('inline'===e.tokens[t].type&&(ke.test(e.tokens[t].content)&&function(e){for(var t,r=0,n=e.length-1;0<=n;n--)'text'!==(t=e[n]).type||r||(t.content=t.content.replace(be,Ce)),'link_open'===t.type&&'auto'===t.info&&r--,'link_close'===t.type&&'auto'===t.info&&r++}(e.tokens[t].children),_e.test(e.tokens[t].content))){r=void 0;o=void 0;n=void 0;s=void 0;var r=e.tokens[t].children;for(var n,s=0,o=r.length-1;0<=o;o--)'text'!==(n=r[o]).type||s||_e.test(n.content)&&(n.content=n.content.replace(/\\\\+-/g,'±').replace(/\\\\.{2,}/g,'…').replace(/([?!])\\\\u2026/g,'$1..').replace(/([?!]){4,}/g,'$1$1$1').replace(/,{2,}/g,',').replace(/(^|[^-])---(?=[^-]|$)/gm,'$1—').replace(/(^|\\\\s)--(?=\\\\s|$)/gm,'$1').replace(/(^|[^-\\\\s])--(?=[^-\\\\s]|$)/gm,'$1')),'link_open'===n.type&&'auto'===n.info&&s--,'link_close'===n.type&&'auto'===n.info&&s++}}],['smartquotes',function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;0<=t;t--)if('inline'===e.tokens[t].type&&De.test(e.tokens[t].content)){r=void 0;n=void 0;x=void 0;s=void 0;o=void 0;i=void 0;a=void 0;c=void 0;l=void 0;u=void 0;p=void 0;h=void 0;f=void 0;d=void 0;m=void 0;g=void 0;_=void 0;k=void 0;b=void 0;v=void 0;A=void 0;C=void 0;y=void 0;var r=e.tokens[t].children;var n=e;for(var s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b,v,C,y,A=[],x=0;x<r.length;x++){for(s=r[x],l=r[x].level,b=A.length-1;0<=b&&!(A[b].level<=l);b--);if(A.length=b+1,'text'===s.type){a=0,c=(o=s.content).length;e:for(;a<c&&(we.lastIndex=a,i=we.exec(o));){if(_=k=!0,a=i.index+1,v='\\\\''===i[0],p=32,0<=i.index-1)p=o.charCodeAt(i.index-1);else for(b=x-1;0<=b&&'softbreak'!==r[b].type&&'hardbreak'!==r[b].type;b--)if(r[b].content){p=r[b].content.charCodeAt(r[b].content.length-1);break}if(h=32,a<c)h=o.charCodeAt(a);else for(b=x+1;b<r.length&&'softbreak'!==r[b].type&&'hardbreak'!==r[b].type;b++)if(r[b].content){h=r[b].content.charCodeAt(0);break}if(f=xe(p)||Ae(String.fromCharCode(p)),d=xe(h)||Ae(String.fromCharCode(h)),m=ye(p),(g=ye(h))?_=!1:!d||m||f||(_=!1),m?k=!1:!f||g||d||(k=!1),34===h&&'\\\"'===i[0]&&48<=p&&p<=57&&(k=_=!1),_&&k&&(_=f,k=d),_||k){if(k)for(b=A.length-1;0<=b&&!((u=A[b]).level<l);b--)if(u.single===v&&A[b].level===l){u=A[b],y=v?(C=n.md.options.quotes[2],n.md.options.quotes[3]):(C=n.md.options.quotes[0],n.md.options.quotes[1]),s.content=D(s.content,i.index,y),r[u.token].content=D(r[u.token].content,u.pos,C),a+=y.length-1,u.token===x&&(a+=C.length-1),c=(o=s.content).length,A.length=b;continue e}_?A.push({token:x,pos:i.index,single:v,level:l}):k&&v&&(s.content=D(s.content,i.index,''))}else v&&(s.content=D(s.content,i.index,''))}}}}}],['text_join',function(e){for(var t,r,n,s,o=e.tokens,i=0,a=o.length;i<a;i++)if('inline'===o[i].type){for(n=(t=o[i].children).length,r=0;r<n;r++)'text_special'===t[r].type&&(t[r].type='text');for(r=s=0;r<n;r++)'text'===t[r].type&&r+1<n&&'text'===t[r+1].type?t[r+1].content=t[r].content+t[r+1].content:(r!==s&&(t[s]=t[r]),s++);r!==s&&(t.length=s)}}]];function Se(){this.ruler=new m;for(var e=0;e<qe.length;e++)this.ruler.push(qe[e][0],qe[e][1])}Se.prototype.process=function(e){for(var t,r=0,n=(t=this.ruler.getRules('')).length;r<n;r++)t[r](e)},Se.prototype.State=t;var Fe=Se,Le=u.isSpace;function ze(e,t){var r=e.bMarks[t]+e.tShift[t],t=e.eMarks[t];return e.src.slice(r,t)}function Te(e){for(var t=[],r=0,n=e.length,s=!1,o=0,i='',a=e.charCodeAt(r);r<n;)124===a&&(o=s?(i+=e.substring(o,r-1),r):(t.push(i+e.substring(o,r)),i='',r+1)),s=92===a,a=e.charCodeAt(++r);return t.push(i+e.substring(o)),t}var Ie=u.isSpace,Me=u.isSpace,Re=u.isSpace;function Be(e,t){var r,n=e.bMarks[t]+e.tShift[t],t=e.eMarks[t];return 42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r||n<t&&(r=e.src.charCodeAt(n),!Re(r))?-1:n}function Ne(e,t){var r,n=e.bMarks[t]+e.tShift[t],s=n,o=e.eMarks[t];if(o<=s+1)return-1;if((r=e.src.charCodeAt(s++))<48||57<r)return-1;for(;;){if(o<=s)return-1;if(!(48<=(r=e.src.charCodeAt(s++))&&r<=57)){if(41===r||46===r)break;return-1}if(10<=s-n)return-1}return s<o&&(r=e.src.charCodeAt(s),!Re(r))?-1:s}var Oe=u.normalizeReference,A=u.isSpace,o='<[A-Za-z][A-Za-z0-9\\\\\\\\-]*(?:\\\\\\\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\\\\\\\s*=\\\\\\\\s*(?:[^\\\"\\\\'=<>`\\\\\\\\x00-\\\\\\\\x20]+|\\\\'[^\\\\']*\\\\'|\\\"[^\\\"]*\\\"))?)*\\\\\\\\s*\\\\\\\\/?>',e='<\\\\\\\\/[A-Za-z][A-Za-z0-9\\\\\\\\-]*\\\\\\\\s*>',t={HTML_TAG_RE:new RegExp('^(?:'+o+'|'+e+'|\\\\x3c!----\\\\x3e|\\\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\\\x3e|<[?][\\\\\\\\s\\\\\\\\S]*?[?]>|<![A-Z]+\\\\\\\\s+[^>]*>|<!\\\\\\\\[CDATA\\\\\\\\[[\\\\\\\\s\\\\\\\\S]*?\\\\\\\\]\\\\\\\\]>)'),HTML_OPEN_CLOSE_TAG_RE:new RegExp('^(?:'+o+'|'+e+')')},o=t.HTML_OPEN_CLOSE_TAG_RE,k=[[/^<(script|pre|style|textarea)(?=(\\\\s|>|$))/i,/<\\\\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\\\\?/,/\\\\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\\\\[CDATA\\\\[/,/\\\\]\\\\]>/,!0],[new RegExp('^</?('+['address','article','aside','base','basefont','blockquote','body','caption','center','col','colgroup','dd','details','dialog','dir','div','dl','dt','fieldset','figcaption','figure','footer','form','frame','frameset','h1','h2','h3','h4','h5','h6','head','header','hr','html','iframe','legend','li','link','main','menu','menuitem','nav','noframes','ol','optgroup','option','p','param','section','source','summary','table','tbody','td','tfoot','th','thead','title','tr','track','ul'].join('|')+')(?=(\\\\\\\\s|/?>|$))','i'),/^$/,!0],[new RegExp(o.source+'\\\\\\\\s*$'),/^$/,!1]],Pe=u.isSpace,b=u.isSpace;function v(e,t,r,n){var s,o,i,a,c,l,u,p;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType='root',this.level=0,this.result='',p=!1,i=a=l=u=0,c=(o=this.src).length;a<c;a++){if(s=o.charCodeAt(a),!p){if(b(s)){l++,9===s?u+=4-u%4:u++;continue}p=!0}10!==s&&a!==c-1||(10!==s&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),p=!1,u=l=0,i=a+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}v.prototype.push=function(e,t,r){e=new _(e,t,r);return e.block=!0,r<0&&this.level--,e.level=this.level,0<r&&this.level++,this.tokens.push(e),e},v.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},v.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},v.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),b(t));e++);return e},v.prototype.skipSpacesBack=function(e,t){if(!(e<=t))for(;t<e;)if(!b(this.src.charCodeAt(--e)))return e+1;return e},v.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},v.prototype.skipCharsBack=function(e,t,r){if(!(e<=r))for(;r<e;)if(t!==this.src.charCodeAt(--e))return e+1;return e},v.prototype.getLines=function(e,t,r,n){var s,o,i,a,c,l,u,p=e;if(t<=e)return'';for(l=new Array(t-e),s=0;p<t;p++,s++){for(o=0,u=a=this.bMarks[p],c=p+1<t||n?this.eMarks[p]+1:this.eMarks[p];a<c&&o<r;){if(i=this.src.charCodeAt(a),b(i))9===i?o+=4-(o+this.bsCount[p])%4:o++;else{if(!(a-u<this.tShift[p]))break;o++}a++}l[s]=r<o?new Array(o-r+1).join(' ')+this.src.slice(a,c):this.src.slice(a,c)}return l.join('')},v.prototype.Token=_;var e=v,C=[['table',function(e,t,r,n){var s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b;if(r<t+2)return!1;if(e.sCount[l=t+1]<e.blkIndent)return!1;if(4<=e.sCount[l]-e.blkIndent)return!1;if((i=e.bMarks[l]+e.tShift[l])>=e.eMarks[l])return!1;if(124!==(k=e.src.charCodeAt(i++))&&45!==k&&58!==k)return!1;if(i>=e.eMarks[l])return!1;if(124!==(b=e.src.charCodeAt(i++))&&45!==b&&58!==b&&!Le(b))return!1;if(45===k&&Le(b))return!1;for(;i<e.eMarks[l];){if(124!==(s=e.src.charCodeAt(i))&&45!==s&&58!==s&&!Le(s))return!1;i++}for(u=(o=ze(e,t+1)).split('|'),f=[],a=0;a<u.length;a++){if(!(d=u[a].trim())){if(0===a||a===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(d))return!1;58===d.charCodeAt(d.length-1)?f.push(58===d.charCodeAt(0)?'center':'right'):58===d.charCodeAt(0)?f.push('left'):f.push('')}if(-1===(o=ze(e,t).trim()).indexOf('|'))return!1;if(4<=e.sCount[t]-e.blkIndent)return!1;if((u=Te(o)).length&&''===u[0]&&u.shift(),u.length&&''===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==f.length)return!1;if(!n){for(k=e.parentType,e.parentType='table',_=e.md.block.ruler.getRules('blockquote'),(h=e.push('table_open','table',1)).map=b=[t,0],(h=e.push('thead_open','thead',1)).map=[t,t+1],(h=e.push('tr_open','tr',1)).map=[t,t+1],a=0;a<u.length;a++)h=e.push('th_open','th',1),f[a]&&(h.attrs=[['style','text-align:'+f[a]]]),(h=e.push('inline','',0)).content=u[a].trim(),h.children=[],h=e.push('th_close','th',-1);for(h=e.push('tr_close','tr',-1),h=e.push('thead_close','thead',-1),l=t+2;l<r&&!(e.sCount[l]<e.blkIndent);l++){for(g=!1,a=0,c=_.length;a<c;a++)if(_[a](e,l,r,!0)){g=!0;break}if(g)break;if(!(o=ze(e,l).trim()))break;if(4<=e.sCount[l]-e.blkIndent)break;for((u=Te(o)).length&&''===u[0]&&u.shift(),u.length&&''===u[u.length-1]&&u.pop(),l===t+2&&((h=e.push('tbody_open','tbody',1)).map=m=[t+2,0]),(h=e.push('tr_open','tr',1)).map=[l,l+1],a=0;a<p;a++)h=e.push('td_open','td',1),f[a]&&(h.attrs=[['style','text-align:'+f[a]]]),(h=e.push('inline','',0)).content=u[a]?u[a].trim():'',h.children=[],h=e.push('td_close','td',-1);h=e.push('tr_close','tr',-1)}m&&(h=e.push('tbody_close','tbody',-1),m[1]=l),h=e.push('table_close','table',-1),b[1]=l,e.parentType=k,e.line=l}return!0},['paragraph','reference']],['code',function(e,t,r){var n,s,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(s=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(4<=e.sCount[n]-e.blkIndent))break;s=++n}return e.line=s,(o=e.push('code_block','code',0)).content=e.getLines(t,s,4+e.blkIndent,!1)+'\\\\n',o.map=[t,e.line],!0}],['fence',function(e,t,r,n){var s,o,i,a,c,l,u=!1,p=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(h<p+3)return!1;if(126!==(s=e.src.charCodeAt(p))&&96!==s)return!1;if(c=p,(o=(p=e.skipChars(p,s))-c)<3)return!1;if(l=e.src.slice(c,p),i=e.src.slice(p,h),96===s&&0<=i.indexOf(String.fromCharCode(s)))return!1;if(!n){for(a=t;!(++a>=r||(p=c=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]<e.blkIndent);)if(e.src.charCodeAt(p)===s&&!(4<=e.sCount[a]-e.blkIndent||(p=e.skipChars(p,s))-c<o||(p=e.skipSpaces(p))<h)){u=!0;break}o=e.sCount[t],e.line=a+(u?1:0),(n=e.push('fence','code',0)).info=i,n.content=e.getLines(t+1,a,o,!0),n.markup=l,n.map=[t,e.line]}return!0},['paragraph','reference','blockquote','list']],['blockquote',function(e,t,r,n){var s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b,v,C,y,A=e.lineMax,x=e.bMarks[t]+e.tShift[t],D=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(62!==e.src.charCodeAt(x++))return!1;if(!n){for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(x)?(x++,a++,h++,k=!(s=!1)):9===e.src.charCodeAt(x)?(k=!0,s=(e.bsCount[t]+h)%4!=3||(x++,a++,h++,!1)):k=!1,f=[e.bMarks[t]],e.bMarks[t]=x;x<D&&(o=e.src.charCodeAt(x),Ie(o));)9===o?h+=4-(h+e.bsCount[t]+(s?1:0))%4:h++,x++;for(d=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(k?1:0),l=D<=x,g=[e.sCount[t]],e.sCount[t]=h-a,_=[e.tShift[t]],e.tShift[t]=x-e.bMarks[t],v=e.md.block.ruler.getRules('blockquote'),n=e.parentType,e.parentType='blockquote',p=t+1;p<r&&(y=e.sCount[p]<e.blkIndent,!((x=e.bMarks[p]+e.tShift[p])>=(D=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(x++)||y){if(l)break;for(b=!1,i=0,c=v.length;i<c;i++)if(v[i](e,p,r,!0)){b=!0;break}if(b){e.lineMax=p,0!==e.blkIndent&&(f.push(e.bMarks[p]),d.push(e.bsCount[p]),_.push(e.tShift[p]),g.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}f.push(e.bMarks[p]),d.push(e.bsCount[p]),_.push(e.tShift[p]),g.push(e.sCount[p]),e.sCount[p]=-1}else{for(a=h=e.sCount[p]+1,32===e.src.charCodeAt(x)?(x++,a++,h++,k=!(s=!1)):9===e.src.charCodeAt(x)?(k=!0,s=(e.bsCount[p]+h)%4!=3||(x++,a++,h++,!1)):k=!1,f.push(e.bMarks[p]),e.bMarks[p]=x;x<D&&(o=e.src.charCodeAt(x),Ie(o));)9===o?h+=4-(h+e.bsCount[p]+(s?1:0))%4:h++,x++;l=D<=x,d.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(k?1:0),g.push(e.sCount[p]),e.sCount[p]=h-a,_.push(e.tShift[p]),e.tShift[p]=x-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(C=e.push('blockquote_open','blockquote',1)).markup='>',C.map=u=[t,0],e.md.block.tokenize(e,t,p),(C=e.push('blockquote_close','blockquote',-1)).markup='>',e.lineMax=A,e.parentType=n,u[1]=e.line,i=0;i<_.length;i++)e.bMarks[i+t]=f[i],e.tShift[i+t]=_[i],e.sCount[i+t]=g[i],e.bsCount[i+t]=d[i];e.blkIndent=m}return!0},['paragraph','reference','blockquote','list']],['hr',function(e,t,r,n){var s,o,i,a=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(42!==(s=e.src.charCodeAt(a++))&&45!==s&&95!==s)return!1;for(o=1;a<c;){if((i=e.src.charCodeAt(a++))!==s&&!Me(i))return!1;i===s&&o++}return!(o<3||(n||(e.line=t+1,(n=e.push('hr','hr',0)).map=[t,e.line],n.markup=Array(o+1).join(String.fromCharCode(s))),0))},['paragraph','reference','blockquote','list']],['list',function(e,t,r,n){var s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b,v,C,y,A,x,D,w,E=!1,q=!0;if(4<=e.sCount[t]-e.blkIndent)return!1;if(0<=e.listIndent&&4<=e.sCount[t]-e.listIndent&&e.sCount[t]<e.blkIndent)return!1;if(n&&'paragraph'===e.parentType&&e.sCount[t]>=e.blkIndent&&(E=!0),0<=(C=Ne(e,t))){if(c=!0,A=e.bMarks[t]+e.tShift[t],g=Number(e.src.slice(A,C-1)),E&&1!==g)return!1}else{if(!(0<=(C=Be(e,t))))return!1;c=!1}if(E&&e.skipSpaces(C)>=e.eMarks[t])return!1;if(p=e.src.charCodeAt(C-1),!n){for(E=e.tokens.length,c?(w=e.push('ordered_list_open','ol',1),1!==g&&(w.attrs=[['start',g]])):w=e.push('bullet_list_open','ul',1),w.map=n=[t,0],w.markup=String.fromCharCode(p),f=t,y=!1,D=e.md.block.ruler.getRules('list'),g=e.parentType,e.parentType='list';f<r;){for(v=C,h=e.eMarks[f],a=d=e.sCount[f]+C-(e.bMarks[t]+e.tShift[t]);v<h;){if(9===(s=e.src.charCodeAt(v)))d+=4-(d+e.bsCount[f])%4;else{if(32!==s)break;d++}v++}if(a=a+(a=4<(a=(o=v)>=h?1:d-a)?1:a),(w=e.push('list_item_open','li',1)).markup=String.fromCharCode(p),w.map=l=[t,0],c&&(w.info=e.src.slice(A,C-1)),b=e.tight,k=e.tShift[t],_=e.sCount[t],m=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=d,h<=o&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!y||(q=!1),y=1<e.line-t&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=m,e.tShift[t]=k,e.sCount[t]=_,e.tight=b,(w=e.push('list_item_close','li',-1)).markup=String.fromCharCode(p),f=t=e.line,l[1]=f,e.bMarks[t],r<=f)break;if(e.sCount[f]<e.blkIndent)break;if(4<=e.sCount[t]-e.blkIndent)break;for(x=!1,i=0,u=D.length;i<u;i++)if(D[i](e,f,r,!0)){x=!0;break}if(x)break;if(c){if((C=Ne(e,f))<0)break;A=e.bMarks[f]+e.tShift[f]}else if((C=Be(e,f))<0)break;if(p!==e.src.charCodeAt(C-1))break}if((w=c?e.push('ordered_list_close','ol',-1):e.push('bullet_list_close','ul',-1)).markup=String.fromCharCode(p),n[1]=f,e.line=f,e.parentType=g,q){var S=e;for(var F=S.level+2,L=E+2,z=S.tokens.length-2;L<z;L++)S.tokens[L].level===F&&'paragraph_open'===S.tokens[L].type&&(S.tokens[L+2].hidden=!0,S.tokens[L].hidden=!0,L+=2)}}return!0},['paragraph','reference','blockquote']],['reference',function(e,t,r,n){var s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b=0,v=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],y=t+1;if(4<=e.sCount[t]-e.blkIndent)return!1;if(91!==e.src.charCodeAt(v))return!1;for(;++v<C;)if(93===e.src.charCodeAt(v)&&92!==e.src.charCodeAt(v-1)){if(v+1===C)return!1;if(58!==e.src.charCodeAt(v+1))return!1;break}for(a=e.lineMax,_=e.md.block.ruler.getRules('reference'),h=e.parentType,e.parentType='reference';y<a&&!e.isEmpty(y);y++)if(!(3<e.sCount[y]-e.blkIndent||e.sCount[y]<0)){for(g=!1,l=0,u=_.length;l<u;l++)if(_[l](e,y,a,!0)){g=!0;break}if(g)break}for(C=(m=e.getLines(t,y,e.blkIndent,!1).trim()).length,v=1;v<C;v++){if(91===(s=m.charCodeAt(v)))return!1;if(93===s){p=v;break}(10===s||92===s&&++v<C&&10===m.charCodeAt(v))&&b++}if(p<0||58!==m.charCodeAt(p+1))return!1;for(v=p+2;v<C;v++)if(10===(s=m.charCodeAt(v)))b++;else if(!A(s))break;if(!(f=e.md.helpers.parseLinkDestination(m,v,C)).ok)return!1;if(c=e.md.normalizeLink(f.str),!e.md.validateLink(c))return!1;for(o=v=f.pos,i=b+=f.lines,d=v;v<C;v++)if(10===(s=m.charCodeAt(v)))b++;else if(!A(s))break;for(f=e.md.helpers.parseLinkTitle(m,v,C),v<C&&d!==v&&f.ok?(k=f.str,v=f.pos,b+=f.lines):(k='',v=o,b=i);v<C&&(s=m.charCodeAt(v),A(s));)v++;if(v<C&&10!==m.charCodeAt(v)&&k)for(k='',v=o,b=i;v<C&&(s=m.charCodeAt(v),A(s));)v++;return!(v<C&&10!==m.charCodeAt(v)||!(d=Oe(m.slice(1,p)))||(n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:k,href:c}),e.parentType=h,e.line=t+b+1),0))}],['html_block',function(e,t,r,n){var s,o,i,a=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(a))return!1;for(i=e.src.slice(a,c),s=0;s<k.length&&!k[s][0].test(i);s++);if(s===k.length)return!1;if(n)return k[s][2];if(o=t+1,!k[s][1].test(i))for(;o<r&&!(e.sCount[o]<e.blkIndent);o++)if(a=e.bMarks[o]+e.tShift[o],c=e.eMarks[o],i=e.src.slice(a,c),k[s][1].test(i)){0!==i.length&&o++;break}return e.line=o,(n=e.push('html_block','',0)).map=[t,o],n.content=e.getLines(t,o,e.blkIndent,!0),!0},['paragraph','reference','blockquote']],['heading',function(e,t,r,n){var s,o,i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(35!==(s=e.src.charCodeAt(i))||a<=i)return!1;for(o=1,s=e.src.charCodeAt(++i);35===s&&i<a&&o<=6;)o++,s=e.src.charCodeAt(++i);return!(6<o||i<a&&!Pe(s)||(n||(a=e.skipSpacesBack(a,i),(n=e.skipCharsBack(a,35,i))>i&&Pe(e.src.charCodeAt(n-1))&&(a=n),e.line=t+1,(n=e.push('heading_open','h'+String(o),1)).markup='########'.slice(0,o),n.map=[t,e.line],(n=e.push('inline','',0)).content=e.src.slice(i,a).trim(),n.map=[t,e.line],n.children=[],(n=e.push('heading_close','h'+String(o),-1)).markup='########'.slice(0,o)),0))},['paragraph','reference','blockquote']],['lheading',function(e,t,r){var n,s,o,i,a,c,l,u,p,h,f=t+1,d=e.md.block.ruler.getRules('paragraph');if(4<=e.sCount[t]-e.blkIndent)return!1;for(h=e.parentType,e.parentType='paragraph';f<r&&!e.isEmpty(f);f++)if(!(3<e.sCount[f]-e.blkIndent)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(s=!1,o=0,i=d.length;o<i;o++)if(d[o](e,f,r,!0)){s=!0;break}if(s)break}}return!!u&&(n=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(a=e.push('heading_open','h'+String(u),1)).markup=String.fromCharCode(p),a.map=[t,e.line],(a=e.push('inline','',0)).content=n,a.map=[t,e.line-1],a.children=[],(a=e.push('heading_close','h'+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}],['paragraph',function(e,t){var r,n,s,o,i,a=t+1,c=e.md.block.ruler.getRules('paragraph'),l=e.lineMax,u=e.parentType;for(e.parentType='paragraph';a<l&&!e.isEmpty(a);a++)if(!(3<e.sCount[a]-e.blkIndent||e.sCount[a]<0)){for(n=!1,s=0,o=c.length;s<o;s++)if(c[s](e,a,l,!0)){n=!0;break}if(n)break}return r=e.getLines(t,a,e.blkIndent,!1).trim(),e.line=a,(i=e.push('paragraph_open','p',1)).map=[t,e.line],(i=e.push('inline','',0)).content=r,i.map=[t,e.line],i.children=[],i=e.push('paragraph_close','p',-1),e.parentType=u,!0}]];function y(){this.ruler=new m;for(var e=0;e<C.length;e++)this.ruler.push(C[e][0],C[e][1],{alt:(C[e][2]||[]).slice()})}y.prototype.tokenize=function(e,t,r){for(var n,s=this.ruler.getRules(''),o=s.length,i=t,a=!1,c=e.md.options.maxNesting;i<r&&(e.line=i=e.skipEmptyLines(i),!(r<=i))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<o&&!s[n](e,i,r,!1);n++);e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(i=e.line)<r&&e.isEmpty(i)&&(a=!0,i++,e.line=i)}},y.prototype.parse=function(e,t,r,n){e&&(e=new this.State(e,t,r,n),this.tokenize(e,e.line,e.lineMax))},y.prototype.State=e;var je=y;for(var Ue=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Ve=u.isSpace,Ze=u.isSpace,$e=[],Ge=0;Ge<256;Ge++)$e.push(0);function He(e,t){for(var r,n,s,o,i=[],a=t.length,c=0;c<a;c++)126===(n=t[c]).marker&&-1!==n.end&&(s=t[n.end],(o=e.tokens[n.token]).type='s_open',o.tag='s',o.nesting=1,o.markup='~~',o.content='',(o=e.tokens[s.token]).type='s_close',o.tag='s',o.nesting=-1,o.markup='~~',o.content='','text'===e.tokens[s.token-1].type)&&'~'===e.tokens[s.token-1].content&&i.push(s.token-1);for(;i.length;){for(r=(c=i.pop())+1;r<e.tokens.length&&'s_close'===e.tokens[r].type;)r++;c!==--r&&(o=e.tokens[r],e.tokens[r]=e.tokens[c],e.tokens[c]=o)}}'\\\\\\\\!\\\"#$%&\\\\'()*+,./:;<=>?@[]^_`{|}~-'.split('').forEach(function(e){$e[e.charCodeAt(0)]=1});o={tokenize:function(e,t){var r,n,s,o,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(126!==a)return!1;if(s=(n=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(a),s<2)return!1;for(s%2&&(e.push('text','',0).content=o,s--),r=0;r<s;r+=2)e.push('text','',0).content=o+o,e.delimiters.push({marker:a,length:0,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(He(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&He(e,r[t].delimiters)}};function Je(e,t){for(var r,n,s,o,i,a=t.length-1;0<=a;a--)95!==(r=t[a]).marker&&42!==r.marker||-1!==r.end&&(n=t[r.end],i=0<a&&t[a-1].end===r.end+1&&t[a-1].marker===r.marker&&t[a-1].token===r.token-1&&t[r.end+1].token===n.token+1,o=String.fromCharCode(r.marker),(s=e.tokens[r.token]).type=i?'strong_open':'em_open',s.tag=i?'strong':'em',s.nesting=1,s.markup=i?o+o:o,s.content='',(s=e.tokens[n.token]).type=i?'strong_close':'em_close',s.tag=i?'strong':'em',s.nesting=-1,s.markup=i?o+o:o,s.content='',i)&&(e.tokens[t[a-1].token].content='',e.tokens[t[r.end+1].token].content='',a--)}var e={tokenize:function(e,t){var r,n,s=e.pos,o=e.src.charCodeAt(s);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r<n.length;r++)e.push('text','',0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:n.length,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(Je(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&Je(e,r[t].delimiters)}},We=u.normalizeReference,Ye=u.isSpace,Ke=u.normalizeReference,Qe=u.isSpace,Xe=/^([a-zA-Z0-9.!#$%&'*+\\\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,et=/^([a-zA-Z][a-zA-Z0-9+.\\\\-]{1,31}):([^<>\\\\x00-\\\\x20]*)$/,tt=t.HTML_TAG_RE,rt=u.has,nt=u.isValidEntityCode,st=u.fromCodePoint,ot=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,it=/^&([a-z][a-z0-9]{1,31});/i;function at(e,t){var r,n,s,o,i,a,c={},l=t.length;if(l)for(var u=0,p=-2,h=[],f=0;f<l;f++)if(n=t[f],h.push(0),t[u].marker===n.marker&&p===n.token-1||(u=f),p=n.token,n.length=n.length||0,n.close){for(c.hasOwnProperty(n.marker)||(c[n.marker]=[-1,-1,-1,-1,-1,-1]),o=c[n.marker][(n.open?3:0)+n.length%3],i=r=u-h[u]-1;o<r;r-=h[r]+1)if((s=t[r]).marker===n.marker&&s.open&&s.end<0&&(a=!1,!(a=!s.close&&!n.open||(s.length+n.length)%3!=0||s.length%3==0&&n.length%3==0?a:!0))){a=0<r&&!t[r-1].open?h[r-1]+1:0,h[f]=f-r+a,h[r]=a,n.open=!1,s.end=f,s.close=!1,i=-1,p=-2;break}-1!==i&&(c[n.marker][(n.open?3:0)+(n.length||0)%3]=i)}}var ct=u.isWhiteSpace,lt=u.isPunctChar,ut=u.isMdAsciiPunct;function x(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending='',this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}x.prototype.pushPending=function(){var e=new _('text','',0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending='',e},x.prototype.push=function(e,t,r){this.pending&&this.pushPending();e=new _(e,t,r),t=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),e.level=this.level,0<r&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],t={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(e),this.tokens_meta.push(t),e},x.prototype.scanDelims=function(e,t){for(var r,n,s,o,i=e,a=!0,c=!0,l=this.posMax,u=this.src.charCodeAt(e),p=0<e?this.src.charCodeAt(e-1):32;i<l&&this.src.charCodeAt(i)===u;)i++;return e=i-e,s=i<l?this.src.charCodeAt(i):32,n=ut(p)||lt(String.fromCharCode(p)),o=ut(s)||lt(String.fromCharCode(s)),p=ct(p),(s=ct(s))?a=!1:!o||p||n||(a=!1),p?c=!1:!n||s||o||(c=!1),p=t?(r=a,c):(r=a&&(!c||n),c&&(!a||o)),{can_open:r,can_close:p,length:e}},x.prototype.Token=_;var t=x,pt=[['text',function(e,t){for(var r=e.pos;r<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return 1;default:return}}(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],['linkify',function(e,t){var r,n,s;return!(!e.md.options.linkify||0<e.linkLevel||(n=e.pos)+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2)||!(r=e.pending.match(Ue))||(r=r[1],!(n=e.md.linkify.matchAtStart(e.src.slice(n-r.length))))||(n=(n=n.url).replace(/\\\\*+$/,''),s=e.md.normalizeLink(n),!e.md.validateLink(s))||(t||(e.pending=e.pending.slice(0,-r.length),(t=e.push('link_open','a',1)).attrs=[['href',s]],t.markup='linkify',t.info='auto',(t=e.push('text','',0)).content=e.md.normalizeLinkText(n),(t=e.push('link_close','a',-1)).markup='linkify',t.info='auto'),e.pos+=n.length-r.length,0))}],['newline',function(e,t){var r,n,s,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(r=e.pending.length-1,n=e.posMax,!t)if(0<=r&&32===e.pending.charCodeAt(r))if(1<=r&&32===e.pending.charCodeAt(r-1)){for(s=r-1;1<=s&&32===e.pending.charCodeAt(s-1);)s--;e.pending=e.pending.slice(0,s),e.push('hardbreak','br',0)}else e.pending=e.pending.slice(0,-1),e.push('softbreak','br',0);else e.push('softbreak','br',0);for(o++;o<n&&Ve(e.src.charCodeAt(o));)o++;return e.pos=o,!0}],['escape',function(e,t){var r,n,s,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o>=i)return!1;if(10===(r=e.src.charCodeAt(o))){for(t||e.push('hardbreak','br',0),o++;o<i&&(r=e.src.charCodeAt(o),Ze(r));)o++;e.pos=o}else s=e.src[o],55296<=r&&r<=56319&&o+1<i&&56320<=(n=e.src.charCodeAt(o+1))&&n<=57343&&(s+=e.src[o+1],o++),n='\\\\\\\\'+s,t||((t=e.push('text_special','',0)).content=r<256&&0!==$e[r]?s:n,t.markup=n,t.info='escape'),e.pos=o+1;return!0}],['backticks',function(e,t){var r,n,s,o,i,a,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(r=u,u++,n=e.posMax;u<n&&96===e.src.charCodeAt(u);)u++;if(c=(s=e.src.slice(r,u)).length,!(e.backticksScanned&&(e.backticks[c]||0)<=r)){for(a=u;-1!==(i=e.src.indexOf('`',a));){for(a=i+1;a<n&&96===e.src.charCodeAt(a);)a++;if((l=a-i)===c)return t||((o=e.push('code_inline','code',0)).markup=s,o.content=e.src.slice(u,i).replace(/\\\\n/g,' ').replace(/^ (.+) $/,'$1')),e.pos=a,!0;e.backticks[l]=i}e.backticksScanned=!0}return t||(e.pending+=s),e.pos+=c,!0}],['strikethrough',o.tokenize],['emphasis',e.tokenize],['link',function(e,t){var r,n,s,o,i,a,c='',l='',u=e.pos,p=e.posMax,h=e.pos,f=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(o=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((i=s+1)<p&&40===e.src.charCodeAt(i)){for(f=!1,i++;i<p&&(r=e.src.charCodeAt(i),Ye(r)||10===r);i++);if(p<=i)return!1;if(h=i,(a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax)).ok){for(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?i=a.pos:c='',h=i;i<p&&(r=e.src.charCodeAt(i),Ye(r)||10===r);i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<p&&h!==i&&a.ok)for(l=a.str,i=a.pos;i<p&&(r=e.src.charCodeAt(i),Ye(r)||10===r);i++);}(p<=i||41!==e.src.charCodeAt(i))&&(f=!0),i++}if(f){if(void 0===e.env.references)return!1;if(i<p&&91===e.src.charCodeAt(i)&&(h=i+1,0<=(i=e.md.helpers.parseLinkLabel(e,i)))?n=e.src.slice(h,i++):i=s+1,n=n||e.src.slice(o,s),!(a=e.env.references[We(n)]))return e.pos=u,!1;c=a.href,l=a.title}return t||(e.pos=o,e.posMax=s,e.push('link_open','a',1).attrs=f=[['href',c]],l&&f.push(['title',l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push('link_close','a',-1)),e.pos=i,e.posMax=p,!0}],['image',function(e,t){var r,n,s,o,i,a,c,l,u='',p=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(s=e.pos+2,(n=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((o=n+1)<h&&40===e.src.charCodeAt(o)){for(o++;o<h&&(r=e.src.charCodeAt(o),Qe(r)||10===r);o++);if(h<=o)return!1;for(l=o,(i=e.md.helpers.parseLinkDestination(e.src,o,e.posMax)).ok&&(u=e.md.normalizeLink(i.str),e.md.validateLink(u)?o=i.pos:u=''),l=o;o<h&&(r=e.src.charCodeAt(o),Qe(r)||10===r);o++);if(i=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&l!==o&&i.ok)for(a=i.str,o=i.pos;o<h&&(r=e.src.charCodeAt(o),Qe(r)||10===r);o++);else a='';if(h<=o||41!==e.src.charCodeAt(o))return e.pos=p,!1;o++}else{if(void 0===e.env.references)return!1;if(o<h&&91===e.src.charCodeAt(o)&&(l=o+1,0<=(o=e.md.helpers.parseLinkLabel(e,o)))?c=e.src.slice(l,o++):o=n+1,c=c||e.src.slice(s,n),!(i=e.env.references[Ke(c)]))return e.pos=p,!1;u=i.href,a=i.title}return t||(l=e.src.slice(s,n),e.md.inline.parse(l,e.md,e.env,c=[]),(p=e.push('image','img',0)).attrs=i=[['src',u],['alt','']],p.children=c,p.content=l,a&&i.push(['title',a])),e.pos=o,e.posMax=h,!0}],['autolink',function(e,t){var r,n,s,o,i,a=e.pos;if(60!==e.src.charCodeAt(a))return!1;for(o=e.pos,i=e.posMax;;){if(++a>=i)return!1;if(60===(s=e.src.charCodeAt(a)))return!1;if(62===s)break}return o=e.src.slice(o+1,a),et.test(o)?(r=e.md.normalizeLink(o),!!e.md.validateLink(r)&&(t||((n=e.push('link_open','a',1)).attrs=[['href',r]],n.markup='autolink',n.info='auto',(n=e.push('text','',0)).content=e.md.normalizeLinkText(o),(n=e.push('link_close','a',-1)).markup='autolink',n.info='auto'),e.pos+=o.length+2,!0)):!!Xe.test(o)&&(r=e.md.normalizeLink('mailto:'+o),!!e.md.validateLink(r))&&(t||((n=e.push('link_open','a',1)).attrs=[['href',r]],n.markup='autolink',n.info='auto',(n=e.push('text','',0)).content=e.md.normalizeLinkText(o),(n=e.push('link_close','a',-1)).markup='autolink',n.info='auto'),e.pos+=o.length+2,!0)}],['html_inline',function(e,t){var r,n=e.pos;return!(!e.md.options.html||(r=e.posMax,60!==e.src.charCodeAt(n))||r<=n+2||33!==(r=e.src.charCodeAt(n+1))&&63!==r&&47!==r&&!(97<=(r=32|r)&&r<=122)||!(r=e.src.slice(n).match(tt))||(t||((t=e.push('html_inline','',0)).content=e.src.slice(n,n+r[0].length),n=t.content,/^<a[>\\\\s]/i.test(n)&&e.linkLevel++,/^<\\\\/a\\\\s*>/i.test(t.content)&&e.linkLevel--),e.pos+=r[0].length,0))}],['entity',function(e,t){var r,n,s=e.pos,o=e.posMax;if(38===e.src.charCodeAt(s)&&!(o<=s+1))if(35===e.src.charCodeAt(s+1)){if(r=e.src.slice(s).match(ot))return t||(o='x'===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),(n=e.push('text_special','',0)).content=nt(o)?st(o):st(65533),n.markup=r[0],n.info='entity'),e.pos+=r[0].length,!0}else if((r=e.src.slice(s).match(it))&&rt(i,r[1]))return t||((n=e.push('text_special','',0)).content=i[r[1]],n.markup=r[0],n.info='entity'),e.pos+=r[0].length,!0;return!1}]],ht=[['balance_pairs',function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(at(0,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&at(0,r[t].delimiters)}],['strikethrough',o.postProcess],['emphasis',e.postProcess],['fragments_join',function(e){for(var t,r=0,n=e.tokens,s=e.tokens.length,o=t=0;o<s;o++)n[o].nesting<0&&r--,n[o].level=r,0<n[o].nesting&&r++,'text'===n[o].type&&o+1<s&&'text'===n[o+1].type?n[o+1].content=n[o].content+n[o+1].content:(o!==t&&(n[t]=n[o]),t++);o!==t&&(n.length=t)}]];function w(){var e;for(this.ruler=new m,e=0;e<pt.length;e++)this.ruler.push(pt[e][0],pt[e][1]);for(this.ruler2=new m,e=0;e<ht.length;e++)this.ruler2.push(ht[e][0],ht[e][1])}w.prototype.skipToken=function(e){var t,r,n=e.pos,s=this.ruler.getRules(''),o=s.length,i=e.md.options.maxNesting,a=e.cache;if(void 0===a[n]){if(e.level<i)for(r=0;r<o&&(e.level++,t=s[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,a[n]=e.pos}else e.pos=a[n]},w.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(''),s=n.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(r=0;r<s&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},w.prototype.parse=function(e,t,r,n){var s,o,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(o=this.ruler2.getRules('')).length,s=0;s<i;s++)o[s](a)},w.prototype.State=t;var ft=w;function dt(r){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(e){r[e]=t[e]})}),r}function E(e){return Object.prototype.toString.call(e)}function mt(e){return'[object Function]'===E(e)}function gt(e){return e.replace(/[.?*+^$[\\\\]\\\\\\\\(){}|-]/g,'\\\\\\\\$&')}var _t={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},kt={'http:':{validate:function(e,t,r){e=e.slice(t);return r.re.http||(r.re.http=new RegExp('^\\\\\\\\/\\\\\\\\/'+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,'i')),r.re.http.test(e)?e.match(r.re.http)[0].length:0}},'https:':'http:','ftp:':'http:','//':{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp('^'+r.re.src_auth+'(?:localhost|(?:(?:'+r.re.src_domain+')\\\\\\\\.)+'+r.re.src_domain_root+')'+r.re.src_port+r.re.src_host_terminator+r.re.src_path,'i')),!r.re.no_http.test(n)||3<=t&&':'===e[t-3]||3<=t&&'/'===e[t-3]?0:n.match(r.re.no_http)[0].length}},'mailto:':{validate:function(e,t,r){e=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp('^'+r.re.src_email_name+'@'+r.re.src_host_strict,'i')),r.re.mailto.test(e)?e.match(r.re.mailto)[0].length:0}}},bt='biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');function vt(s){var t=s.re=(n={},e=s.__opts__||{},n.src_Any=te.source,n.src_Cc=re.source,n.src_Z=ne.source,n.src_P=a.source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join('|'),n.src_ZCc=[n.src_Z,n.src_Cc].join('|'),n.src_pseudo_letter='(?:(?![><]|'+n.src_ZPCc+')'+n.src_Any+')',n.src_ip4='(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\\\\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)',n.src_auth='(?:(?:(?!'+n.src_ZCc+'|[@/\\\\\\\\[\\\\\\\\]()]).)+@)?',n.src_port='(?::(?:6(?:[0-4]\\\\\\\\d{3}|5(?:[0-4]\\\\\\\\d{2}|5(?:[0-2]\\\\\\\\d|3[0-5])))|[1-5]?\\\\\\\\d{1,4}))?',n.src_host_terminator='(?=$|[><]|'+n.src_ZPCc+')(?!'+(e['---']?'-(?!--)|':'-|')+'_|:\\\\\\\\d|\\\\\\\\.-|\\\\\\\\.(?!$|'+n.src_ZPCc+'))',n.src_path='(?:[/?#](?:(?!'+n.src_ZCc+'|[><]|[()[\\\\\\\\]{}.,\\\"\\\\'?!\\\\\\\\-;]).|\\\\\\\\[(?:(?!'+n.src_ZCc+'|\\\\\\\\]).)*\\\\\\\\]|\\\\\\\\((?:(?!'+n.src_ZCc+'|[)]).)*\\\\\\\\)|\\\\\\\\{(?:(?!'+n.src_ZCc+'|[}]).)*\\\\\\\\}|\\\\\\\\\\\"(?:(?!'+n.src_ZCc+'|[\\\"]).)+\\\\\\\\\\\"|\\\\\\\\\\\\'(?:(?!'+n.src_ZCc+'|[\\\\']).)+\\\\\\\\\\\\'|\\\\\\\\\\\\'(?='+n.src_pseudo_letter+'|[-])|\\\\\\\\.{2,}[a-zA-Z0-9%/&]|\\\\\\\\.(?!'+n.src_ZCc+'|[.]|$)|'+(e['---']?'\\\\\\\\-(?!--(?:[^-]|$))(?:-*)|':'\\\\\\\\-+|')+',(?!'+n.src_ZCc+'|$)|;(?!'+n.src_ZCc+'|$)|\\\\\\\\!+(?!'+n.src_ZCc+'|[!]|$)|\\\\\\\\?(?!'+n.src_ZCc+'|[?]|$))+|\\\\\\\\/)?',n.src_email_name='[\\\\\\\\-;:&=\\\\\\\\+\\\\\\\\$,\\\\\\\\.a-zA-Z0-9_][\\\\\\\\-;:&=\\\\\\\\+\\\\\\\\$,\\\\\\\\\\\"\\\\\\\\.a-zA-Z0-9_]*',n.src_xn='xn--[a-z0-9\\\\\\\\-]{1,59}',n.src_domain_root='(?:'+n.src_xn+'|'+n.src_pseudo_letter+'{1,63})',n.src_domain='(?:'+n.src_xn+'|(?:'+n.src_pseudo_letter+')|(?:'+n.src_pseudo_letter+'(?:-|'+n.src_pseudo_letter+'){0,61}'+n.src_pseudo_letter+'))',n.src_host='(?:(?:(?:(?:'+n.src_domain+')\\\\\\\\.)*'+n.src_domain+'))',n.tpl_host_fuzzy='(?:'+n.src_ip4+'|(?:(?:(?:'+n.src_domain+')\\\\\\\\.)+(?:%TLDS%)))',n.tpl_host_no_ip_fuzzy='(?:(?:(?:'+n.src_domain+')\\\\\\\\.)+(?:%TLDS%))',n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test='localhost|www\\\\\\\\.|\\\\\\\\.\\\\\\\\d{1,3}\\\\\\\\.|(?:\\\\\\\\.(?:%TLDS%)(?:'+n.src_ZPCc+'|>|$))',n.tpl_email_fuzzy='(^|[><]|\\\"|\\\\\\\\(|'+n.src_ZCc+')('+n.src_email_name+'@'+n.tpl_host_fuzzy_strict+')',n.tpl_link_fuzzy='(^|(?![.:/\\\\\\\\-_@])(?:[$+<=>^`|]|'+n.src_ZPCc+'))((?![$+<=>^`|])'+n.tpl_host_port_fuzzy_strict+n.src_path+')',n.tpl_link_no_ip_fuzzy='(^|(?![.:/\\\\\\\\-_@])(?:[$+<=>^`|]|'+n.src_ZPCc+'))((?![$+<=>^`|])'+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+')',n),e=s.__tlds__.slice();function r(e){return e.replace('%TLDS%',t.src_tlds)}s.onCompile(),s.__tlds_replaced__||e.push('a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]'),e.push(t.src_xn),t.src_tlds=e.join('|'),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),'i'),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),'i'),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),'i'),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),'i');var o=[];function i(e,t){throw new Error('(LinkifyIt) Invalid schema \\\"'+e+'\\\": '+t)}s.__compiled__={},Object.keys(s.__schemas__).forEach(function(e){var t,r,n=s.__schemas__[e];null!==n&&(s.__compiled__[e]=t={validate:null,link:null},'[object Object]'===E(n)?('[object RegExp]'!==E(n.validate)?mt(n.validate)?t.validate=n.validate:i(e,n):t.validate=(r=n.validate,function(e,t){e=e.slice(t);return r.test(e)?e.match(r)[0].length:0}),mt(n.normalize)?t.normalize=n.normalize:n.normalize?i(e,n):t.normalize=function(e,t){t.normalize(e)}):'[object String]'!==E(n)?i(e,n):o.push(e))}),o.forEach(function(e){s.__compiled__[s.__schemas__[e]]&&(s.__compiled__[e].validate=s.__compiled__[s.__schemas__[e]].validate,s.__compiled__[e].normalize=s.__compiled__[s.__schemas__[e]].normalize)}),s.__compiled__['']={validate:null,normalize:function(e,t){t.normalize(e)}};var n=Object.keys(s.__compiled__).filter(function(e){return 0<e.length&&s.__compiled__[e]}).map(gt).join('|');s.re.schema_test=RegExp('(^|(?!_)(?:[><]|'+t.src_ZPCc+'))('+n+')','i'),s.re.schema_search=RegExp('(^|(?!_)(?:[><]|'+t.src_ZPCc+'))('+n+')','ig'),s.re.schema_at_start=RegExp('^'+s.re.schema_search.source,'i'),s.re.pretest=RegExp('('+s.re.schema_test.source+')|('+s.re.host_fuzzy_test.source+')|@','i'),(e=s).__index__=-1,e.__text_cache__=''}function Ct(e,t){var r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function yt(e,t){t=new Ct(e,t);return e.__compiled__[t.schema].normalize(t,e),t}function q(e,t){if(!(this instanceof q))return new q(e,t);var r;t||(r=e,Object.keys(r||{}).reduce(function(e,t){return e||_t.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=dt({},_t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__='',this.__text_cache__='',this.__schemas__=dt({},kt,e),this.__compiled__={},this.__tlds__=bt,this.__tlds_replaced__=!1,this.re={},vt(this)}q.prototype.add=function(e,t){return this.__schemas__[e]=t,vt(this),this},q.prototype.set=function(e){return this.__opts__=dt(this.__opts__,e),this},q.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,s,o;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__['http:']&&0<=(o=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||o<this.__index__)&&null!==(o=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(n=o.index+o[1].length,this.__index__<0||n<this.__index__)&&(this.__schema__='',this.__index__=n,this.__last_index__=o.index+o[0].length),this.__opts__.fuzzyEmail&&this.__compiled__['mailto:']&&0<=e.indexOf('@')&&null!==(o=e.match(this.re.email_fuzzy))&&(n=o.index+o[1].length,o=o.index+o[0].length,this.__index__<0||n<this.__index__||n===this.__index__&&o>this.__last_index__)&&(this.__schema__='mailto:',this.__index__=n,this.__last_index__=o),0<=this.__index__},q.prototype.pretest=function(e){return this.re.pretest.test(e)},q.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},q.prototype.match=function(e){var t=0,r=[];0<=this.__index__&&this.__text_cache__===e&&(r.push(yt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(yt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},q.prototype.matchAtStart=function(e){var t;return this.__text_cache__=e,this.__index__=-1,e.length&&(t=this.re.schema_at_start.exec(e))&&(e=this.testSchemaAt(e,t[2],t[0].length))?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+e,yt(this,0)):null},q.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),vt(this),this},q.prototype.normalize=function(e){e.schema||(e.url='http://'+e.url),'mailto:'!==e.schema||/^mailto:/i.test(e.url)||(e.url='mailto:'+e.url)},q.prototype.onCompile=function(){};var At=q,S=2147483647,F=36,xt=/^xn--/,Dt=/[^\\\\x20-\\\\x7E]/,wt=/[\\\\x2E\\\\u3002\\\\uFF0E\\\\uFF61]/g,Et={overflow:'Overflow: input needs wider integers to process','not-basic':'Illegal input >= 0x80 (not a basic code point)','invalid-input':'Invalid input'},L=Math.floor,z=String.fromCharCode;function T(e){throw new RangeError(Et[e])}function qt(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function St(e,t){var r=e.split('@'),n='';return 1<r.length&&(n=r[0]+'@',e=r[1]),n+qt((e=e.replace(wt,'.')).split('.'),t).join('.')}function Ft(e){for(var t,r,n=[],s=0,o=e.length;s<o;)55296<=(t=e.charCodeAt(s++))&&t<=56319&&s<o?56320==(64512&(r=e.charCodeAt(s++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),s--):n.push(t);return n}function Lt(e){return qt(e,function(e){var t='';return 65535<e&&(t+=z((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+z(e)}).join('')}function zt(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function Tt(e,t,r){var n=0;for(e=r?L(e/700):e>>1,e+=L(e/t);455<e;n+=F)e=L(e/35);return L(n+36*e/(e+38))}function It(e){var t,r,n,s,o,i,a,c,l=[],u=e.length,p=0,h=128,f=72;for((r=e.lastIndexOf('-'))<0&&(r=0),n=0;n<r;++n)128<=e.charCodeAt(n)&&T('not-basic'),l.push(e.charCodeAt(n));for(s=0<r?r+1:0;s<u;){for(o=p,i=1,a=F;u<=s&&T('invalid-input'),((c=(c=e.charCodeAt(s++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:F)>=F||c>L((S-p)/i))&&T('overflow'),p+=c*i,!(c<(c=a<=f?1:f+26<=a?26:a-f));a+=F)i>L(S/(c=F-c))&&T('overflow'),i*=c;f=Tt(p-o,t=l.length+1,0==o),L(p/t)>S-h&&T('overflow'),h+=L(p/t),p%=t,l.splice(p++,0,h)}return Lt(l)}function Mt(e){for(var t,r,n,s,o,i,a,c,l,u=[],p=(e=Ft(e)).length,h=128,f=0,d=72,m=0;m<p;++m)(i=e[m])<128&&u.push(z(i));for(t=r=u.length,r&&u.push('-');t<p;){for(n=S,m=0;m<p;++m)(i=e[m])>=h&&i<n&&(n=i);for(n-h>L((S-f)/(a=t+1))&&T('overflow'),f+=(n-h)*a,h=n,m=0;m<p;++m)if((i=e[m])<h&&++f>S&&T('overflow'),i==h){for(s=f,o=F;!(s<(c=o<=d?1:d+26<=o?26:o-d));o+=F)u.push(z(zt(c+(l=s-c)%(c=F-c),0))),s=L(l/c);u.push(z(zt(s,0))),d=Tt(f,a,t==r),f=0,++t}++f,++h}return u.join('')}function Rt(e){return St(e,function(e){return xt.test(e)?It(e.slice(4).toLowerCase()):e})}function Bt(e){return St(e,function(e){return Dt.test(e)?'xn--'+Mt(e):e})}var I,Nt,o={decode:Ft,encode:Lt},Ot=(I=Object.freeze({__proto__:null,decode:It,encode:Mt,toUnicode:Rt,toASCII:Bt,version:'1.4.1',ucs2:o,default:{version:'1.4.1',ucs2:o,toASCII:Bt,toUnicode:Rt,encode:Mt,decode:It}})).__esModule?I:(Nt=Object.defineProperty({},'__esModule',{value:!0}),Object.keys(I).forEach(function(e){var t=Object.getOwnPropertyDescriptor(I,e);Object.defineProperty(Nt,e,t.get?t:{enumerable:!0,get:function(){return I[e]}})}),Nt),Pt={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:'language-',linkify:!1,typographer:!1,quotes:'“”‘’',highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:'language-',linkify:!1,typographer:!1,quotes:'“”‘’',highlight:null,maxNesting:20},components:{core:{rules:['normalize','block','inline','text_join']},block:{rules:['paragraph']},inline:{rules:['text'],rules2:['balance_pairs','fragments_join']}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:'language-',linkify:!1,typographer:!1,quotes:'“”‘’',highlight:null,maxNesting:20},components:{core:{rules:['normalize','block','inline','text_join']},block:{rules:['blockquote','code','fence','heading','hr','html_block','lheading','list','reference','paragraph']},inline:{rules:['autolink','backticks','emphasis','entity','escape','html_inline','image','link','newline','text'],rules2:['balance_pairs','emphasis','fragments_join']}}}},jt=/^(vbscript|javascript|file|data):/,Ut=/^data:image\\\\/(gif|png|jpeg|webp);/;function Vt(e){e=e.trim().toLowerCase();return!jt.test(e)||!!Ut.test(e)}var Zt=['http:','https:','mailto:'];function $t(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||0<=Zt.indexOf(t.protocol)))try{t.hostname=Ot.toASCII(t.hostname)}catch(e){}return l.encode(l.format(t))}function Gt(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||0<=Zt.indexOf(t.protocol)))try{t.hostname=Ot.toUnicode(t.hostname)}catch(e){}return l.decode(l.format(t),l.decode.defaultChars+'%')}function M(e,t){if(!(this instanceof M))return new M(e,t);t||u.isString(e)||(t=e||{},e='default'),this.inline=new ft,this.block=new je,this.core=new Fe,this.renderer=new fe,this.linkify=new At,this.validateLink=Vt,this.normalizeLink=$t,this.normalizeLinkText=Gt,this.utils=u,this.helpers=u.assign({},ie),this.options={},this.configure(e),t&&this.set(t)}return M.prototype.set=function(e){return u.assign(this.options,e),this},M.prototype.configure=function(t){var e,r=this;if(u.isString(t)&&!(t=Pt[e=t]))throw new Error('Wrong `markdown-it` preset \\\"'+e+'\\\", check name');if(t)return t.options&&r.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&r[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&r[e].ruler2.enableOnly(t.components[e].rules2)}),this;throw new Error('Wrong `markdown-it` preset, can\\\\'t be empty')},M.prototype.enable=function(t,e){var r=[],n=(Array.isArray(t)||(t=[t]),['core','block','inline'].forEach(function(e){r=r.concat(this[e].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0)),t.filter(function(e){return r.indexOf(e)<0}));if(n.length&&!e)throw new Error('MarkdownIt. Failed to enable unknown rule(s): '+n);return this},M.prototype.disable=function(t,e){var r=[],n=(Array.isArray(t)||(t=[t]),['core','block','inline'].forEach(function(e){r=r.concat(this[e].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0)),t.filter(function(e){return r.indexOf(e)<0}));if(n.length&&!e)throw new Error('MarkdownIt. Failed to disable unknown rule(s): '+n);return this},M.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},M.prototype.parse=function(e,t){if('string'!=typeof e)throw new Error('Input data should be a String');e=new this.core.State(e,this,t);return this.core.process(e),e.tokens},M.prototype.render=function(e,t){return this.renderer.render(this.parse(e,t=t||{}),this.options,t)},M.prototype.parseInline=function(e,t){e=new this.core.State(e,this,t);return e.inlineMode=!0,this.core.process(e),e.tokens},M.prototype.renderInline=function(e,t){return this.renderer.render(this.parseInline(e,t=t||{}),this.options,t)},M},'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):(e='undefined'!=typeof globalThis?globalThis:e||self).markdownit=t();\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-deflist.js\":{\"text\":\"!function(e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define([],e):('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:this).markdownitDeflist=e()}(function(){return function r(i,o,d){function f(t,e){if(!o[t]){if(!i[t]){var n='function'==typeof require&&require;if(!e&&n)return n(t,!0);if(s)return s(t,!0);e=new Error('Cannot find module \\\\''+t+'\\\\'');throw e.code='MODULE_NOT_FOUND',e}n=o[t]={exports:{}};i[t][0].call(n.exports,function(e){return f(i[t][1][e]||e)},n,n.exports,r,i,o,d)}return o[t].exports}for(var s='function'==typeof require&&require,e=0;e<d.length;e++)f(d[e]);return f}({'/':[function(e,t,n){'use strict';t.exports=function(e){var E=e.utils.isSpace;function M(e,t){var n,r=e.bMarks[t]+e.tShift[t],t=e.eMarks[t];return t<=r||126!==(n=e.src.charCodeAt(r++))&&58!==n||r===(n=e.skipSpaces(r))||t<=n?-1:r}e.block.ruler.before('paragraph','deflist',function(e,t,n,r){var i,o,d,f,s,u,p,a,l,k,c,h,b,y,m,g,C,I,_;if(r)return!(e.ddIndent<0)&&0<=M(e,t);if((a=t+1)>=n)return!1;if(e.isEmpty(a)&&++a>=n)return!1;if(e.sCount[a]<e.blkIndent)return!1;if((o=M(e,a))<0)return!1;r=e.tokens.length,I=!0,(_=e.push('dl_open','dl',1)).map=u=[t,0],f=t,d=a;e:for(;;){for(C=!1,(_=e.push('dt_open','dt',1)).map=[f,f],(_=e.push('inline','',0)).map=[f,f],_.content=e.getLines(f,f+1,e.blkIndent,!1).trim(),_.children=[],_=e.push('dt_close','dt',-1);;){for((_=e.push('dd_open','dd',1)).map=s=[a,0],g=o,p=e.eMarks[d],l=e.sCount[d]+o-(e.bMarks[d]+e.tShift[d]);g<p&&(i=e.src.charCodeAt(g),E(i));)9===i?l+=4-l%4:l++,g++;if(o=g,m=e.tight,k=e.ddIndent,c=e.blkIndent,y=e.tShift[d],b=e.sCount[d],h=e.parentType,e.blkIndent=e.ddIndent=e.sCount[d]+2,e.tShift[d]=o-e.bMarks[d],e.sCount[d]=l,e.tight=!0,e.parentType='deflist',e.md.block.tokenize(e,d,n,!0),e.tight&&!C||(I=!1),C=1<e.line-d&&e.isEmpty(e.line-1),e.tShift[d]=y,e.sCount[d]=b,e.tight=m,e.parentType=h,e.blkIndent=c,e.ddIndent=k,_=e.push('dd_close','dd',-1),s[1]=a=e.line,n<=a)break e;if(e.sCount[a]<e.blkIndent)break e;if((o=M(e,a))<0)break;d=a}if(n<=a)break;if(f=a,e.isEmpty(f))break;if(e.sCount[f]<e.blkIndent)break;if((d=f+1)>=n)break;if(e.isEmpty(d)&&d++,n<=d)break;if(e.sCount[d]<e.blkIndent)break;if((o=M(e,d))<0)break}if(_=e.push('dl_close','dl',-1),u[1]=a,e.line=a,I)for(var v=e,w=v.level+2,x=r+2,S=v.tokens.length-2;x<S;x++)v.tokens[x].level===w&&'paragraph_open'===v.tokens[x].type&&(v.tokens[x+2].hidden=!0,v.tokens[x].hidden=!0,x+=2);return!0},{alt:['paragraph','reference','blockquote']})}},{}]},{},[])('/')});\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-footnote.js\":{\"text\":\"!function(e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define([],e):('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:this).markdownitFootnote=e()}(function(){return function n(r,s,f){function l(o,e){if(!s[o]){if(!r[o]){var t='function'==typeof require&&require;if(!e&&t)return t(o,!0);if(i)return i(o,!0);e=new Error('Cannot find module \\\\''+o+'\\\\'');throw e.code='MODULE_NOT_FOUND',e}t=s[o]={exports:{}};r[o][0].call(t.exports,function(e){return l(r[o][1][e]||e)},t,t.exports,n,r,s,f)}return s[o].exports}for(var i='function'==typeof require&&require,e=0;e<f.length;e++)l(f[e]);return l}({1:[function(e,o,t){'use strict';function n(e,o,t,n){e=Number(e[o].meta.id+1).toString(),o='';return(o='string'==typeof n.docId?'-'+n.docId+'-':o)+e}function r(e,o){var t=Number(e[o].meta.id+1).toString();return 0<e[o].meta.subId&&(t+=':'+e[o].meta.subId),'['+t+']'}function s(e,o,t,n,r){var s=r.rules.footnote_anchor_name(e,o,t,n,r),t=r.rules.footnote_caption(e,o,t,n,r),n=s;return 0<e[o].meta.subId&&(n+=':'+e[o].meta.subId),'<sup class=\\\"footnote-ref\\\"><a href=\\\"#fn'+s+'\\\" id=\\\"fnref'+n+'\\\">'+t+'</a></sup>'}function l(e,o,t){return(t.xhtmlOut?'<hr class=\\\"footnotes-sep\\\" />\\\\n':'<hr class=\\\"footnotes-sep\\\">\\\\n')+'<section class=\\\"footnotes\\\">\\\\n<ol class=\\\"footnotes-list\\\">\\\\n'}function i(){return'</ol>\\\\n</section>\\\\n'}function u(e,o,t,n,r){t=r.rules.footnote_anchor_name(e,o,t,n,r);return 0<e[o].meta.subId&&(t+=':'+e[o].meta.subId),'<li id=\\\"fn'+t+'\\\" class=\\\"footnote-item\\\">'}function a(){return'</li>\\\\n'}function c(e,o,t,n,r){t=r.rules.footnote_anchor_name(e,o,t,n,r);return 0<e[o].meta.subId&&(t+=':'+e[o].meta.subId),' <a href=\\\"#fnref'+t+'\\\" class=\\\"footnote-backref\\\">↩︎</a>'}o.exports=function(e){var f=e.helpers.parseLinkLabel,h=e.utils.isSpace;e.renderer.rules.footnote_ref=s,e.renderer.rules.footnote_block_open=l,e.renderer.rules.footnote_block_close=i,e.renderer.rules.footnote_open=u,e.renderer.rules.footnote_close=a,e.renderer.rules.footnote_anchor=c,e.renderer.rules.footnote_caption=r,e.renderer.rules.footnote_anchor_name=n,e.block.ruler.before('reference','footnote_def',function(e,o,t,n){var r,s,f,l,i,u,a,c,p=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(d<p+4)return!1;if(91!==e.src.charCodeAt(p))return!1;if(94!==e.src.charCodeAt(p+1))return!1;for(l=p+2;l<d;l++){if(32===e.src.charCodeAt(l))return!1;if(93===e.src.charCodeAt(l))break}if(l===p+2)return!1;if(d<=l+1||58!==e.src.charCodeAt(++l))return!1;if(!n){for(l++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),n=e.src.slice(p+2,l-2),e.env.footnotes.refs[':'+n]=-1,(p=new e.Token('footnote_reference_open','',1)).meta={label:n},p.level=e.level++,e.tokens.push(p),n=e.bMarks[o],r=e.tShift[o],s=e.sCount[o],f=e.parentType,c=l,i=u=e.sCount[o]+l-(e.bMarks[o]+e.tShift[o]);l<d&&(a=e.src.charCodeAt(l),h(a));)9===a?u+=4-u%4:u++,l++;e.tShift[o]=l-c,e.sCount[o]=u-i,e.bMarks[o]=c,e.blkIndent+=4,e.parentType='footnote',e.sCount[o]<e.blkIndent&&(e.sCount[o]+=e.blkIndent),e.md.block.tokenize(e,o,t,!0),e.parentType=f,e.blkIndent-=4,e.tShift[o]=r,e.sCount[o]=s,e.bMarks[o]=n,(p=new e.Token('footnote_reference_close','',-1)).level=--e.level,e.tokens.push(p)}return!0},{alt:['paragraph','reference']}),e.inline.ruler.after('image','footnote_inline',function(e,o){var t,n,r=e.posMax,s=e.pos;return!(r<=s+2||94!==e.src.charCodeAt(s)||91!==e.src.charCodeAt(s+1)||(t=s+2,(s=f(e,s+1))<0)||(o||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),o=e.env.footnotes.list.length,e.md.inline.parse(e.src.slice(t,s),e.md,e.env,n=[]),e.push('footnote_ref','',0).meta={id:o},e.env.footnotes.list[o]={content:e.src.slice(t,s),tokens:n}),e.pos=s+1,e.posMax=r,0))}),e.inline.ruler.after('footnote_inline','footnote_ref',function(e,o){var t,n,r=e.posMax,s=e.pos;if(r<s+3)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(s))return!1;if(94!==e.src.charCodeAt(s+1))return!1;for(t=s+2;t<r;t++){if(32===e.src.charCodeAt(t))return!1;if(10===e.src.charCodeAt(t))return!1;if(93===e.src.charCodeAt(t))break}return!(t===s+2||r<=t||(s=e.src.slice(s+2,++t-1),void 0===e.env.footnotes.refs[':'+s])||(o||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[':'+s]<0?(n=e.env.footnotes.list.length,e.env.footnotes.list[n]={label:s,count:0},e.env.footnotes.refs[':'+s]=n):n=e.env.footnotes.refs[':'+s],o=e.env.footnotes.list[n].count,e.env.footnotes.list[n].count++,e.push('footnote_ref','',0).meta={id:n,subId:o,label:s}),e.pos=t,e.posMax=r,0))}),e.core.ruler.after('inline','footnote_tail',function(e){var o,t,n,r,s,f,l,i,u,a,c=!1,p={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(e){return'footnote_reference_open'===e.type?(c=!0,u=[],a=e.meta.label,!1):'footnote_reference_close'===e.type?(c=!1,p[':'+a]=u,!1):(c&&u.push(e),!c)}),e.env.footnotes.list)){for(f=e.env.footnotes.list,l=new e.Token('footnote_block_open','',1),e.tokens.push(l),o=0,t=f.length;o<t;o++){for((l=new e.Token('footnote_open','',1)).meta={id:o,label:f[o].label},e.tokens.push(l),f[o].tokens?(i=[],(l=new e.Token('paragraph_open','p',1)).block=!0,i.push(l),(l=new e.Token('inline','',0)).children=f[o].tokens,l.content=f[o].content,i.push(l),(l=new e.Token('paragraph_close','p',-1)).block=!0,i.push(l)):f[o].label&&(i=p[':'+f[o].label]),i&&(e.tokens=e.tokens.concat(i)),s='paragraph_close'===e.tokens[e.tokens.length-1].type?e.tokens.pop():null,r=0<f[o].count?f[o].count:1,n=0;n<r;n++)(l=new e.Token('footnote_anchor','',0)).meta={id:o,subId:n,label:f[o].label},e.tokens.push(l);s&&e.tokens.push(s),l=new e.Token('footnote_close','',-1),e.tokens.push(l)}l=new e.Token('footnote_block_close','',-1),e.tokens.push(l)}})}},{}]},{},[1])(1)});\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-ins.js\":{\"text\":\"var e,n;e=this,n=function(){'use strict';return function(e){function s(e,n){for(var t,o,s,i,r=[],l=n.length,p=0;p<l;p++)43===(o=n[p]).marker&&-1!==o.end&&(s=n[o.end],(i=e.tokens[o.token]).type='ins_open',i.tag='ins',i.nesting=1,i.markup='++',i.content='',(i=e.tokens[s.token]).type='ins_close',i.tag='ins',i.nesting=-1,i.markup='++',i.content='','text'===e.tokens[s.token-1].type)&&'+'===e.tokens[s.token-1].content&&r.push(s.token-1);for(;r.length;){for(t=(p=r.pop())+1;t<e.tokens.length&&'ins_close'===e.tokens[t].type;)t++;p!==--t&&(i=e.tokens[t],e.tokens[t]=e.tokens[p],e.tokens[p]=i)}}e.inline.ruler.before('emphasis','ins',function(e,n){var t,o,s,i,r=e.pos,l=e.src.charCodeAt(r);if(n)return!1;if(43!==l)return!1;if(s=(o=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(l),s<2)return!1;for(s%2&&(e.push('text','',0).content=i,s--),t=0;t<s;t+=2)e.push('text','',0).content=i+i,(o.can_open||o.can_close)&&e.delimiters.push({marker:l,length:0,jump:t/2,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0}),e.inline.ruler2.before('emphasis','ins',function(e){var n,t=e.tokens_meta,o=(e.tokens_meta||[]).length;for(s(e,e.delimiters),n=0;n<o;n++)t[n]&&t[n].delimiters&&s(e,t[n].delimiters)})}},'object'==typeof exports&&'undefined'!=typeof module?module.exports=n():'function'==typeof define&&define.amd?define(n):(e='undefined'!=typeof globalThis?globalThis:e||self).markdownitIns=n();\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-mark.js\":{\"text\":\"var e,n;e=this,n=function(){'use strict';return function(e){function r(e,n){for(var t,o,r,s,i=[],a=n.length,k=0;k<a;k++)61===(o=n[k]).marker&&-1!==o.end&&(r=n[o.end],(s=e.tokens[o.token]).type='mark_open',s.tag='mark',s.nesting=1,s.markup='==',s.content='',(s=e.tokens[r.token]).type='mark_close',s.tag='mark',s.nesting=-1,s.markup='==',s.content='','text'===e.tokens[r.token-1].type)&&'='===e.tokens[r.token-1].content&&i.push(r.token-1);for(;i.length;){for(t=(k=i.pop())+1;t<e.tokens.length&&'mark_close'===e.tokens[t].type;)t++;k!==--t&&(s=e.tokens[t],e.tokens[t]=e.tokens[k],e.tokens[k]=s)}}e.inline.ruler.before('emphasis','mark',function(e,n){var t,o,r,s,i=e.pos,a=e.src.charCodeAt(i);if(n)return!1;if(61!==a)return!1;if(r=(o=e.scanDelims(e.pos,!0)).length,s=String.fromCharCode(a),r<2)return!1;for(r%2&&(e.push('text','',0).content=s,r--),t=0;t<r;t+=2)e.push('text','',0).content=s+s,(o.can_open||o.can_close)&&e.delimiters.push({marker:a,length:0,jump:t/2,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0}),e.inline.ruler2.before('emphasis','mark',function(e){var n,t=e.tokens_meta,o=(e.tokens_meta||[]).length;for(r(e,e.delimiters),n=0;n<o;n++)t[n]&&t[n].delimiters&&r(e,t[n].delimiters)})}},'object'==typeof exports&&'undefined'!=typeof module?module.exports=n():'function'==typeof define&&define.amd?define(n):(e='undefined'!=typeof globalThis?globalThis:e||self).markdownitMark=n();\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-sub.js\":{\"text\":\"!function(e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define([],e):('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:this).markdownitSub=e()}(function(){return function n(t,u,i){function s(r,e){if(!u[r]){if(!t[r]){var o='function'==typeof require&&require;if(!e&&o)return o(r,!0);if(f)return f(r,!0);e=new Error('Cannot find module \\\\''+r+'\\\\'');throw e.code='MODULE_NOT_FOUND',e}o=u[r]={exports:{}};t[r][0].call(o.exports,function(e){var o=t[r][1][e];return s(o||e)},o,o.exports,n,t,u,i)}return u[r].exports}for(var f='function'==typeof require&&require,e=0;e<i.length;e++)s(i[e]);return s}({1:[function(e,o){'use strict';function r(e,o){var r,n=e.posMax,t=e.pos;if(126!==e.src.charCodeAt(t))return!1;if(o)return!1;if(n<=t+2)return!1;for(e.pos=t+1;e.pos<n;){if(126===e.src.charCodeAt(e.pos)){r=!0;break}e.md.inline.skipToken(e)}return!r||t+1===e.pos||(o=e.src.slice(t+1,e.pos)).match(/(^|[^\\\\\\\\])(\\\\\\\\\\\\\\\\)*\\\\s/)?(e.pos=t,!1):(e.posMax=e.pos,e.pos=t+1,e.push('sub_open','sub',1).markup='~',e.push('text','',0).content=o.replace(u,'$1'),e.push('sub_close','sub',-1).markup='~',e.pos=e.posMax+1,e.posMax=n,!0)}var u=/\\\\\\\\([ \\\\\\\\!\\\"#$%&'()*+,.\\\\/:;<=>?@[\\\\]^_`{|}~-])/g;o.exports=function(e){e.inline.ruler.after('emphasis','sub',r)}},{}]},{},[1])(1)});\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-sup.js\":{\"text\":\"!function(e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define([],e):('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:this).markdownitSup=e()}(function(){return function n(t,u,p){function i(r,e){if(!u[r]){if(!t[r]){var o='function'==typeof require&&require;if(!e&&o)return o(r,!0);if(s)return s(r,!0);e=new Error('Cannot find module \\\\''+r+'\\\\'');throw e.code='MODULE_NOT_FOUND',e}o=u[r]={exports:{}};t[r][0].call(o.exports,function(e){var o=t[r][1][e];return i(o||e)},o,o.exports,n,t,u,p)}return u[r].exports}for(var s='function'==typeof require&&require,e=0;e<p.length;e++)i(p[e]);return i}({1:[function(e,o){'use strict';function r(e,o){var r,n=e.posMax,t=e.pos;if(94!==e.src.charCodeAt(t))return!1;if(o)return!1;if(n<=t+2)return!1;for(e.pos=t+1;e.pos<n;){if(94===e.src.charCodeAt(e.pos)){r=!0;break}e.md.inline.skipToken(e)}return!r||t+1===e.pos||(o=e.src.slice(t+1,e.pos)).match(/(^|[^\\\\\\\\])(\\\\\\\\\\\\\\\\)*\\\\s/)?(e.pos=t,!1):(e.posMax=e.pos,e.pos=t+1,e.push('sup_open','sup',1).markup='^',e.push('text','',0).content=o.replace(u,'$1'),e.push('sup_close','sup',-1).markup='^',e.pos=e.posMax+1,e.posMax=n,!0)}var u=/\\\\\\\\([ \\\\\\\\!\\\"#$%&'()*+,.\\\\/:;<=>?@[\\\\]^_`{|}~-])/g;o.exports=function(e){e.inline.ruler.after('emphasis','sup',r)}},{}]},{},[1])(1)});\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/license\":{\"text\":\"Copyright (c) 2014 Vitaly Puzrin, Alex Kocharin.\\n\\nPermission is hereby granted, free of charge, to any person\\nobtaining a copy of this software and associated documentation\\nfiles (the \\\"Software\\\"), to deal in the Software without\\nrestriction, including without limitation the rights to use,\\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the\\nSoftware is furnished to do so, subject to the following\\nconditions:\\n\\nThe above copyright notice and this permission notice shall be\\nincluded in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND,\\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\\nOTHER DEALINGS IN THE SOFTWARE.\\n\",\"type\":\"text/plain\"},\"$:/plugins/tiddlywiki/markdown/images/markdown-linkify\":{\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters(size:\\\"22pt\\\")\\n<svg width=<<size>>height=<<size>>class=\\\"tc-markdown-linkify-button tc-image-button\\\"viewBox=\\\"0 0 128 128\\\">\\n<path d=\\\"M17.031185,32.1989189 L9.04781705,32.1989189 L9.04781705,97.1303119 L17.031185,97.1303119 L17.031185,104.049231 L0,104.049231 L0,25.28 L17.031185,25.28 L17.031185,32.1989189 Z M93.6716009,24.75 C90.4007675,30.8326023 88.0193713,37.1590826 86.5274123,43.7294408 C85.0354532,50.299799 84.2894737,56.9705775 84.2894737,63.7417763 C84.2894737,70.6277412 85.0211075,77.3702485 86.484375,83.9692982 C87.9476425,90.568348 90.314693,96.9952485 93.5855263,103.25 L93.5855263,103.25 L83.4287281,103.25 C79.8135965,97.3395468 77.0161732,91.1134868 75.0364583,84.5718202 C73.0567434,78.0301535 72.066886,71.3737208 72.066886,64.6025219 C72.066886,61.3890716 72.3107639,58.017818 72.7985197,54.488761 C73.2862756,50.9597039 74.0035636,47.4449927 74.9503838,43.9446272 C75.8972039,40.4442617 77.0735563,37.0586623 78.4794408,33.7878289 C79.8853253,30.5169956 81.5350877,27.504386 83.4287281,24.75 L83.4287281,24.75 Z M116.638158,24.75 C120.253289,30.6604532 123.050713,36.9152047 125.030428,43.5142544 C127.010143,50.1133041 128,56.7984284 128,63.5696272 C128,66.7830775 127.770468,70.1543311 127.311404,73.6833882 C126.852339,77.2124452 126.149397,80.7128107 125.202577,84.1844846 C124.255757,87.6561586 123.065058,91.0274123 121.630482,94.2982456 C120.195906,97.5690789 118.531798,100.552997 116.638158,103.25 L116.638158,103.25 L106.48136,103.25 C109.637427,97.1673977 111.975786,90.8696089 113.496436,84.3566338 C115.017087,77.8436586 115.777412,71.2015716 115.777412,64.4303728 C115.777412,57.5444079 115.031433,50.7732091 113.539474,44.1167763 C112.047515,37.4603436 109.723501,31.0047515 106.567434,24.75 L106.567434,24.75 Z M37.1101871,44.1061384 L37.1101871,56.702119 L49.0852391,52.799139 L51.3915454,59.8954661 L39.3277893,63.798446 L46.956341,74.1768244 L40.8357588,78.6120289 L33.2072072,68.1449464 L25.7560638,78.3459166 L19.8128898,73.8220081 L27.4414414,63.798446 L15.2889813,59.6293539 L17.5952876,52.5330268 L29.6590437,56.702119 L29.6590437,44.1061384 L37.1101871,44.1061384 Z M49.6493416,97.1303119 L57.6327096,97.1303119 L57.6327096,32.1989189 L49.6493416,32.1989189 L49.6493416,25.28 L66.6805267,25.28 L66.6805267,104.049231 L49.6493416,104.049231 L49.6493416,97.1303119 Z\\\"></path>\\n</svg>\\n\"},\"$:/plugins/tiddlywiki/markdown/images/new-markdown-button\":{\"tags\":\"$:/tags/Image\",\"text\":\"<svg class=\\\"tc-image-new-markdown-button tc-image-button\\\"viewBox=\\\"0 0 128 128\\\"width=22pt height=22pt>\\n <g fill-rule=evenodd>\\n <rect x=80 y=96 width=48 height=16 rx=8></rect>\\n <rect x=96 y=80 width=16 height=48 rx=8></rect>\\n <path d=\\\"M3.23876972,39.5396716 C3.23876972,35.9653274 6.13586353,33.0691646 9.7141757,33.0691646 L98.1283744,33.0691646 C101.706101,33.0691646 104.60378,35.9646626 104.60378,39.5396716 L104.60378,84.8296213 C104.60378,88.4039654 101.706687,91.3001282 98.1283744,91.3001282 L9.7141757,91.3001282 C6.13644944,91.3001282 3.23876972,88.4046302 3.23876972,84.8296213 L3.23876972,39.5396716 L3.23876972,39.5396716 Z M-2.15298617,39.5396716 L-2.15298617,84.8296213 C-2.15298617,91.3833243 3.15957363,96.6918841 9.7141757,96.6918841 L98.1283744,96.6918841 C104.684083,96.6918841 109.995536,91.382138 109.995536,84.8296213 L109.995536,39.5396716 C109.995536,32.9859686 104.682977,27.6774087 98.1283744,27.6774087 L9.7141757,27.6774087 C3.15846686,27.6774087 -2.15298617,32.9871549 -2.15298617,39.5396716 Z M14.0222815,80.5166164 L14.0222815,43.8526764 L24.8057933,43.8526764 L35.589305,57.3320661 L46.3728168,43.8526764 L57.1563286,43.8526764 L57.1563286,80.5166164 L46.3728168,80.5166164 L46.3728168,59.4887685 L35.589305,72.9681582 L24.8057933,59.4887685 L24.8057933,80.5166164 L14.0222815,80.5166164 Z M81.4192301,80.5166164 L65.2439624,62.723822 L76.0274742,62.723822 L76.0274742,43.8526764 L86.810986,43.8526764 L86.810986,62.723822 L97.5944978,62.723822 L81.4192301,80.5166164 Z\\\"transform=\\\"translate(53.921275, 62.184646) rotate(-60.000000) translate(-53.921275, -62.184646) \\\"></path>\\n </g>\\n\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-katex.js\":{\"text\":\"'use strict';function c(e,n){var r=e.posMax,s=!0,o=!0,t=0<n?e.src.charCodeAt(n-1):-1,r=n+1<=r?e.src.charCodeAt(n+1):-1;return(32===t||9===t||13===t||10===t||48<=r&&r<=57)&&(o=!1),32!==r&&9!==r&&13!==r&&10!==r||(s=!1),'$:/'===e.src.substring(n,n+3)&&(o=s=!1),{can_open:s,can_close:o}}function r(e,n){var r,s,o,t;if('$'!==e.src[e.pos])return!1;if(c(e,e.pos).can_open){for(s=r=e.pos+1;-1!==(s=e.src.indexOf('$',s));){for(t=s-1;'\\\\\\\\'===e.src[t];)--t;if((s-t)%2==1)break;s+=1}-1===s?(n||(e.pending+='$'),e.pos=r):s-r==0?(n||(e.pending+='$$'),e.pos=r+1):c(e,s).can_close?(n||((o=e.push('math_inline','$latex',0)).markup='$',o.content=e.src.slice(r,s),o.attrs=[['displayMode','false'],['text',o.content]]),e.pos=s+1):(n||(e.pending+='$'),e.pos=r)}else n||(e.pending+='$'),e.pos+=1;return!0}function s(e,n){var r,s,o;if('$$'!==e.src.slice(e.pos,e.pos+2))return!1;for(s=r=e.pos+2;-1!==(s=e.src.indexOf('$$',s));){for(o=s-1;'\\\\\\\\'===e.src[o];)--o;if((s-o)%2==1)break;s+=2}return-1===s?(n||(e.pending+='$$'),e.pos=r):s-r==0?(n||(e.pending+='$$$$'),e.pos=r+2):(n||((n=e.push('math_inline_block','$latex',0)).block=!0,n.markup='$$',n.content=e.src.slice(r,s),n.attrs=[['displayMode','true'],['text',n.content]]),e.pos=s+2),!0}module.exports=function(e,n){e.inline.ruler.after('escape','math_inline',r),e.inline.ruler.after('escape','math_inline_block',s)};\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/markdown-it-tiddlywiki.js\":{\"text\":\"'use strict';var l,o,t={'{':'&#123;','[':'&#91;',$:'&#36;'},n=/[{[$]/g;function r(e){return t[e]}function a(e){return e=String(e),n.lastIndex=0,e.replace(n,r)}function c(e,t,n,r,i){return e[t].attrJoin('class','_codified_'),'<code'+i.renderAttrs(e[t])+'>'+a(l.utils.escapeHtml(e[t].content))+'</code>'}function p(e,t){return'<$codeblock code=e\\\"'+l.utils.escapeHtml(e[t].content)+'\\\" language=\\\"\\\"/>\\\\n'}function f(e,t){var n=e[t].info?l.utils.unescapeAll(e[t].info).trim():'';return'<$codeblock code=e\\\"'+l.utils.escapeHtml(e[t].content)+'\\\" language=\\\"'+n.split(/(\\\\s+)/g)[0]+'\\\"/>\\\\n'}function d(e,t){return e[t].hidden?'':'<p>\\\\n\\\\n'}function k(e,t){return e[t].hidden?'':'\\\\n</p>\\\\n'}function h(e,t,n,r,i){var l=i.rules.footnote_anchor_name(e,t,n,r,i),n=i.rules.footnote_caption(e,t,n,r,i),r=l;return 0<e[t].meta.subId&&(r+=':'+e[t].meta.subId),'<a class=\\\"footnote-ref\\\" href=<<qualify \\\"##fn'+l+'\\\">> id=<<qualify \\\"#fnref'+r+'\\\">>>'+n+'</a>'}function _(e,t,n,r,i){n=i.rules.footnote_anchor_name(e,t,n,r,i);return 0<e[t].meta.subId&&(n+=':'+e[t].meta.subId),'<li id=<<qualify \\\"#fn'+n+'\\\">> class=\\\"footnote-item\\\">'}function m(e,t,n,r,i){n=i.rules.footnote_anchor_name(e,t,n,r,i);return 0<e[t].meta.subId&&(n+=':'+e[t].meta.subId),'<a href=<<qualify \\\"##fnref'+n+'\\\">> class=\\\"footnote-backref\\\">↥︎</a>'}function b(e,t){return'entity'===e[t].info?e[t].markup:a(l.utils.escapeHtml(e[t].content))}function g(e,t){return e[t].content}function x(e){var t,n,r;if(!e.attrs)return'';for(r='',t=0,n=e.attrs.length;t<n;t++)'object'==typeof e.attrs[t][1]&&null!==e.attrs[t][1]?r+=' '+l.utils.escapeHtml(e.attrs[t][0])+'='+e.attrs[t][1].value:r+=' '+l.utils.escapeHtml(e.attrs[t][0])+'=e\\\"'+l.utils.escapeHtml(e.attrs[t][1])+'\\\"';return r}function s(e,t){return e.matchIndex<t&&(e.matchIndex=e.rule.findNextMatch(t)),e.matchIndex}var i=/<<([^\\\\s>\\\"'=]+)[^>]*>>/g;function v(e,t){var n=e.pos,r=e.posMax;return!(60!==e.src.charCodeAt(n)||60!==e.src.charCodeAt(n+1)||r<=n+3||(i.lastIndex=n,!(r=i.exec(e.src)))||r.index!==n||(t||(e.push('tw_expr','',0).content=e.src.slice(n,n+r[0].length)),e.pos=i.lastIndex,0))}function y(e,t){var n=o.inlineRules.transcludeinline,r=e.pos,i=s(n,r);return void 0!==i&&i===r&&(t||(e.push('tw_expr','',0).content=e.src.slice(r,r+n.rule.match[0].length)),e.pos+=n.rule.match[0].length,!0)}function w(e,t){var n=o.inlineRules.filteredtranscludeinline,r=e.pos,i=s(n,r);return void 0!==i&&i===r&&(t||(i=e.push('tw_expr','',0),0<e.linkLevel?(t=n.rule.match[1],i.content='<$text text={{{'+t+'}}}/>'):i.content=e.src.slice(r,r+n.rule.match[0].length)),e.pos+=n.rule.match[0].length,!0)}var u=[/^<\\\\/?\\\\$[a-zA-Z0-9\\\\-\\\\$\\\\.]+(?=(\\\\s|\\\\/?>|$))/,/^$/];function L(e,t,n,r){var i,l,a=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(a))return!1;if(l=e.src.slice(a,s),!u[0].test(l))return!1;if(r)return!1;if(i=t+1,!u[1].test(l))for(;i<n&&!(e.sCount[i]<e.blkIndent);i++)if(a=e.bMarks[i]+e.tShift[i],s=e.eMarks[i],l=e.src.slice(a,s),u[1].test(l)){0!==l.length&&i++;break}return e.line=i,(r=e.push('html_block','',0)).map=[t,i],r.content=e.getLines(t,i,e.blkIndent,!0),!0}function I(e,t){var n,r,i,l=o.inlineRules.image;return!(0<e.parsingLinkLabel||(n=e.pos,void 0===(r=s(l,n)))||r!==n||(t||(r=l.rule.parse()[0],i=e.push('$image','$image',0),$tw.utils.each(r.attributes,function(e,t){switch(e.type){case'filtered':i.attrSet(t,{type:'filtered',value:'{{{'+e.filter+'}}}'});break;case'indirect':i.attrSet(t,{type:'indirect',value:'{{'+e.textReference+'}}'});break;case'macro':i.attrSet(t,{type:'macro',value:l.rule.parser.source.substring(e.value.start,e.value.end)});break;default:i.attrSet(t,e.value)}}),i.markup='tw_image'),e.pos=l.rule.parser.pos,0))}function $(e,t){var n,r,i,l=o.inlineRules.prettylink;return!(0<e.linkLevel||0<e.parsingLinkLabel||void 0===(n=s(l,r=e.pos))||n!==r||(t||(r='link'===(n=l.rule.parse()[0]).type?'$link':'a',i=e.push('link_open',r,1),$tw.utils.each(n.attributes,function(e,t){i.attrSet(t,e.value)}),i.attrJoin('class','_codified_'),i.markup='tw_prettylink',e.linkLevel++,(i=e.push('text','',0)).content=n.children[0].text,e.linkLevel--,(i=e.push('link_close',r,-1)).markup='tw_prettylink'),e.pos=l.rule.parser.pos,0))}function R(e,t){var n,r,i,l=o.inlineRules.prettyextlink;return!(0<e.linkLevel||0<e.parsingLinkLabel||void 0===(r=s(l,n=e.pos))||r!==n||(t||(r=l.rule.parse()[0],i=e.push('link_open','a',1),$tw.utils.each(r.attributes,function(e,t){i.attrSet(t,e.value)}),i.attrJoin('class','_codified_'),i.markup='tw_prettyextlink',e.linkLevel++,(i=e.push('text','',0)).content=r.children[0].text,e.linkLevel--,(i=e.push('link_close','a',-1)).markup='tw_prettyextlink'),e.pos=l.rule.parser.pos,0))}var S=/<\\\\/\\\\$[A-Za-z0-9\\\\-\\\\$\\\\.]+\\\\s*>/gm;function A(e){var t,n,r=[];e.tokens.forEach(function(e){'inline'===e.type&&e.children&&e.children.forEach(function(e){switch(e.type){case'link_open':'tw_prettylink'!==e.markup&&'tw_prettyextlink'!==e.markup&&('#'===(n=e.attrGet('href'))[0]?(e.tag='$link',n=$tw.utils.decodeURIComponentSafe(n.substring(1)),t=e.attrGet('title'),e.attrs=[['to',n],['class','_codified_']],t&&e.attrSet('tooltip',t)):(e.attrSet('target','_blank'),e.attrJoin('class','tc-tiddlylink-external'),e.attrJoin('class','_codified_'),e.attrSet('rel','noopener noreferrer')),r.push(e.tag));break;case'link_close':'tw_prettylink'!==e.markup&&'tw_prettyextlink'!==e.markup&&(e.tag=r.pop());break;case'image':e.tag='$image',n=e.attrGet('src'),e.attrGet('alt'),t=e.attrGet('title'),e.attrs[e.attrIndex('src')][0]='source','#'===n[0]&&(n=$tw.utils.decodeURIComponentSafe(n.substring(1)),e.attrSet('source',n)),t&&(e.attrs[e.attrIndex('title')][0]='tooltip')}})})}module.exports=function(e,t){var a,s,u,i,r;o=(l=e).utils.assign({},{renderWikiText:!1,blockRules:{},inlineRules:{}},t||{}),l.renderer.rules.code_inline=c,l.renderer.rules.code_block=p,l.renderer.rules.fence=f,l.renderer.rules.paragraph_open=d,l.renderer.rules.paragraph_close=k,l.renderer.rules.footnote_ref=h,l.renderer.rules.footnote_open=_,l.renderer.rules.footnote_anchor=m,l.renderer.rules.text_special=b,l.renderer.rules.tw_expr=g,l.renderer.renderAttrs=x,o.renderWikiText&&(l.helpers.parseLinkLabel=(r=l.helpers.parseLinkLabel,function(e,t,n){void 0===e.parsingLinkLabel&&(e.parsingLinkLabel=0),e.parsingLinkLabel++;t=r(e,t,n);return e.parsingLinkLabel--,t}),o.inlineRules.image&&l.inline.ruler.after('link','tw_image',I),o.inlineRules.prettyextlink&&l.inline.ruler.after('link','tw_prettyextlink',R),o.inlineRules.prettylink&&l.inline.ruler.after('link','tw_prettylink',$),o.inlineRules.filteredtranscludeinline&&l.inline.ruler.before('html_inline','tw_filteredtranscludeinline',w),o.inlineRules.transcludeinline&&l.inline.ruler.before('html_inline','tw_transcludeinline',y),l.inline.ruler.before('html_inline','tw_macrocallinline',v),l.inline.ruler.at('html_inline',(i=l.inline.ruler.__rules__[l.inline.ruler.__find__('html_inline')].fn,function(e,t){if(!i(e,t)){var n=e.pos,r=(0,$tw.Wiki.parsers['text/vnd.tiddlywiki'].prototype.inlineRuleClasses.html.prototype.parseTag)(e.src,n,{});if(r)t||(e.push('html_inline','',0).content=e.src.slice(n,r.end)),e.pos=r.end;else{S.lastIndex=n;r=S.exec(e.src);if(!r||r.index!==n)return!1;t||(e.push('html_inline','',0).content=e.src.slice(n,n+r[0].length)),e.pos=S.lastIndex}}return!0})),l.block.ruler.after('html_block','tw_block',L,{alt:['paragraph','reference','blockquote']}),l.inline.parse=(a=l.inline,s=l.inline.parse,u=t.inlineRules,function(e,t,n,r){var i,l;for(l in u)(i=u[l]).rule.parser.source=e,i.rule.parser.sourceLength=e.length,i.rule.parser.pos=0,i.matchIndex=-1;s.call(a,e,t,n,r)})),l.core.ruler.disable('text_join'),l.core.ruler.push('wikify',A)};\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/markdown/new-markdown-button\":{\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}} {{$:/language/Buttons/NewMarkdown/Caption}}\",\"description\":\"{{$:/language/Buttons/NewMarkdown/Hint}}\",\"list-after\":\"$:/core/ui/Buttons/new-tiddler\",\"text\":\"<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}}aria-label={{$:/language/Buttons/NewMarkdown/Caption}}class=<<tv-config-toolbar-class>>><$action-sendmessage type=\\\"text/markdown\\\"$message=tm-new-tiddler/><%if [<tv-config-toolbar-icons>match[yes]]%>{{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}}<%endif%><%if [<tv-config-toolbar-text>match[yes]]%><span class=tc-btn-text><$text text={{$:/language/Buttons/NewMarkdown/Caption}}/>\"},\"$:/plugins/tiddlywiki/markdown/readme\":{\"text\":\"This plugin provides Markdown support via the [[markdown-it|https://github.com/markdown-it/markdown-it]] parser and its associated plugins:\\n\\n* markdown-it-deflist\\n* markdown-it-footnote\\n* markdown-it-ins\\n* markdown-it-mark\\n* markdown-it-sub\\n* markdown-it-sup\\n\\n!! Compatibility Notes\\n\\n* <p>A tab character in Markdown has a size of four spaces. Configure the tab size of your code editor accordingly. For example, if you use <$text text=\\\"CodeMirror\\\"/>, it is recommended that you set $:/config/codemirror/indentUnit and $:/config/codemirror/tabSize to `4` to avoid inconsistent indentations.</p>\\n* <p>HTML blocks are ultimately parsed by the <$text text=WikiText/> parser: //an opening tag followed by a blank line will activate block-level parsing for its content//. When working with tags designed to contain literal content, such as `<pre>` and `<style>` tags, refrain from adding blank lines after the opening tags.</p>\\n* <p>You must terminate a table with either a blank line or another block-level structure.</p>\\n* <p>`latex-parser` in $:/config/markdown/renderWikiTextPragma is no longer required and will be ignored.</p>\\n* <p>Config option `linkNewWindow` is removed.</p>\\n\\n!! Extending the Parser\\n\\nYou can extend the parser by loading additional markdown-it plugins this way:\\n\\n```js\\nvar plugin1 = require(...);\\nvar plugin2 = require(...);\\n\\nvar md = $tw.Wiki.parsers[\\\"text/markdown\\\"].prototype.md;\\n\\nmd.use(plugin1)\\n .use(plugin2, opts, ...);\\n```\\n\\n! Plugin Configuration\\n\\n<h2 style=margin-top:1.5em>~WikiText Pragma</h2>\\n\\nThe value of [[renderWikiTextPragma|$:/config/markdown/renderWikiTextPragma]] has been carefully tuned to properly integrate markdown with ~TiddlyWiki. Changing this setting may produce unexpected results, but the inclusion of the following parser rules should be fine:\\n\\n; image\\n: embed images using ~TiddlyWiki's image syntax:\\n\\n<p style=margin-left:1em>\\n\\n```\\n[img[An explanatory tooltip|TiddlerTitle]]\\n\\n[img width=23 class=\\\"tc-image\\\" [https://tiddlywiki.com/fractalveg.jpg]]\\n```\\n</p>; prettylink\\n: create links the ~TiddlyWiki way:\\n\\n<p style=margin-left:1em>\\n\\n```\\n[[TiddlerTitle]]\\n\\n[[Displayed Link Title|Tiddler Title]]\\n\\n[[TW5|https://tiddlywiki.com/]]\\n```\\n</p>; prettyextlink\\n: create external links using the following syntax:\\n\\n<p style=margin-left:1em>\\n\\n```\\n[ext[Open file|index.html]]\\n\\n[ext[Open file|../README.md]]\\n```\\n</p>; wikilink\\n: auto-link ~CamelCase titles\\n\\n; syslink\\n: auto-link system tiddlers\\n\\n<h2 style=margin-top:1.5em>Typographical Replacements</h2>\\n\\nWhen [[typographer|$:/config/markdown/typographer]] is enabled, markdown-it will provide these typographical replacements:\\n\\n```\\n(c) (C) → ©\\n(tm) (TM) → ™\\n(r) (R) → ®\\n+- → ±\\n... → …\\n?.... → ?..\\n!.... → !..\\n????? → ???\\n!!!!! → !!!\\n,, → ,\\n-- → &ndash;\\n--- → &mdash;\\n```\\n\\n! Making Markdown the Default in TiddlyWiki\\n\\n!! Modifying Existing Actions\\n\\nAdding `type=\\\"text/markdown\\\"` to the actions of the following buttons will\\noverride the default behavior.\\n\\n* New Journal - $:/core/ui/Actions/new-journal\\n* New Tiddler Here - $:/core/ui/Buttons/new-here\\n* New Tiddler - $:/core/ui/Actions/new-tiddler\\n\\n!! Using Markdown for Missing Links\\n\\nBy default, missing tiddlers are created with a blank content type, which\\nimplies WikiText. Setting [[$:/config/DefaultMissingType]] to `text/markdown`\\nwill make it so that tiddlers created from a missing tiddler link will be in\\nMarkdown rather than in WikiText.\\n\"},\"$:/plugins/tiddlywiki/markdown/settings/breaks\":{\"tags\":\"$:/tags/ControlPanel/Settings/Markdown\",\"caption\":\"Breaks\",\"text\":\"markdown-it library config: Convert `\\\\n` in paragraphs into `<br>`\\n\\n<$checkbox tiddler=\\\"$:/config/markdown/breaks\\\"field=text checked unchecked=false>\\n [[Breaks|$:/config/markdown/breaks]]\\n\"},\"$:/plugins/tiddlywiki/markdown/settings/linkify\":{\"tags\":\"$:/tags/ControlPanel/Settings/Markdown\",\"caption\":\"Linkify\",\"text\":\"markdown-it library config: Autoconvert URL-like text to links\\n\\n<$checkbox tiddler=\\\"$:/config/markdown/linkify\\\"field=text checked unchecked=false>\\n [[Linkify|$:/config/markdown/linkify]]\\n\"},\"$:/plugins/tiddlywiki/markdown/settings/quotes\":{\"tags\":\"$:/tags/ControlPanel/Settings/Markdown\",\"caption\":\"Quotes replacement\",\"list-after\":\"$:/plugins/tiddlywiki/markdown/settings/typographer\",\"text\":\"markdown-it library config: Double + single quotes replacement pairs, when [[typographer|$:/config/markdown/typographer]] is enabled.\\n\\n|[[Quotes replacement|$:/config/markdown/quotes]]|<$edit-text tiddler=\\\"$:/config/markdown/quotes\\\"tag=input/> |\"},\"$:/plugins/tiddlywiki/markdown/settings/renderWikiText\":{\"tags\":\"$:/tags/ControlPanel/Settings/Markdown\",\"caption\":\"Enable WikiText\",\"text\":\"After Markdown is parsed, should any text elements be handed off to the ~WikiText parser for further processing?\\n\\n<$checkbox tiddler=\\\"$:/config/markdown/renderWikiText\\\"field=text checked unchecked=false>\\n [[Enable WikiText|$:/config/markdown/renderWikiText]]\\n\"},\"$:/plugins/tiddlywiki/markdown/settings/renderWikiTextPragma\":{\"tags\":\"$:/tags/ControlPanel/Settings/Markdown\",\"caption\":\"Enabled WikiText parser rules\",\"text\":\"When handing off to the ~WikiText parser, what parser rules should it follow?\\n\\n|[[Enabled WikiText parser rules|$:/config/markdown/renderWikiTextPragma]]|<$edit tiddler=\\\"$:/config/markdown/renderWikiTextPragma\\\"class=tc-edit-texteditor autoHeight=yes/> |\"},\"$:/plugins/tiddlywiki/markdown/settings/typographer\":{\"tags\":\"$:/tags/ControlPanel/Settings/Markdown\",\"caption\":\"Typographer\",\"text\":\"markdown-it library config: Enable some language-neutral replacement + quotes beautification\\n\\n<$checkbox tiddler=\\\"$:/config/markdown/typographer\\\"field=text checked unchecked=false>\\n [[Typographer|$:/config/markdown/typographer]]\\n\"},\"$:/plugins/tiddlywiki/markdown/settings\":{\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"caption\":\"Markdown\",\"text\":\"These settings let you customise the behaviour of Markdown. See [[plugin|$:/plugins/tiddlywiki/markdown]] readme tab for more information.\\n\\n''IMPORTANT:'' You must reload your wiki for changes to take effect.\\n\\n<$list filter='[[$:/tags/ControlPanel/Settings/Markdown]tagging[]]'>\\n\\n<div data-setting-title={{!!title}}class=tc-control-panel-setting>\\n\\n!!.tc-control-panel-accent <$link><$transclude field=\\\"caption\\\"/></$link>\\n\\n{{}}\"},\"$:/plugins/tiddlywiki/markdown/styles\":{\"tags\":\"[[$:/tags/Stylesheet]]\",\"code-body\":\"yes\",\"text\":\".markdown {\\n\\tdisplay: block;\\n\\tmargin: 0px;\\n}\\n.markdown hr {\\n margin-top: 20px;\\n margin-bottom: 20px;\\n border: 0;\\n border-top: 1px solid <<colour muted-foreground>>;\\n}\\n.markdown .footnotes {\\n\\tfont-size: 0.9em;\\n\\tline-height: 1.32;\\n}\\n.markdown a.footnote-ref {\\n\\tcolor: <<colour tiddler-link-foreground>>;\\n\\tfont-size: 0.75em;\\n\\ttext-decoration: none;\\n\\tvertical-align: super;\\n\\tpadding:0px 1px;\\n}\\n.markdown ol.footnotes-list {\\n\\tpadding-left: 2em;\\n}\\n.markdown .footnote-item p {\\n\\tmargin: 0.7em 0px;\\n}\\n.markdown a.footnote-backref {\\n\\tcolor: <<colour tiddler-link-foreground>>;\\n\\tfont-size: 0.8em;\\n\\ttext-decoration: none;\\n\\tmargin-left: 0.25em;\\n}\\n.markdown a.footnote-ref:target, .markdown .footnote-item:target {\\n\\tbackground-color: <<colour footnote-target-background>>;\\n\\tscroll-margin-top: {{{[{$:/themes/tiddlywiki/vanilla/options/stickytitles}match[yes]then[120px]else[60px]]}}};\\n}\\n.markdown li > p:first-child {\\n\\tmargin-top: 0px;\\n}\\n.markdown li + li {\\n\\tmargin-top: 2px;\\n}\\n.markdown mark {\\n\\tpadding: 1px 3px;\\n}\\n\"},\"$:/plugins/tiddlywiki/markdown/syntax\":{\"text\":\"To review standard Markdown syntax, see: [ext[CommonMark quick reference|https://commonmark.org/help/]]. For formal specification, consult the [ext[CommonMark Spec|https://spec.commonmark.org/current/]].\\n\\n! Linking to Tiddlers\\n\\nPrepend `#` to tiddler titles to form link addresses. If a tiddler title contains spaces or other special characters, you must either (1) URI-encode the title, or (2) surround the #title with `<` `>` and backslash-escape any `<` or `>` in the title.\\n\\n!! Links\\n\\n<pre><code>[link text](<strong>#</strong><$text text=TiddlerTitle/> \\\"optional tooltip\\\")\\n\\n[link text](<strong>#</strong>New<strong>%20</strong>Tiddler)\\n\\n[link text](<strong>&lt;#</strong>New Tiddler<strong>&gt;</strong>)\\n\\n[](<strong>&lt;#</strong>How to use <strong>\\\\</strong>&lt;$list<strong>\\\\</strong>&gt; widget?<strong>&gt;</strong>)\\n</code></pre>\\n\\nYou can also use the `<$link>` widget to generate links to tiddlers:\\n\\n```\\n<$link to=\\\"Tiddler Title\\\">Displayed Link Title</$link>\\n```\\n\\n!! Reference Style Links\\n\\n```\\n[link text][1]\\n[link text][2]\\n\\n[1]: #New%20Tiddler \\\"optional tooltip\\\"\\n\\n[2]: <#Another Tiddler>\\n```\\n\\n!! Images\\n\\n```\\n![alt text](#Motovun%20Jack.jpg \\\"optional tooltip\\\")\\n\\n![alt text](<#Motovun Jack.jpg>)\\n```\\n\\n! Escaping Special Characters\\n\\nMarkdown allows you to escape ASCII punctuation characters with `\\\\`.\\n\\n! HTML Blocks\\n\\nAn [[HTML block|https://spec.commonmark.org/0.30/#html-blocks]] is a group of lines that starts with an HTML tag and is treated as raw HTML. Block-level tags such as `<div>` and `<p>` can interrupt a paragraph. Inline elements such as `<strong>` and `<em>` can start an HTML block if the //complete// tag begins on a new paragraph by itself. In most cases, an HTML block continues until a blank line is reached.\\n\\nA widget tag that begins on a new paragraph will also be treated as an HTML block. Markdown elements are not recognized inside the HTML block. For example:\\n\\n```\\nsee\\n\\n<$link to=\\\"New Tiddler\\\">\\n_New_ Tiddler\\n</$link>\\n```\\n\\nrendered as:\\n\\n```\\n<p>see</p>\\n<$link to=\\\"New Tiddler\\\">\\n_New_ Tiddler\\n</$link>\\n```\\n\\nA widget tag not preceded by a blank line is an inline element.\\n\\n```\\nsee\\n<$link to=\\\"New Tiddler\\\">\\n_New_ Tiddler\\n</$link>\\n```\\n\\nrendered as:\\n\\n```\\n<p>see <$link to=\\\"New Tiddler\\\"><em>New</em> Tiddler</$link></p>\\n```\\n\\n! Syntax Extensions\\n\\n!! <$text text=KaTeX/>\\n\\nYou need to install the <$text text=KaTeX/> plugin to activate this syntax extension.\\n\\nSurround your math expression with `$` for inline rendering. Whitespace characters cannot immediately follow the opening `$` or precede the closing `$`, and the closing delimiter must not immediately precede a digit. Furthermore, `$` followed by `:/` will not be recognized as a valid opening or closing delimiter either.\\n\\nHere's an example of an inline math expression:\\n\\n```\\n$c = \\\\pm\\\\sqrt{a^2 + b^2}$\\n```\\n\\nUse `$$` to center the math in display mode:\\n\\n```\\n$$c = \\\\pm\\\\sqrt{a^2 + b^2}$$\\n```\\n\\n!! Superscript and Subscript\\n\\n```\\nX^2^\\n```\\nx<sup>2</sup>\\n\\n```\\nH~2~O\\n```\\nH<sub>2</sub>O\\n\\n!! Marked Text\\n\\n```\\n==marked text==\\n```\\n\\n<mark>marked text</mark>\\n\\n!! Strikethrough\\n\\n```\\n~~striked through text~~\\n```\\n\\n<s>striked through text</s>\\n\\n!! Inserted Text\\n\\n```\\n++inserted text++\\n```\\n\\n<ins>inserted text</ins>\\n\\n!! Tables\\n\\nmarkdown-it supports <$text text='GitHub Flavored Markdown'/> (GFM) [ext[table syntax|https://github.github.com/gfm/#tables-extension-]].\\n\\n```\\n|Left Aligned |Centered |Right Aligned |\\n|:--- | :---: | ---:|\\n|apple |bat |candle |\\n```\\n\\n<table>\\n<thead>\\n<tr><th style=text-align:left>Left Aligned</th><th style=text-align:center>Centered</th><th style=text-align:right>Right Aligned</th></tr>\\n</thead>\\n<tbody>\\n<tr><td style=text-align:left>apple</td><td style=text-align:center>bat</td><td style=text-align:right>candle</td></tr>\\n</tbody>\\n</table>\\n\\n!! Definition Lists\\n\\n```\\nTerm One\\n: Definition with\\nlazy continuation.\\n\\nTerm Two\\n: Here is the first defintion.\\n\\n: Here is the second definition.\\n\\n As you can see. A definition can have\\n more than one paragrpah. It can also have\\n\\n And indended code block...\\n```\\n\\n<dl>\\n<dt>Term One</dt>\\n<dd><p>Definition with\\nlazy continuation.\\n</p></dd>\\n<dt>Term Two</dt>\\n<dd><p>Here is the first defintion.\\n</p></dd>\\n<dd><p>Here is the second definition.</p><p>As you can see. A definition can have\\nmore than one paragrpah. It can also have\\n<pre><code>And indended code block...\\n</code></pre>\\n</p></dd>\\n</dl>\\n\\n!! Footnotes\\n\\nFor detailed explanation, see [[Creating Footnotes|https://www.markdownguide.org/extended-syntax/#footnotes]].\\n\\n```\\nHere's a simple footnote,[^1] and here's a longer one.[^bignote]\\n\\n[^1]: This is the first footnote.\\n\\n[^bignote]: Here's one with multiple paragraphs and code.\\n\\n Indent paragraphs to include them in the footnote.\\n\\n `{ my code }`\\n\\n Add as many paragraphs as you like.\\n```\\n\\n<div class=markdown><p>Heres a simple footnote,<a class=footnote-ref href=##fn1--doc639182 id=#fnref1--doc639182>[1]</a> and heres a longer one.<a class=footnote-ref href=##fn2--doc639182 id=#fnref2--doc639182>[2]</a>\\n<hr class=footnotes-sep>\\n<section class=footnotes>\\n<ol class=footnotes-list>\\n<li id=#fn1--doc639182 class=footnote-item><p>This is the first footnote. <a href=##fnref1--doc639182 class=footnote-backref>↥︎</a>\\n</p></li>\\n<li id=#fn2--doc639182 class=footnote-item><p>Heres one with multiple paragraphs and code.</p><p>Indent paragraphs to include them in the footnote.</p><p><code class=codified>{ my code }</code></p><p>Add as many paragraphs as you like. <a href=##fnref2--doc639182 class=footnote-backref>↥︎</a>\\n</p></li>\\n</ol>\\n</section>\\n\"},\"$:/plugins/tiddlywiki/markdown/wrapper.js\":{\"text\":\"'use strict';var e=require('./markdown-it');function i(e){return'true'===$tw.wiki.getTiddlerText(e,'false').trim().toLowerCase()}var t,a,r={renderWikiText:i('$:/config/markdown/renderWikiText'),renderWikiTextPragma:$tw.wiki.getTiddlerText('$:/config/markdown/renderWikiTextPragma').trim()},n={html:!0,xhtmlOut:!0,breaks:i('$:/config/markdown/breaks'),quotes:$tw.wiki.getTiddlerText('$:/config/markdown/quotes').trim(),typographer:i('$:/config/markdown/typographer'),linkify:i('$:/config/markdown/linkify')};function u(e,i){var t={type:'string',start:i},r=/(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|e?\\\"([^\\\"]*)\\\")|(?:e?'([^']*)')/g,r=(r.lastIndex=i,r.exec(e));return r&&r.index===i?(t.value=void 0!==r[1]?r[1]:void 0!==r[2]?r[2]:r[3],t.end=i+r[0].length,'e'===r[0].charAt(0)&&(t.value=t.value.replace(/(&#?[a-zA-Z0-9]{2,8};)/g,$tw.utils.entityDecode)),t):null}function o(e,i){for(var t,r,n=[].concat(e);n.length;){var l=n.pop();if('element'===l.type&&'p'===l.tag)for(;l.children&&1===l.children.length&&'element'===(r=l.children[0]).type&&'p'===r.tag&&(!r.attributes||0===Object.keys(r.attributes).length);)l.children=l.children[0].children;else if(i&&(t=l).attributes&&t.attributes.class&&'string'===t.attributes.class.type&&-1!==t.attributes.class.value.split(' ').indexOf('_codified_')){!function i(e){$tw.utils.each(e,function(e){'link'===e.type?(e.type='text',e.text=e.children[0].text,delete e.attributes,delete e.children,delete e.attributes):i(e.children)})}(l.children);continue}l.children&&0<l.children.length&&n.push.apply(n,l.children)}}function l(e,i){var t,r=[],n=a;for(t in e){var l=e[t],s=new l(n);s.name=t,s.class=l,s.is={},s.is[i]=!0,s.init(n),r.push({rule:s,matchIndex:-1})}return r}function s(e,i,t){var r,n,l={},s=this.md,a=s.parse(i,l),a='<div class=\\\"markdown\\\">\\\\n'+s.renderer.render(a,s.options,l)+'</div>',s=$tw.utils.parseStringLiteral;$tw.utils.parseStringLiteral=u;try{r=new $tw.Wiki.parsers['text/vnd.tiddlywiki'](null,a,{parseAsInline:!0,wiki:t.wiki,rules:{pragma:{},block:this.blockRuleClasses,inline:this.inlineRuleClasses}})}catch(e){r=$tw.wiki.parseText('text/vnd.tiddlywiki','<strong>Error encountered while parsing the tiddler:</strong><p>'+e.message+'</p>',{parseAsInline:!1,wiki:t.wiki})}finally{$tw.utils.parseStringLiteral=s}0<r.tree.length&&(n=!1,$tw.utils.each(r.inlineRules,function(e){if('wikilink'===e.rule.name)return!(n=!0)}),o(r.tree,n)),this.tree=r.tree,this.source=i,this.type=e||'text/markdown',this.wiki=t.wiki}s.prototype.md=(r=r,e=new e(e=n).use(require('./markdown-it-sub')).use(require('./markdown-it-sup')).use(require('./markdown-it-ins')).use(require('./markdown-it-mark')).use(require('./markdown-it-footnote')).use(require('./markdown-it-deflist')),n=r,t={},(a=new(require('$:/core/modules/parsers/wikiparser/wikiparser.js')['text/vnd.tiddlywiki'])(null,'',{parseAsInline:!0,wiki:$tw.wiki})).pragmaRules=l(a.pragmaRuleClasses,'pragma'),a.blockRules=l(a.blockRuleClasses,'block'),a.inlineRules=l(a.inlineRuleClasses,'inline'),n=n.renderWikiText?'\\\\\\\\rules except latex-parser extlink\\\\n'+n.renderWikiTextPragma:'\\\\\\\\rules only html entity commentinline commentblock',a.pos=0,a.source=n,a.sourceLength=n.length,a.parsePragmas(),t.blockRules={},t.inlineRules={},t.blockRuleClasses={},t.inlineRuleClasses={},a.blockRules.forEach(function(e){t.blockRules[e.rule.name]=e,t.blockRuleClasses[e.rule.name]=e.rule.class}),a.inlineRules.forEach(function(e){t.inlineRules[e.rule.name]=e,t.inlineRuleClasses[e.rule.name]=e.rule.class}),n=t,s.prototype.blockRuleClasses=n.blockRuleClasses,s.prototype.blockRules=n.blockRules,s.prototype.inlineRuleClasses=n.inlineRuleClasses,s.prototype.inlineRules=n.inlineRules,r.renderWikiText&&$tw.modules.titles['$:/plugins/tiddlywiki/katex/katex.min.js']&&e.use(require('./markdown-it-katex')),e.use(require('./markdown-it-tiddlywiki'),{renderWikiText:r.renderWikiText,blockRules:n.blockRules,inlineRules:n.inlineRules}),$tw.utils.each(['image','prettylink','prettyextlink'],function(e){s.prototype.inlineRules[e]&&delete s.prototype.inlineRuleClasses[e]}),e),exports['text/markdown']=s,exports['text/x-markdown']=s;\",\"type\":\"application/javascript\",\"module-type\":\"parser\"}},\"ugly\":true}"},{"created":"20250920011648817","creator":"M0","tags":"$:/tags/PageControls","caption":"{{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}} {{$:/language/Buttons/NewMarkdown/Caption}}","description":"{{$:/language/Buttons/NewMarkdown/Hint}}","text":"<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}}aria-label={{$:/language/Buttons/NewMarkdown/Caption}}class=<<tv-config-toolbar-class>>><$action-sendmessage type=\"text/markdown\"$message=tm-new-tiddler/><%if [<tv-config-toolbar-icons>match[yes]]%>{{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}}<%endif%><%if [<tv-config-toolbar-text>match[yes]]%><span class=tc-btn-text><$text text={{$:/language/Buttons/NewMarkdown/Caption}}/>","title":"$:/plugins/tiddlywiki/markdown/new-markdown-button","modified":"20250920011648818","modifier":"M0"},{"title":"$:/plugins/tiddlywiki/menubar","name":"Menu Bar","description":"Menu Bar","list":"readme config","stability":"STABILITY_2_STABLE","version":"5.3.8","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/config/DefaultColourMappings/menubar-foreground\":{\"title\":\"$:/config/DefaultColourMappings/menubar-foreground\",\"text\":\"#fff\"},\"$:/config/DefaultColourMappings/menubar-background\":{\"title\":\"$:/config/DefaultColourMappings/menubar-background\",\"text\":\"#5778d8\"},\"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/pagecontrols\":{\"title\":\"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/pagecontrols\",\"text\":\"hide\"},\"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/server\":{\"title\":\"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/server\",\"text\":\"hide\"},\"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/sidebar\":{\"title\":\"$:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menubar/items/sidebar\",\"text\":\"hide\"},\"$:/config/plugins/menubar/TableOfContents/Tag\":{\"title\":\"$:/config/plugins/menubar/TableOfContents/Tag\",\"text\":\"TableOfContents\"},\"$:/config/plugins/menubar/breakpoint\":{\"title\":\"$:/config/plugins/menubar/breakpoint\",\"text\":\"620px\"},\"$:/plugins/tiddlywiki/menubar/config\":{\"title\":\"$:/plugins/tiddlywiki/menubar/config\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"Menu Bar\",\"text\":\"\\\\define config-base() $:/config/plugins/menubar/MenuItems/Visibility/\\n\\n! Menu Bar Configuration\\n\\n!! Menu Items\\n\\nSelect which menu items will be shown. You can also drag items to reorder them.\\n\\n<$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n<$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n<$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/MenuBar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n</$set>\\n\\n</$set>\\n\\n!! Breakpoint Position\\n\\nThe breakpoint position between narrow and wide screens. Should include CSS units (eg. `400px`).\\n\\n<$edit-text tiddler=\\\"$:/config/plugins/menubar/breakpoint\\\" default=\\\"\\\" tag=\\\"input\\\"/>\\n\\n!! Contents Tag\\n\\nThe tag for the ~TableOfContents used in the Contents dropdown\\n\\n<$edit-text tiddler=\\\"$:/config/plugins/menubar/TableOfContents/Tag\\\" default=\\\"\\\" tag=\\\"input\\\"/>\\n\\n!! Menu Bar Colours\\n\\nTo change the colour of the menu bar, define the colours `menubar-foreground` and `menubar-background` in the currently selected palette\\n\"},\"$:/plugins/tiddlywiki/menubar/items/contents\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/contents\",\"caption\":\"Contents\",\"description\":\"Table of Contents\",\"is-dropdown\":\"yes\",\"tags\":\"$:/tags/MenuBar\",\"text\":\"<div class=\\\"tc-table-of-contents\\\">\\n\\n<$macrocall $name=\\\"toc-selective-expandable\\\" tag={{$:/config/plugins/menubar/TableOfContents/Tag}}/>\\n\\n</div>\\n\"},\"$:/plugins/tiddlywiki/menubar/items/hamburger\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/hamburger\",\"tags\":\"$:/tags/MenuBar\",\"caption\":\"Hamburger\",\"description\":\"Show the full menu bar on a narrow screen\",\"custom-menu-content\":\"{{$:/plugins/tiddlywiki/menubar/items/hamburger}}\",\"show-when\":\"narrow\",\"text\":\"<$list filter=\\\"[[$:/state/popup/menubar/hamburger]get[text]else[no]match[no]]\\\">\\n<$button set=\\\"$:/state/popup/menubar/hamburger\\\" setTo=\\\"yes\\\">\\n{{$:/core/images/menu-button}}\\n</$button>\\n</$list>\\n<$list filter=\\\"[[$:/state/popup/menubar/hamburger]get[text]else[no]match[yes]]\\\">\\n<$button set=\\\"$:/state/popup/menubar/hamburger\\\" setTo=\\\"no\\\">\\n{{$:/core/images/close-button}}\\n</$button>\\n</$list>\\n\"},\"$:/plugins/tiddlywiki/menubar/items/pagecontrols\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/pagecontrols\",\"tags\":\"$:/tags/MenuBar\",\"description\":\"Page controls from the sidebar\",\"caption\":\"Page controls\",\"custom-menu-content\":\"<$transclude tiddler=\\\"$:/plugins/tiddlywiki/menubar/items/pagecontrols\\\" mode=\\\"inline\\\"/>\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$\\n\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t<$set name=\\\"hidden\\\" value=<<config-title>>>\\n\\t\\t<$list filter=\\\"[<hidden>!text[hide]]\\\" storyview=\\\"pop\\\" variable=\\\"ignore\\\">\\n\\t\\t\\t<$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\\n\\t\\t\\t\\t<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\t\\t\\t</$set>\\n\\t\\t</$list>\\n\\t</$set>\\n</$list>\\n\"},\"$:/plugins/tiddlywiki/menubar/items/search\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/search\",\"custom-menu-content\":\"{{$:/plugins/tiddlywiki/menubar/items/search}}\",\"description\":\"Search\",\"caption\":\"Search\",\"tags\":\"$:/tags/MenuBar\",\"text\":\"\\\\define cancel-search-actions()\\n<$set name=\\\"userInput\\\" value={{{ [<__storeTitle__>get[text]] }}}>\\n<$list filter=\\\"[<__tiddler__>get[text]!match<userInput>]\\\" emptyMessage=\\\"\\\"\\\"<$action-deletetiddler $filter=\\\"[<__storeTitle__>] [<__tiddler__>] [<__selectionStateTitle__>]\\\"/>\\\"\\\"\\\">\\n<$action-setfield $tiddler=<<__tiddler__>> text=<<userInput>>/><$action-setfield $tiddler=<<__refreshTitle__>> text=\\\"yes\\\"/>\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define input-accept-actions() <$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\\\"\\\"<$list filter=\\\"[<__tiddler__>get[text]!is[missing]] ~[<__tiddler__>get[text]is[shadow]]\\\"><$action-navigate $to={{{ [<__tiddler__>get[text]] }}}/></$list>\\\"\\\"\\\"><$action-navigate $to={{{ [<__tiddler__>get[text]] }}}/></$list>\\n\\n\\\\define input-accept-variant-actions() <$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\\\"\\\"<$list filter=\\\"[<__tiddler__>get[text]!is[missing]] ~[<__tiddler__>get[text]is[shadow]]\\\"><$list filter=\\\"[<__tiddler__>get[text]minlength[1]]\\\"><$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<__tiddler__>get[text]] }}}/></$list></$list>\\\"\\\"\\\"><$list filter=\\\"[<__tiddler__>get[text]minlength[1]]\\\"><$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [<__tiddler__>get[text]] }}}/></$list></$list>\\n\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\") <$macrocall $name=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"$beforeafter$\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"\\\"\\\"<$action-setfield $tiddler=\\\"$:/state/search/currentTab\\\" text=<<nextTab>>/>\\\"\\\"\\\"/>\\n\\n\\\\whitespace trim\\n<$vars searchTiddler=\\\"$:/temp/menubarsearch/input\\\" searchListState=<<qualify \\\"$:/state/search-list/selected-item\\\">>>\\n<span style=\\\"margin: 0 0.5em;\\\">\\n<$keyboard key=\\\"((input-tab-right))\\\" actions=<<set-next-input-tab>>>\\n<$keyboard key=\\\"((input-tab-left))\\\" actions=<<set-next-input-tab \\\"before\\\">>>\\n<form class=\\\"tc-form-inline\\\">\\n<$macrocall $name=\\\"keyboard-driven-input\\\" tiddler=\\\"$:/temp/menubarsearch\\\" storeTitle=<<searchTiddler>> selectionStateTitle=<<searchListState>> \\n\\t\\trefreshTitle=\\\"$:/temp/menubarsearch/refresh\\\" tag=\\\"input\\\" type=\\\"search\\\" focusPopup=\\\"$:/state/popup/menubar-search-dropdown\\\" \\n\\t\\tclass=\\\"tc-popup-handle tc-menu-show-when-wide\\\" placeholder=\\\"Search...\\\" default=\\\"\\\" cancelPopups=\\\"yes\\\" \\n\\t\\tinputAcceptActions=<<input-accept-actions>> inputAcceptVariantActions=<<input-accept-variant-actions>> inputCancelActions=<<cancel-search-actions>> \\n\\t\\tfilterMinLength={{$:/config/Search/MinLength}} configTiddlerFilter=\\\"[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]\\\" />\\n</form>\\n</$keyboard>\\n</$keyboard>\\n</span>\\n<$reveal tag=\\\"div\\\" class=\\\"tc-block-dropdown-wrapper\\\" state=\\\"$:/state/popup/menubar-search-dropdown\\\" type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\\n<div class=\\\"tc-block-dropdown tc-search-drop-down\\\">\\n\\n<$list filter=\\\"[<searchTiddler>get[text]minlength[1]]\\\" emptyMessage=\\\"\\\"\\\"<div class=\\\"tc-search-results\\\">Type your search terms</div>\\\"\\\"\\\" variable=\\\"ignore\\\">\\n\\n<$list filter=\\\"[<searchTiddler>get[text]minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"\\\"\\\"<div class=\\\"tc-search-results\\\">{{$:/language/Search/Search/TooShort}}</div>\\\"\\\"\\\" variable=\\\"listItem\\\">\\n\\n<$vars configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}} userInput={{{ [<searchTiddler>get[text]] }}}>\\n\\n{{$:/core/ui/SearchResults}}\\n\\n</$vars>\\n\\n</$list>\\n\\n</$list>\\n\\n</div>\\n\\n</$reveal>\\n\\n</$vars>\\n\"},\"$:/plugins/tiddlywiki/menubar/items/server\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/server\",\"tags\":\"$:/tags/MenuBar\",\"description\":\"Server options\",\"caption\":\"Server\",\"custom-menu-content\":\"<$transclude tiddler=\\\"$:/plugins/tiddlywiki/menubar/items/server\\\" mode=\\\"inline\\\"/>\",\"text\":\"<$list filter=\\\"[[$:/status/IsLoggedIn]get[text]else[no]match[yes]]\\\" variable=\\\"ignore\\\">\\n<$transclude tiddler=\\\"$:/core/ui/Buttons/save-wiki\\\" mode=\\\"inline\\\"/>\\n</$list>\\n<$list filter=\\\"[[$:/status/IsLoggedIn]get[text]else[no]match[no]]\\\" variable=\\\"ignore\\\">\\n<$button message=\\\"tm-login\\\">\\nLogin\\n</$button>\\n</$list>\\n\"},\"$:/plugins/tiddlywiki/menubar/items/sidebar\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/sidebar\",\"caption\":\"Sidebar\",\"description\":\"Sidebar\",\"is-dropdown\":\"yes\",\"tags\":\"$:/tags/MenuBar\",\"text\":\"<$scrollable fallthrough=\\\"none\\\" class=\\\"tc-popup-keep tc-menubar-dropdown-sidebar\\\">\\n\\n<$transclude tiddler=\\\"$:/core/ui/SideBarSegments/tabs\\\" mode=\\\"inline\\\"/>\\n\\n</$scrollable>\\n\"},\"$:/plugins/tiddlywiki/menubar/items/topleftbar\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/topleftbar\",\"tags\":\"$:/tags/MenuBar\",\"description\":\"Items from $:/tags/TopLeftBar\",\"caption\":\"Legacy Top Left Bar\",\"custom-menu-content\":\"<$transclude tiddler=\\\"$:/plugins/tiddlywiki/menubar/items/topleftbar\\\" mode=\\\"inline\\\"/>\",\"text\":\"<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]\\\" variable=\\\"listItem\\\" storyview=\\\"pop\\\">\\n\\n<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\n</$list>\"},\"$:/plugins/tiddlywiki/menubar/items/toprightbar\":{\"title\":\"$:/plugins/tiddlywiki/menubar/items/toprightbar\",\"tags\":\"$:/tags/MenuBar\",\"description\":\"Items from $:/tags/TopRightBar\",\"caption\":\"Legacy Top Right Bar\",\"custom-menu-content\":\"<$transclude tiddler=\\\"$:/plugins/tiddlywiki/menubar/items/toprightbar\\\" mode=\\\"inline\\\"/>\",\"custom-menu-styles-wide\":\"float: right;\",\"text\":\"<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]reverse[]]\\\" variable=\\\"listItem\\\" storyview=\\\"pop\\\">\\n\\n<$transclude tiddler=<<listItem>> mode=\\\"inline\\\"/>\\n\\n</$list>\"},\"$:/core/ui/KeyboardShortcuts/menubar-search\":{\"title\":\"$:/core/ui/KeyboardShortcuts/menubar-search\",\"key\":\"((menubar-search))\",\"tags\":\"$:/tags/KeyboardShortcut\",\"text\":\"<$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-menubar input\\\"/>\\n\"},\"$:/plugins/tiddlywiki/menubar/menu\":{\"title\":\"$:/plugins/tiddlywiki/menubar/menu\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\define menubar-inner(size)\\n<ul class=\\\"tc-menubar-list\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/toprightbar]]\\\">\\n<$list filter=\\\"[<currentTiddler>addprefix[$:/config/plugins/menubar/MenuItems/Visibility/]get[text]] ~show +[match[show]]\\\" variable=\\\"ignore\\\">\\n<$list filter=\\\"[[$size$]match[wide]] ~[<currentTiddler>get[show-when]match[$size$]] ~[{$:/state/popup/menubar/hamburger}match[yes]]\\\" variable=\\\"ignore\\\">\\n<li style={{!!custom-menu-styles-$size$}} class={{{ [<currentTiddler>get[show-when]addprefix[tc-menubar-]] tc-menubar-item +[join[ ]] }}}>\\n<$list filter=\\\"[<currentTiddler>!is-dropdown[yes]]\\\" variable=\\\"listItem\\\" emptyMessage=\\\"\\\"\\\"\\n\\t<!-- Dropdown -->\\n\\t<$set name=\\\"dropdown-state\\\" value=<<qualify \\\"$:/state/popup/topmenu/dropdown/\\\">>>\\n\\t<$set name=\\\"dropdown-state\\\" value={{{ [<dropdown-state>addsuffix<currentTiddler>] }}}>\\n\\t<$button popup=<<dropdown-state>> selectedClass=\\\"tc-selected\\\">\\n\\t<$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n\\t<$transclude field=\\\"caption\\\" mode=\\\"inline\\\"/>\\n\\t<$text text=\\\" \\\"/>\\n\\t<span class=\\\"tc-menubar-dropdown-arrow\\\">\\n\\t<$transclude tiddler=\\\"$:/core/images/down-arrow\\\" mode=\\\"inline\\\"/>\\n\\t</span>\\n\\t</$set>\\n\\t</$button>\\n\\t</$set>\\n\\t</$set>\\n\\\"\\\"\\\">\\n<$list filter=\\\"[<currentTiddler>has[custom-menu-content]]\\\" variable=\\\"listItem\\\" emptyMessage=\\\"\\\"\\\"\\n\\t<!-- Link -->\\n\\t<$link to={{!!target}}>\\n\\t<$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n\\t<$transclude field=\\\"caption\\\" mode=\\\"inline\\\"/>\\n\\t</$set>\\n\\t</$link>\\n\\\"\\\"\\\">\\n<!-- Custom content -->\\n<$transclude field=\\\"custom-menu-content\\\" mode=\\\"inline\\\"/>\\n</$list>\\n</$list>\\n</li>\\n</$list>\\n</$list>\\n</$list>\\n</ul>\\n\\\\end\\n\\n<$list filter=\\\"[<tv-config-static>!match[yes]]\\\" variable=\\\"ignore\\\">\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/toprightbar]] +[limit[1]]\\\" variable=\\\"listItem\\\">\\n<nav class=\\\"tc-menubar tc-adjust-top-of-scroll\\\">\\n<div class=\\\"tc-menubar-narrow\\\">\\n<<menubar-inner narrow>>\\n</div>\\n<div class=\\\"tc-menubar-wide\\\">\\n<<menubar-inner wide>>\\n</div>\\n<div style=\\\"clear:both;\\\"/>\\n<$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]is-dropdown[yes]]\\\">\\n<$list filter=\\\"[<currentTiddler>addprefix[$:/config/plugins/menubar/MenuItems/Visibility/]get[text]] ~show +[match[show]]\\\" variable=\\\"ignore\\\">\\n<$set name=\\\"dropdown-state\\\" value=<<qualify \\\"$:/state/popup/topmenu/dropdown/\\\">>>\\n<$set name=\\\"dropdown-state\\\" value={{{ [<dropdown-state>addsuffix<currentTiddler>] }}}>\\n<$reveal type=\\\"popup\\\" state=<<dropdown-state>> position={{{ [<currentTiddler>get[dropdown-position]else[below]] }}} class={{{ [<currentTiddler>get[class]] }}} tag=\\\"div\\\">\\n<div class=\\\"tc-drop-down\\\">\\n<$transclude/>\\n</div>\\n</$reveal>\\n</$set>\\n</$set>\\n</$list>\\n</$list>\\n</nav>\\n</$list>\\n</$list>\\n\"},\"$:/core/ui/PageTemplate/topleftbar\":{\"title\":\"$:/core/ui/PageTemplate/topleftbar\",\"text\":\"<!-- The menubar plugin overrides this tiddler to remove the core top left menu. The menu items that it would include are instead included in the menubar -->\"},\"$:/core/ui/PageTemplate/toprightbar\":{\"title\":\"$:/core/ui/PageTemplate/toprightbar\",\"text\":\"<!-- The menubar plugin overrides this tiddler to remove the core top right menu. The menu items that it would include are instead included in the menubar -->\"},\"$:/plugins/tiddlywiki/menubar/readme\":{\"title\":\"$:/plugins/tiddlywiki/menubar/readme\",\"text\":\"!! Introduction\\n\\nThis plugin provides a menu bar with the following features:\\n\\n* Menu items take the form of simple text links, dropdowns, or entirely custom content\\n* Menu items can be individually enabled via the control panel\\n* Responds to reduced screen width by abbreviating the menu items to a \\\"hamburger\\\" dropdown\\n\\n!! Menu Item Tiddlers\\n\\nMenu items are tagged <<tag $:/tags/MenuBar>>. The following fields are used by this plugin:\\n\\n|!Field Name |!Purpose |\\n|title |Each menu item must have a unique title (not shown to the user) |\\n|description |Description for use in listings |\\n|tags |Must contain `$:/tags/MenuBar` |\\n|caption |The text that is displayed for the menu item. Avoid links, using `~` to suppress CamelCase links if required |\\n|target |For simple link menu items specifies a tiddler title as the target of the link |\\n|is-dropdown |Set to `yes` to indicate a dropdown menu item |\\n|dropdown-position |Optional position for the dropdown (can be ''left'', ''above'', ''aboveleft'', ''aboveright'', ''right'', ''belowleft'', ''belowright'' or ''below'') |\\n|text |For dropdown menu items, specifies the body of the dropdown |\\n|custom-menu-content |Optional wikitext to be displayed in place of the caption |\\n|custom-menu-styles-wide |Optional string of styles to be applied to menu item when the menubar is wide |\\n|custom-menu-styles-narrow |Optional string of styles to be applied to menu item when the menubar is narrow |\\n\\nCustom menu items should make sure that the clickable link or button is an immediate child, and not wrapped in another element.\\n\\nNote that menu items can be pushed to the right of the menu bar setting the ''custom-menu-styles'' field to `float: right;`.\\n\"},\"$:/config/ShortcutInfo/menubar-search\":{\"title\":\"$:/config/ShortcutInfo/menubar-search\",\"tags\":\"\",\"text\":\"Select the menubar search field\\n\"},\"$:/plugins/tiddlywiki/menubar/styles\":{\"title\":\"$:/plugins/tiddlywiki/menubar/styles\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"text\":\"\\\\define breakpoint-plus-one()\\n<$text text={{{ [{$:/config/plugins/menubar/breakpoint}removesuffix[px]add[1]addsuffix[px]] ~[{$:/config/plugins/menubar/breakpoint}] }}} />\\n\\\\end\\n\\n\\\\define sidebarbreakpoint-minus-one()\\n<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}} />\\n\\\\end\\n\\n\\\\define set-sidebar-scrollable-top-if-hamburger()\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/MenuBar]] -[all[tiddlers+shadows]prefix[$:/config/plugins/menubar/MenuItems/Visibility/]regexp:text[hide]removeprefix[$:/config/plugins/menubar/MenuItems/Visibility/]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[$:/plugins/tiddlywiki/menubar/items/toprightbar]] -$:/plugins/tiddlywiki/menubar/items/hamburger +[limit[1]]\\\">\\n\\n\\t.tc-sidebar-scrollable {\\n\\t\\tmargin-top: 2em;\\n\\t}\\n\\n</$list>\\n\\\\end\\n\\n\\\\define set-sidebar-scrollable-top()\\n<$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/MenuBar]] -[all[tiddlers+shadows]prefix[$:/config/plugins/menubar/MenuItems/Visibility/]regexp:text[hide]removeprefix[$:/config/plugins/menubar/MenuItems/Visibility/]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[$:/plugins/tiddlywiki/menubar/items/toprightbar]] +[limit[1]]\\\">\\n\\n\\t.tc-sidebar-scrollable {\\n\\t\\tmargin-top: 2em;\\n\\t}\\n\\n</$list>\\n<$reveal state=\\\"$:/state/popup/menubar/hamburger\\\" type=\\\"match\\\" text=\\\"yes\\\">\\n\\n\\t<$set name=\\\"itemCount\\\" value={{{ [all[tiddlers+shadows]tag[$:/tags/MenuBar]] -[all[tiddlers+shadows]prefix[$:/config/plugins/menubar/MenuItems/Visibility/]regexp:text[hide]removeprefix[$:/config/plugins/menubar/MenuItems/Visibility/]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/toprightbar]] +[count[]] }}}>\\n\\n\\t\\t.tc-sidebar-scrollable {\\n\\t\\t\\tmargin-top: calc(<<itemCount>> * 2em);\\n\\t\\t}\\n\\n\\t</$set>\\n\\n</$reveal>\\n\\\\end\\n\\n\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\\n\\nnav.tc-menubar {\\n\\tposition: fixed;\\n\\tz-index: 850;\\n\\tdisplay: inline-block;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tleft: 0;\\n}\\n\\nnav.tc-menubar ul.tc-menubar-list {\\n\\tposition: relative;\\n\\tlist-style-type: none;\\n\\tmargin: 0;\\n\\tpadding: 0 0 0 42px;\\n\\tbackground: <<colour background>>;\\n\\tbackground: <<colour menubar-background>>;\\n\\t<<box-shadow \\\"1px 1px 5px rgba(0, 0, 0, 0.3)\\\">>\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\thtml nav.tc-menubar ul.tc-menubar-list {\\n\\t\\tpadding: 0 0 0 8px;\\n\\t}\\n\\n}\\n\\nnav.tc-menubar li.tc-menubar-item {\\n\\tdisplay: inline-block;\\n\\tmargin: 0;\\n\\tpadding: 0;\\n}\\n\\nnav.tc-menubar .tc-menubar-narrow li.tc-menubar-item {\\n\\tdisplay: block;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item > a,\\nnav.tc-menubar li.tc-menubar-item > button {\\n\\tdisplay: inline-block;\\n/*\\ttext-transform: uppercase; */\\n\\tline-height: 1;\\n\\tfont-weight: 700;\\n\\tcolor: <<colour foreground>>;\\n\\tcolor: <<colour menubar-foreground>>;\\n\\tfill: <<colour foreground>>;\\n\\tfill: <<colour menubar-foreground>>;\\n\\ttext-decoration: none;\\n\\tpadding: 0.5em;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\tcursor: pointer;\\n\\tborder-radius: 0;\\n\\ttext-decoration: none;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item > a.tc-selected,\\nnav.tc-menubar li.tc-menubar-item > button.tc-selected {\\n\\tbackground: <<colour foreground>>;\\n\\tbackground: <<colour menubar-foreground>>;\\n\\tcolor: <<colour background>>;\\n\\tcolor: <<colour menubar-background>>;\\n\\tfill: <<colour background>>;\\n\\tfill: <<colour menubar-background>>;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item svg {\\n\\ttransition: none;\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tfill: <<colour foreground>>;\\n\\tfill: <<colour menubar-foreground>>;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item .tc-menubar-dropdown-arrow svg {\\n\\twidth: 0.5em;\\n\\theight: 0.5em;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item > a.tc-selected svg,\\nnav.tc-menubar li.tc-menubar-item > button.tc-selected svg {\\n\\tfill: <<colour background>>;\\n\\tfill: <<colour menubar-background>>;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item > a:hover,\\nnav.tc-menubar li.tc-menubar-item > button:hover svg,\\nnav.tc-menubar li.tc-menubar-item > button:hover {\\n\\tbackground: <<colour foreground>>;\\n\\tbackground: <<colour menubar-foreground>>;\\n\\tcolor: <<colour background>>;\\n\\tcolor: <<colour menubar-background>>;\\n\\tfill: <<colour background>>;\\n\\tfill: <<colour menubar-background>>;\\n\\tborder-radius: 0;\\n\\ttext-decoration: none;\\n}\\n\\nnav.tc-menubar li.tc-menubar-item > a:active,\\nnav.tc-menubar li.tc-menubar-item > button:active svg,\\nnav.tc-menubar li.tc-menubar-item > button:active {\\n\\tbackground: <<colour foreground>>;\\n\\tbackground: <<colour menubar-foreground>>;\\n\\tcolor: <<colour background>>;\\n\\tcolor: <<colour menubar-background>>;\\n\\tfill: <<colour background>>;\\n\\tfill: <<colour menubar-background>>;\\n\\tborder-radius: 0;\\n\\ttext-decoration: none;\\n}\\n\\nnav.tc-menubar .tc-drop-down,\\nnav.tc-menubar .tc-block-dropdown {\\n\\tmax-width: 70vw;\\n\\tmax-height: 70vh;\\n\\toverflow: auto;\\n}\\n\\nnav.tc-menubar .tc-drop-down a {\\n\\ttext-decoration: none;\\n}\\n\\nnav.tc-menubar .tc-drop-down .tc-table-of-contents button {\\n\\tdisplay: inline-block;\\n\\twidth: auto;\\n}\\n\\nnav.tc-menubar .tc-drop-down ol {\\n\\tmargin: 0;\\n}\\n\\nnav.tc-menubar .tc-drop-down .tc-menubar-dropdown-sidebar a,\\nnav.tc-menubar .tc-drop-down .tc-menubar-dropdown-sidebar button {\\n\\tdisplay: inline;\\n\\twidth: auto;\\n}\\n\\nnav.tc-menubar .tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n}\\n\\n@media (max-width: {{$:/config/plugins/menubar/breakpoint}}) {\\n\\n\\t.tc-menubar-wide {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n}\\n\\n@media (min-width: <<breakpoint-plus-one>>) {\\n\\n\\tnav.tc-menubar li.tc-menubar-item.tc-menubar-narrow,\\n\\t.tc-menubar-narrow {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\t<<set-sidebar-scrollable-top-if-hamburger>>\\n\\n}\\n\\n@media (max-width: {{$:/config/plugins/menubar/breakpoint}}) {\\n\\n\\t<<set-sidebar-scrollable-top>>\\n\\n}\\n@media print {\\n\\n\\tnav.tc-menubar {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n}\\n\"},\"$:/tags/MenuBar\":{\"title\":\"$:/tags/MenuBar\",\"list\":\"$:/plugins/tiddlywiki/menubar/items/hamburger $:/plugins/tiddlywiki/menubar/items/topleftbar $:/plugins/tiddlywiki/menubar/items/contents $:/plugins/tiddlywiki/menubar/items/search $:/plugins/tiddlywiki/menubar/items/pagecontrols $:/plugins/tiddlywiki/menubar/items/server $:/plugins/tiddlywiki/menubar/items/toprightbar\"}}}"},{"created":"20250916142954719","creator":"M0","text":"\\whitespace trim\n\\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\" variable=\"listItem\">\n\t<$set name=\"hidden\" value=<<config-title>>>\n\t\t<$list filter=\"[<hidden>!text[hide]]\" storyview=\"pop\" variable=\"ignore\">\n\t\t\t<$set name=\"tv-config-toolbar-class\" filter=\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\">\n\t\t\t\t<$transclude tiddler=<<listItem>> mode=\"inline\"/>\n\t\t\t</$set>\n\t\t</$list>\n\t</$set>\n</$list>\n","title":"$:/plugins/tiddlywiki/menubar/items/pagecontrols","tags":"$:/tags/MenuBar","description":"Page controls from the sidebar","caption":"Page controls","custom-menu-content":"<$transclude tiddler=\"$:/plugins/tiddlywiki/menubar/items/pagecontrols\" mode=\"inline\"/>","modified":"20250916143011927","modifier":"M0"},{"created":"20250916135816474","creator":"M0","text":"\\define menubar-inner(size)\n<ul class=\"tc-menubar-list\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/toprightbar]]\">\n<$list filter=\"[<currentTiddler>addprefix[$:/config/plugins/menubar/MenuItems/Visibility/]get[text]] ~show +[match[show]]\" variable=\"ignore\">\n<$list filter=\"[[$size$]match[wide]] ~[<currentTiddler>get[show-when]match[$size$]] ~[{$:/state/popup/menubar/hamburger}match[yes]]\" variable=\"ignore\">\n<li style={{!!custom-menu-styles-$size$}} class={{{ [<currentTiddler>get[show-when]addprefix[tc-menubar-]] tc-menubar-item +[join[ ]] }}}>\n<$list filter=\"[<currentTiddler>!is-dropdown[yes]]\" variable=\"listItem\" emptyMessage=\"\"\"\n\t<!-- Dropdown -->\n\t<$set name=\"dropdown-state\" value=<<qualify \"$:/state/popup/topmenu/dropdown/\">>>\n\t<$set name=\"dropdown-state\" value={{{ [<dropdown-state>addsuffix<currentTiddler>] }}}>\n\t<$button popup=<<dropdown-state>> selectedClass=\"tc-selected\">\n\t<$set name=\"tv-wikilinks\" value=\"no\">\n\t<$transclude field=\"caption\" mode=\"inline\"/>\n\t<$text text=\" \"/>\n\t<span class=\"tc-menubar-dropdown-arrow\">\n\t<$transclude tiddler=\"$:/core/images/down-arrow\" mode=\"inline\"/>\n\t</span>\n\t</$set>\n\t</$button>\n\t</$set>\n\t</$set>\n\"\"\">\n<$list filter=\"[<currentTiddler>has[custom-menu-content]]\" variable=\"listItem\" emptyMessage=\"\"\"\n\t<!-- Link -->\n\t<$link to={{!!target}}>\n\t<$set name=\"tv-wikilinks\" value=\"no\">\n\t<$transclude field=\"caption\" mode=\"inline\"/>\n\t</$set>\n\t</$link>\n\"\"\">\n<!-- Custom content -->\n<$transclude field=\"custom-menu-content\" mode=\"inline\"/>\n</$list>\n</$list>\n</li>\n</$list>\n</$list>\n</$list>\n</ul>\n\\end\n\n<$list filter=\"[<tv-config-static>!match[yes]]\" variable=\"ignore\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/toprightbar]] +[limit[1]]\" variable=\"listItem\">\n<nav class=\"tc-menubar tc-adjust-top-of-scroll\">\n<div class=\"tc-menubar-narrow\">\n<<menubar-inner narrow>>\n</div>\n<div class=\"tc-menubar-wide\">\n<<menubar-inner wide>>\n</div>\n<div style=\"clear:both;\"/>\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]is-dropdown[yes]]\">\n<$list filter=\"[<currentTiddler>addprefix[$:/config/plugins/menubar/MenuItems/Visibility/]get[text]] ~show +[match[show]]\" variable=\"ignore\">\n<$set name=\"dropdown-state\" value=<<qualify \"$:/state/popup/topmenu/dropdown/\">>>\n<$set name=\"dropdown-state\" value={{{ [<dropdown-state>addsuffix<currentTiddler>] }}}>\n<$reveal type=\"popup\" state=<<dropdown-state>> position={{{ [<currentTiddler>get[dropdown-position]else[below]] }}} class={{{ [<currentTiddler>get[class]] }}} tag=\"div\">\n<div class=\"tc-drop-down\">\n<$transclude/>\n</div>\n</$reveal>\n</$set>\n</$set>\n</$list>\n</$list>\n</nav>\n</$list>\n</$list>\n","title":"$:/plugins/tiddlywiki/menubar/menu","tags":"$:/tags/PageTemplate","modified":"20250916183607286","modifier":"M0"},{"title":"$:/plugins/tiddlywiki/railroad","name":"Railroad","description":"Railroad diagram generator","author":"Astrid Elocson","list":"readme usage syntax example","stability":"STABILITY_2_STABLE","version":"5.3.8","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/tiddlywiki/railroad/components.js\":{\"title\":\"$:/plugins/tiddlywiki/railroad/components.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/tiddlywiki/railroad/components.js\\ntype: application/javascript\\nmodule-type: library\\n\\nComponents of a railroad diagram.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar railroad = require(\\\"$:/plugins/tiddlywiki/railroad/railroad-diagrams.js\\\");\\n\\n/////////////////////////// Base component\\n\\nvar Component = function() {\\n\\tthis.type = \\\"Component\\\";\\n};\\n\\n// Set up a leaf component\\nComponent.prototype.initialiseLeaf = function(type,text) {\\n\\tthis.type = type;\\n\\tthis.text = text;\\n};\\n\\n// Set up a component with a single child\\nComponent.prototype.initialiseWithChild = function(type,content) {\\n\\tthis.type = type;\\n\\tthis.child = toSingleChild(content);\\n};\\n\\n// Set up a component with an array of children\\nComponent.prototype.initialiseWithChildren = function(type,content) {\\n\\tthis.type = type;\\n\\t// Force the content to be an array\\n\\tthis.children = $tw.utils.isArray(content) ? content : [content];\\n}\\n\\n// Return an array of the SVG strings of an array of children\\nComponent.prototype.getSvgOfChildren = function() {\\n\\treturn this.children.map(function(child) {\\n\\t\\treturn child.toSvg();\\n\\t});\\n}\\n\\nComponent.prototype.toSvg = function() {\\n\\treturn \\\"\\\";\\n}\\n\\nComponent.prototype.debug = function(output,indent) {\\n\\toutput.push(indent);\\n\\toutput.push(this.type);\\n\\t// Add the text of a leaf component\\n\\tif(this.text && this.text !== \\\"\\\") {\\n\\t\\toutput.push(\\\": \\\");\\n\\t\\toutput.push(this.text);\\n\\t}\\n\\t// Flag the normal route\\n\\tif(this.normal !== undefined) {\\n\\t\\tif(this.normal === true) {\\n\\t\\t\\toutput.push(\\\" (normal)\\\");\\n\\t\\t} else if(this.normal !== false) {\\n\\t\\t\\toutput.push(\\\" (normal: \\\");\\n\\t\\t\\toutput.push(this.normal);\\n\\t\\t\\toutput.push(\\\")\\\");\\n\\t\\t}\\n\\t}\\n\\toutput.push(\\\"\\\\n\\\");\\n\\tvar contentIndent = indent + \\\" \\\";\\n\\t// Add the one child\\n\\tif(this.child) {\\n\\t\\tthis.child.debug(output,contentIndent);\\n\\t}\\n\\t// Add the array of children\\n\\tif(this.children) {\\n\\t\\tthis.debugArray(this.children,output,contentIndent);\\n\\t}\\n \\t// Add the separator if there is one\\n\\tif(this.separator) {\\n\\t\\toutput.push(indent);\\n\\t\\toutput.push(\\\"(separator)\\\\n\\\");\\n\\t\\tthis.separator.debug(output,contentIndent);\\n\\t}\\n};\\n\\nComponent.prototype.debugArray = function(array,output,indent) {\\n\\tfor(var i=0; i<array.length; i++) {\\n\\t\\tvar item = array[i];\\n\\t\\t// Choice content is a special case: we number the branches\\n\\t\\tif(item.isChoiceBranch) {\\n\\t\\t\\toutput.push(indent);\\n\\t\\t\\toutput.push(\\\"(\\\");\\n\\t\\t\\toutput.push(i);\\n\\t\\t\\toutput.push(\\\")\\\\n\\\");\\n\\t\\t\\titem.debug(output,\\\" \\\"+indent);\\n\\t\\t} else {\\n\\t\\t\\titem.debug(output,indent);\\n\\t\\t}\\n\\t}\\n}\\n\\nvar toSingleChild = function(content) {\\n\\tif($tw.utils.isArray(content)) {\\n\\t\\t// Reduce an array of one child to just the child\\n\\t\\tif(content.length === 1) {\\n\\t\\t\\treturn content[0];\\n\\t\\t} else {\\n\\t\\t\\t// Never allow an empty sequence\\n\\t\\t \\tif(content.length === 0) {\\n \\t\\t\\t\\tcontent.push(new Dummy());\\n\\t\\t \\t}\\n\\t\\t\\t// Wrap multiple children into a single sequence component\\n\\t\\t\\treturn new Sequence(content);\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Already single\\n\\t\\treturn content;\\n\\t}\\n}\\n\\n/////////////////////////// Leaf components\\n\\nvar Comment = function(text) {\\n\\tthis.initialiseLeaf(\\\"Comment\\\",text);\\n};\\n\\nComment.prototype = new Component();\\n\\nComment.prototype.toSvg = function() {\\n\\treturn railroad.Comment(this.text);\\n}\\n\\nvar Dummy = function() {\\n\\tthis.initialiseLeaf(\\\"Dummy\\\");\\n};\\n\\nDummy.prototype = new Component();\\n\\nDummy.prototype.toSvg = function() {\\n\\treturn railroad.Skip();\\n}\\n\\nvar Nonterminal = function(text) {\\n\\tthis.initialiseLeaf(\\\"Nonterminal\\\",text);\\n};\\n\\nNonterminal.prototype = new Component();\\n\\nNonterminal.prototype.toSvg = function() {\\n\\treturn railroad.NonTerminal(this.text);\\n}\\n\\nvar Terminal = function(text) {\\n\\tthis.initialiseLeaf(\\\"Terminal\\\",text);\\n};\\n\\nTerminal.prototype = new Component();\\n\\nTerminal.prototype.toSvg = function() {\\n\\treturn railroad.Terminal(this.text);\\n}\\n\\n/////////////////////////// Components with one child\\n\\nvar Optional = function(content,normal) {\\n\\tthis.initialiseWithChild(\\\"Optional\\\",content);\\n\\tthis.normal = normal;\\n};\\n\\nOptional.prototype = new Component();\\n\\nOptional.prototype.toSvg = function() {\\n\\t// Call Optional(component,\\\"skip\\\")\\n\\treturn railroad.Optional(this.child.toSvg(), this.normal ? undefined : \\\"skip\\\");\\n}\\n\\nvar OptionalRepeated = function(content,separator,normal,wantArrow) {\\n\\tthis.initialiseWithChild(\\\"OptionalRepeated\\\",content);\\n\\tthis.separator = toSingleChild(separator);\\n\\tthis.normal = normal;\\n\\tthis.wantArrow = wantArrow;\\n};\\n\\nOptionalRepeated.prototype = new Component();\\n\\nOptionalRepeated.prototype.toSvg = function() {\\n\\t// Call ZeroOrMore(component,separator,\\\"skip\\\")\\n\\tvar separatorSvg = this.separator ? this.separator.toSvg() : null;\\n\\tvar skip = this.normal ? undefined : \\\"skip\\\";\\n\\treturn railroad.ZeroOrMore(this.child.toSvg(),separatorSvg,skip,this.wantArrow);\\n}\\n\\nvar Repeated = function(content,separator,wantArrow) {\\n\\tthis.initialiseWithChild(\\\"Repeated\\\",content);\\n\\tthis.separator = toSingleChild(separator);\\n\\tthis.wantArrow = wantArrow;\\n};\\n\\nRepeated.prototype = new Component();\\n\\nRepeated.prototype.toSvg = function() {\\n\\t// Call OneOrMore(component,separator)\\n\\tvar separatorSvg = this.separator ? this.separator.toSvg() : null;\\n\\treturn railroad.OneOrMore(this.child.toSvg(),separatorSvg,this.wantArrow);\\n}\\n\\nvar Link = function(content,options) {\\n\\tthis.initialiseWithChild(\\\"Link\\\",content);\\n\\tthis.options = options;\\n};\\n\\nLink.prototype = new Component();\\n\\nLink.prototype.toSvg = function() {\\n\\treturn railroad.Link(this.child.toSvg(),this.options);\\n}\\n\\nvar Transclusion = function(content) {\\n\\tthis.initialiseWithChild(\\\"Transclusion\\\",content);\\n};\\n\\nTransclusion.prototype = new Component();\\n\\nTransclusion.prototype.toSvg = function() {\\n\\treturn this.child.toSvg();\\n}\\n\\n/////////////////////////// Components with an array of children\\n\\nvar Root = function(content) {\\n\\tthis.initialiseWithChildren(\\\"Root\\\",content);\\n};\\n\\nRoot.prototype = new Component();\\n\\nRoot.prototype.toSvg = function(options) {\\n\\tvar args = this.getSvgOfChildren();\\n\\targs.unshift(options);\\n\\t// Call Diagram(options,component1,component2,...)\\n\\treturn railroad.Diagram.apply(null,args);\\n}\\n\\nvar Sequence = function(content) {\\n\\tthis.initialiseWithChildren(\\\"Sequence\\\",content);\\n};\\n\\nSequence.prototype = new Component();\\n\\nSequence.prototype.toSvg = function() {\\n\\t// Call Sequence(component1,component2,...)\\n\\treturn railroad.Sequence.apply(null,this.getSvgOfChildren());\\n}\\n\\nvar Choice = function(content,normal) {\\n\\tthis.initialiseWithChildren(\\\"Choice\\\",content.map(toSingleChild));\\n\\tfor(var i=0; i<this.children.length; i++) {\\n\\t\\tthis.children[i].isChoiceBranch = true;\\n\\t}\\n\\tthis.normal = normal;\\n};\\n\\nChoice.prototype = new Component();\\n\\nChoice.prototype.toSvg = function() {\\n\\t// Call Choice(normal,component1,component2,...)\\n\\tvar args = this.getSvgOfChildren();\\n\\targs.unshift(this.normal);\\n\\treturn railroad.Choice.apply(null,args);\\n}\\n\\n/////////////////////////// Exports\\n\\nexports.components = {\\n\\tChoice: Choice,\\n\\tComment: Comment,\\n\\tDummy: Dummy,\\n\\tLink: Link,\\n\\tNonterminal: Nonterminal,\\n\\tOptional: Optional,\\n\\tOptionalRepeated: OptionalRepeated,\\n\\tRepeated: Repeated,\\n\\tRoot: Root,\\n\\tSequence: Sequence,\\n\\tTerminal: Terminal,\\n\\tTransclusion: Transclusion\\n};\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/railroad/example-source\":{\"title\":\"$:/plugins/tiddlywiki/railroad/example-source\",\"created\":\"20150103184022184\",\"modified\":\"20150119214125000\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki.railroad\",\"text\":\"[\\\"+\\\"]\\n({ [[digit|GettingStarted]] } | \\\"#\\\" <'escape sequence'>)\\n[{(\\\"@\\\" name-char | :\\\"--\\\" )}]\\n\"},\"$:/plugins/tiddlywiki/railroad/example-transclusion\":{\"title\":\"$:/plugins/tiddlywiki/railroad/example-transclusion\",\"text\":\"\\\"railroad transclusion example\\\" text\"},\"$:/plugins/tiddlywiki/railroad/example\":{\"title\":\"$:/plugins/tiddlywiki/railroad/example\",\"created\":\"20150102165032410\",\"modified\":\"20150120090735000\",\"tags\":\"\",\"text\":\"Notation:\\n\\n<pre><code><$text text={{$:/plugins/tiddlywiki/railroad/example-source}}/></code></pre>\\n\\nDiagram:\\n\\n{{$:/plugins/tiddlywiki/railroad/example-source}}\\n\\nDebug mode:\\n\\n<$railroad debug=\\\"yes\\\" text={{$:/plugins/tiddlywiki/railroad/example-source}}/>\\n\"},\"$:/plugins/tiddlywiki/railroad/readme\":{\"title\":\"$:/plugins/tiddlywiki/railroad/readme\",\"created\":\"20150102163222184\",\"modified\":\"20150119231005000\",\"text\":\"This plugin provides a `<$railroad>` widget for generating railroad diagrams as SVG images.\\n\\nAlternatively, the [[diagram notation|$:/plugins/tiddlywiki/railroad/syntax]] can be stored in a dedicated tiddler with its `type` field set to `text/vnd.tiddlywiki.railroad`, and that tiddler can simply be transcluded to wherever it is needed.\\n\\nThe plugin is based on [[a library by Tab Atkins|https://github.com/tabatkins/railroad-diagrams]], and has been extended to make it more flexible, including allowing components of a diagram to function as links or be transcluded from other tiddlers.\\n\"},\"$:/plugins/tiddlywiki/railroad/syntax-string\":{\"title\":\"$:/plugins/tiddlywiki/railroad/syntax-string\",\"created\":\"20150103184022184\",\"modified\":\"20150103184022184\",\"text\":\"('\\\"' text '\\\"' | \\\"'\\\" text \\\"'\\\" | '\\\"\\\"\\\"' text '\\\"\\\"\\\"')\"},\"$:/plugins/tiddlywiki/railroad/syntax\":{\"title\":\"$:/plugins/tiddlywiki/railroad/syntax\",\"created\":\"20150103184022184\",\"modified\":\"20150119220342000\",\"text\":\"\\nThe railroad widget uses a special notation to construct the components defined below.\\n\\n`x` and `y` here stand for any component.\\n\\nNames (as opposed to quoted strings) are available when a value starts with a letter and contains only letters, digits, underscores, dots and hyphens.\\n\\n---\\n\\n; sequence\\n: <$railroad text=\\\"\\\"\\\" [\\\"<-\\\"] {x} [\\\"->\\\"] \\\"\\\"\\\"/>\\n\\n* A sequence of components\\n* The `<-` and `->` delimiters allow you to force a single component to be treated as a sequence. This is occasionally useful for spacing a diagram out\\n\\nexamples\\n\\n<<<\\n\\n```\\nx y z\\t\\t\\tsequence\\n```\\n<$railroad text=\\\"\\\"\\\" x y z \\\"\\\"\\\"/>\\n\\n```\\n<-x y z->\\t\\texplicit sequence\\n```\\n\\n<$railroad text=\\\"\\\"\\\" <- x y z -> \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; optional\\n: <$railroad text=\\\"\\\"\\\" \\\"[\\\" [\\\":\\\"] x \\\"]\\\" \\\"\\\"\\\"/>\\n* A component that can be omitted\\n* The colon makes `x` appear straight ahead\\n\\nexamples\\n\\n<<<\\n\\n```\\n[:x]\\t\\t\\toptional, normally included\\n```\\n<$railroad text=\\\"\\\"\\\" [:x] \\\"\\\"\\\"/>\\n\\n```\\n[x]\\t\\t\\t\\toptional, normally omitted\\n```\\n\\n<$railroad text=\\\"\\\"\\\" [x] \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; repeated\\n: <$railroad text=\\\"\\\"\\\" \\\"{\\\" x [:\\\"+\\\" y] \\\"}\\\" \\\"\\\"\\\"/>\\n* A list of one or more `x`\\n* The `+` suffix adds `y` as a separator between each `x` and the next\\n\\nexamples\\n\\n<<<\\n\\n```\\n{x}\\t\\t\\t\\tone or more\\n```\\n<$railroad text=\\\"\\\"\\\" {x} \\\"\\\"\\\"/>\\n\\n```\\n{x +\\\",\\\"}\\t\\tone or more, comma-separated\\n```\\n\\n<$railroad text=\\\"\\\"\\\" {x +\\\",\\\"} \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; optional repeated\\n: <$railroad text=\\\"\\\"\\\" \\\"[{\\\" [\\\":\\\"] x [:\\\"+\\\" y] \\\"}]\\\" \\\"\\\"\\\"/>\\n* An optional list of `x`, i.e. a list of zero or more `x`\\n\\nexamples\\n\\n<<<\\n\\n```\\n[{:x}]\\t\\t\\tzero or more, normally included\\n```\\n\\n<$railroad text=\\\"\\\"\\\" [{:x}] \\\"\\\"\\\"/>\\n\\n```\\n[{:x +\\\",\\\"}]\\t\\tzero or more, comma-separated, normally included\\n```\\n\\n<$railroad text=\\\"\\\"\\\" [{:x +\\\",\\\"}] \\\"\\\"\\\"/>\\n\\n```\\n[{x}]\\t\\t\\tzero or more, normally omitted\\n```\\n\\n<$railroad text=\\\"\\\"\\\" [{x}] \\\"\\\"\\\"/>\\n\\n```\\n[{x +\\\",\\\"}]\\t\\tzero or more, comma-separated, normally omitted\\n```\\n\\n<$railroad text=\\\"\\\"\\\" [{x +\\\",\\\"}] \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n\\n---\\n\\n; choice\\n: <$railroad text=\\\"\\\"\\\" \\\"(\\\" {[:\\\":\\\"] x +\\\"|\\\"} \\\")\\\" \\\"\\\"\\\"/>\\n* A set of alternatives\\n* The colon indicates which branch appears straight ahead. By default, it's the first branch\\n\\nexamples\\n\\n<<<\\n\\n```\\n(x|y|z)\\t\\t\\talternatives\\n```\\n\\n<$railroad text=\\\"\\\"\\\" (x|y|z) \\\"\\\"\\\"/>\\n\\n```\\n(x|:y|z)\\t\\talternatives, normally y\\n```\\n\\n<$railroad text=\\\"\\\"\\\" (x|:y|z) \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; string / terminal\\n: <$railroad text={{$:/plugins/tiddlywiki/railroad/syntax-string}}/>\\n* A literal or terminal component\\n* This follows the normal ~TiddlyWiki rules for quoted strings\\n\\nexamples\\n\\n<<<\\n\\n```\\n\\\"x\\\"\\t\\t\\t\\tterminal\\n```\\n\\n<$railroad text=\\\"\\\"\\\" \\\"x\\\" \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; nonterminal\\n: <$railroad text=\\\"\\\"\\\" (name | \\\"<\\\" string \\\">\\\") \\\"\\\"\\\"/>\\n* A nonterminal component, i.e. the name of another diagram\\n\\nexamples\\n\\n<<<\\n\\n```\\n<\\\"x\\\">\\t\\t\\tnonterminal\\n```\\n\\n<$railroad text=\\\"\\\"\\\" <\\\"x\\\"> \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; comment\\n: <$railroad text=\\\"\\\"\\\" \\\"/\\\" string \\\"/\\\" \\\"\\\"\\\"/>\\n* A comment\\n\\nexamples\\n\\n<<<\\n\\n```\\n/ \\\"comment\\\" /\\t\\tcomment\\n```\\n\\n<$railroad text=\\\"\\\"\\\" / \\\"comment\\\" / \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; dummy\\n: <$railroad text=\\\"\\\"\\\" \\\"-\\\" \\\"\\\"\\\"/>\\n* The absence of a component\\n\\nexamples\\n\\n<<<\\n\\n```\\n-\\t\\tdummy\\n```\\n\\n<$railroad text=\\\"\\\"\\\" - \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; link\\n: <$railroad text=\\\"\\\"\\\" \\\"[[\\\" x \\\"|\\\" (name|string) \\\"]]\\\" \\\"\\\"\\\"/>\\n* A link to the tiddler title or URI given by the string or name\\n\\nexamples\\n\\n<<<\\n\\n```\\n[[x|\\\"tiddler\\\"]]\\t\\tlink\\n```\\n\\n<$railroad text=\\\"\\\"\\\" [[x|\\\"tiddler\\\"]] \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; transclusion\\n: <$railroad text=\\\"\\\"\\\" \\\"{{\\\" (name|string) \\\"}}\\\" \\\"\\\"\\\"/>\\n* Treats the content of another tiddler as diagram syntax and transcludes it into the current diagram\\n\\nexamples\\n\\n<<<\\n\\n```\\n{{\\\"$:/plugins/tiddlywiki/railroad/example-transclusion\\\"}}\\t\\ttransclusion\\n\\n// \\\"railroad transclusion example\\\" text\\t\\t<- text in the tidlder\\n\\n```\\n\\n<$railroad text=\\\"\\\"\\\" {{ \\\"$:/plugins/tiddlywiki/railroad/example-transclusion\\\" }} \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; arrow pragma\\n: <$railroad text=\\\"\\\"\\\" \\\"\\\\arrow\\\" (\\\"yes\\\" | \\\"no\\\") \\\"\\\"\\\"/>\\n* Controls whether repeat paths have an arrow on them\\n* Can be toggled on and off in mid-diagram, if desired\\n\\nexamples\\n\\n<<<\\n```\\n<$railroad text=\\\"\\\"\\\"\\n\\\\arrow yes\\n[{:x}]\\n\\\"\\\"\\\"/>\\n\\n```\\n\\n<$railroad text=\\\"\\\"\\\"\\\\arrow yes [{:x}] \\\"\\\"\\\"/>\\n\\n```\\n<$railroad text=\\\"\\\"\\\"\\n\\\\arrow no\\n[{:x}]\\n\\\"\\\"\\\"/>\\n```\\n\\n<$railroad text=\\\"\\\"\\\"\\\\arrow no [{:x}] \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; debug pragma\\n: <$railroad text=\\\"\\\"\\\" \\\"\\\\debug\\\" \\\"\\\"\\\"/>\\n* Causes the diagram to display its parse tree\\n\\nexamples\\n\\n<<<\\n\\n```\\n\\\\debug\\nx\\n```\\n\\n<$railroad text=\\\"\\\"\\\"\\\\debug x \\\"\\\"\\\"/>\\n\\n<<<\\n\\n\\n---\\n\\n; start/end pragma\\n: <$railroad text=\\\"\\\"\\\" (\\\"\\\\start\\\" |: \\\"\\\\end\\\") (\\\"none\\\" |: \\\"single\\\" | \\\"double\\\") \\\"\\\"\\\"/>\\n* Controls the style of the diagram's startpoint or endpoint\\nexamples\\n\\n<<<\\n\\n```\\n\\\\start none x\\n```\\n\\n<$railroad text=\\\"\\\"\\\" \\\\start none x \\\"\\\"\\\"/>\\n\\n```\\n\\\\start double \\n\\\\end double\\n x\\n```\\n\\n<$railroad text=\\\"\\\"\\\" \\\\start double \\n\\\\end double\\nx\\n\\\"\\\"\\\"/>\\n\\n<<<\\n\\n\"},\"$:/plugins/tiddlywiki/railroad/usage\":{\"title\":\"$:/plugins/tiddlywiki/railroad/usage\",\"created\":\"20150102163222184\",\"modified\":\"20150119231005000\",\"text\":\"The content of the `<$railroad>` widget is ignored.\\n\\n|!Attribute |!Description |!Default |\\n|text |Text in a special notation that defines the diagram's layout |-- |\\n|arrow |If set to `no`, repeat paths do not have an arrow on them |`yes` |\\n|start |Style of the startpoint: `single`, `double`, `none` |`single` |\\n|end |Style of the endpoint: `single`, `double`, `none` |`single` |\\n|debug |If set to `yes`, the diagram displays its parse tree |`no` |\\n\\nThese options can also be specified via pragmas in the diagram notation, or globally via a dictionary tiddler called `$:/config/railroad`:\\n\\n```\\narrow: yes\\nstart: single\\nend: single\\ndebug: no\\n```\\n\"},\"$:/plugins/tiddlywiki/railroad/railroad-diagrams.css\":{\"text\":\"\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock\\n\\n/* CSS modified for TiddlyWiki */\\n\\nsvg.railroad-diagram {\\n\\tbackground-color: <<colour background>>;\\n\\tborder-radius: 5px;\\n}\\n/*\\nsvg.railroad-diagram:hover {\\n\\tbackground-color: hsl(30,20%,96%);\\n}\\n*/\\nsvg.railroad-diagram path,\\nsvg.railroad-diagram rect {\\n\\tstroke-width: 2;\\n\\tstroke: <<colour message-border>>;\\n}\\nsvg.railroad-diagram path {\\n\\tfill: <<colour background>>;\\n}\\nsvg.railroad-diagram rect {\\n\\tfill: <<colour message-background>>;\\n}\\nsvg.railroad-diagram text {\\n\\tfont: 14px monospace;\\n\\ttext-anchor: middle;\\n\\tfill: <<colour message-foreground>>;\\n}\\nsvg.railroad-diagram text.label {\\n\\ttext-anchor: start;\\n}\\nsvg.railroad-diagram text.comment {\\n\\tfont: italic 12px monospace;\\n}\\nsvg.railroad-diagram path.arrow {\\n stroke-width: 2;\\n}\",\"type\":\"text/vnd.tiddlywiki\",\"title\":\"$:/plugins/tiddlywiki/railroad/railroad-diagrams.css\",\"tags\":\"$:/tags/Stylesheet\"},\"$:/plugins/tiddlywiki/railroad/railroad-diagrams.js\":{\"text\":\"(function(document) {\\n/* TiddlyWiki: modifications to the original library are commented like this */\\n\\n/*\\nRailroad Diagrams\\nby Tab Atkins Jr. (and others)\\nhttp://xanthir.com\\nhttp://twitter.com/tabatkins\\nhttp://github.com/tabatkins/railroad-diagrams\\n\\nThis document and all associated files in the github project are licensed under CC0: http://creativecommons.org/publicdomain/zero/1.0/\\nThis means you can reuse, remix, or otherwise appropriate this project for your own use WITHOUT RESTRICTION.\\n(The actual legal meaning can be found at the above link.)\\nDon't ask me for permission to use any part of this project, JUST USE IT.\\nI would appreciate attribution, but that is not required by the license.\\n*/\\n\\n/*\\nThis file uses a module pattern to avoid leaking names into the global scope.\\nThe only accidental leakage is the name \\\"temp\\\".\\nThe exported names can be found at the bottom of this file;\\nsimply change the names in the array of strings to change what they are called in your application.\\n\\nAs well, several configuration constants are passed into the module function at the bottom of this file.\\nAt runtime, these constants can be found on the Diagram class.\\n*/\\n\\nvar temp = (function(options) {\\n\\tfunction subclassOf(baseClass, superClass) {\\n\\t\\tbaseClass.prototype = Object.create(superClass.prototype);\\n\\t\\tbaseClass.prototype.$super = superClass.prototype;\\n\\t}\\n\\n\\tfunction unnull(/* children */) {\\n\\t\\treturn [].slice.call(arguments).reduce(function(sofar, x) { return sofar !== undefined ? sofar : x; });\\n\\t}\\n\\n\\tfunction determineGaps(outer, inner) {\\n\\t\\tvar diff = outer - inner;\\n\\t\\tswitch(Diagram.INTERNAL_ALIGNMENT) {\\n\\t\\t\\tcase 'left': return [0, diff]; break;\\n\\t\\t\\tcase 'right': return [diff, 0]; break;\\n\\t\\t\\tcase 'center':\\n\\t\\t\\tdefault: return [diff/2, diff/2]; break;\\n\\t\\t}\\n\\t}\\n\\n\\tfunction wrapString(value) {\\n\\t\\treturn ((typeof value) == 'string') ? new Terminal(value) : value;\\n\\t}\\n\\n\\n\\tfunction SVG(name, attrs, text) {\\n\\t\\tattrs = attrs || {};\\n\\t\\ttext = text || '';\\n\\t\\tvar el = document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",name);\\n\\t\\tfor(var attr in attrs) {\\n\\t\\t\\tel.setAttribute(attr, attrs[attr]);\\n\\t\\t}\\n\\t\\tel.textContent = text;\\n\\t\\treturn el;\\n\\t}\\n\\n\\tfunction FakeSVG(tagName, attrs, text){\\n\\t\\tif(!(this instanceof FakeSVG)) return new FakeSVG(tagName, attrs, text);\\n\\t\\tif(text) this.children = text;\\n\\t\\telse this.children = [];\\n\\t\\tthis.tagName = tagName;\\n\\t\\tthis.attrs = unnull(attrs, {});\\n\\t\\treturn this;\\n\\t};\\n\\tFakeSVG.prototype.format = function(x, y, width) {\\n\\t\\t// Virtual\\n\\t};\\n\\tFakeSVG.prototype.addTo = function(parent) {\\n\\t\\tif(parent instanceof FakeSVG) {\\n\\t\\t\\tparent.children.push(this);\\n\\t\\t\\treturn this;\\n\\t\\t} else {\\n\\t\\t\\tvar svg = this.toSVG();\\n\\t\\t\\tparent.appendChild(svg);\\n\\t\\t\\treturn svg;\\n\\t\\t}\\n\\t};\\n\\tFakeSVG.prototype.toSVG = function() {\\n\\t\\tvar el = SVG(this.tagName, this.attrs);\\n\\t\\tif(typeof this.children == 'string') {\\n\\t\\t\\tel.textContent = this.children;\\n\\t\\t} else {\\n\\t\\t\\tthis.children.forEach(function(e) {\\n\\t\\t\\t\\tel.appendChild(e.toSVG());\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\treturn el;\\n\\t};\\n\\tFakeSVG.prototype.toString = function() {\\n\\t\\tvar str = '<' + this.tagName;\\n\\t\\tvar group = this.tagName == \\\"g\\\" || this.tagName == \\\"svg\\\";\\n\\t\\tfor(var attr in this.attrs) {\\n\\t\\t\\tstr += ' ' + attr + '=\\\"' + (this.attrs[attr]+'').replace(/&/g, '&amp;').replace(/\\\"/g, '&quot;') + '\\\"';\\n\\t\\t}\\n\\t\\tstr += '>';\\n\\t\\tif(group) str += \\\"\\\\n\\\";\\n\\t\\tif(typeof this.children == 'string') {\\n\\t\\t\\tstr += this.children.replace(/&/g, '&amp;').replace(/</g, '&lt;');\\n\\t\\t} else {\\n\\t\\t\\tthis.children.forEach(function(e) {\\n\\t\\t\\t\\tstr += e;\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\tstr += '</' + this.tagName + '>\\\\n';\\n\\t\\treturn str;\\n\\t}\\n\\n\\tfunction Path(x,y,attrs) {\\n\\t\\tif(!(this instanceof Path)) return new Path(x,y,attrs);\\n\\t\\tFakeSVG.call(this, 'path', attrs);\\n\\t\\tthis.attrs.d = \\\"M\\\"+x+' '+y;\\n\\t}\\n\\tsubclassOf(Path, FakeSVG);\\n\\tPath.prototype.m = function(x,y) {\\n\\t\\tthis.attrs.d += 'm'+x+' '+y;\\n\\t\\treturn this;\\n\\t}\\n\\tPath.prototype.h = function(val) {\\n\\t\\tthis.attrs.d += 'h'+val;\\n\\t\\treturn this;\\n\\t}\\n\\tPath.prototype.right = Path.prototype.h;\\n\\tPath.prototype.left = function(val) { return this.h(-val); }\\n\\tPath.prototype.v = function(val) {\\n\\t\\tthis.attrs.d += 'v'+val;\\n\\t\\treturn this;\\n\\t}\\n\\tPath.prototype.down = Path.prototype.v;\\n\\tPath.prototype.up = function(val) { return this.v(-val); }\\n\\tPath.prototype.arc = function(sweep){\\n\\t\\tvar x = Diagram.ARC_RADIUS;\\n\\t\\tvar y = Diagram.ARC_RADIUS;\\n\\t\\tif(sweep[0] == 'e' || sweep[1] == 'w') {\\n\\t\\t\\tx *= -1;\\n\\t\\t}\\n\\t\\tif(sweep[0] == 's' || sweep[1] == 'n') {\\n\\t\\t\\ty *= -1;\\n\\t\\t}\\n\\t\\tif(sweep == 'ne' || sweep == 'es' || sweep == 'sw' || sweep == 'wn') {\\n\\t\\t\\tvar cw = 1;\\n\\t\\t} else {\\n\\t\\t\\tvar cw = 0;\\n\\t\\t}\\n\\t\\tthis.attrs.d += \\\"a\\\"+Diagram.ARC_RADIUS+\\\" \\\"+Diagram.ARC_RADIUS+\\\" 0 0 \\\"+cw+' '+x+' '+y;\\n\\t\\treturn this;\\n\\t}\\n\\tPath.prototype.format = function() {\\n\\t\\t// All paths in this library start/end horizontally.\\n\\t\\t// The extra .5 ensures a minor overlap, so there's no seams in bad rasterizers.\\n\\t\\tthis.attrs.d += 'h.5';\\n\\t\\treturn this;\\n\\t}\\n/* TiddlyWiki: added support for arbitrary straight lines */\\n\\tPath.prototype.line = function(dx,dy) {\\n\\t\\tthis.attrs.d += \\\"l\\\"+dx+\\\" \\\"+dy;\\n\\t\\treturn this;\\n\\t}\\n\\n/* TiddlyWiki: added twOptions parameter, passing it to Start() and End() */\\n\\tfunction Diagram(twOptions, items) {\\n\\t\\tif(!(this instanceof Diagram)) return new Diagram(twOptions, [].slice.call(arguments,1));\\n\\t\\tFakeSVG.call(this, 'svg', {class: Diagram.DIAGRAM_CLASS});\\n\\t\\tthis.items = items.map(wrapString);\\n\\t\\tthis.items.unshift(new Start(twOptions.start));\\n\\t\\tthis.items.push(new End(twOptions.end));\\n\\t\\tthis.width = this.items.reduce(function(sofar, el) { return sofar + el.width + (el.needsSpace?20:0)}, 0)+1;\\n\\t\\tthis.up = Math.max.apply(null, this.items.map(function (x) { return x.up; }));\\n\\t\\tthis.down = Math.max.apply(null, this.items.map(function (x) { return x.down; }));\\n\\t\\tthis.formatted = false;\\t\\t\\n\\t}\\n\\tsubclassOf(Diagram, FakeSVG);\\n\\tfor(var option in options) {\\n\\t\\tDiagram[option] = options[option];\\n\\t}\\n\\tDiagram.prototype.format = function(paddingt, paddingr, paddingb, paddingl) {\\n\\t\\tpaddingt = unnull(paddingt, 20);\\n\\t\\tpaddingr = unnull(paddingr, paddingt, 20);\\n\\t\\tpaddingb = unnull(paddingb, paddingt, 20);\\n\\t\\tpaddingl = unnull(paddingl, paddingr, 20);\\n\\t\\tvar x = paddingl;\\n\\t\\tvar y = paddingt;\\n\\t\\ty += this.up;\\n\\t\\tvar g = FakeSVG('g', Diagram.STROKE_ODD_PIXEL_LENGTH ? {transform:'translate(.5 .5)'} : {});\\n\\t\\tfor(var i = 0; i < this.items.length; i++) {\\n\\t\\t\\tvar item = this.items[i];\\n\\t\\t\\tif(item.needsSpace) {\\n\\t\\t\\t\\tPath(x,y).h(10).addTo(g);\\n\\t\\t\\t\\tx += 10;\\n\\t\\t\\t}\\n\\t\\t\\titem.format(x, y, item.width).addTo(g);\\n\\t\\t\\tx += item.width;\\n\\t\\t\\tif(item.needsSpace) {\\n\\t\\t\\t\\tPath(x,y).h(10).addTo(g);\\n\\t\\t\\t\\tx += 10;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.attrs.width = this.width + paddingl + paddingr;\\n\\t\\tthis.attrs.height = this.up + this.down + paddingt + paddingb;\\n\\t\\tthis.attrs.viewBox = \\\"0 0 \\\" + this.attrs.width + \\\" \\\" + this.attrs.height;\\n\\t\\tg.addTo(this);\\n\\t\\tthis.formatted = true;\\n\\t\\treturn this;\\n\\t}\\n\\tDiagram.prototype.addTo = function(parent) {\\n\\t\\tvar scriptTag = document.getElementsByTagName('script');\\n\\t\\tscriptTag = scriptTag[scriptTag.length - 1];\\n\\t\\tvar parentTag = scriptTag.parentNode;\\n\\t\\tparent = parent || parentTag;\\n\\t\\treturn this.$super.addTo.call(this, parent);\\n\\t}\\n\\tDiagram.prototype.toSVG = function() {\\n\\t\\tif (!this.formatted) {\\n\\t\\t\\tthis.format();\\n\\t\\t}\\n\\t\\treturn this.$super.toSVG.call(this);\\n\\t}\\n\\tDiagram.prototype.toString = function() {\\n\\t\\tif (!this.formatted) {\\n\\t\\t\\tthis.format();\\n\\t\\t}\\n\\t\\treturn this.$super.toString.call(this);\\n\\t}\\n\\n\\tfunction Sequence(items) {\\n\\t\\tif(!(this instanceof Sequence)) return new Sequence([].slice.call(arguments));\\n\\t\\tFakeSVG.call(this, 'g');\\n\\t\\tthis.items = items.map(wrapString);\\n\\t\\tthis.width = this.items.reduce(function(sofar, el) { return sofar + el.width + (el.needsSpace?20:0)}, 0);\\n\\t\\tthis.up = this.items.reduce(function(sofar,el) { return Math.max(sofar, el.up)}, 0);\\n\\t\\tthis.down = this.items.reduce(function(sofar,el) { return Math.max(sofar, el.down)}, 0);\\n\\t}\\n\\tsubclassOf(Sequence, FakeSVG);\\n\\tSequence.prototype.format = function(x,y,width) {\\n\\t\\t// Hook up the two sides if this is narrower than its stated width.\\n\\t\\tvar gaps = determineGaps(width, this.width);\\n\\t\\tPath(x,y).h(gaps[0]).addTo(this);\\n\\t\\tPath(x+gaps[0]+this.width,y).h(gaps[1]).addTo(this);\\n\\t\\tx += gaps[0];\\n\\n\\t\\tfor(var i = 0; i < this.items.length; i++) {\\n\\t\\t\\tvar item = this.items[i];\\n\\t\\t\\tif(item.needsSpace) {\\n\\t\\t\\t\\tPath(x,y).h(10).addTo(this);\\n\\t\\t\\t\\tx += 10;\\n\\t\\t\\t}\\n\\t\\t\\titem.format(x, y, item.width).addTo(this);\\n\\t\\t\\tx += item.width;\\n\\t\\t\\tif(item.needsSpace) {\\n\\t\\t\\t\\tPath(x,y).h(10).addTo(this);\\n\\t\\t\\t\\tx += 10;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction Choice(normal, items) {\\n\\t\\tif(!(this instanceof Choice)) return new Choice(normal, [].slice.call(arguments,1));\\n\\t\\tFakeSVG.call(this, 'g');\\n\\t\\tif( typeof normal !== \\\"number\\\" || normal !== Math.floor(normal) ) {\\n\\t\\t\\tthrow new TypeError(\\\"The first argument of Choice() must be an integer.\\\");\\n\\t\\t} else if(normal < 0 || normal >= items.length) {\\n\\t\\t\\tthrow new RangeError(\\\"The first argument of Choice() must be an index for one of the items.\\\");\\n\\t\\t} else {\\n\\t\\t\\tthis.normal = normal;\\n\\t\\t}\\n\\t\\tthis.items = items.map(wrapString);\\n\\t\\tthis.width = this.items.reduce(function(sofar, el){return Math.max(sofar, el.width)},0) + Diagram.ARC_RADIUS*4;\\n\\t\\tthis.up = this.down = 0;\\n\\t\\tfor(var i = 0; i < this.items.length; i++) {\\n\\t\\t\\tvar item = this.items[i];\\n\\t\\t\\tif(i < normal) { this.up += Math.max(Diagram.ARC_RADIUS,item.up + item.down + Diagram.VERTICAL_SEPARATION); }\\n\\t\\t\\tif(i == normal) { this.up += Math.max(Diagram.ARC_RADIUS, item.up); this.down += Math.max(Diagram.ARC_RADIUS, item.down); }\\n\\t\\t\\tif(i > normal) { this.down += Math.max(Diagram.ARC_RADIUS,Diagram.VERTICAL_SEPARATION + item.up + item.down); }\\n\\t\\t}\\n\\t}\\n\\tsubclassOf(Choice, FakeSVG);\\n\\tChoice.prototype.format = function(x,y,width) {\\n\\t\\t// Hook up the two sides if this is narrower than its stated width.\\n\\t\\tvar gaps = determineGaps(width, this.width);\\n\\t\\tPath(x,y).h(gaps[0]).addTo(this);\\n\\t\\tPath(x+gaps[0]+this.width,y).h(gaps[1]).addTo(this);\\n\\t\\tx += gaps[0];\\n\\n\\t\\tvar last = this.items.length -1;\\n\\t\\tvar innerWidth = this.width - Diagram.ARC_RADIUS*4;\\n\\n\\t\\t// Do the elements that curve above\\n\\t\\tfor(var i = this.normal - 1; i >= 0; i--) {\\n\\t\\t\\tvar item = this.items[i];\\n\\t\\t\\tif( i == this.normal - 1 ) {\\n\\t\\t\\t\\tvar distanceFromY = Math.max(Diagram.ARC_RADIUS*2, this.items[i+1].up + Diagram.VERTICAL_SEPARATION + item.down);\\n\\t\\t\\t}\\n\\t\\t\\tPath(x,y).arc('se').up(distanceFromY - Diagram.ARC_RADIUS*2).arc('wn').addTo(this);\\n\\t\\t\\titem.format(x+Diagram.ARC_RADIUS*2,y - distanceFromY,innerWidth).addTo(this);\\n\\t\\t\\tPath(x+Diagram.ARC_RADIUS*2+innerWidth, y-distanceFromY).arc('ne').down(distanceFromY - Diagram.ARC_RADIUS*2).arc('ws').addTo(this);\\n\\t\\t\\tdistanceFromY += Math.max(Diagram.ARC_RADIUS, item.up + Diagram.VERTICAL_SEPARATION + (i == 0 ? 0 : this.items[i-1].down));\\n\\t\\t}\\n\\n\\t\\t// Do the straight-line path.\\n\\t\\tPath(x,y).right(Diagram.ARC_RADIUS*2).addTo(this);\\n\\t\\tthis.items[this.normal].format(x+Diagram.ARC_RADIUS*2, y, innerWidth).addTo(this);\\n\\t\\tPath(x+Diagram.ARC_RADIUS*2+innerWidth, y).right(Diagram.ARC_RADIUS*2).addTo(this);\\n\\n\\t\\t// Do the elements that curve below\\n\\t\\tfor(var i = this.normal+1; i <= last; i++) {\\n\\t\\t\\tvar item = this.items[i];\\n\\t\\t\\tif( i == this.normal + 1 ) {\\n\\t\\t\\t\\tvar distanceFromY = Math.max(Diagram.ARC_RADIUS*2, this.items[i-1].down + Diagram.VERTICAL_SEPARATION + item.up);\\n\\t\\t\\t}\\n\\t\\t\\tPath(x,y).arc('ne').down(distanceFromY - Diagram.ARC_RADIUS*2).arc('ws').addTo(this);\\n\\t\\t\\titem.format(x+Diagram.ARC_RADIUS*2, y+distanceFromY, innerWidth).addTo(this);\\n\\t\\t\\tPath(x+Diagram.ARC_RADIUS*2+innerWidth, y+distanceFromY).arc('se').up(distanceFromY - Diagram.ARC_RADIUS*2).arc('wn').addTo(this);\\n\\t\\t\\tdistanceFromY += Math.max(Diagram.ARC_RADIUS, item.down + Diagram.VERTICAL_SEPARATION + (i == last ? 0 : this.items[i+1].up));\\n\\t\\t}\\n\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction Optional(item, skip) {\\n\\t\\tif( skip === undefined )\\n\\t\\t\\treturn Choice(1, Skip(), item);\\n\\t\\telse if ( skip === \\\"skip\\\" )\\n\\t\\t\\treturn Choice(0, Skip(), item);\\n\\t\\telse\\n\\t\\t\\tthrow \\\"Unknown value for Optional()'s 'skip' argument.\\\";\\n\\t}\\n\\n/* TiddlyWiki: added wantArrow */\\n\\tfunction OneOrMore(item, rep, wantArrow) {\\n\\t\\tif(!(this instanceof OneOrMore)) return new OneOrMore(item, rep, wantArrow);\\n\\t\\tFakeSVG.call(this, 'g');\\n\\n/* TiddlyWiki: code added */\\n\\t\\tthis.wantArrow = wantArrow;\\n\\n\\t\\trep = rep || (new Skip);\\n\\t\\tthis.item = wrapString(item);\\n\\t\\tthis.rep = wrapString(rep);\\n\\t\\tthis.width = Math.max(this.item.width, this.rep.width) + Diagram.ARC_RADIUS*2;\\n\\t\\tthis.up = this.item.up;\\n\\t\\tthis.down = Math.max(Diagram.ARC_RADIUS*2, this.item.down + Diagram.VERTICAL_SEPARATION + this.rep.up + this.rep.down);\\n\\n/* TiddlyWiki: moved calculation of distanceFromY (of the repeat arc) to here */\\n\\t\\tthis.distanceFromY = Math.max(Diagram.ARC_RADIUS*2, this.item.down+Diagram.VERTICAL_SEPARATION+this.rep.up);\\n\\t}\\n\\tsubclassOf(OneOrMore, FakeSVG);\\n\\tOneOrMore.prototype.needsSpace = true;\\n\\tOneOrMore.prototype.format = function(x,y,width) {\\n\\t\\t// Hook up the two sides if this is narrower than its stated width.\\n\\t\\tvar gaps = determineGaps(width, this.width);\\n\\t\\tPath(x,y).h(gaps[0]).addTo(this);\\n\\t\\tPath(x+gaps[0]+this.width,y).h(gaps[1]).addTo(this);\\n\\t\\tx += gaps[0];\\n\\n\\t\\t// Draw item\\n\\t\\tPath(x,y).right(Diagram.ARC_RADIUS).addTo(this);\\n\\t\\tthis.item.format(x+Diagram.ARC_RADIUS,y,this.width-Diagram.ARC_RADIUS*2).addTo(this);\\n\\t\\tPath(x+this.width-Diagram.ARC_RADIUS,y).right(Diagram.ARC_RADIUS).addTo(this);\\n\\n\\t\\t// Draw repeat arc\\n/* TiddlyWiki: moved calculation of distanceFromY from here to constructor */\\n\\t\\tvar distanceFromY = this.distanceFromY;\\n\\t\\t\\n\\t\\tPath(x+Diagram.ARC_RADIUS,y).arc('nw').down(distanceFromY-Diagram.ARC_RADIUS*2).arc('ws').addTo(this);\\n\\t\\tthis.rep.format(x+Diagram.ARC_RADIUS, y+distanceFromY, this.width - Diagram.ARC_RADIUS*2).addTo(this);\\n\\t\\tPath(x+this.width-Diagram.ARC_RADIUS, y+distanceFromY).arc('se').up(distanceFromY-Diagram.ARC_RADIUS*2).arc('en').addTo(this);\\n\\t\\t\\n/* TiddlyWiki: code added */\\n\\t\\tif(this.wantArrow) {\\n\\t\\t\\tvar arrowSize = Diagram.ARC_RADIUS/2;\\n\\t\\t\\t// Compensate for the illusion that makes the arrow look unbalanced if it's too close to the curve below it\\n\\t\\t\\tvar multiplier = (distanceFromY < arrowSize*5) ? 1.2 : 1;\\n\\t\\t\\tPath(x-arrowSize, y+distanceFromY/2 + arrowSize/2, {class:\\\"arrow\\\"}).\\n\\t\\t\\t\\tline(arrowSize, -arrowSize).line(arrowSize*multiplier, arrowSize).addTo(this);\\n\\t\\t}\\n\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction ZeroOrMore(item, rep, skip, wantArrow) {\\n\\t\\treturn Optional(OneOrMore(item, rep, wantArrow), skip);\\n\\t}\\n\\n/* TiddlyWiki: added type parameter */\\n\\tfunction Start(type) {\\n\\t\\tif(!(this instanceof Start)) return new Start(type);\\n\\t\\tFakeSVG.call(this, 'path');\\n\\t\\tthis.type = type || 'single'\\n\\t\\tthis.width = (this.type === 'double') ? 20 : 10;\\n\\t\\tthis.up = 10;\\n\\t\\tthis.down = 10;\\n\\t}\\n\\tsubclassOf(Start, FakeSVG);\\n\\tStart.prototype.format = function(x,y) {\\n/* TiddlyWiki: added types */\\n\\t\\tif(this.type === 'single') {\\n\\t\\t\\tthis.attrs.d = 'M '+x+' '+(y-10)+' v 20 m 0 -10 h 10.5';\\n\\t\\t} else if(this.type === 'double') {\\n\\t\\t\\tthis.attrs.d = 'M '+x+' '+(y-10)+' v 20 m 10 -20 v 20 m -10 -10 h 20.5';\\n\\t\\t} else { // 'none'\\n\\t\\t\\tthis.attrs.d = 'M '+x+' '+y+' h 10.5';\\n\\t\\t}\\n\\t\\treturn this;\\n\\t}\\n\\n/* TiddlyWiki: added type parameter */\\n\\tfunction End(type) {\\n\\t\\tif(!(this instanceof End)) return new End(type);\\n\\t\\tFakeSVG.call(this, 'path');\\n\\t\\tthis.type = type || 'double';\\n\\t\\tthis.width = (this.type === 'double') ? 20 : 10;\\n\\t\\tthis.up = 10;\\n\\t\\tthis.down = 10;\\n\\t}\\n\\tsubclassOf(End, FakeSVG);\\n\\tEnd.prototype.format = function(x,y) {\\n/* TiddlyWiki: added types */\\n\\t\\tif(this.type === 'single') {\\n\\t\\t\\tthis.attrs.d = 'M '+x+' '+y+' h 10 m 0 -10 v 20';\\n\\t\\t} else if(this.type === 'double') {\\n\\t\\t\\tthis.attrs.d = 'M '+x+' '+y+' h 20 m -10 -10 v 20 m 10 -20 v 20';\\n\\t\\t} else { // 'none'\\n\\t\\t\\tthis.attrs.d = 'M '+x+' '+y+' h 10';\\n\\t\\t}\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction Terminal(text) {\\n\\t\\tif(!(this instanceof Terminal)) return new Terminal(text);\\n\\t\\tFakeSVG.call(this, 'g');\\n\\t\\tthis.text = text;\\n\\t\\tthis.width = text.length * 8 + 20; /* Assume that each char is .5em, and that the em is 16px */\\n\\t\\tthis.up = 11;\\n\\t\\tthis.down = 11;\\n\\t}\\n\\tsubclassOf(Terminal, FakeSVG);\\n\\tTerminal.prototype.needsSpace = true;\\n\\tTerminal.prototype.format = function(x, y, width) {\\n\\t\\t// Hook up the two sides if this is narrower than its stated width.\\n\\t\\tvar gaps = determineGaps(width, this.width);\\n\\t\\tPath(x,y).h(gaps[0]).addTo(this);\\n\\t\\tPath(x+gaps[0]+this.width,y).h(gaps[1]).addTo(this);\\n\\t\\tx += gaps[0];\\n\\n\\t\\tFakeSVG('rect', {x:x, y:y-11, width:this.width, height:this.up+this.down, rx:10, ry:10}).addTo(this);\\n\\t\\tFakeSVG('text', {x:x+this.width/2, y:y+4}, this.text).addTo(this);\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction NonTerminal(text) {\\n\\t\\tif(!(this instanceof NonTerminal)) return new NonTerminal(text);\\n\\t\\tFakeSVG.call(this, 'g');\\n\\t\\tthis.text = text;\\n\\t\\tthis.width = text.length * 8 + 20;\\n\\t\\tthis.up = 11;\\n\\t\\tthis.down = 11;\\n\\t}\\n\\tsubclassOf(NonTerminal, FakeSVG);\\n\\tNonTerminal.prototype.needsSpace = true;\\n\\tNonTerminal.prototype.format = function(x, y, width) {\\n\\t\\t// Hook up the two sides if this is narrower than its stated width.\\n\\t\\tvar gaps = determineGaps(width, this.width);\\n\\t\\tPath(x,y).h(gaps[0]).addTo(this);\\n\\t\\tPath(x+gaps[0]+this.width,y).h(gaps[1]).addTo(this);\\n\\t\\tx += gaps[0];\\n\\n\\t\\tFakeSVG('rect', {x:x, y:y-11, width:this.width, height:this.up+this.down}).addTo(this);\\n\\t\\tFakeSVG('text', {x:x+this.width/2, y:y+4}, this.text).addTo(this);\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction Comment(text) {\\n\\t\\tif(!(this instanceof Comment)) return new Comment(text);\\n\\t\\tFakeSVG.call(this, 'g');\\n\\t\\tthis.text = text;\\n\\t\\tthis.width = text.length * 7 + 10;\\n\\t\\tthis.up = 11;\\n\\t\\tthis.down = 11;\\n\\t}\\n\\tsubclassOf(Comment, FakeSVG);\\n\\tComment.prototype.needsSpace = true;\\n\\tComment.prototype.format = function(x, y, width) {\\n\\t\\t// Hook up the two sides if this is narrower than its stated width.\\n\\t\\tvar gaps = determineGaps(width, this.width);\\n\\t\\tPath(x,y).h(gaps[0]).addTo(this);\\n\\t\\tPath(x+gaps[0]+this.width,y).h(gaps[1]).addTo(this);\\n\\t\\tx += gaps[0];\\n\\n\\t\\tFakeSVG('text', {x:x+this.width/2, y:y+5, class:'comment'}, this.text).addTo(this);\\n\\t\\treturn this;\\n\\t}\\n\\n\\tfunction Skip() {\\n\\t\\tif(!(this instanceof Skip)) return new Skip();\\n\\t\\tFakeSVG.call(this, 'g');\\n\\t\\tthis.width = 0;\\n\\t\\tthis.up = 0;\\n\\t\\tthis.down = 0;\\n\\t}\\n\\tsubclassOf(Skip, FakeSVG);\\n\\tSkip.prototype.format = function(x, y, width) {\\n\\t\\tPath(x,y).right(width).addTo(this);\\n\\t\\treturn this;\\n\\t}\\n\\t\\n/* TiddlyWiki: added linking ability */\\n\\tfunction Link(item,options) {\\n\\t\\tif(!(this instanceof Link)) return new Link(item,options);\\n\\t\\tFakeSVG.call(this,'a',options);\\n\\t\\tthis.item = item;\\n\\t\\tthis.width = item.width;\\n\\t\\tthis.up = item.up;\\n\\t\\tthis.down = item.down;\\n\\t}\\n\\tsubclassOf(Link, FakeSVG);\\n\\tLink.prototype.needsSpace = true;\\n\\tLink.prototype.format = function(x, y, width) {\\n\\t\\tthis.item.format(x,y,width).addTo(this);\\n\\t\\treturn this;\\n\\t}\\n\\n/* TiddlyWiki: this block replaces the export mechanism in the original library */\\n\\tif (exports) {\\n\\t\\texports.Diagram = Diagram;\\n\\t\\texports.Sequence = Sequence;\\n\\t\\texports.Choice = Choice;\\n\\t\\texports.Optional = Optional;\\n\\t\\texports.OneOrMore = OneOrMore;\\n\\t\\texports.ZeroOrMore = ZeroOrMore;\\n\\t\\texports.Terminal = Terminal;\\n\\t\\texports.NonTerminal = NonTerminal;\\n\\t\\texports.Comment = Comment;\\n\\t\\texports.Skip = Skip;\\n\\t\\texports.Link = Link;\\n\\t};\\n})(\\n\\t{\\n\\tVERTICAL_SEPARATION: 8,\\n\\tARC_RADIUS: 10,\\n\\tDIAGRAM_CLASS: 'railroad-diagram',\\n\\tSTROKE_ODD_PIXEL_LENGTH: true,\\n\\tINTERNAL_ALIGNMENT: 'center',\\n\\t}\\n);\\n\\n/* TiddlyWiki: removed assignments to properties of the window object */\\n\\n})($tw.node ? $tw.fakeDocument : window.document)\\n\",\"type\":\"application/javascript\",\"title\":\"$:/plugins/tiddlywiki/railroad/railroad-diagrams.js\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/railroad/parser.js\":{\"title\":\"$:/plugins/tiddlywiki/railroad/parser.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/tiddlywiki/railroad/parser.js\\ntype: application/javascript\\nmodule-type: library\\n\\nParser for the source of a railroad diagram.\\n\\nx y z\\t\\t\\tsequence\\n<-x y z->\\t\\texplicit sequence\\n[:x]\\t\\t\\toptional, normally included\\n[x]\\t\\t\\t\\toptional, normally omitted\\n{x}\\t\\t\\t\\tone or more\\n{x +\\\",\\\"}\\t\\tone or more, comma-separated\\n[{:x}]\\t\\t\\tzero or more, normally included\\n[{:x +\\\",\\\"}]\\t\\tzero or more, comma-separated, normally included\\n[{x}]\\t\\t\\tzero or more, normally omitted\\n[{x +\\\",\\\"}]\\t\\tzero or more, comma-separated, normally omitted\\n(x|y|z)\\t\\t\\talternatives\\n(x|:y|z)\\t\\talternatives, normally y\\n\\\"x\\\"\\t\\t\\t\\tterminal\\n<\\\"x\\\">\\t\\t\\tnonterminal\\n/\\\"blah\\\"/\\t\\tcomment\\n-\\t\\t\\t\\tdummy\\n[[x|\\\"tiddler\\\"]]\\tlink\\n{{\\\"tiddler\\\"}}\\ttransclusion\\n\\n\\\"x\\\" can also be written 'x' or \\\"\\\"\\\"x\\\"\\\"\\\"\\n\\npragmas:\\n\\t\\\\arrow yes|no\\n\\t\\\\debug yes|no\\n\\t\\\\start single|double|none\\n\\t\\\\end single|double|none\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar components = require(\\\"$:/plugins/tiddlywiki/railroad/components.js\\\").components;\\n\\nvar Parser = function(widget,source,options) {\\n\\tthis.widget = widget;\\n\\tthis.source = source;\\n\\tthis.options = options;\\n\\tthis.tokens = this.tokenise(source);\\n\\tthis.tokenPos = 0;\\n\\tthis.advance();\\n\\tthis.content = this.parseContent();\\n\\tthis.root = new components.Root(this.content);\\n\\tthis.checkFinished();\\n};\\n\\n/////////////////////////// Parser dispatch\\n\\nParser.prototype.parseContent = function() {\\n\\tvar content = [];\\n\\t// Parse zero or more components\\n\\twhile(true) {\\n\\t\\tvar component = this.parseComponent();\\n\\t\\tif(!component) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tif(!component.isPragma) {\\n\\t\\t\\tcontent.push(component);\\n\\t\\t}\\n\\t}\\n\\treturn content;\\n};\\n\\nParser.prototype.parseComponent = function() {\\n\\tvar component = null;\\n\\tif(this.token) {\\n\\t\\tif(this.at(\\\"string\\\")) {\\n\\t\\t\\tcomponent = this.parseTerminal();\\n\\t\\t} else if(this.at(\\\"name\\\")) {\\n\\t\\t\\tcomponent = this.parseName();\\n\\t\\t} else if(this.at(\\\"pragma\\\")) {\\n\\t\\t\\tcomponent = this.parsePragma();\\n\\t\\t} else {\\n\\t\\t\\tswitch(this.token.value) {\\n\\t\\t\\t\\tcase \\\"[\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseOptional();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"{\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseRepeated();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"<\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseNonterminal();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"(\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseChoice();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"/\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseComment();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"[[\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseLink();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"{{\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseTransclusion();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"<-\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseSequence();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"-\\\":\\n\\t\\t\\t\\t\\tcomponent = this.parseDummy();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn component;\\n};\\n\\n/////////////////////////// Specific components\\n\\nParser.prototype.parseChoice = function() {\\n\\t// Consume the (\\n\\tthis.advance();\\n\\tvar content = [],\\n\\t\\tcolon = -1;\\n\\tdo {\\n\\t\\t// Allow at most one branch to be prefixed with a colon\\n\\t\\tif(colon === -1 && this.eat(\\\":\\\")) {\\n\\t\\t\\tcolon = content.length;\\n\\t\\t}\\n\\t\\t// Parse the next branch\\n\\t\\tcontent.push(this.parseContent());\\n\\t} while(this.eat(\\\"|\\\"));\\n\\t// Consume the closing bracket\\n\\tthis.close(\\\")\\\");\\n\\t// Create a component\\n\\treturn new components.Choice(content,colon === -1 ? 0 : colon);\\n};\\n\\nParser.prototype.parseComment = function() {\\n\\t// Consume the /\\n\\tthis.advance();\\n\\t// The comment's content should be in a string literal\\n\\tvar content = this.expectString(\\\"after /\\\");\\n\\t// Consume the closing /\\n\\tthis.close(\\\"/\\\");\\n\\t// Create a component\\n\\treturn new components.Comment(content);\\n};\\n\\nParser.prototype.parseDummy = function() {\\n\\t// Consume the -\\n\\tthis.advance();\\n\\t// Create a component\\n\\treturn new components.Dummy();\\n};\\n\\nParser.prototype.parseLink = function() {\\n\\t// Consume the [[\\n\\tthis.advance();\\n\\t// Parse the content\\n\\tvar content = this.parseContent();\\n\\t// Consume the |\\n\\tthis.expect(\\\"|\\\");\\n\\t// Consume the target\\n\\tvar target = this.expectNameOrString(\\\"as link target\\\");\\n\\t// Prepare some attributes for the SVG \\\"a\\\" element to carry\\n\\tvar options = {\\\"data-tw-target\\\": target};\\n\\tif($tw.utils.isLinkExternal(target)) {\\n\\t\\toptions[\\\"data-tw-external\\\"] = true;\\n\\t}\\n\\t// Consume the closing ]]\\n\\tthis.close(\\\"]]\\\");\\n\\t// Create a component\\n\\treturn new components.Link(content,options);\\n};\\n\\nParser.prototype.parseName = function() {\\n\\t// Create a component\\n\\tvar component = new components.Nonterminal(this.token.value);\\n\\t// Consume the name\\n\\tthis.advance();\\n\\treturn component;\\n};\\n\\nParser.prototype.parseNonterminal = function() {\\n\\t// Consume the <\\n\\tthis.advance();\\n\\t// The nonterminal's name should be in a string literal\\n\\tvar content = this.expectString(\\\"after <\\\");\\n\\t// Consume the closing bracket\\n\\tthis.close(\\\">\\\");\\n\\t// Create a component\\n\\treturn new components.Nonterminal(content);\\n};\\n\\nParser.prototype.parseOptional = function() {\\n\\tvar wantArrow = this.options.arrow;\\n\\t// Consume the [\\n\\tthis.advance();\\n\\t// Consume the { if there is one\\n\\tvar repeated = this.eat(\\\"{\\\");\\n\\t// Note whether omission is the normal route\\n\\tvar normal = this.eat(\\\":\\\");\\n\\t// Parse the content\\n\\tvar content = this.parseContent(),\\n\\t\\tseparator = null;\\n\\t// Parse the separator if there is one\\n\\tif(repeated && this.eat(\\\"+\\\")) {\\n\\t\\tseparator = this.parseContent();\\n\\t}\\n\\t// Consume the closing brackets\\n\\tif(repeated) {\\n\\t\\tthis.close(\\\"}\\\");\\n\\t}\\n\\tthis.close(\\\"]\\\");\\n\\t// Create a component\\n\\treturn repeated ? new components.OptionalRepeated(content,separator,normal,wantArrow)\\n\\t\\t: new components.Optional(content,normal);\\n};\\n\\nParser.prototype.parseRepeated = function() {\\n\\tvar wantArrow = this.options.arrow;\\n\\t// Consume the {\\n\\tthis.advance();\\n\\t// Parse the content\\n\\tvar content = this.parseContent(),\\n\\t\\tseparator = null;\\n\\t// Parse the separator if there is one\\n\\tif(this.eat(\\\"+\\\")) {\\n\\t\\tseparator = this.parseContent();\\n\\t}\\n\\t// Consume the closing bracket\\n\\tthis.close(\\\"}\\\");\\n\\t// Create a component\\n\\treturn new components.Repeated(content,separator,wantArrow);\\n};\\n\\nParser.prototype.parseSequence = function() {\\n\\t// Consume the <-\\n\\tthis.advance();\\n\\t// Parse the content\\n\\tvar content = this.parseContent();\\n\\t// Consume the closing ->\\n\\tthis.close(\\\"->\\\");\\n\\t// Create a component\\n\\treturn new components.Sequence(content);\\n};\\n\\nParser.prototype.parseTerminal = function() {\\n\\tvar component = new components.Terminal(this.token.value);\\n\\t// Consume the string literal\\n\\tthis.advance();\\n return component;\\n};\\n\\nParser.prototype.parseTransclusion = function() {\\n\\t// Consume the {{\\n\\tthis.advance();\\n\\t// Consume the text reference\\n\\tvar textRef = this.expectNameOrString(\\\"as transclusion source\\\");\\n\\t// Consume the closing }}\\n\\tthis.close(\\\"}}\\\");\\n\\t// Retrieve the content of the text reference\\n\\tvar source = this.widget.wiki.getTextReference(textRef,\\\"\\\",this.widget.getVariable(\\\"currentTiddler\\\"));\\n\\t// Parse the content\\n\\tvar content = new Parser(this.widget,source).content;\\n\\t// Create a component\\n\\treturn new components.Transclusion(content);\\n};\\n\\n/////////////////////////// Pragmas\\n\\nParser.prototype.parsePragma = function() {\\n\\t// Create a dummy component\\n\\tvar component = { isPragma: true };\\n\\t// Consume the pragma\\n\\tvar pragma = this.token.value;\\n\\tthis.advance();\\n\\t// Apply the setting\\n\\tif(pragma === \\\"arrow\\\") {\\n\\t\\tthis.options.arrow = this.parseYesNo(pragma);\\t\\t\\n\\t} else if(pragma === \\\"debug\\\") {\\n\\t\\tthis.options.debug = true;\\n\\t} else if(pragma === \\\"start\\\") {\\n\\t\\tthis.options.start = this.parseTerminusStyle(pragma);\\t\\t\\n\\t} else if(pragma === \\\"end\\\") {\\n\\t\\tthis.options.end = this.parseTerminusStyle(pragma);\\t\\t\\n\\t} else {\\n\\t\\tthrow \\\"Invalid pragma\\\";\\n\\t}\\n\\treturn component;\\n};\\n\\nParser.prototype.parseYesNo = function(pragma) {\\n\\treturn this.parseSetting([\\\"yes\\\",\\\"no\\\"],pragma) === \\\"yes\\\";\\n}\\n\\nParser.prototype.parseTerminusStyle = function(pragma) {\\n\\treturn this.parseSetting([\\\"single\\\",\\\"double\\\",\\\"none\\\"],pragma);\\n}\\n\\nParser.prototype.parseSetting = function(options,pragma) {\\n\\tif(this.at(\\\"name\\\") && options.indexOf(this.token.value) !== -1) {\\n\\t\\treturn this.tokenValueEaten();\\t\\t\\n\\t}\\n\\tthrow options.join(\\\" or \\\") + \\\" expected after \\\\\\\\\\\" + pragma;\\n}\\n\\n/////////////////////////// Token manipulation\\n\\nParser.prototype.advance = function() {\\n\\tif(this.tokenPos >= this.tokens.length) {\\n\\t\\tthis.token = null;\\n\\t}\\n\\tthis.token = this.tokens[this.tokenPos++];\\n};\\n\\nParser.prototype.at = function(token) {\\n\\treturn this.token && (this.token.type === token || this.token.type === \\\"token\\\" && this.token.value === token);\\n};\\n\\nParser.prototype.eat = function(token) {\\n\\tvar at = this.at(token);\\n\\tif(at) {\\n\\t\\tthis.advance();\\n\\t}\\n\\treturn at;\\n};\\n\\nParser.prototype.tokenValueEaten = function() {\\n\\tvar output = this.token.value;\\n\\tthis.advance();\\n\\treturn output;\\n};\\n\\nParser.prototype.close = function(token) {\\n\\tif(!this.eat(token)) {\\n\\t\\tthrow \\\"Closing \\\" + token + \\\" expected\\\";\\n\\t}\\n};\\n\\nParser.prototype.checkFinished = function() {\\n\\tif(this.token) {\\n\\t\\tthrow \\\"Syntax error at \\\" + this.token.value;\\n\\t}\\n};\\n\\nParser.prototype.expect = function(token) {\\n\\tif(!this.eat(token)) {\\n\\t\\tthrow token + \\\" expected\\\";\\n\\t}\\n};\\n\\nParser.prototype.expectString = function(context,token) {\\n\\tif(!this.at(\\\"string\\\")) {\\n\\t\\ttoken = token || \\\"String\\\";\\n\\t\\tthrow token + \\\" expected \\\" + context;\\n\\t}\\n\\treturn this.tokenValueEaten();\\n};\\n\\nParser.prototype.expectNameOrString = function(context) {\\n\\tif(this.at(\\\"name\\\")) {\\n\\t\\treturn this.tokenValueEaten();\\n\\t}\\n\\treturn this.expectString(context,\\\"Name or string\\\");\\n};\\n\\n/////////////////////////// Tokenisation\\n\\nParser.prototype.tokenise = function(source) {\\n\\tvar tokens = [],\\n\\t\\tpos = 0,\\n\\t\\tc, s, token;\\n\\twhile(pos < source.length) {\\n\\t\\t// Initialise this iteration\\n\\t\\ts = token = null;\\n\\t\\t// Skip whitespace\\n\\t\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t\\t// Avoid falling off the end of the string\\n\\t\\tif(pos >= source.length) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Examine the next character\\n\\t\\tc = source.charAt(pos);\\n\\t\\tif(\\\"\\\\\\\"'\\\".indexOf(c) !== -1) {\\n\\t\\t\\t// String literal\\n\\t\\t\\ttoken = $tw.utils.parseStringLiteral(source,pos);\\n\\t\\t\\tif(!token) {\\n\\t\\t\\t\\tthrow \\\"Unterminated string literal\\\";\\n\\t\\t\\t}\\n\\t\\t} else if(\\\"[]{}\\\".indexOf(c) !== -1) {\\n\\t\\t\\t// Single or double character\\n\\t\\t\\ts = source.charAt(pos+1) === c ? c + c : c;\\n\\t\\t} else if(c === \\\"<\\\") {\\n\\t\\t\\t// < or <-\\n\\t\\t\\ts = source.charAt(pos+1) === \\\"-\\\" ? \\\"<-\\\" : \\\"<\\\";\\n\\t\\t} else if(c === \\\"-\\\") {\\n\\t\\t\\t// - or ->\\n\\t\\t\\ts = source.charAt(pos+1) === \\\">\\\" ? \\\"->\\\" : \\\"-\\\";\\n\\t\\t} else if(\\\"()>+/:|\\\".indexOf(c) !== -1) {\\n\\t\\t\\t// Single character\\n\\t\\t\\ts = c;\\n\\t\\t} else if(c.match(/[a-zA-Z]/)) {\\n\\t\\t\\t// Name\\n\\t\\t\\ttoken = this.readName(source,pos);\\n\\t\\t} else if(c.match(/\\\\\\\\/)) {\\n\\t\\t\\t// Pragma\\n\\t\\t\\ttoken = this.readPragma(source,pos);\\n\\t\\t} else {\\n\\t\\t\\tthrow \\\"Syntax error at \\\" + c;\\n\\t\\t}\\n\\t\\t// Add our findings to the return array\\n\\t\\tif(token) {\\n\\t\\t\\ttokens.push(token);\\n\\t\\t} else {\\n\\t\\t\\ttoken = $tw.utils.parseTokenString(source,pos,s);\\n\\t\\t\\ttokens.push(token);\\n\\t\\t}\\n\\t\\t// Prepare for the next character\\n\\t\\tpos = token.end;\\n\\t}\\n\\treturn tokens;\\n};\\n\\nParser.prototype.readName = function(source,pos) {\\n\\tvar re = /([a-zA-Z0-9_.-]+)/g;\\n\\tre.lastIndex = pos;\\n\\tvar match = re.exec(source);\\n\\tif(match && match.index === pos) {\\n\\t\\treturn {type: \\\"name\\\", value: match[1], start: pos, end: pos+match[1].length};\\n\\t} else {\\n\\t\\tthrow \\\"Invalid name\\\";\\n\\t}\\n};\\n\\nParser.prototype.readPragma = function(source,pos) {\\n\\tvar re = /([a-z]+)/g;\\n\\tpos++;\\n\\tre.lastIndex = pos;\\n\\tvar match = re.exec(source);\\n\\tif(match && match.index === pos) {\\n\\t\\treturn {type: \\\"pragma\\\", value: match[1], start: pos, end: pos+match[1].length};\\n\\t} else {\\n\\t\\tthrow \\\"Invalid pragma\\\";\\n\\t}\\n};\\n\\n/////////////////////////// Exports\\n\\nexports.parser = Parser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/plugins/tiddlywiki/railroad/typed-parser.js\":{\"title\":\"$:/plugins/tiddlywiki/railroad/typed-parser.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/tiddlywiki/railroad/typed-parser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThis parser wraps unadorned railroad syntax into a railroad widget\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar RailroadParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"railroad\\\",\\n\\t\\t\\ttag: \\\"$railroad\\\",\\n\\t\\t\\ttext: text\\n\\t\\t};\\n\\tthis.tree = [element];\\nconsole.log(text);\\n};\\n\\nexports[\\\"text/vnd.tiddlywiki.railroad\\\"] = RailroadParser;\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/plugins/tiddlywiki/railroad/wrapper.js\":{\"title\":\"$:/plugins/tiddlywiki/railroad/wrapper.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/tiddlywiki/railroad/wrapper.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWrapper for `railroad-diagrams.js` that provides a `<$railroad>` widget.\\n\\n\\\\*/\\n\\n\\\"use strict\\\";\\n\\nvar Parser = require(\\\"$:/plugins/tiddlywiki/railroad/parser.js\\\").parser,\\n\\tWidget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar RailroadWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\nvar RAILROAD_OPTIONS = \\\"$:/config/railroad\\\";\\n\\n/*\\nInherit from the base widget class\\n*/\\nRailroadWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRailroadWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Housekeeping\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Get the source text\\n\\tvar source = this.getAttribute(\\\"text\\\",this.parseTreeNode.text || \\\"\\\");\\n\\t// Create a div to contain the SVG or error message\\n\\tvar div = this.document.createElement(\\\"div\\\");\\n\\ttry {\\n\\t\\t// Initialise options from the config tiddler or widget attributes\\n\\t\\tvar config = this.wiki.getTiddlerData(RAILROAD_OPTIONS,{});\\n\\t\\tvar options = {\\n\\t\\t\\tarrow: this.getAttribute(\\\"arrow\\\", config.arrow || \\\"yes\\\") === \\\"yes\\\",\\n\\t\\t\\tdebug: this.getAttribute(\\\"debug\\\", config.debug || \\\"no\\\") === \\\"yes\\\",\\n\\t\\t\\tstart: this.getAttribute(\\\"start\\\", config.start || \\\"single\\\"),\\n\\t\\t\\tend: this.getAttribute(\\\"end\\\", config.end || \\\"single\\\")\\n\\t\\t};\\n\\t\\t// Parse the source\\n\\t\\tvar parser = new Parser(this,source,options);\\n\\t\\t// Generate content into the div\\n\\t\\tif(parser.options.debug) {\\n\\t\\t\\tthis.renderDebug(parser,div);\\n\\t\\t} else {\\n\\t\\t\\tthis.renderSvg(parser,div);\\n\\t\\t}\\n\\t} catch(ex) {\\n\\t\\tdiv.className = \\\"tc-error\\\";\\n\\t\\tdiv.textContent = ex;\\n\\t}\\n\\t// Insert the div into the DOM\\n\\tparent.insertBefore(div,nextSibling);\\n\\tthis.domNodes.push(div);\\n};\\n\\nRailroadWidget.prototype.renderDebug = function(parser,div) {\\n\\tvar output = [\\\"<pre>\\\"];\\n\\tparser.root.debug(output, \\\"\\\");\\n\\toutput.push(\\\"</pre>\\\");\\n\\tdiv.innerHTML = output.join(\\\"\\\");\\n};\\n\\nRailroadWidget.prototype.renderSvg = function(parser,div) {\\n\\t// Generate a model of the diagram\\n\\tvar fakeSvg = parser.root.toSvg(parser.options);\\n\\t// Render the model into a tree of SVG DOM nodes\\n\\tvar svg = fakeSvg.toSVG();\\n\\t// Fill in the remaining attributes of any link nodes\\n\\tthis.patchLinks(svg);\\n\\t// Insert the SVG tree into the div\\n\\tdiv.appendChild(svg);\\n};\\n\\nRailroadWidget.prototype.patchLinks = function(node) {\\n\\tvar self = this;\\n\\tif(!$tw.node && node.hasChildNodes()) {\\n\\t\\tvar children = node.childNodes;\\n\\t\\tfor(var i=0; i<children.length; i++) {\\n\\t\\t\\tvar child = children[i];\\n\\t\\t\\tvar attributes = child.attributes;\\n\\t\\t\\tif(attributes) {\\n\\t\\t\\t\\t// Find each element that has a data-tw-target attribute\\n\\t\\t\\t\\tvar target = child.attributes[\\\"data-tw-target\\\"];\\n\\t\\t\\t\\tif(target !== undefined) {\\n\\t\\t\\t\\t\\ttarget = target.value;\\n\\t\\t\\t\\t\\tif(child.attributes[\\\"data-tw-external\\\"]) {\\n\\t\\t\\t\\t\\t\\t// External links are straightforward\\n\\t\\t\\t\\t\\t\\tchild.setAttribute(\\\"target\\\",\\\"_blank\\\");\\n\\t\\t\\t\\t\\t\\tchild.setAttribute(\\\"rel\\\",\\\"noopener noreferrer\\\");\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t// Each internal link gets its own onclick handler, capturing its own copy of target\\n\\t\\t\\t\\t\\t\\t(function(myTarget) {\\n\\t\\t\\t\\t\\t\\t\\tchild.onclick = function(event) {\\n\\t\\t\\t\\t\\t\\t\\t\\tself.dispatchLink(myTarget,event);\\n\\t\\t\\t\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t})(target);\\n\\t\\t\\t\\t\\t\\ttarget = \\\"#\\\" + target;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tchild.setAttributeNS(\\\"http://www.w3.org/1999/xlink\\\",\\\"href\\\",target);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tthis.patchLinks(child);\\n\\t\\t}\\n\\t}\\n};\\n\\nRailroadWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.text || changedTiddlers[RAILROAD_OPTIONS]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn false;\\t\\n};\\n\\nRailroadWidget.prototype.dispatchLink = function(to,event) {\\n\\t// Send the click on its way as a navigate event\\n\\tvar bounds = this.domNodes[0].getBoundingClientRect();\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: to,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: this,\\n\\t\\tnavigateFromClientRect: { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateSuppressNavigation: event.metaKey || event.ctrlKey || (event.button === 1)\\n\\t});\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nexports.railroad = RailroadWidget;\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"}}}"},{"text":"{\n \"tiddlers\": {\n \"$:/plugins/tobibeer/appear/widget.js\": {\n \"title\": \"$:/plugins/tobibeer/appear/widget.js\",\n \"text\": \"/*\\\\\\r\\ntitle: $:/plugins/tobibeer/appear/widget.js\\r\\ntype: application/javascript\\r\\nmodule-type: widget\\r\\n\\r\\nUse the appear widget for popups, sliders, accordion menus\\r\\n\\r\\n@preserve\\r\\n\\\\*/\\n(function(){\\\"use strict\\\";var t=require(\\\"$:/core/modules/widgets/widget.js\\\").widget,e=function(t,e){this.initialise(t,e)},i={};e.prototype=new t;e.prototype.render=function(t,e){this.parentDomNode=t;this.nextSibling=e;this.computeAttributes();this.execute();var i,s,r,a,h,n,l=[];if(this.handle){this.getHandlerCache(this.handle,1);this.refreshHandler()}else{s={type:\\\"button\\\"};s.attributes=this.setAttributes(s,\\\"button\\\");i=s.attributes[\\\"class\\\"].value.trim();s.attributes[\\\"class\\\"].value=i+\\\" appear-show\\\"+(this.handler?\\\" tc-popup-absolute\\\":\\\"\\\");s.children=this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",this.show,{parseAsInline:true}).tree;h={type:\\\"reveal\\\",children:this.parseTreeNode.children};h.attributes=this.setAttributes(h,\\\"reveal\\\");h.isBlock=!(this.mode&&this.mode===\\\"inline\\\");if(h.attributes.type&&h.attributes.type.value===\\\"popup\\\"){s.attributes.popup=h.attributes.state;l.push(s);if(!this.handler){l.push(h)}else{s.attributes.handler=this.handler}}else{h.attributes.type={type:\\\"string\\\",value:\\\"match\\\"};h.attributes.text={type:\\\"string\\\",value:this.currentTiddler};s.attributes.set=h.attributes.state;s.attributes.setTo={type:\\\"string\\\",value:this.currentTiddler};a={type:\\\"reveal\\\",isBlock:this.block,children:[s],attributes:{type:{type:\\\"string\\\",value:\\\"nomatch\\\"},state:h.attributes.state,text:{type:\\\"string\\\",value:this.currentTiddler}}};if(!this.once){r=$tw.utils.deepCopy(s);r.attributes[\\\"class\\\"].value=i+\\\" appear-hide \\\"+(this.attr.button.selectedClass?this.attr.button.selectedClass:\\\"\\\");r.attributes.setTo={type:\\\"string\\\",value:\\\"\\\"};r.children=this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",this.hide,{parseAsInline:true}).tree}n=$tw.utils.deepCopy(a);n.children=[];if(!this.once){n.children.push(r)}if(!this.handler){n.children.push(h)}n.attributes.type.value=\\\"match\\\";l.push(a,n)}this.makeChildWidgets(l);this.renderChildren(this.parentDomNode,e);if(this.handler){this.addToHandlerCache(h)}}};e.prototype.execute=function(){var t=this;this.attr={map:{reveal:{\\\"class\\\":1,position:1,retain:1,state:1,style:1,tag:1,type:1},button:{\\\"button-class\\\":1,\\\"button-style\\\":1,\\\"button-tag\\\":1,tooltip:1,selectedClass:1}},rename:{\\\"button-class\\\":\\\"class\\\",\\\"button-style\\\":\\\"style\\\",\\\"button-tag\\\":\\\"tag\\\"},button:{},reveal:{}};$tw.utils.each(this.attributes,function(e,i){var s;$tw.utils.each(t.attr.map,function(r,a){$tw.utils.each(Object.keys(r),function(r){if(r==i){t.attr[a][i]=e;s=false;return false}});return s})});this.currentTiddler=this.getVariable(\\\"currentTiddler\\\");this.show=this.getValue(this.attributes.show,\\\"show\\\");this.hide=this.getValue(this.attributes.hide,\\\"hide\\\");if(!this.hide){this.hide=this.show}this.once=this.attributes.once&&this.attributes.once!==\\\"false\\\";this.$state=this.attributes.$state;this.mode=this.getValue(this.attributes.mode,\\\"mode\\\");this.handle=this.attributes.handle;this.handler=this.attributes.handler;this.handlerVariables=(this.attributes.variables||\\\"\\\")+\\\" currentTiddler\\\";this.keep=[\\\"yes\\\",\\\"true\\\"].indexOf((this.getValue(this.attributes.keep,\\\"keep\\\")||\\\"\\\").toLocaleLowerCase())>-1;if(!this.attr.reveal.state){this.attr.reveal.state=this.getValue(undefined,\\\"default-state\\\")+this.currentTiddler+this.getStateQualifier()+\\\"/\\\"+(this.attr.reveal.type?this.attr.reveal.type+\\\"/\\\":\\\"\\\")+(this.mode?this.mode+\\\"/\\\":\\\"\\\")+(this.once?\\\"once/\\\":\\\"\\\")+(this.$state?\\\"/\\\"+this.$state:\\\"\\\")}};e.prototype.refresh=function(t){var e=this.computeAttributes();if(Object.keys(e).length){this.refreshSelf();return true}if(this.handle){this.refreshHandler()}return this.refreshChildren(t)};e.prototype.getValue=function(t,e){var i,s,r={show:\\\"»\\\",\\\"default-state\\\":\\\"$:/temp/appear/\\\"};if(t===undefined){i=this.wiki.getTiddler(\\\"$:/plugins/tobibeer/appear/defaults/\\\"+e);if(i){s=i.getFieldString(\\\"undefined\\\");if(!s||s===\\\"false\\\"){t=i.getFieldString(\\\"text\\\")}}}if(t===undefined){t=r[e]}return t};e.prototype.setAttributes=function(t,e){var i=this,s={};$tw.utils.each(Object.keys(this.attr.map[e]),function(r){var a,h=i.attr.rename[r];if(!h){h=r}a=i.getValue(i.attr[e][r],r);if(h===\\\"class\\\"){a=[\\\"appear\\\",\\\"appear-\\\"+e,e===\\\"reveal\\\"&&i.keep?\\\"tc-popup-keep\\\":\\\"\\\",i.mode?\\\"appear-\\\"+i.mode:\\\"\\\",i.once?\\\"appear-once\\\":\\\"\\\",a||\\\"\\\"].join(\\\" \\\")}if(a!==undefined){if(h===\\\"tag\\\"){t.tag=a}else{s[h]={type:\\\"string\\\",value:a}}}});return s};e.prototype.getHandlerCache=function(t,e){var s=i[t];if(!s||e){i[t]={handled:{},handle:{}};s=i[t]}return s};e.prototype.refreshHandler=function(){var t=this,e=this.getHandlerCache(this.handle),s=e.handle;if(Object.keys(s).length){$tw.utils.each(s,function(e,i){t.removeChildNode(i);t.children.push(t.makeChildWidget(e));t.children[t.children.length-1].render(t.parentDomNode,t.nextSibling)});i[this.handle].handle={}}};e.prototype.removeChildNode=function(t){var e=this;$tw.utils.each(this.children,function(i,s){if(i.children[0].state===t){i.removeChildDomNodes();e.children.splice(s);return false}})};e.prototype.addToHandlerCache=function(t){var e=this,i=t.attributes.state.value,s=this.getHandlerCache(this.handler),r=s.handled[i],a={type:\\\"vars\\\",children:[t],attributes:{}};$tw.utils.each((this.handlerVariables||\\\"\\\").split(\\\" \\\"),function(t){t=t.trim();if(t){a.attributes[t]={type:\\\"string\\\",value:(e.getVariable(t)||\\\"\\\").toString()}}});if(a!==r){s.handle[i]=a;this.wiki.setText(\\\"$:/temp/appear-handler/\\\"+this.handler,\\\"text\\\",undefined,i)}};exports.appear=e})();\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"$:/plugins/tobibeer/appear/defaults/show\": {\n \"title\": \"$:/plugins/tobibeer/appear/defaults/show\",\n \"text\": \"»\"\n },\n \"$:/plugins/tobibeer/appear/defaults/mode\": {\n \"title\": \"$:/plugins/tobibeer/appear/defaults/mode\",\n \"text\": \"block\"\n },\n \"$:/plugins/tobibeer/appear/defaults/keep\": {\n \"title\": \"$:/plugins/tobibeer/appear/defaults/keep\",\n \"text\": \"yes\"\n },\n \"$:/plugins/tobibeer/appear/defaults/button-class\": {\n \"title\": \"$:/plugins/tobibeer/appear/defaults/button-class\",\n \"text\": \"tc-btn-invisible tc-tiddlylink\"\n },\n \"$:/plugins/tobibeer/appear/defaults/default-state\": {\n \"title\": \"$:/plugins/tobibeer/appear/defaults/default-state\",\n \"text\": \"$:/temp/appear/\"\n },\n \"$:/plugins/tobibeer/appear/popup.js\": {\n \"title\": \"$:/plugins/tobibeer/appear/popup.js\",\n \"text\": \"/*\\\\\\r\\ntitle: $:/plugins/tobibeer/appear/popup.js\\r\\ntype: application/javascript\\r\\nmodule-type: utils\\r\\n\\r\\nAn enhanced version of the core Popup to support:\\r\\n* absolute popups\\r\\n* preview popups\\r\\n* popup z-index\\r\\n\\r\\n@preserve\\r\\n\\\\*/\\n(function(){\\\"use strict\\\";var t=require(\\\"$:/core/modules/utils/dom/popup.js\\\").Popup,e=require(\\\"$:/core/modules/widgets/reveal.js\\\").reveal,s=e.prototype.refresh;t.prototype.show=function(t){var e,s=t.domNode,p=$tw.utils.hasClass(s,\\\"tc-popup-absolute\\\"),o=this.popupInfo(s),i=function(t){var e=t,s=0,p=0;do{s+=e.offsetLeft||0;p+=e.offsetTop||0;e=e.offsetParent}while(e);return{left:s,top:p}},l={left:s.offsetLeft,top:s.offsetTop};e=o.popupLevel;if(o.isHandle){e++}this.cancel(e);if(this.findPopup(t.title)===-1){this.popups.push({title:t.title,wiki:t.wiki,domNode:s})}l=p?i(s):l;t.wiki.setTextReference(t.title,\\\"(\\\"+l.left+\\\",\\\"+l.top+\\\",\\\"+s.offsetWidth+\\\",\\\"+s.offsetHeight+\\\")\\\");if(this.popups.length>0){this.rootElement.addEventListener(\\\"click\\\",this,true)}};t.prototype.popupInfo=function(t){var e,s=false,p=t;while(p&&e===undefined){if($tw.utils.hasClass(p,\\\"tc-popup-handle\\\")||$tw.utils.hasClass(p,\\\"tc-popup-keep\\\")){s=true}if($tw.utils.hasClass(p,\\\"tc-reveal\\\")&&($tw.utils.hasClass(p,\\\"tc-popup\\\")||$tw.utils.hasClass(p,\\\"tc-popup-handle\\\"))){e=parseInt(p.style.zIndex)-1e3}p=p.parentNode}var o={popupLevel:e||0,isHandle:s};return o};t.prototype.handleEvent=function(t){if(t.type===\\\"click\\\"){var e=this.popupInfo(t.target),s=e.popupLevel-1;if(e.isHandle){if(s<0){s=1}else{s++}}this.cancel(s)}};e.prototype.refresh=function(){var t,e,p=this.isOpen;e=s.apply(this,arguments);t=this.domNodes[0];if(this.isOpen&&(p!==this.isOpen||!t.style.zIndex)&&t&&(this.type===\\\"popup\\\"||$tw.utils.hasClass(t,\\\"tc-block-dropdown\\\")&&$tw.utils.hasClass(t,\\\"tc-reveal\\\"))){t.style.zIndex=1e3+$tw.popup.popups.length}return e}})();\",\n \"type\": \"application/javascript\",\n \"module-type\": \"utils\"\n },\n \"$:/plugins/tobibeer/appear/readme\": {\n \"title\": \"$:/plugins/tobibeer/appear/readme\",\n \"text\": \"This plugin provides the ''$appear'' widget that can render popups and sliders (inline or block) as well as accordion menus.\\n\\n!! Attributes\\r\\n; type\\r\\n: set to `popup` to have the content appear as a popup\\r\\n; show\\r\\n: the button label\\r\\n; hide\\r\\n: the hide button label\\r\\n; mode\\r\\n: either `block` or `inline`, with respect to the inner content\\r\\n: any other mode is interpreted as block mode, without the default styles applying, e.g. drop-shadows\\r\\n; once\\r\\n: allows to click the button once, then hides it (unless the state is deleted)\\r\\n; $state\\r\\n: the widget calculates a state for you, use this to append a simple id\\r\\n; state\\r\\n: alternatively, specify a fully qualified state\\r\\n; keep\\r\\n: make popups sticky when `yes` or `true`\\r\\n; handle / handler / variables\\r\\n: allows to take the popup contents out of the flow and render them elsewhere on the page\\r\\n: required to properly create popups in table cells and other constained elements\\r\\n: specify variables to take along\\n\\n<br>\\n\\n; documentation / examples / demos...\\r\\n: http://tobibeer.github.io/tw5-plugins#appear\\r\\n\"\n },\n \"$:/plugins/tobibeer/appear/styles\": {\n \"title\": \"$:/plugins/tobibeer/appear/styles\",\n \"tags\": \"$:/tags/Stylesheet\",\n \"text\": \"\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\\n\\n<pre>.tc-reveal.appear-block,\\r\\n.tc-popup.appear {\\r\\n\\tborder-radius: 5px;\\r\\n\\tpadding: 1px 1em;\\r\\n\\t<<box-shadow \\\"2px 2px 4px rgba(0,0,0,0.3)\\\">>;\\r\\n}\\r\\n.tc-popup.appear {\\r\\n\\tpadding: 0 1em;\\r\\n\\tbackground: <<colour background>>;\\r\\n}\\r\\n.appear-reveal.appear-inline{\\r\\nmargin-left:5px;\\r\\n}\\r\\n.appear-reveal.appear-inline.appear-once{\\r\\nmargin-left:0;\\r\\n}</pre>\"\n }\n }\n}","bag":"default","revision":"0","version":"0.6.2","type":"application/json","title":"$:/plugins/tobibeer/appear","source":"https://github.com/tobibeer/tw5-appear","requires":"","plugin-type":"plugin","list":"readme","documentation":"https://tobibeer.github.io/tw5-appear","description":"Create popups, sliders or accordion menus with the appear widget.","dependents":"","core-version":">=5.1.9","author":"Tobias Beer"},{"created":"20260224194243150","text":"/*\\\ntitle: $:/plugins/tobibeer/appear/widget.js\ntype: application/javascript\nmodule-type: widget\n\nUse the appear widget for popups, sliders, accordion menus\n\n@preserve\n\\*/\n(function(){\"use strict\";var t=require(\"$:/core/modules/widgets/widget.js\").widget,e=function(t,e){this.initialise(t,e)},i={};e.prototype=new t;e.prototype.render=function(t,e){this.parentDomNode=t;this.nextSibling=e;this.computeAttributes();this.execute();var i,s,r,a,h,n,l=[];if(this.handle){this.getHandlerCache(this.handle,1);this.refreshHandler()}else{s={type:\"button\"};s.attributes=this.setAttributes(s,\"button\");i=s.attributes[\"class\"].value.trim();s.attributes[\"class\"].value=i+\" appear-show\"+(this.handler?\" tc-popup-absolute\":\"\");s.children=this.wiki.parseText(\"text/vnd.tiddlywiki\",this.show,{parseAsInline:true}).tree;h={type:\"reveal\",children:this.parseTreeNode.children};h.attributes=this.setAttributes(h,\"reveal\");h.isBlock=!(this.mode&&this.mode===\"inline\");if(h.attributes.type&&h.attributes.type.value===\"popup\"){s.attributes.popup=h.attributes.state;l.push(s);if(!this.handler){l.push(h)}else{s.attributes.handler=this.handler}}else{h.attributes.type={type:\"string\",value:\"match\"};h.attributes.text={type:\"string\",value:this.currentTiddler};s.attributes.set=h.attributes.state;s.attributes.setTo={type:\"string\",value:this.currentTiddler};a={type:\"reveal\",isBlock:this.block,children:[s],attributes:{type:{type:\"string\",value:\"nomatch\"},state:h.attributes.state,text:{type:\"string\",value:this.currentTiddler}}};if(!this.once){r=$tw.utils.deepCopy(s);r.attributes[\"class\"].value=i+\" appear-hide \"+(this.attr.button.selectedClass?this.attr.button.selectedClass:\"\");r.attributes.setTo={type:\"string\",value:\"\"};r.children=this.wiki.parseText(\"text/vnd.tiddlywiki\",this.hide,{parseAsInline:true}).tree}n=$tw.utils.deepCopy(a);n.children=[];if(!this.once){n.children.push(r)}if(!this.handler){n.children.push(h)}n.attributes.type.value=\"match\";l.push(a,n)}this.makeChildWidgets(l);this.renderChildren(this.parentDomNode,e);if(this.handler){this.addToHandlerCache(h)}}};e.prototype.execute=function(){var t=this;this.attr={map:{reveal:{\"class\":1,position:1,retain:1,state:1,style:1,tag:1,type:1},button:{\"button-class\":1,\"button-style\":1,\"button-tag\":1,tooltip:1,selectedClass:1}},rename:{\"button-class\":\"class\",\"button-style\":\"style\",\"button-tag\":\"tag\"},button:{},reveal:{}};$tw.utils.each(this.attributes,function(e,i){var s;$tw.utils.each(t.attr.map,function(r,a){$tw.utils.each(Object.keys(r),function(r){if(r==i){t.attr[a][i]=e;s=false;return false}});return s})});this.currentTiddler=this.getVariable(\"currentTiddler\");this.show=this.getValue(this.attributes.show,\"show\");this.hide=this.getValue(this.attributes.hide,\"hide\");if(!this.hide){this.hide=this.show}this.once=this.attributes.once&&this.attributes.once!==\"false\";this.$state=this.attributes.$state;this.mode=this.getValue(this.attributes.mode,\"mode\");this.handle=this.attributes.handle;this.handler=this.attributes.handler;this.handlerVariables=(this.attributes.variables||\"\")+\" currentTiddler\";this.keep=[\"yes\",\"true\"].indexOf((this.getValue(this.attributes.keep,\"keep\")||\"\").toLocaleLowerCase())>-1;if(!this.attr.reveal.state){this.attr.reveal.state=this.getValue(undefined,\"default-state\")+this.currentTiddler+this.getStateQualifier()+\"/\"+(this.attr.reveal.type?this.attr.reveal.type+\"/\":\"\")+(this.mode?this.mode+\"/\":\"\")+(this.once?\"once/\":\"\")+(this.$state?\"/\"+this.$state:\"\")}};e.prototype.refresh=function(t){var e=this.computeAttributes();if(Object.keys(e).length){this.refreshSelf();return true}if(this.handle){this.refreshHandler()}return this.refreshChildren(t)};e.prototype.getValue=function(t,e){var i,s,r={show:\"»\",\"default-state\":\"$:/temp/appear/\"};if(t===undefined){i=this.wiki.getTiddler(\"$:/plugins/tobibeer/appear/defaults/\"+e);if(i){s=i.getFieldString(\"undefined\");if(!s||s===\"false\"){t=i.getFieldString(\"text\")}}}if(t===undefined){t=r[e]}return t};e.prototype.setAttributes=function(t,e){var i=this,s={};$tw.utils.each(Object.keys(this.attr.map[e]),function(r){var a,h=i.attr.rename[r];if(!h){h=r}a=i.getValue(i.attr[e][r],r);if(h===\"class\"){a=[\"appear\",\"appear-\"+e,e===\"reveal\"&&i.keep?\"tc-popup-keep\":\"\",i.mode?\"appear-\"+i.mode:\"\",i.once?\"appear-once\":\"\",a||\"\"].join(\" \")}if(a!==undefined){if(h===\"tag\"){t.tag=a}else{s[h]={type:\"string\",value:a}}}});return s};e.prototype.getHandlerCache=function(t,e){var s=i[t];if(!s||e){i[t]={handled:{},handle:{}};s=i[t]}return s};e.prototype.refreshHandler=function(){var t=this,e=this.getHandlerCache(this.handle),s=e.handle;if(Object.keys(s).length){$tw.utils.each(s,function(e,i){t.removeChildNode(i);t.children.push(t.makeChildWidget(e));t.children[t.children.length-1].render(t.parentDomNode,t.nextSibling)});i[this.handle].handle={}}};e.prototype.removeChildNode=function(t){var e=this;$tw.utils.each(this.children,function(i,s){if(i.children[0].state===t){i.removeChildDomNodes();e.children.splice(s);return false}})};e.prototype.addToHandlerCache=function(t){var e=this,i=t.attributes.state.value,s=this.getHandlerCache(this.handler),r=s.handled[i],a={type:\"vars\",children:[t],attributes:{}};$tw.utils.each((this.handlerVariables||\"\").split(\" \"),function(t){t=t.trim();if(t){a.attributes[t]={type:\"string\",value:(e.getVariable(t)||\"\").toString()}}});if(a!==r){s.handle[i]=a;this.wiki.setText(\"$:/temp/appear-handler/\"+this.handler,\"text\",undefined,i)}};exports.appear=e})();","title":"$:/plugins/tobibeer/appear/widget.js","type":"application/javascript","module-type":"widget","modified":"20260224194451761"},{"text":"{\n \"tiddlers\": {\n \"$:/plugins/tobibeer/split/filter.js\": {\n \"text\": \"/*\\\\\\r\\ntitle: $:/plugins/tobibeer/split/filter.js\\r\\ntype: application/javascript\\r\\nmodule-type: filteroperator\\r\\n\\r\\nFilter operator that splits each item at a specified separator.\\r\\n\\r\\n@preserve\\r\\n\\\\*/\\n(function(){\\\"use strict\\\";exports.split=function(s,t,e){var i,a,f=e.wiki,r=t.suffix||\\\"\\\",n=[],l=[],u=[],o=[],p={negate:t.prefix===\\\"!\\\",split:t.operand,prefix:\\\"\\\",suffix:\\\"\\\",num:1,$num:1},c=[[/^\\\\s+/,function(){}],[/^(num|pos|\\\\$num|\\\\$pos)=(n|-n|\\\\d+|-\\\\d+)(?:\\\\s|$)/i,function(s){p[s[1]]=s[2];if(s[1].charAt(0)===\\\"$\\\"){p.mode=\\\"$pos\\\"}if(s[1]===\\\"$num\\\"&&!p.$pos){p.$pos=1}if(s[1]===\\\"num\\\"&&!p.pos){p.pos=1}}],[/^(\\\\+|at|!at|first|!first|last|!last|list|keep|strict|\\\\$strict|trim|unique)(?:\\\\s|$)/i,function(s){var t=s[1];p[t]=1;switch(t){case\\\"+\\\":p.suffix=p.split;break;case\\\"!at\\\":p.nat=1;case\\\"at\\\":i=p.split.match(/(\\\\d+),(\\\\d+)/);if(i){p.at=parseInt(i[1]);p.to=parseInt(i[2])}else{p.at=parseInt(p.split)}if(isNaN(p.at)){throw\\\"suffix 'at' must be numeric: \\\"+p.at}else{p.at=p.at-1}break;case\\\"list\\\":p.list=\\\"list\\\";break;case\\\"first\\\":p.pos=1;break;case\\\"!first\\\":p.pos=2;p.num=\\\"n\\\";break;case\\\"last\\\":p.pos=\\\"n\\\";break;case\\\"!last\\\":p.pos=\\\"-2\\\";p.num=\\\"-n\\\";break}}],[/^(before|after|beforelast|afterlast)(?:\\\\s|$)/i,function(s){var t=s[1];p.before=(t.toLowerCase().indexOf(\\\"before\\\")===0?1:2)+(t.toLowerCase().indexOf(\\\"last\\\")===t.length-4?2:0)}],[/^list\\\\=\\\\s*([^\\\\s]+)(?:\\\\s|$)/i,function(s){p.list=s[1]}],[/^(\\\\!)?(\\\\$|\\\\$all|\\\\$first|\\\\$last)(?:\\\\s|$)/i,function(s){var t=s[2];p.mode=t;p.neg=s[1]?1:0;if(t===\\\"$first\\\"){if(p.neg){p.$pos=2;p.$num=\\\"n\\\"}else{p.$pos=1}}else if(t===\\\"$last\\\"){if(p.neg){p.$pos=\\\"-2\\\";p.$num=\\\"-n\\\"}else{p.$pos=\\\"n\\\"}}}],[/^(?:\\\\+\\\\\\\\([^\\\\\\\\]+)\\\\\\\\|\\\\\\\\([^\\\\\\\\]+)\\\\\\\\\\\\+)/,function(s){if(s[1]){p.prefix=s[1]}else{p.suffix=s[2]}}]];try{while(r){a=r;$tw.utils.each(c,function(s){var t=s[0].exec(r);if(t){s[1].call(this,t);r=r.substr(t[0].length);return false}});if(r===a){throw\\\"invalid suffix(es) '\\\"+r+\\\"'\\\"}}if(p.list&&p.split){o=$tw.utils.parseStringArray(p.split)}else{s(function(s,t){var e,a,r=[];l.push(t);if(p.before){i=1+(p.before<3?t.indexOf(p.split):t.lastIndexOf(p.split));if(i>0){r=[p.before%2===1?t.substr(0,i-1):t.substr(i+p.split.length-1)]}if(p.keep&&i===0){r[0]=t}}else if(p.at){if(p.to){r=p.nat?[t.substr(0,p.at)+t.substr(p.at+p.to)]:[t.substr(p.at,p.to)];if(p.keep&&r[0]===\\\"\\\"){r[0]=t}}else{r=[t.substr(0,p.at)];a=t.substr(p.at);if(a){r.push(a)}}}else if(p.list){r=f.getTiddlerList(t,p.list)}else{r=t.split(p.split)}e=r.length>1||p.list||r.length>0&&(p.before||p.to);if(p.pos){r=$tw.utils.getArrayItems(r,p.pos,p.num,p.strict)}if(r.length&&(e||p.keep)){n.push(t);$tw.utils.each(r,function(s){if(p.trim){s=s.trim()}if(s){if(!p.unique||p.unique&&o.indexOf(s)<0){o.push(p.prefix+s+p.suffix)}}})}else{u.push(t)}})}if(t.suffix){switch(p.mode){case\\\"$\\\":o=n;break;case\\\"$all\\\":if(o.length){if(p.negate){u=[]}else{o=l}}else if(p.negate){u=l}break;case\\\"$first\\\":case\\\"$last\\\":case\\\"$pos\\\":o=$tw.utils.getArrayItems(o,p.$pos,p.$num,p.$strict);break}}}catch($){return[\\\"split syntax error:\\\"+$]}return p.negate?u:o}})();\",\n \"title\": \"$:/plugins/tobibeer/split/filter.js\",\n \"type\": \"application/javascript\",\n \"module-type\": \"filteroperator\"\n },\n \"$:/plugins/tobibeer/split/readme\": {\n \"title\": \"$:/plugins/tobibeer/split/readme\",\n \"text\": \"Provides the filter `split[by]`, splitting input titles `by` a string defined in the operand, allowing you to slice and dice output elements as needed.\\n\\n; suffixes\\r\\n: `$` — return input titles that yield split items\\r\\n: `$all` — return all input titles if any yield split items\\r\\n: `+` — append operand to split titles\\r\\n: `+\\\\x\\\\` — append x to split titles\\r\\n: `\\\\x\\\\+` — prepend x to split titles\\r\\n: `unique` — prevents duplicate titles in the output\\r\\n: `trim` — no leading/trailing blanks in split titles\\r\\n: `first` — first title of the split => `!first` — all but first\\r\\n: `last` — last title of the split => `!last` — all but last\\r\\n: `at[<num>]` — split in two at number in the operand\\r\\n: `at[<num>,<len>]` — slice out ''len'' characters starting at character ''num''\\r\\n: `!at[<num>,<len>]` — cutting the above out of the input title\\r\\n: `before[x]` / `after[x]` — up until / after first match of `x`\\r\\n: `beforelast[x]` / `afterlast[x]`— up until / after last match of `x`\\r\\n: `pos=2` — 2nd split item of each input title in turn\\r\\n: `pos=1 num=3` — first three each\\r\\n: `pos=2 num=n` — 2nd to last each\\r\\n: `pos=-2 num=-n` — first to 2nd last each\\r\\n: `strict` — specified `num` is mandatory\\r\\n: `$pos`, `$num`, `$strict`, `$first`, `$!first`,`$last`, `$!last` — for final list\\r\\n: `keep` — return title even if not split\\r\\n: `list[]` — parse list field of input titles\\r\\n: `list=tags[]` — parse tags field of input titles\\r\\n: `list<foo>` — parse (soft) operand as list, e.g. variables or text-references\\n\\n<br>\\n\\n; documentation / examples / demos...\\r\\n: http://tobibeer.github.io/tw5-plugins#split\"\n },\n \"$:/plugins/tobibeer/split/utils.js\": {\n \"text\": \"/*\\\\\\r\\ntitle: $:/plugins/tobibeer/split/utils.js\\r\\ntype: application/javascript\\r\\nmodule-type: utils\\r\\n\\r\\n@preserve\\r\\n\\\\*/\\n(function(){\\\"use strict\\\";exports.getArrayItems=function(e,t,n,s){var i,a=parseInt(n),f=parseInt(t),r=e.length;if(t===\\\"n\\\"){f=r}else if(t===\\\"-n\\\"){f=1}else if(!t){f=1}if(n===\\\"n\\\"){a=r}else if(n===\\\"-n\\\"){a=-(f<0?r+f+1:f)}else if(!n){a=1}f=Math.max(1,f<0?r+f+(a<0?a+2:1):a<0?f+a+1:f);a=Math.max(1,Math.abs(a));i=e.splice(f-1,a);if(i.length<a&&s){i=[]}return i}})();\",\n \"title\": \"$:/plugins/tobibeer/split/utils.js\",\n \"type\": \"application/javascript\",\n \"module-type\": \"utils\"\n }\n }\n}","version":"0.8.0","type":"application/json","title":"$:/plugins/tobibeer/split","source":"https://github.com/tobibeer/tw5-split","revision":"0","plugin-type":"plugin","list":"readme","documentation":"https://tobibeer.github.io/tw5-split","description":"A filter to split input titles and slice-up the results","dependents":"","core-version":">=5.1.9","bag":"default","author":"Tobias Beer"},{"text":"\\define applytemplate(signum)\n<$set name=template filter=\"[{$:/richlink/.dictionary##$signum$}addprefix[$:/]]\">\n<$tiddler tiddler=<<template>> >\n <$transclude/>\n</$tiddler>\n</$set>\n\\end\n\n\\define richlink(link, 1, 2, 3)\n<$vars link=\"$link$\" 1=\"$1$\" 2=\"$2$\" 3=\"$3$\">\n<$set name=\"domain\" filter=\"\"\"[[$link$]removeprefix[https://]splitbefore[/]removesuffix[/]] [[$link$]removeprefix[http://]splitbefore[/]removesuffix[/]] [[$link$]removeprefix[https%3A//]splitbefore[/]removesuffix[/]] [[$link$]removeprefix[http%3A//]splitbefore[/]removesuffix[/]]\"\"\" >\n <$macrocall $name=applytemplate signum=<<domain>> />\n</$set>\n<$set name=\"filetype\" filter=\"\"\"[[$link$]split:afterlast[.]]\"\"\" >\n <$macrocall $name=applytemplate signum=<<filetype>> />\n</$set>\n</$vars>\n\\end\n\n<$list filter=\"[all[current]has[attachment]get[attachment]]\" \n variable=\"link\">\n{{$:/core/images/import-button}}<$macrocall $name=richlink link=<<link>>/>\n</$list>\n\n","title":"$:/plugins/TWaddle/richlink/main","tags":"$:/tags/Macro","modifier":"Mat von TWaddle","modified":"20170512190001947","list-after":"$:/core/ui/ViewTemplate/body","creator":"Mat von TWaddle","created":"20170510094040705"},{"text":"www.youtube.com: richlink/youtube\nsoundcloud.com: richlink/soundcloud\nen.wikipedia.org: richlink/wikipedia\ntiddlywiki.com: richlink/docs\ntwitter.com: richlink/tweet\ngithub.com: richlink/github\njsfiddle.net: richlink/jsfiddle\ndisq.us: richlink/disqus\npdf: richlink/iframe\ntxt: richlink/txt\njpg: richlink/img\nJPG: richlink/img\npng: richlink/img\nmp3: richlink/audio\nogg: richlink/audio\nwav: richlink/audio\nflac: richlink/audio\nmp4: richlink/video\nogv: richlink/video\nwebm: richlink/video","type":"application/x-tiddler-dictionary","title":"$:/richlink/.dictionary","tags":"","modifier":"Mat von TWaddle","modified":"20170515062245651","creator":"Mat von TWaddle","created":"20170510152735336"},{"text":"<audio src=<<link>> controls preload=\"auto\" class=\"richlink-audio\"/>\n\n<style>\n.richlink-audio {width:100%;}\n</style>","title":"$:/richlink/audio","tags":"","modifier":"Mat von TWaddle","modified":"20170512214408708","creator":"Mat von TWaddle","created":"20170512211451944"},{"text":"<video src=<<link>> controls preload=\"auto\" class=\"richlink-video\">\n<p>Your browser doesn't support HTML5 video.<br>Instead, go directly to <<link>></p> \n</video>\n\n<style>\n.richlink-video {width:100%;}\n</style>","title":"$:/richlink/video","tags":"","modifier":"Mat von TWaddle","modified":"20170513185415571","creator":"Mat von TWaddle","created":"20170512214608638"},{"text":"<div class=\"wp\">\n<a href=<<link>>>{{$:/core/images/globe}} Wikipedia</a>\n</div>\n\n<style>\n.wp { display:inline;}\n.wp a { color:green; text-decoration:none;}\n.wp svg { width:1em; vertical-align:bottom; fill:gray; }\n</style>","title":"$:/richlink/wikipedia","tags":"$:/templates/richlink","modifier":"Mat von TWaddle","modified":"20170512175951389","creator":"Mat von TWaddle","created":"20170511011746553"},{"created":"20250713075347692","creator":"M0","text":"\\import [subfilter{$:/core/config/GlobalImportFilter}]\n\\define saveTiddlerFilter()\n[is[system]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/boot/boot.css]] -[is[system]type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\n\\end\n{{$:/core/templates/tiddlywiki5.html}}\n","title":"$:/Seed/Config/SaveSeed","modified":"20250721173635004","modifier":"M0"},{"created":"20250721174334595","creator":"M0","text":"\\whitespace trim\n\\rules except wikilink\n\nTo download the standard single-file version of your wiki:\n\n<$wikify name=\"site-title\" text={{$:/config/SaveWikiButton/Filename}}>\n<$let publishFilter=\"\"\"-[[$:/config/SaveWikiButton/Template]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]]\"\"\">\n<$button tooltip=\"Download fully standalone wiki\" aria-label=\"download full wiki\" class=\"tc-btn-big-green\">\n<$action-sendmessage $message=\"tm-download-file\" $param=\"$:/Seed/Config/SaveSeed\" publishFilter=<<publishFilter>> filename=\"Seed\"/>\n{{$:/core/images/download-button}}\n<span class=\"tc-tiny-gap-left\">\nDownload seed\n</span>\n</$button>\n</$let>\n</$wikify>","title":"$:/Seed/DownloadSeed","modified":"20250721174901077","modifier":"M0"},{"created":"20260222195517290","title":"$:/Seed/Fixes/StreamsExternalLinks","modified":"20260222201635998","module-type":"startup","plugin-priority":"100","priority":"100","tags":"$:/tags/Global","text":"/*\\\ntitle: $:/plugins/tu-usuario/streams-fix-external-links\ntype: application/javascript\nmodule-type: startup\npriority: 100\n\\*/\n\n(function(){\n\n\"use strict\";\n\nfunction handleStreamNodeClick(event) {\n if(event.target.closest(\".tc-tiddlylink-external\")) {\n // Deja pasar los links externos\n event.stopPropagation(); // evita que otros listeners lo bloqueen\n return;\n }\n}\n\nexports.name = \"streams-fix-external-links\";\nexports.platforms = [\"browser\"];\nexports.after = [\"startup\"];\nexports.synchronous = true;\n\nexports.startup = function() {\n // Delegación con capture = true\n document.body.addEventListener(\"click\", handleStreamNodeClick, true);\n};\n\n})();","type":"application/javascript"},{"created":"20250817123956326","creator":"M0","text":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"40\" fill-rule=\"evenodd\"><path fill=\"none\" d=\"M6.279 4.463h12.625v14.5H6.279z\"/><path fill=\"$primary$\" fill-opacity=\".8\" stroke=\"#fff\" stroke-linecap=\"round\" d=\"M12.544.5C5.971.5.5 6.191.5 12.366c0 2.778 1.564 6.308 2.694 8.746L12.5 38.984l9.262-17.872c1.13-2.438 2.738-5.791 2.738-8.746C24.5 6.191 19.117.5 12.544.5zm0 7.155a4.714 4.714 0 0 1 4.679 4.71c0 2.588-2.095 4.663-4.679 4.679-2.584-.017-4.679-2.09-4.679-4.679a4.714 4.714 0 0 1 4.679-4.71z\" class=\"leaflet-marker-colored\"/><path fill=\"none\" stroke=\"#fff\" stroke-linecap=\"round\" stroke-opacity=\".9\" d=\"M12.531 1.607c-5.944 0-10.938 5.219-10.938 10.75 0 2.359 1.443 5.832 2.563 8.25l.031.031L12.5 36.607l8.25-15.969.031-.031c1.135-2.448 2.625-5.706 2.625-8.25 0-5.538-4.931-10.75-10.875-10.75zm0 4.969c3.168.021 5.781 2.601 5.781 5.781 0 3.18-2.613 5.761-5.781 5.781-3.168-.02-5.75-2.61-5.75-5.781 0-3.172 2.582-5.761 5.75-5.781z\"/></svg>\n","title":"$:/Seed/Maps/Markers/MarkerExample","type":"text/vnd.tiddlywiki","modified":"20250817124617001","tags":"$:/tags/Image","marker_dim":"25 40 12.5 40","caption":"MarkerExample","modifier":"M0"},{"created":"20250817124226489","creator":"M0","text":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"40\"><filter id=\"a\" width=\"200\" height=\"200\" x=\"-50\" y=\"-50\"><feGaussianBlur in=\"SourceAlpha\" stdDeviation=\"1.5\"/></filter><path fill=\"none\" d=\"M47 0a52 52 0 0 0-34 21L0 40l30-19 13-9c7-6 9-12 4-12zm-9 7a3 8 58 0 1-2 5c-3 3-7 5-9 5-3 0-2-2 1-5a3 8 58 0 1 10-5z\" filter=\"url(#a)\"/></svg>\n","title":"$:/Seed/Maps/Markers/MarkerExampleShadow","type":"image/svg+xml","modified":"20250817124946007","tags":"$:/tags/Image","marker_dim":"50 40 0 40","modifier":"M0"},{"created":"20260222123603593","text":"/* Popup */\n.appear.appear-reveal.tc-popup-keep.appear-block.tc-reveal.tc-popup {\n position: static !important;\n top: auto !important;\n left: auto !important;\n right: auto !important;\n bottom: auto !important;\n z-index: auto !important;\n margin-bottom: 10px !important;\n padding: 20px !important;\n background: var( --Site_BackgroundColor) !important;\n box-shadow: 0 1px 1px rgba(0,0,0,0.3);\n border: 1px solid var(--Site_HighligthBorder);\n}\n\n/* Botón normal */\nbutton.appear.appear-button.appear-block.tc-btn-invisible.tc-tiddlylink.appear-show {\n background: none;\n border: none;\n padding: 0;\n line-height: 1.2;\n color: var(--Site_FontColor) !important;\n text-decoration: underline;\n font: inherit;\n cursor: pointer;\n opacity: 1;\n fill: inherit;\n transition: color 0.3s ease;\n}\n\n\nbutton.appear.appear-button.appear-block.tc-btn-invisible.tc-tiddlylink.appear-show:hover {\n color: white !important;\n}\n\n/* Botón cuando está expandido */\nbutton.appear.appear-button.appear-block.tc-btn-invisible.tc-tiddlylink.appear-show[aria-expanded=\"true\"] {\n position: relative;\n background: transparent !important;\n padding-bottom: 5px;\n\n /* El triángulo usará este color */\n color: white !important;\n}\n\n/* Triángulo amarillo debajo del rojo */\nbutton.appear.appear-button.appear-block.tc-btn-invisible.tc-tiddlylink.appear-show[aria-expanded=\"true\"]::before {\n content: \"\";\n position: absolute;\n left: 50%;\n bottom: -1px;\n transform: translateX(-50%);\n\n width: 20px;\n height: 10px;\n\n background: var(--Site_HighligthBorder);\n\n clip-path: polygon(0 100%, 100% 100%, 50% 0);\n z-index: 0; /* Debajo del rojo */\n}\n\n/* Triángulo rojo encima */\nbutton.appear.appear-button.appear-block.tc-btn-invisible.tc-tiddlylink.appear-show[aria-expanded=\"true\"]::after {\n content: \"\";\n position: absolute;\n left: 50%;\n bottom: -2px; \n transform: translateX(-50%);\n\n width: 20px;\n height: 10px;\n\n background: var( --Site_BackgroundColor);\n\n clip-path: polygon(0 100%, 100% 100%, 50% 0);\n z-index: 999999; /* Encima del amarillo */\n}\n\n\n\n\n\n.appear.appear-button.appear-inline.tc-btn-invisible.tc-tiddlylink.appear-show {\n background-color: transparent !important;\n}\n\n.appear.appear-button.appear-inline.tc-btn-invisible.tc-tiddlylink.appear-hide {\n background-color: transparent !important;\n margin-bottom: 10px;\n}\n\n","creator":"M0","title":"$:/Seed/Styles/Appear","modified":"20260425214847213","modifier":"M0","tags":"$:/tags/Stylesheet","type":"text/css","stream-list":"","stream-type":"default"},{"created":"20250717194709064","creator":"M0","text":"pre code.hljs {\n\tbackground: var(--Site_CodeBackgorund);\n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Code","modified":"20250721162803006","modifier":"M0","type":"text/css"},{"created":"20240306203326726","creator":"wilk","text":"div.code-copy-button {\n\tposition: relative;\n}\ndiv.code-copy-button > button.tc-btn-invisible {\n\tposition: absolute;\n\tright: 0;\n\tpadding: 0.5em 0.5em;\n\tfill: <<colour tiddler-controls-foreground>>;\n}\ndiv.code-copy-button > button.tc-btn-invisible:hover {\n\tfill: white;\n}","tags":"$:/tags/Stylesheet $:/wilk/tweaks/CopyCodeButton","title":"$:/Seed/Styles/CodeCopy","modified":"20250730161746319","modifier":"M0"},{"created":"20260221144942284","text":"/* =====================================================\n VERSIÓN SIN :is()\n Selecciona .stream-node-block que NO contienen ningún <p>\n y aplica el cursor pointer solo a los encabezados h1h6.\n El cursor cambiará únicamente cuando el mouse esté sobre el texto.\n===================================================== */\n.stream-node-block:not(:has(p)) h1,\n.stream-node-block:not(:has(p)) h2,\n.stream-node-block:not(:has(p)) h3,\n.stream-node-block:not(:has(p)) h4,\n.stream-node-block:not(:has(p)) h5,\n.stream-node-block:not(:has(p)) h6 {\n cursor: pointer !important;\n\n /* Hace que el encabezado ocupe solo el área del texto */\n display: inline; /* Cambia a inline-block si quieres permitir padding/margen */\n}\n\n/* =====================================================\n VERSIÓN ALTERNATIVA CON :is()\n Hace exactamente lo mismo pero de forma más compacta.\n Útil si quieres un selector más limpio y moderno.\n El cursor también se aplica solo sobre el texto.\n===================================================== */\n\n/*\n.stream-node-block:not(:has(p)) :is(h1, h2, h3, h4, h5, h6) {\n cursor: pointer !important;\n display: inline;\n}\n*/","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Cursors","modified":"20260221152440585"},{"created":"20250730152751508","creator":"M0","text":"div.edit-exit-button {\n\tposition: relative;\n display: block;\n}\ndiv.edit-exit-button > button.tc-btn-invisible {\n\tposition: absolute;\n\tright: 0;\n\tpadding: 0.5em 0.5em;\n\tfill: <<colour tiddler-controls-foreground>>;\n}\ndiv.edit-exit-button > button.tc-btn-invisible:hover {\n\tfill: white;\n}\n\n\n","tags":"$:/wilk/tweaks/CopyCodeButton $:/tags/Stylesheet","title":"$:/Seed/Styles/EditExit","modified":"20250730181450209","modifier":"M0","type":""},{"created":"20260222215917073","text":"/* Enlace externo por defecto (no visitado) */\na.tc-tiddlylink-external {\n color: var(--Site_FontColor); /* Azul para no visitado */\n background-color: transparent;\n transition: color 0.3s ease; /* Transición suave al cambiar de color */\n}\n\n/* Hover sobre enlace no visitado */\na.tc-tiddlylink-external:hover {\n color: white; /* Azul más intenso al pasar el cursor */\n}\n\n/* Enlace visitado */\na.tc-tiddlylink-external:visited {\n color: var(--Site_FontColor); /* Rojo para visitado */\n transition: color 0.3s ease; /* Transición también para el visitado */\n}\n\n/* Hover sobre enlace visitado */\na.tc-tiddlylink-external:visited:hover {\n color: white; /* Rojo más oscuro al pasar el cursor */\n}\n\n/* Agrega el símbolo al final de cada enlace externo */\na.tc-tiddlylink-external::after {\n content: \" \";\n }","creator":"M00","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/ExternalLinks","modified":"20260222232331045","type":"text/css","tmap.id":"3a9d7e6a-0c62-494e-aa10-4d1abaa17487","modifier":"M0"},{"created":"20250426021309062","text":"@font-face {\n font-family: 'LektonNerd';\n\n src:\n url('./Assets/Fonts/LektonNFM.woff2') format('woff2'),\n url('./Assets/Fonts/LektonNFM.woff') format('woff');\n\n font-weight: normal;\n font-style: normal;\n}\n\nbody {\n font-family: 'LektonNerd';\n}","creator":"M00","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Fonts","modified":"20260508154607606","type":"text/css","modifier":"M0"},{"created":"20241111125620863","creator":"M00","text":".tc-tagged-ghost {\n background-color: transparent;\n}\n\n/* Ocultar enlace del título */\n.tc-tagged-ghost .tc-title .tc-tiddlylink {\n display: none;\n}\n\n/* Solo para el texto del título (opcional) */\n/*\n.tc-tagged-ghost h2.tc-title {\n display: none;\n}\n*/\n\n/* Ocultar contenedor del título completo */\n.tc-tagged-ghost .tc-tiddler-title {\n display: none;\n}\n\n/* Ocultar subtítulo (por ejemplo, fecha de modificación) */\n.tc-tagged-ghost .tc-subtitle {\n display: none;\n}\n\n/* Ocultar etiquetas */\n.tc-tagged-ghost .tc-tags-wrapper {\n display: none;\n}\n\n/* Ocultar controles de Streams (campo stream) */\n/*\n.tc-tagged-ghost .tc-eventcatcher {\n display: none;\n}\n*/\n","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/GhostTiddlers","modified":"20250721163013563","tmap.id":"4cc65cb3-6c9f-4d71-ab09-0a02333f65b0","modifier":"M0","type":"text/css"},{"created":"20260315123641019","text":":root {\n\t--Site_BackgroundColor: #222 ;\n\t--Site_FontColor: #999;\n\t--Site_FontColor_Title: White;\n\t--Site_SubFontColor: Gray;\n\t--Site_CodeBackgorund: #222;\n\t--Site_HighligthBorder: #444;\n\t--Site_HighlightBackground: #333;\n\t--Site_BorderRadius: 5px;\n\tcolor-scheme: dark;\n}","creator":"M00","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Globals","modified":"20260403190001528","type":"text/css","modifier":"M0"},{"created":"20241101112926183","text":"/* Estilos generales para todos los encabezados h0h6 */\nh0, h1, h2, h3, h4, h5, h6 {\n font-family: 'LektonNerd';\n font-weight: normal;\n color: var(--Site_FontColor_Title);\n line-height: 1em;\n}\n\n/* Tamaños específicos por nivel */\nh0 { font-size: 2.6em; font-weight: normal; } /* Extra bold para h0 */\nh1 { font-size: 1.6em; }\nh2 { font-size: 1.5em; }\nh3 { font-size: 1.4em; }\nh4 { font-size: 1.3em; }\nh5 { font-size: 1.2em; }\nh6 { font-size: 1.1em; }","creator":"M00","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Headers","modified":"20260508151947797","type":"text/css","tmap.id":"3a9d7e6a-0c62-494e-aa10-4d1abaa17487","modifier":"M0"},{"created":"20250920011003572","text":"<% if [{$:/layout}match[$:/Seed/Layouts/ReaderView/PageTemplate]] %>\n\n\n/*Topbar con Home y Cambiar layouts\n\nnav.tc-menubar button.tc-btn-invisible:not(:has(svg.tc-image-layout-mode)):not(:has(svg.tc-image-home-button)) {\n display: none;\n}\n*/\n\n/*Topbar con Cambiar layouts*/\n\nnav.tc-menubar button.tc-btn-invisible:not(:has(svg.tc-image-layout-mode)) {\n display: none;\n}\n\n\n/* Oculta barra topbar \n\nnav.tc-menubar {\n display: none;\n}\n*/\n\n\n/*Sections*/\n\n.stream-droppable.tc-droppable[data-node-title=\"$:/SiteInfo\"] {\n display: none;\n}\n\n\n/* Oculta el bloque del nodo y los controles para nodos con el título y la etiqueta especificados */\n\n.stream-row[data-node-title=\"$:/SiteContent\"] .stream-node-block {\n display: none;\n}\n\n.stream-row[data-node-title=\"$:/SiteContent\"] .stream-node-control {\n display: none;\n}\n\n.stream-droppable[data-node-title=\"$:/SiteContent\"] + .stream-row-children {\n border-left: 0px;\n margin-left: 0px;\n}\n\n.stream-node-control.stream-node-control-addnew {\ndisplay: none;\n}\n\n.stream-node-handle.tc-btn-invisible.stream-node-ctrl-btn {\ndisplay: none;\n}\n\n.stream-node-collapser {\nmargin-left: 16px;\n}\n\n.stream-node-control {\n pointer-events: none;\n}\n\n.tc-image-layout-mode.tc-image-button {\n fill: #222222 !important;\n}\n\n<%endif%>","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Layouts/ReaderView/Elements","modified":"20260312152135679","modifier":"M0","type":""},{"created":"20250829155606253","text":"\\whitespace trim\n\\import [subfilter{$:/core/config/GlobalImportFilter}]\n\n<$vars\n\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\n\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\n\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\n\ttv-enable-drag-and-drop={{$:/config/DragAndDrop/Enable}}\n\ttv-show-missing-links={{$:/config/MissingLinks}}\n\tstoryviewTitle={{$:/view}}\n\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\n\n<div class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/PageTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-page-container [[tc-page-view-]addsuffix<storyviewTitle>] [[tc-language-]addsuffix<languageTitle>] :and[unique[]join[ ]] }}} >\n\n<$navigator story=\"$:/StoryList\" history=\"$:/HistoryList\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\n\n<$dropzone enable=<<tv-enable-drag-and-drop>> class=\"tc-dropzone tc-page-container-inner\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]\" variable=\"listItem\">\n\n<$transclude tiddler=<<listItem>>/>\n\n</$list>\n\n</$dropzone>\n\n</$navigator>\n\n</div>\n\n</$vars>\n","creator":"M0","title":"$:/Seed/Styles/Layouts/ReaderView/PageTemplate","name":"ReaderView","description":"Solo para leer el contenido sin editar","icon":"","modified":"20260303151916227","modifier":"M0","tags":"$:/tags/Layout"},{"created":"20250917000024973","text":"<$action-setfield\n tiddler=\"MyTiddler\"\n field=\"text\"\n value=\"Nuevo contenido\"\n/>","creator":"M0","tags":"","title":"$:/Seed/Styles/Layouts/ReaderView/Topbar/Buttons/tm-dev","modified":"20260303152613048","modifier":"M0","type":"application/x-tiddler-dictionary"},{"created":"20250913024145533","creator":"M0","text":".tc-link-info-item {\n border: none;\n padding: 5px 10px;\n background: transparent;\n line-height: 1.4;\n color: var(--Site_FontColor, #000);\n}\n\n.tc-link-info-item h1 {\n font-weight: 500;\n font-size: 1rem; /* equivale a 16px por defecto */\n margin: 0; /* opcional para evitar margen extra */\n}\n\n\nli::marker {\n font-size: 1.4em;\n color: rgba(255, 255, 255, 0.2);\n\n}\n\nul {\n padding-left: 30px;\n}\n\n.stream-row[data-node-tags=\"nobullet\"] div ul,\n.stream-row[data-node-tags=\"nobullet\"] div ol {\n padding-left: 0px;\n}","title":"$:/Seed/Styles/Lists","modified":"20250923142230614","modifier":"M0","tags":"$:/tags/Stylesheet","type":"text/css","stream-list":"","stream-type":"default"},{"created":"20260217115230483","text":".macy-container .item-container {\n margin-bottom: 24px;\n border-radius: 4px;\n overflow: hidden; /* Nada sobresale */\n border: 0px solid #eee;\n aspect-ratio: 1 / 1; /* Siempre cuadrado */\n overflow: hidden; \n}\n\n.macy-container .item-container img {\n width: 100%;\n height: 100%;\n object-fit: cover; /* Rellena sin deformar */\n}","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Macy","modified":"20260219144341602","type":"text/css","modifier":"M0"},{"created":"20250621123643198","text":"nav.tc-menubar ul.tc-menubar-list {\n background: Transparent;\n box-shadow: 0px 0px 0px 0px transparent;\n text-align: right;\n}\n\n\n\n\n","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/MenuBar","modified":"20260320113531660","modifier":"M0","type":"text/css"},{"created":"20250623193001580","creator":"M0","text":"nav.tc-menubar ul.tc-menubar-list {\nbackground: var(--Site_BackgroundColor);\n}\n\nnav.tc-menubar ul.tc-menubar-list {\nbox-shadow: 0px 0px 0px 0px transparent;\n}\n\nnav.tc-menubar ul.tc-menubar-list {\n text-align: right;\n}\n\n\n\n.tc-menubar-item {\n background: transparent;\n}\n\nnav.tc-menubar li.tc-menubar-item svg {\n fill: gray; /* estado normal */\n}\n\nnav.tc-menubar li.tc-menubar-item > button.tc-selected svg{\n fill: white;\n background: #222222;\n}\n\n\n\n\n","tags":"","title":"$:/Seed/Styles/MenuBarCopy","modified":"20250721162928493","modifier":"M0","type":"text/css"},{"created":"20250618184722408","text":"/* Contenedor general */\nprogress {\n width: 60%;\n height: 10px;\n border-radius: 5px;\n appearance: none;\n -webkit-appearance: none;\n overflow: hidden; /* clave para bordes redondeados */\n background-color: #222;\n display: block;\n margin-bottom: 20px;\n border: none;\n}\n\n/* Fondo (parte gris) - WebKit */\nprogress::-webkit-progress-bar {\n background-color: #444;\n border-radius: 5px;\n}\n\n/* Parte completada - WebKit (Chrome, Safari) */\nprogress::-webkit-progress-value {\n background: linear-gradient(\n to right,\n #888888 0%,\n #bbbbbb 40%,\n #ffffff 100%\n );\n border-radius: 5px;\n}\n\n/* Parte completada - Firefox */\nprogress::-moz-progress-bar {\n background: linear-gradient(\n to right,\n #888888 0%,\n #bbbbbb 40%,\n #ffffff 100%\n );\n border-radius: 5px;\n}\n","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/ProgressBar","modified":"20260322125017413","type":"text/css","modifier":"M0"},{"created":"20250717082936892","creator":"M0","text":"svg.railroad-diagram {\n\tbackground-color: #303030;\n\tborder-radius: 5px;\n\twidth: 100%;\n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Railroads","modified":"20250721162910041","modifier":"M0","type":"text/css"},{"created":"20260222034143637","text":"html, body {\n overflow-x: hidden;\n max-width: 100vw;\n}\n\n.tc-story-river,\n.stream-container,\n.stream-root {\n max-width: 100vw;\n overflow-x: hidden;\n}","creator":"M00","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Scroll","modified":"20260222040426867","type":"text/css","tmap.id":"3a9d7e6a-0c62-494e-aa10-4d1abaa17487","modifier":"M0"},{"created":"20260318003834562","text":"::selection { \n background-color: White; \n color: var(--Site_BackgroundColor); \n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Selection","modified":"20260322120745875","type":"text/css"},{"created":"20250916013744491","text":".tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\nbackground-image:none;\nbackground-color:transparent;\n}\n\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {\nbackground-image:none;\nbackground-color:transparent;\n}\n","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/SidebarMore","modified":"20260221053627878","modifier":"M0","type":"text/css"},{"created":"20250521153327696","text":".tc-tiddler-frame {\n\tbackground-color: transparent;\n\tborder: 0px solid var(--Site_BackgroundColor);\n\tbox-shadow: 0px 0px 0px transparent;\n}\n\n.stream-node-block:not(:has(code)) button,\n.doc-example :not(:has(code)) button {\n line-height: 2em;\n color: white;\n fill: inherit;\n background: transparent;\n background-color: #484848;\n border-color: transparent;\n border-radius: var(--Site_BorderRadius, 0.5em); /* Usa variable o fallback */\n transition: 0.3s;\n}\n\n.stream-node-block:not(:has(code)) button:hover,\n.doc-example :not(:has(code)) button:hover {\n color: white;\n}\n\n","creator":"M00","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Site","modified":"20260321155703243","type":"text/css","modifier":"M0"},{"created":"20260320011410061","text":"body.tc-body {\n background-color: #222 !important;\n\n /* UNA sola capa de dots */\n background-image:\n radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);\n\n /* tamaño de la retícula */\n background-size: 20px 20px;\n\n /* alineado perfecto a la esquina */\n background-position: -10px -10px !important;\n\nfont-size: 15px; \nline-height: 20px; \ncolor:var(--Site_FontColor); \nword-wrap: break-word;\n}","title":"$:/Seed/Styles/SiteBody","modified":"20260425214814877","tags":"$:/tags/Stylesheet","type":"text/css"},{"created":"20250711155149009","text":"/* Aplicar estilos a los p dentro de nodos específicos */\n[data-tiddler-title=\"$:/SiteHeader\"] [data-node-title=\"$:/SiteTitle\"] .stream-node-block p {\n font-size: 2.6em;\n font-family: 'LektonNerd';\n font-weight: normal;\n color: var(--Site_FontColor_Title);\n line-height: 0.9em;\n}\n\n[data-tiddler-title=\"$:/SiteHeader\"] [data-node-title=\"$:/SiteSubtitle\"] .stream-node-block p,\n[data-tiddler-title=\"$:/SiteHeader\"] [data-node-title=\"$:/status/UserName\"] .stream-node-block p {\n color: var(--Site_SubFontColor);\n font-size: 1em;\n}\n\n\n[data-tiddler-title=\"$:/SiteHeader\"] .stream-node-control-addnew {\n display: none;\n}\n\n[data-tiddler-title=\"$:/SiteHeader\"] [data-node-title=\"$:/SiteHeaderPicture\"] .stream-row {\n\t\tmargin-top: 0px;\n}\n\n.stream-droppable.stream-row-nochildren.tc-droppable[data-node-title=\"$:/SiteTitle\"] {\n transform: translate(0px, 0px);\n width: 300px;\n}\n\n.stream-droppable.stream-row-nochildren.tc-droppable[data-node-title=\"$:/SiteSubtitle\"] {\n transform: translate(0px, 0px);\n}\n\n.tc-tiddler-frame.tc-tiddler-view-frame.tc-tiddler-exists.tc-tiddler-system.tc-tagged-ghost[data-tiddler-title=\"$:/Home\"] {\n transform: translateY(0px);\n}\n","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/SiteHeader","modified":"20260508142543040","modifier":"M0","type":"text/css","stream-list":"20250724174432583","stream-type":"default"},{"created":"20260425223550325","text":"@media (min-width: 960px) {\n html .tc-story-river {\n position: relative;\n width: 800px;\n padding-top: 60px !important; \n padding-left: 40px !important; \n padding-right: 40px !important; \n margin: 0 auto;\n text-align: left;\n }\n}\n\n@media (min-width: 960px) {\n .tc-tiddler-frame {\n padding: 0px 0px 0px 0px;\n width: 686px;\n border-radius: 2px;\n }\n}","title":"$:/Seed/Styles/StoryRiver","modified":"20260425234042658","tags":"$:/tags/Stylesheet","type":"text/css"},{"created":"20250617202948106","text":".stream-node-block {\n\toverflow-wrap: break-word;\n\tmax-width: 100%px;\n\tmin-height: calc(1.5em + 8px);\n\tbox-sizing: border-box;\n\tmargin-top: -1px;\n\tmin-width: 100px;\n\twidth: 100%;\n\tline-height: 1.5em;\n\tcursor: text;\n\tpadding-top: 5px;\n\tpadding-bottom: 0px;\n\tuser-select: text;\n\t/* white-space: pre-wrap; */\n}\n\n.stream-node-block.stream-node-ctrl-btn {\n padding-bottom: 0px !important;\n}\n\n.stream-node-block .div-iframe {\n border-radius: var(--Site_BorderRadius);\n\n}\n\n.stream-node-block input.tc-edit-texteditor, .tc-tiddler-frame .stream-node-block textarea.tc-edit-texteditor, .tc-tiddler-frame .stream-node-block iframe.tc-edit-texteditor {\n\tbackground: var(--Site_HighligthBackgorund) !important;\n\tmargin-top: 0;\n\tmargin-bottom: 0;\n\tborder-color: var(--Site_HighligthBorder);\n\tborder-radius: var(--Site_BorderRadius);\n}\n\n.stream-node-block .cm-s-cmplus {\n\tbackground: var(--Site_HighligthBackgorund) !important;\n\tmargin-top: 0;\n\tmargin-bottom: 0;\n\tborder-color: var(--Site_HighligthBorder);\n\tborder-radius: var(--Site_BorderRadius);\n} \n\n.stream-node-block video {\n border-radius: var(--Site_BorderRadius);\n overflow: hidden;\n display: block;\n max-width: 100%;\n}\n\n.stream-droppable-spacer {\n height: 0px;\n}\n\n/*Espacio inferiore en bloques de streams deslegados*/\n\n.stream-droppable.stream-row-nochildren.tc-droppable:has(+ * + .stream-droppable.stream-droppable-terminal.tc-droppable) {\npadding-bottom: 25px;\n}","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Streams","modified":"20260425233953673","type":"text/css","modifier":"M0"},{"created":"20260323012528348","text":".stream-node-block img {\n border-radius: var(--Site_BorderRadius);\n border: 1px solid var(--Site_HighligthBorder);\n filter: grayscale(0%);\n transition: filter 0.3s ease;\n}\n\n.stream-node-block img:hover {\n filter: grayscale(0%);\n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Streams_Images","modified":"20260331105742619","type":"text/css"},{"created":"20260329235957355","text":"/* Color de icono */\n\n.stream-node-collapser svg {\n fill: White;\n}\n\n/* Sin colapsar */\n\n.stream-node-control .stream-node-collapser {\n opacity: 0.5; \n transition: opacity 0.2s ease;\n}\n\n/* Colapsado */\n\n.stream-row-children-collapsed .stream-node-control .stream-node-collapser {\n opacity: 0.5;\n}\n\n/* hover */\n\n.stream-row:hover .stream-node-collapser, .stream-row-children-collapsed.stream-row:hover .stream-node-collapser {\n opacity: 1;\n}\n","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Streams_NodeControl","modified":"20260331105750178","type":"text/css"},{"created":"20260331102050899","text":"/* Estado base */\n.stream-row[data-node-tags*=\"Project\"] \n .stream-node-block.stream-node-ctrl-btn {\n border: 1px solid #444;\n border-radius: 6px;\n margin-bottom: 20px;\n padding: 0px;\n background-color: #222; /* al pasar el mouse */\n transition: background-color 0.2s ease; /* animación suave */\n box-shadow: 0 1px 1px rgba(0,0,0,0.3);\n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Streams_ProjectsBlock","modified":"20260425215349715","type":"text/css"},{"created":"20260331104858688","text":".stream-node-block.stream-node-ctrl-btn h4 img {\n transform: translate(0px, -27px); /* mueve hacia arriba */\n width: 100%; /* ancho extendido más allá del bloque */\n height: 200px;\n object-fit: cover; /* mantiene proporción y recorta */\n object-position: center; /* centra recorte */\n border-bottom-left-radius: 0px; /* esquinas inferiores redondeadas */\n border-bottom-right-radius: 0px;\n}\n\n/* Aplica padding a <p> y <h4>, excepto a los <h4> que contengan <img> */\n.stream-node-block.stream-node-ctrl-btn p:not(:has(h4)),\n.stream-node-block.stream-node-ctrl-btn h4:not(:has(img)) {\n padding-left: 10px;\n padding-right: 10px;\n margin-bottom: 5px !important;\n}\n\n.stream-node-block.stream-node-ctrl-btn {\n padding-bottom: 10px !important;\n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Streams_ProjectsHeader","modified":"20260425215441177","type":"text/css"},{"created":"20260219182656531","text":".tag-pill {\n display: inline-block;\n padding: 4px 10px;\n margin: 10px 2px 0 0;\n border: 1px solid;\n border-color: var(--Site_HighligthBorder);\n border-radius: 1.2em;\n background-color: transparent;\n font-size: 0.9em;\n color: var(--Site_FontColor);\n line-height: 1.2em;\n white-space: nowrap;\n position: relative;\n}","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/TagPills","modified":"20260330004546576"},{"created":"20250716152910107","text":"@media (min-width: 960px) {html .tc-page-container {\n\t\ttext-align: center;\n\t}html .tc-story-river {\n\t\tposition: relative;\n\t\twidth: 850px;\n\t\tpadding: 42px;\n\t\tmargin: 0 auto;\n\t\ttext-align: left;\n\t}html .tc-sidebar-scrollable {\n\t\ttext-align: left;\n\t\tleft: 50%;\n\t\tright: 0;\n\t\tmargin-left: 400px;\n\t}\n}","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Theme","modified":"20260220161820974","type":"text/css","modifier":"M0"},{"created":"20250916133634233","text":".tc-topbar-right {\ndisplay: none;\n}","creator":"M0","tags":"$:/tags/Stylesheet","title":"$:/Seed/Styles/Topbar-Button","modified":"20260331101433083","modifier":"M0"},{"created":"20250804212636780","creator":"M0","text":"/*\nTiddlyTools/Modules/Info/WindowSize.js\nsave window size (pixels) to $:/info/browser/window/width and $:/info/browser/window/height\nwith resize listener\n*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.getInfoTiddlerFields = function(updateInfoTiddlersCallback) {\n\tif (!window) return ([]);\n\twindow.addEventListener(\"resize\",function(){\n\t\tupdateInfoTiddlersCallback([\n\t\t\t{title:\"$:/info/browser/window/width\",text:window.innerWidth.toString()},\n\t\t\t{title:\"$:/info/browser/window/height\",text:window.innerHeight.toString()}\n\t\t]);\n\t});\n\treturn ([\n\t\t{title:\"$:/info/browser/window/width\",text:window.innerWidth.toString()},\n\t\t{title:\"$:/info/browser/window/height\",text:window.innerHeight.toString()}\n\t]);\n};\n\n})();","title":"$:/Seed/TiddlyTools/Modules/Info/WindowSize.js","type":"application/javascript","module-type":"info","tags":"$:/tags/StartupAction/Browser","modified":"20250804212840066","modifier":"M0"},{"created":"20240306203048995","creator":"wilk","text":"\\widget $codeblock(code, language)\n<div class=\"code-copy-button\">\n\t<% if [<currentTiddler>!code-body[yes]] %>\n\t\t<$button\n\t\tmessage=\"tm-copy-to-clipboard\"\n\t\tparam=<<code>>\n\t\ttooltip=\"Copy\"\n\t\tclass=\"tc-btn-invisible\">\n\t\t\t{{$:/core/images/copy-clipboard}}\n\t\t</$button>\n\t<% endif %>\n\t<$genesis $type=\"$codeblock\" $remappable=\"no\" code=<<code>> language=<<language>>/>\n</div>\n\\end","tags":"$:/tags/Global $:/wilk/tweaks/CopyCodeButton","title":"$:/Seed/Widgets/Buttons/CodeCopy","modified":"20250919034820868","modifier":"M0"},{"created":"20200507005920476","creator":"M0","text":"<$button class=\"tc-btn-download\" tooltip=\"Decargar Semilla vacía\">\n<$action-sendmessage $message=\"tm-download-file\" $param=\"$:/editions/tw5.com/download-empty\" filename=\"empty.html\"/>\nDescargar\n</$button>","title":"$:/Seed/Widgets/Buttons/DownloadEmpty","modified":"20250906152406481","type":"text/vnd.tiddlywiki","modifier":"M0"},{"created":"20250721174334595","creator":"M0","text":"\\rules except wikilink\n\n<$wikify name=\"site-title\" text={{$:/config/SaveWikiButton/Filename}}>\n<$let publishFilter=\"\"\"-[[$:/config/SaveWikiButton/Template]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]]\"\"\">\n<$button class=\"tc-btn-download\" tooltip=\"Decargar Semilla de este wiki\" aria-label=\"download wiki seed\">\n<$action-sendmessage $message=\"tm-download-file\" $param=\"$:/Seed/Config/SaveSeed\" publishFilter=<<publishFilter>> filename=\"Seed\"/>\nDescargar\n</$button>\n</$let>\n</$wikify>","title":"$:/Seed/Widgets/Buttons/DownloadSeed","modified":"20250923034816863","modifier":"M0","type":"text/vnd.tiddlywiki"},{"created":"20250730142600508","creator":"M0","text":"\\widget $edit-codemirror(field, language)\n<div class=\"edit-exit-button\">\n\n <% if [<currentTiddler>!draft.of[yes]] %>\n <!-- Botón que copia el contenido en edición -->\n <$button\n message=\"tm-copy-to-clipboard\"\n param=<<currentTiddler!!text>>\n tooltip=\"Copiar\"\n class=\"tc-btn-invisible\">\n {{$:/core/images/close-button}}\n </$button>\n <% endif %>\n\n <!-- Editor de código basado en CodeMirror -->\n <$genesis $type=\"$edit-codemirror\" $remappable=\"no\" field=<<currentTiddler!!text>>language=<<language>>/>\n\n</div>\n\\end","title":"$:/Seed/Widgets/Buttons/EditExit","modified":"20250730181817983","modifier":"M0","tags":"$:/tags/Global","type":"text/plain"},{"created":"20250919230720460","creator":"M0","text":"\\whitespace trim\n<$button\n class=<<tv-config-toolbar-class>>\n setTitle=\"$:/layout\"\n setTo={{{ [[$:/layout]text[$:/core/ui/PageTemplate]then[$:/Seed/Layouts/ReaderView/PageTemplate]else[$:/core/ui/PageTemplate]] }}}\n>\n <$list filter=\"[[$:/layout]!text[$:/core/ui/PageTemplate]]\">\n {{$:/images/eva-icons/fill/edit}}\n<$action-setfield $tiddler=\"$:/state/sidebar\" $value=\"yes\"/>\n<$list filter=\"[prefix[$:/state/sq/streams/visibility/]]\">\n <$action-setfield $tiddler=<<currentTiddler>> $value=\"hide\"/>\n</$list>\n </$list>\n <$list filter=\"[[$:/layout]text[$:/core/ui/PageTemplate]]\"> \n {{$:/images/font-awesome/brands/readme}}\n<$action-setfield $tiddler=\"$:/state/sidebar\" $value=\"no\"/>\n<$list filter=\"[prefix[$:/state/sq/streams/visibility/]]\">\n <$action-setfield $tiddler=<<currentTiddler>> $value=\"hide\"/>\n</$list>\n </$list>\n</$button>","tags":"$:/tags/PageControls","title":"$:/Seed/Widgets/Buttons/ToogleLayout","modified":"20250920062229819","modifier":"M0","mode":"view"},{"created":"20220217025600231","creator":"M0","text":"<$list filter=\"[tag[AutostreamTest]get[modified]sum[]]\">\n<$action-setfield $tiddler=\"20250911133440184\" stream-list={{{ [tag[AutostreamTest]format:titlelist[]join[ ]] }}}/>\n</$list>\n","title":"$:/Seed/Widgets/Startup-Autostreams","modified":"20250920015157008","modifier":"M0","tags":""},{"created":"20250911210146800","creator":"M0","text":"<$action-setfield $tiddler=\"$:/layout\" $value=\"$:/Seed/Layouts/ReaderView/PageTemplate\"/>","tags":"$:/tags/StartupAction/Browser","title":"$:/Seed/Widgets/Startup-Layouts","modified":"20250920015208596","modifier":"M0"},{"created":"20260312171250200","text":"<!-- tiddlers dentro de projects -->\n\n<$list filter=\"[!is[draft]kin:stream-list:from[20260217152211518]![20260217152211518]addprefix[$:/state/sq/streams/visibility/]]\">\n<$list filter=\"[prefix<currentTiddler>]\">\n <$action-setfield $tiddler=<<currentTiddler>> $value=\"show\"/>\n</$list>\n</$list>\n\n<!-- Projects Section -->\n\n<$list filter=\"[[20260217152211518]addprefix[$:/state/sq/streams/visibility/]]\">\n<$list filter=\"[prefix<currentTiddler>]\">\n <$action-setfield $tiddler=<<currentTiddler>> $value=\"hide\"/>\n</$list>\n</$list>\n\n\n","creator":"M0","tags":"$:/tags/StartupAction/Browser","title":"$:/Seed/Widgets/Startup-Sections","modified":"20260317140203377","modifier":"M0"},{"created":"20250721072515646","text":"<$action-setfield $tiddler=\"$:/state/sidebar\" $value=\"no\"/>\n","creator":"M0","tags":"$:/tags/StartupAction/Browser","title":"$:/Seed/Widgets/Startup-Sidebar","modified":"20260312165317854","modifier":"M0"},{"created":"20250918131330364","text":"\\widget $stream-node-body()\n<$genesis\n $type=\"div\"\n $remappable=\"no\"\n class=\"stream-node-block stream-node-ctrl-btn\"\n data-btn-role=\"stream-node-visibility\"\n data-rowchildren-visibility-state=<<row-children-visibility-state>>\n>\n <$list filter=\"[<row-edit-state>get[text]!is[blank]else[]match<currentTiddler>]\" variable=\"NULL\" emptyMessage=\"\"\"{{||$:/plugins/sq/streams/templates/stream-row-body}}\"\"\">\n <$keyboard-plus shortcutTag=\"$:/tags/streams/keyboard-shortcuts\">\n {{||$:/plugins/sq/streams/editor-template}}\n </$keyboard-plus>\n </$list>\n</$genesis>\n\\end","creator":"M0","tags":"$:/tags/Global","title":"$:/Seed/Widgets/Streams/Titles","modified":"20260222195511995","modifier":"M0","type":"text/vnd.tiddlywiki"},{"created":"20250911182422390","creator":"M0","text":"! Contact","parent":"$:/Home","stream-type":"default","modified":"20251102154543552","modifier":"M0","title":"$:/SiteContact","stream-list":"20250923043846244"},{"created":"20250911010345007","creator":"M0","text":"! Projects","parent":"$:/Home","stream-type":"default","stream-list":"20250827150207807 20251102141407193 20250929170157621 20250804231536283 20250827192825793","modified":"20260215211617693","modifier":"M0","title":"$:/SiteContent","tags":"NoStreamTitle"},{"created":"20250911000818791","creator":"M0","text":"! Glosary","parent":"$:/Home","stream-type":"default","stream-list":"20250818143916460","modified":"20250923041713827","modifier":"M0","title":"$:/SiteGlosary","tags":""},{"created":"20250426150524114","creator":"M00","text":"","title":"$:/SiteHeader","stream-list":"$:/SiteHeaderPicture $:/SiteTitle $:/SiteSubtitle","modified":"20260331103819315","stream-type":"default","tags":"ghost","modifier":"M0","parent":"$:/SiteInfo"},{"created":"20250913022624239","creator":"M0","text":" [img width=80px [./Assets/Img/Profile.jpg]]<br><br>","parent":"20250911112652502","stream-type":"default","modified":"20260320181245954","modifier":"M0","title":"$:/SiteHeaderPicture","tags":"nobullet"},{"created":"20250910134654242","creator":"M0","text":"! Wiki","parent":"$:/Home","stream-type":"default","modified":"20251102153452974","modifier":"M0","title":"$:/SiteInfo","stream-list":"$:/SiteSeedbed","tags":"ghost editor"},{"created":"20250906131141193","creator":"M0","text":"! Semillero","parent":"$:/Home","stream-type":"default","modified":"20250911221717980","modifier":"M0","title":"$:/SiteSeedbed","stream-list":"20250909163503216"},{"created":"20260301215231928","title":"$:/SiteSubtitle","text":"Industrial Designer","modified":"20260303230957686","stream-type":"default","parent":"$:/SiteHeader"},{"created":"20250726020455454","creator":"M0","text":"Maurice Haedo Sanabria","title":"$:/SiteTitle","modified":"20260301222156985","modifier":"M0","stream-type":"default","parent":"$:/SiteHeader"},{"created":"20250916002353934","creator":"M0","title":"$:/state/advancedsearch/currentTab","text":"$:/core/ui/AdvancedSearch/Standard","modified":"20260508151704698","modifier":"M0"},{"created":"20260216053520728","creator":"M0","title":"$:/state/commander/log-tiddler","text":"$:/temp/commander/logs/tid-1","modified":"20260331103833651","modifier":"M0"},{"created":"20260307112332934","title":"$:/state/dynamictables/20260307050643128/edit-view-status","type":"application/json","text":"{\n \"mode\": \"view\"\n}","modified":"20260307112413876"},{"created":"20260307112400860","title":"$:/state/dynamictables/20260307050643128/sortby","type":"application/json","text":"{\n \"hasnegate\": \"false\",\n \"negate\": \"\",\n \"sortIndex\": \"text\"\n}","modified":"20260307112400862"},{"created":"20260307051257283","title":"$:/state/dynamictables/exmp01/edit-view-status","type":"application/json","text":"{\n \"mode\": \"view\"\n}","modified":"20260307051509707"},{"created":"20250917225121115","creator":"M0","title":"$:/state/editions/tw5.com/20250917223811770/1","text":"show","modified":"20250917230923437","modifier":"M0"},{"title":"$:/state/http-requests","text":"0"},{"created":"20250913143210527","creator":"M0","title":"$:/state/plugin-info--1292284894-$:/plugins/tiddlywiki/menubar--826952606","text":"contents","modified":"20250913143211374","modifier":"M0"},{"created":"20250507193420568","title":"$:/state/plugin-info--1297199144-$:/plugins/Gk0Wk/sidebar-resizer---830360575","text":"readme","modified":"20250507193422401"},{"created":"20260217105934216","creator":"M0","title":"$:/state/plugin-info--2074900584-$:/plugins/sq/macy---1378264386","text":"readme","modified":"20260217105935152","modifier":"M0"},{"created":"20250920054114297","creator":"M0","title":"$:/state/plugin-info-2070093282-$:/plugins/danielo515/2click2edit--166571559","text":"contents","modified":"20250920054114297","modifier":"M0"},{"created":"20260217105852952","creator":"M0","title":"$:/state/plugin-info-252984856-$:/plugins/oeyoews/medium-zoom--476340180","text":"contents","modified":"20260217110330713","modifier":"M0"},{"created":"20260222194411927","title":"$:/state/plugin-info-612682010-$:/plugins/sq/streams---1896991647","text":"Settings","modified":"20260222194414719"},{"created":"20250916143622523","creator":"M0","title":"$:/state/plugin-info-713020762-$:/plugins/tiddlywiki/menubar--777473238","text":"contents","modified":"20250916143623412","modifier":"M0"},{"created":"20250916121335814","creator":"M0","title":"$:/state/showeditpreview","text":"yes","modified":"20260221150351470","modifier":"M0"},{"created":"20250507172355585","creator":"M00","title":"$:/state/sidebar","text":"no","modified":"20260508161454975","modifier":"M0"},{"created":"20250916003458346","creator":"M0","title":"$:/state/sq/streams/current-edit-tiddler-738732354","text":"20250916000331718","modified":"20250916003458346","modifier":"M0"},{"created":"20260308135914836","title":"$:/state/sq/streams/current-edit-tiddler-839251266","text":"20260217182721901","modified":"20260308135914836"},{"created":"20260215211851682","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/About-2084758390","text":"hide","modified":"20260508161454977","modifier":"M0"},{"created":"20260215212528226","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/About/Bio--711854599","text":"hide","modified":"20260508161454978","modifier":"M0"},{"created":"20260216180851643","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/About/Bio-1073946309","text":"hide","modified":"20260508161454980","modifier":"M0"},{"created":"20260216012515522","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/About/Bio-2102480381","text":"hide","modified":"20260508161454982","modifier":"M0"},{"created":"20260216012653966","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/About/Bio-927012377","text":"hide","modified":"20260508161454984","modifier":"M0"},{"created":"20260215212603538","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV--1714182646","text":"hide","modified":"20260508161454986","modifier":"M0"},{"created":"20260216181109960","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Education--353475461","text":"hide","modified":"20260508161454988","modifier":"M0"},{"created":"20260216012546078","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Education-1182449587","text":"hide","modified":"20260508161454990","modifier":"M0"},{"created":"20260216012657326","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Education-132141603","text":"hide","modified":"20260508161454994","modifier":"M0"},{"created":"20260216174841789","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Education/20250617174350769-651183013","text":"hide","modified":"20260508161454996","modifier":"M0"},{"created":"20260216181111008","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Prizes--1448703282","text":"hide","modified":"20260508161454998","modifier":"M0"},{"created":"20260216012621738","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Prizes--645896990","text":"hide","modified":"20260508161454999","modifier":"M0"},{"created":"20260216012547219","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Prizes-1173875718","text":"hide","modified":"20260508161455000","modifier":"M0"},{"created":"20260216012658524","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/Prizes-1607227312","text":"hide","modified":"20260508161455001","modifier":"M0"},{"created":"20260215212522515","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences--1954582845","text":"hide","modified":"20260508161455002","modifier":"M0"},{"created":"20260216181108824","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences--2026538815","text":"hide","modified":"20260508161455003","modifier":"M0"},{"created":"20260216012522635","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences--921755655","text":"hide","modified":"20260508161455004","modifier":"M0"},{"created":"20260215212538390","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences-266730877","text":"hide","modified":"20260508161455005","modifier":"M0"},{"created":"20260216012612770","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences-803690909","text":"hide","modified":"20260508161455006","modifier":"M0"},{"created":"20260216173433018","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/20250617171739774-589897043","text":"hide","modified":"20260508161455008","modifier":"M0"},{"created":"20260216173446469","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/20250617171911108--500904452","text":"hide","modified":"20260508161455009","modifier":"M0"},{"created":"20260216173442724","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/20250617171916400-1818758034","text":"hide","modified":"20260508161455010","modifier":"M0"},{"created":"20260216173915395","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/20250617171923117--2009197031","text":"hide","modified":"20260508161455011","modifier":"M0"},{"created":"20260216174836575","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/20250617171925251-366324942","text":"hide","modified":"20260508161455012","modifier":"M0"},{"created":"20260216173436142","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/Copincha--608613505","text":"hide","modified":"20260508161455013","modifier":"M0"},{"created":"20260216173434652","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/MONCAR--579484204","text":"hide","modified":"20260508161455014","modifier":"M0"},{"created":"20260216173437636","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/CV/ProfessionalExperiences/PPH-540970566","text":"hide","modified":"20260508161455015","modifier":"M0"},{"created":"20260215211838561","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Projects-571113541","text":"hide","modified":"20260508161455016","modifier":"M0"},{"created":"20260216011058272","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Projects-803127565","text":"hide","modified":"20260508161455017","modifier":"M0"},{"created":"20260215212658833","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Projects/Copincha/3DTheCubanWay-498089862","text":"hide","modified":"20260508161455018","modifier":"M0"},{"created":"20260216180544815","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Projects/Copincha/MappingInequalityInTheCloud--469319134","text":"hide","modified":"20260508161455019","modifier":"M0"},{"created":"20260215212633187","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Projects/Copincha/PPH--180900260","text":"hide","modified":"20260508161455020","modifier":"M0"},{"created":"20260216184652952","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Projects/Copincha/PPH--835526364","text":"hide","modified":"20260508161455020","modifier":"M0"},{"created":"20260216175330223","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Workshops--115331937","text":"hide","modified":"20260508161455022","modifier":"M0"},{"created":"20260215211850405","creator":"M0","title":"$:/state/sq/streams/visibility/$:/Home/Workshops-199839703","text":"hide","modified":"20260508161455022","modifier":"M0"},{"created":"20260312160243312","title":"$:/state/sq/streams/visibility/$:/Seed/Widgets/Startup-Sidebar","myfield":"show","modified":"20260508161455024","text":"hide"},{"created":"20250918121633129","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteContact--1902578602","text":"hide","modified":"20260508161455024","modifier":"M0"},{"created":"20250918121652020","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteContact-340587294","text":"hide","modified":"20260508161455026","modifier":"M0"},{"created":"20250917152503237","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteContent-1623665701","text":"hide","modified":"20260508161455027","modifier":"M0"},{"created":"20250917172838611","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteContent-731650909","text":"hide","modified":"20260508161455028","modifier":"M0"},{"created":"20250917152504405","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteGlosary--1950052705","text":"hide","modified":"20260508161455029","modifier":"M0"},{"created":"20250917172005856","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteGlosary--409882153","text":"hide","modified":"20260508161455029","modifier":"M0"},{"created":"20250918110815270","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteHeaderPicture-1616264440","text":"hide","modified":"20260508161455030","modifier":"M0"},{"created":"20250920011717015","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteHeaderPicture-672477744","text":"hide","modified":"20260508161455032","modifier":"M0"},{"created":"20250917193137085","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteInfo","text":"hide","modified":"20260508161455032","modifier":"M0"},{"created":"20250917152501533","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteInfo--1722166938","text":"hide","modified":"20260508161455032","modifier":"M0"},{"created":"20250917170349594","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteInfo-1786471070","text":"hide","modified":"20260508161455033","modifier":"M0"},{"created":"20250917223001453","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteInfo^","text":"hide","modified":"20260508161455035","modifier":"M0"},{"created":"20250917152506977","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSeedbed--1244698418","text":"hide","modified":"20260508161455036","modifier":"M0"},{"created":"20250917172003945","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSeedbed--878917114","text":"hide","modified":"20260508161455036","modifier":"M0"},{"created":"20251102153502068","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSeedbed-1660616656","text":"hide","modified":"20260508161455037","modifier":"M0"},{"created":"20260215211906493","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSeedbed-466098320","text":"hide","modified":"20260508161455038","modifier":"M0"},{"created":"20250920011907330","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSubtitle--1455271737","text":"hide","modified":"20260508161455039","modifier":"M0"},{"created":"20260215211759449","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSubtitle--1889511052","text":"hide","modified":"20260508161455040","modifier":"M0"},{"created":"20250918121337801","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSubtitle-115917823","text":"hide","modified":"20260508161455041","modifier":"M0"},{"created":"20250923041239728","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteSubtitle-1896291770","text":"hide","modified":"20260508161455043","modifier":"M0"},{"created":"20250923041234679","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteTitle--155435632","text":"hide","modified":"20260508161455043","modifier":"M0"},{"created":"20250918121323527","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteTitle--1746805399","text":"hide","modified":"20260508161455044","modifier":"M0"},{"created":"20260215211807601","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteTitle-218032222","text":"hide","modified":"20260508161455044","modifier":"M0"},{"created":"20250920063556589","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteTitle-437109176","text":"hide","modified":"20260508161455045","modifier":"M0"},{"created":"20250918120149741","creator":"M0","title":"$:/state/sq/streams/visibility/$:/SiteTitle-624907825","text":"hide","modified":"20260508161455046","modifier":"M0"},{"created":"20250923041025304","creator":"M0","title":"$:/state/sq/streams/visibility/$:/status/UserName-1889731527","text":"hide","modified":"20260508161455047","modifier":"M0"},{"created":"20250923043105890","creator":"M0","title":"$:/state/sq/streams/visibility/$:/status/UserName-827588751","text":"hide","modified":"20260508161455048","modifier":"M0"},{"created":"20250923012740830","creator":"M0","title":"$:/state/sq/streams/visibility/20250509194546772-2020838700","text":"hide","modified":"20260508161455048","modifier":"M0"},{"created":"20250923012741933","creator":"M0","title":"$:/state/sq/streams/visibility/20250514221030102-773992534","text":"hide","modified":"20260508161455049","modifier":"M0"},{"created":"20250923045153032","creator":"M0","title":"$:/state/sq/streams/visibility/20250520204402112-1210899888","text":"hide","modified":"20260508161455050","modifier":"M0"},{"created":"20250923045206011","creator":"M0","title":"$:/state/sq/streams/visibility/20250520204541494-1275425839","text":"hide","modified":"20260508161455050","modifier":"M0"},{"created":"20250917170352059","creator":"M0","title":"$:/state/sq/streams/visibility/20250521155936805--674505713","text":"hide","modified":"20260508161455051","modifier":"M0"},{"created":"20250919040503492","creator":"M0","title":"$:/state/sq/streams/visibility/20250521155936805-1267943639","text":"hide","modified":"20260508161455052","modifier":"M0"},{"created":"20250923045357881","creator":"M0","title":"$:/state/sq/streams/visibility/20250521155947788--76448885","text":"hide","modified":"20260508161455053","modifier":"M0"},{"created":"20260218220606655","title":"$:/state/sq/streams/visibility/20250618152016053--331885661","text":"hide","modified":"20260508161455053"},{"created":"20260301211313309","title":"$:/state/sq/streams/visibility/20250618152016053--434220797","text":"hide","modified":"20260508161455054"},{"created":"20260219021850004","title":"$:/state/sq/streams/visibility/20250618152016053--539747877","text":"hide","modified":"20260508161455055"},{"created":"20260301200517477","title":"$:/state/sq/streams/visibility/20250618152016053-1260237427","text":"hide","modified":"20260508161455057"},{"created":"20260219031802611","title":"$:/state/sq/streams/visibility/20250618152016053-1362572563","text":"hide","modified":"20260508161455058"},{"created":"20260216190309073","creator":"M0","title":"$:/state/sq/streams/visibility/20250618152016053-565375043","text":"hide","modified":"20260508161455059","modifier":"M0"},{"created":"20260312160243313","title":"$:/state/sq/streams/visibility/20250618152137846","myfield":"show","modified":"20260508161455060","text":"hide"},{"created":"20260215212632915","creator":"M0","title":"$:/state/sq/streams/visibility/20250618152137846--1716719497","text":"hide","modified":"20260508161455061","modifier":"M0"},{"created":"20260217183146102","title":"$:/state/sq/streams/visibility/20250618152137846-1154376591","text":"hide","modified":"20260508161455061"},{"created":"20260217183945954","title":"$:/state/sq/streams/visibility/20250618152137846-1570164823","text":"hide","modified":"20260508161455062"},{"created":"20260227182654371","title":"$:/state/sq/streams/visibility/20250618154011622-457921540","text":"hide","modified":"20260508161455063"},{"created":"20260217183131740","title":"$:/state/sq/streams/visibility/20250618154011622-750871924","text":"hide","modified":"20260508161455064"},{"created":"20260216221318436","creator":"M0","title":"$:/state/sq/streams/visibility/20250618154011622-923545932","text":"hide","modified":"20260508161455065","modifier":"M0"},{"created":"20260216183139786","creator":"M0","title":"$:/state/sq/streams/visibility/20250618154053298-317861007","text":"hide","modified":"20260508161455066","modifier":"M0"},{"created":"20260216174959650","creator":"M0","title":"$:/state/sq/streams/visibility/20250618154125067--548677235","text":"hide","modified":"20260508161455066","modifier":"M0"},{"created":"20260219022020425","title":"$:/state/sq/streams/visibility/20250618154125067--778814463","text":"hide","modified":"20260508161455067"},{"created":"20260221145455215","title":"$:/state/sq/streams/visibility/20250618154125067--943247379","text":"hide","modified":"20260508161455068"},{"created":"20260217183149354","title":"$:/state/sq/streams/visibility/20250618161215890--40557835","text":"hide","modified":"20260508161455068"},{"created":"20260215212635233","creator":"M0","title":"$:/state/sq/streams/visibility/20250618161215890-1808290141","text":"hide","modified":"20260508161455069","modifier":"M0"},{"created":"20260215212520877","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173202334--367740841","text":"hide","modified":"20260508161455070","modifier":"M0"},{"created":"20260301200257968","title":"$:/state/sq/streams/visibility/20250618173202334--742720695","text":"hide","modified":"20260508161455072"},{"created":"20260215212535122","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173202334--890088855","text":"hide","modified":"20260508161455074","modifier":"M0"},{"created":"20260216012609186","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173202334-1115030153","text":"hide","modified":"20260508161455075","modifier":"M0"},{"created":"20260301211803628","title":"$:/state/sq/streams/visibility/20250618173202334-1642116113","text":"hide","modified":"20260508161455076"},{"created":"20260216012519658","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173202334-1657568141","text":"hide","modified":"20260508161455077","modifier":"M0"},{"created":"20260216181108048","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173202334-185674837","text":"hide","modified":"20260508161455078","modifier":"M0"},{"created":"20260301212848184","title":"$:/state/sq/streams/visibility/20250618173211028-1484137297","text":"hide","modified":"20260508161455078"},{"created":"20260228040002313","title":"$:/state/sq/streams/visibility/20250618173211028-1746449685","text":"hide","modified":"20260508161455079"},{"created":"20260216170911178","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173211028-1937605709","text":"hide","modified":"20260508161455080","modifier":"M0"},{"created":"20260301200312400","title":"$:/state/sq/streams/visibility/20250618173211028-529984137","text":"hide","modified":"20260508161455081"},{"created":"20260215212109385","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173220445--279345198","text":"hide","modified":"20260508161455082","modifier":"M0"},{"created":"20260216171359546","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173220445--444664184","text":"hide","modified":"20260508161455082","modifier":"M0"},{"created":"20260216012418682","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173220445--812218858","text":"hide","modified":"20260508161455083","modifier":"M0"},{"created":"20260216171335451","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173225728--1112829819","text":"hide","modified":"20260508161455084","modifier":"M0"},{"created":"20260215212126634","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173225728-1405133135","text":"hide","modified":"20260508161455084","modifier":"M0"},{"created":"20260215212142045","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173229303--1173731398","text":"hide","modified":"20260508161455085","modifier":"M0"},{"created":"20260216172439203","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173229303-1633532528","text":"hide","modified":"20260508161455086","modifier":"M0"},{"created":"20260216171608686","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173301986--1012937206","text":"hide","modified":"20260508161455087","modifier":"M0"},{"created":"20260215212102250","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173301986--452900268","text":"hide","modified":"20260508161455088","modifier":"M0"},{"created":"20260215212033389","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173307342--757770848","text":"hide","modified":"20260508161455088","modifier":"M0"},{"created":"20260216171617026","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173307342-305854294","text":"hide","modified":"20260508161455090","modifier":"M0"},{"created":"20260216171651602","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173312782--168222096","text":"hide","modified":"20260508161455092","modifier":"M0"},{"created":"20260215212207745","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173312782--298060486","text":"hide","modified":"20260508161455094","modifier":"M0"},{"created":"20260216170958959","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173319989--1992219378","text":"hide","modified":"20260508161455095","modifier":"M0"},{"created":"20260215212225938","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173319989-273446744","text":"hide","modified":"20260508161455096","modifier":"M0"},{"created":"20260216012423969","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173328269--308816979","text":"hide","modified":"20260508161455098","modifier":"M0"},{"created":"20260215212015981","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173328269--603474853","text":"hide","modified":"20260508161455101","modifier":"M0"},{"created":"20260216171323222","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173328269-666050961","text":"hide","modified":"20260508161455102","modifier":"M0"},{"created":"20260216170943234","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173424069--1329986160","text":"hide","modified":"20260508161455104","modifier":"M0"},{"created":"20260216171858052","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173424069-357391782","text":"hide","modified":"20260508161455105","modifier":"M0"},{"created":"20260216190708837","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173502710--1112502744","text":"hide","modified":"20260508161455106","modifier":"M0"},{"created":"20260228040003399","title":"$:/state/sq/streams/visibility/20250618173502710--429217552","text":"hide","modified":"20260508161455107"},{"created":"20260216172140726","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173502710--778847666","text":"hide","modified":"20260508161455108","modifier":"M0"},{"created":"20260301200313383","title":"$:/state/sq/streams/visibility/20250618173502710--853223538","text":"hide","modified":"20260508161455109"},{"created":"20260301212849061","title":"$:/state/sq/streams/visibility/20250618173502710-568026710","text":"hide","modified":"20260508161455111"},{"created":"20260219023417754","title":"$:/state/sq/streams/visibility/20250618173509777-1086880340","text":"hide","modified":"20260508161455112"},{"created":"20260216172408248","creator":"M0","title":"$:/state/sq/streams/visibility/20250618173545006--745565907","text":"hide","modified":"20260508161455113","modifier":"M0"},{"created":"20260216170752421","creator":"M0","title":"$:/state/sq/streams/visibility/20250618181442116--1393197780","text":"hide","modified":"20260508161455114","modifier":"M0"},{"created":"20260216171921895","creator":"M0","title":"$:/state/sq/streams/visibility/20250618181513164-1168821912","text":"hide","modified":"20260508161455115","modifier":"M0"},{"created":"20260301200315793","title":"$:/state/sq/streams/visibility/20250618181534189--336819756","text":"hide","modified":"20260508161455115"},{"created":"20260301212850549","title":"$:/state/sq/streams/visibility/20250618181534189--42873700","text":"hide","modified":"20260508161455116"},{"created":"20260216170908058","creator":"M0","title":"$:/state/sq/streams/visibility/20250618181534189-1052302370","text":"hide","modified":"20260508161455117","modifier":"M0"},{"created":"20260228040005542","title":"$:/state/sq/streams/visibility/20250618181534189-891011818","text":"hide","modified":"20260508161455119"},{"created":"20260216172419773","creator":"M0","title":"$:/state/sq/streams/visibility/20250618182848617-386362031","text":"hide","modified":"20260508161455120","modifier":"M0"},{"created":"20260216172509465","creator":"M0","title":"$:/state/sq/streams/visibility/20250618182923968--1360994642","text":"hide","modified":"20260508161455121","modifier":"M0"},{"created":"20260216191040319","creator":"M0","title":"$:/state/sq/streams/visibility/20250618182923968-565526414","text":"hide","modified":"20260508161455121","modifier":"M0"},{"created":"20260216172417368","creator":"M0","title":"$:/state/sq/streams/visibility/20250618182955630-391389621","text":"hide","modified":"20260508161455122","modifier":"M0"},{"created":"20260215211839848","creator":"M0","title":"$:/state/sq/streams/visibility/20250618214426348--2036519610","text":"hide","modified":"20260508161455123","modifier":"M0"},{"created":"20260216170801086","creator":"M0","title":"$:/state/sq/streams/visibility/20250618223320892-1895631911","text":"hide","modified":"20260508161455124","modifier":"M0"},{"created":"20260216170803761","creator":"M0","title":"$:/state/sq/streams/visibility/20250618223424219--714179581","text":"hide","modified":"20260508161455125","modifier":"M0"},{"created":"20260216170741846","creator":"M0","title":"$:/state/sq/streams/visibility/20250618223615048-1790859469","text":"hide","modified":"20260508161455127","modifier":"M0"},{"created":"20260215212918298","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230619999-1133188910","text":"hide","modified":"20260508161455128","modifier":"M0"},{"created":"20260215214638636","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230638136--350135156","text":"hide","modified":"20260508161455130","modifier":"M0"},{"created":"20260215224100880","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230638136-1725574996","text":"hide","modified":"20260508161455131","modifier":"M0"},{"created":"20260218220355087","title":"$:/state/sq/streams/visibility/20250618230638136-181935716","text":"hide","modified":"20260508161455133"},{"created":"20260217183935695","title":"$:/state/sq/streams/visibility/20250618230638136-2051162412","text":"hide","modified":"20260508161455135"},{"created":"20260217183937372","title":"$:/state/sq/streams/visibility/20250618230647613--1003926318","text":"hide","modified":"20260508161455136"},{"created":"20260303234201196","title":"$:/state/sq/streams/visibility/20250618230647613--1178664692","text":"hide","modified":"20260508161455136"},{"created":"20260218204614960","title":"$:/state/sq/streams/visibility/20250618230647613-1101477386","text":"hide","modified":"20260508161455137"},{"created":"20260215212917882","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230647613-1711154610","text":"hide","modified":"20260508161455138","modifier":"M0"},{"created":"20260219030446548","title":"$:/state/sq/streams/visibility/20250618230700376--895457170","text":"hide","modified":"20260508161455139"},{"created":"20260216174912733","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230700376-723589606","text":"hide","modified":"20260508161455140","modifier":"M0"},{"created":"20260218220904947","title":"$:/state/sq/streams/visibility/20250618230700376-815860134","text":"hide","modified":"20260508161455140"},{"created":"20260217183943623","title":"$:/state/sq/streams/visibility/20250618230711617--2043757896","text":"hide","modified":"20260508161455141"},{"created":"20260303234736807","title":"$:/state/sq/streams/visibility/20250618230711617-1165754150","text":"hide","modified":"20260508161455142"},{"created":"20260217181529961","title":"$:/state/sq/streams/visibility/20250618230711617-1679896560","text":"hide","modified":"20260508161455142"},{"created":"20260216021343298","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230711617-40868832","text":"hide","modified":"20260508161455143","modifier":"M0"},{"created":"20260215214640083","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230711617-844718360","text":"hide","modified":"20260508161455144","modifier":"M0"},{"created":"20260215214637645","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230941287-1051322926","text":"hide","modified":"20260508161455145","modifier":"M0"},{"created":"20260216010646225","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230941287-1160198390","text":"hide","modified":"20260508161455145","modifier":"M0"},{"created":"20260216183311151","creator":"M0","title":"$:/state/sq/streams/visibility/20250618230954292--2035936026","text":"hide","modified":"20260508161455146","modifier":"M0"},{"created":"20260216180914172","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231034210-376533658","text":"hide","modified":"20260508161455147","modifier":"M0"},{"created":"20260216183242275","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231034210-759426002","text":"hide","modified":"20260508161455148","modifier":"M0"},{"created":"20260216183622706","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231047784--255042670","text":"hide","modified":"20260508161455149","modifier":"M0"},{"created":"20260215212922818","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231102358--1045745201","text":"hide","modified":"20260508161455149","modifier":"M0"},{"created":"20260218204325898","title":"$:/state/sq/streams/visibility/20250618231102358-1715580647","text":"hide","modified":"20260508161455151"},{"created":"20260216225149710","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231102358-2106531479","text":"hide","modified":"20260508161455152","modifier":"M0"},{"created":"20260312160243314","title":"$:/state/sq/streams/visibility/20250618231108801","myfield":"show","modified":"20260508161455153","text":"hide"},{"created":"20260218220451582","title":"$:/state/sq/streams/visibility/20250618231108801-261212652","text":"hide","modified":"20260508161455153"},{"created":"20260218220903011","title":"$:/state/sq/streams/visibility/20250618231125181--465688716","text":"hide","modified":"20260508161455154"},{"created":"20260217184342546","title":"$:/state/sq/streams/visibility/20250618231125181--887870916","text":"hide","modified":"20260508161455154"},{"created":"20260216013943516","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231131707--1312390453","text":"hide","modified":"20260508161455155","modifier":"M0"},{"created":"20260308145748173","title":"$:/state/sq/streams/visibility/20250618231131707--2033567269","text":"hide","modified":"20260508161455156"},{"created":"20260216005006251","creator":"M0","title":"$:/state/sq/streams/visibility/20250618231131707--2122744317","text":"hide","modified":"20260508161455157","modifier":"M0"},{"created":"20260217182915567","title":"$:/state/sq/streams/visibility/20250618231131707-1806548507","text":"hide","modified":"20260508161455158"},{"created":"20260216222638181","creator":"M0","title":"$:/state/sq/streams/visibility/20250619012332830--1659456361","text":"hide","modified":"20260508161455159","modifier":"M0"},{"created":"20260216223704106","creator":"M0","title":"$:/state/sq/streams/visibility/20250619020700080-431218210","text":"hide","modified":"20260508161455159","modifier":"M0"},{"created":"20260227173446680","title":"$:/state/sq/streams/visibility/20250619123829066--759424960","text":"hide","modified":"20260508161455160"},{"created":"20260216183613627","creator":"M0","title":"$:/state/sq/streams/visibility/20250619123829066-472944800","text":"hide","modified":"20260508161455161","modifier":"M0"},{"created":"20260307203642758","title":"$:/state/sq/streams/visibility/20250619123829066-547002878","text":"hide","modified":"20260508161455161"},{"created":"20260219170654069","title":"$:/state/sq/streams/visibility/20250619123829066-887790968","text":"hide","modified":"20260508161455161"},{"created":"20260216221732978","creator":"M0","title":"$:/state/sq/streams/visibility/20250619171459139--652461063","text":"hide","modified":"20260508161455163","modifier":"M0"},{"created":"20260216221533705","creator":"M0","title":"$:/state/sq/streams/visibility/20250619171918930-677480162","text":"hide","modified":"20260508161455164","modifier":"M0"},{"created":"20260317193041061","title":"$:/state/sq/streams/visibility/20250619220745946--1523983621","text":"hide","modified":"20260508161455165"},{"created":"20260216223113829","creator":"M0","title":"$:/state/sq/streams/visibility/20250619220745946-1166025712","text":"hide","modified":"20260508161455166","modifier":"M0"},{"created":"20260218205917586","title":"$:/state/sq/streams/visibility/20250619220745946-1218616520","text":"hide","modified":"20260508161455167"},{"created":"20260219180959452","title":"$:/state/sq/streams/visibility/20250619220745946-1930140070","text":"hide","modified":"20260508161455167"},{"created":"20260219071733377","title":"$:/state/sq/streams/visibility/20250619220745946-28014480","text":"hide","modified":"20260508161455168"},{"created":"20260308114817749","title":"$:/state/sq/streams/visibility/20250619220745946-740799982","text":"hide","modified":"20260508161455169"},{"created":"20260215212841664","creator":"M0","title":"$:/state/sq/streams/visibility/20250619220812682-1012815274","text":"hide","modified":"20260508161455171","modifier":"M0"},{"created":"20260216010642667","creator":"M0","title":"$:/state/sq/streams/visibility/20250619220812682-1827482738","text":"hide","modified":"20260508161455171","modifier":"M0"},{"created":"20260216170806667","creator":"M0","title":"$:/state/sq/streams/visibility/20250620025920149-885203455","text":"hide","modified":"20260508161455172","modifier":"M0"},{"created":"20260308142137209","title":"$:/state/sq/streams/visibility/20250621110527539--1116445611","text":"hide","modified":"20260508161455173"},{"created":"20260227174506879","title":"$:/state/sq/streams/visibility/20250621110527539--314786471","text":"hide","modified":"20260508161455174"},{"created":"20260219202414286","title":"$:/state/sq/streams/visibility/20250621110527539-1060677409","text":"hide","modified":"20260508161455175"},{"created":"20260215212941105","creator":"M0","title":"$:/state/sq/streams/visibility/20250621110527539-647426185","text":"hide","modified":"20260508161455176","modifier":"M0"},{"created":"20260221145504599","title":"$:/state/sq/streams/visibility/20250621110558058-1001321895","text":"hide","modified":"20260508161455177"},{"created":"20260219022021814","title":"$:/state/sq/streams/visibility/20250621110558058-83898991","text":"hide","modified":"20260508161455178"},{"created":"20260215212854854","creator":"M0","title":"$:/state/sq/streams/visibility/20250621111405722--694119285","text":"hide","modified":"20260508161455178","modifier":"M0"},{"created":"20260216012436873","creator":"M0","title":"$:/state/sq/streams/visibility/20250621115024165--1616438593","text":"hide","modified":"20260508161455179","modifier":"M0"},{"created":"20260216012450466","creator":"M0","title":"$:/state/sq/streams/visibility/20250621115024165--984580617","text":"hide","modified":"20260508161455179","modifier":"M0"},{"created":"20260313012444863","title":"$:/state/sq/streams/visibility/20250716040452508--1034524203","text":"hide","modified":"20260508161455180"},{"created":"20260223215340387","title":"$:/state/sq/streams/visibility/20250716040452508--1786980733","text":"hide","modified":"20260508161455181"},{"created":"20260227182335732","title":"$:/state/sq/streams/visibility/20250716040452508--2035667287","text":"hide","modified":"20260508161455182"},{"created":"20260216183234468","creator":"M0","title":"$:/state/sq/streams/visibility/20250716040452508-1510711113","text":"hide","modified":"20260508161455183","modifier":"M0"},{"created":"20260217181530155","title":"$:/state/sq/streams/visibility/20250716040452508-1748805089","text":"hide","modified":"20260508161455184"},{"created":"20260215211958694","creator":"M0","title":"$:/state/sq/streams/visibility/20250729064938098--1154512708","text":"hide","modified":"20260508161455184","modifier":"M0"},{"created":"20260301211808853","title":"$:/state/sq/streams/visibility/20250729064938098--1312262078","text":"hide","modified":"20260508161455185"},{"created":"20260217183917677","title":"$:/state/sq/streams/visibility/20250729064938098--1393951868","text":"hide","modified":"20260508161455186"},{"created":"20260218220643355","title":"$:/state/sq/streams/visibility/20250729064938098--1501248486","text":"hide","modified":"20260508161455186"},{"created":"20260301200241265","title":"$:/state/sq/streams/visibility/20250729064938098--1603583622","text":"hide","modified":"20260508161455187"},{"created":"20260228040020436","title":"$:/state/sq/streams/visibility/20250729064938098-315144930","text":"hide","modified":"20260508161455188"},{"created":"20260303234718289","title":"$:/state/sq/streams/visibility/20250729070311010--1688619146","text":"hide","modified":"20260508161455189"},{"created":"20260217181958312","title":"$:/state/sq/streams/visibility/20250729070311010--44964448","text":"hide","modified":"20260508161455189"},{"created":"20260215214650637","creator":"M0","title":"$:/state/sq/streams/visibility/20250729070311010--761543992","text":"hide","modified":"20260508161455190","modifier":"M0"},{"created":"20260217183939974","title":"$:/state/sq/streams/visibility/20250729070311010-1310593128","text":"hide","modified":"20260508161455191"},{"created":"20250923012821348","creator":"M0","title":"$:/state/sq/streams/visibility/20250804231536283--1509466246","text":"hide","modified":"20260508161455192","modifier":"M0"},{"created":"20260215210137959","creator":"M0","title":"$:/state/sq/streams/visibility/20250804231536283--1992241228","text":"hide","modified":"20260508161455193","modifier":"M0"},{"created":"20250923140804551","creator":"M0","title":"$:/state/sq/streams/visibility/20250804231536283--412576190","text":"hide","modified":"20260508161455194","modifier":"M0"},{"created":"20260214230918988","creator":"M0","title":"$:/state/sq/streams/visibility/20250804231737251--1618115680","text":"hide","modified":"20260508161455194","modifier":"M0"},{"created":"20250923012731528","creator":"M0","title":"$:/state/sq/streams/visibility/20250804231737251-1540986382","text":"hide","modified":"20260508161455195","modifier":"M0"},{"created":"20250923012732898","creator":"M0","title":"$:/state/sq/streams/visibility/20250805015103141--1797168124","text":"hide","modified":"20260508161455195","modifier":"M0"},{"created":"20250924232612368","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130554863--404426909","text":"hide","modified":"20260508161455196","modifier":"M0"},{"created":"20250924232800749","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130554863-1396614029","text":"hide","modified":"20260508161455197","modifier":"M0"},{"created":"20251102142152422","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130554863-1888892003","text":"hide","modified":"20260508161455199","modifier":"M0"},{"created":"20260214230917803","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130554863-790035179","text":"hide","modified":"20260508161455200","modifier":"M0"},{"created":"20251102142015638","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130818130-1792004625","text":"hide","modified":"20260508161455201","modifier":"M0"},{"created":"20250924232828472","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130955879--1247558835","text":"hide","modified":"20260508161455202","modifier":"M0"},{"created":"20251102142220327","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130955879--1897621597","text":"hide","modified":"20260508161455203","modifier":"M0"},{"created":"20251102141855355","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130955879-395697315","text":"hide","modified":"20260508161455204","modifier":"M0"},{"created":"20251102141858159","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130959041--771649676","text":"hide","modified":"20260508161455205","modifier":"M0"},{"created":"20250925024653117","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130959041-2092038556","text":"hide","modified":"20260508161455205","modifier":"M0"},{"created":"20251102142022006","creator":"M0","title":"$:/state/sq/streams/visibility/20250805130959041-92810546","text":"hide","modified":"20260508161455206","modifier":"M0"},{"created":"20250919143003459","creator":"M0","title":"$:/state/sq/streams/visibility/20250816183901548--1377523889","text":"hide","modified":"20260508161455207","modifier":"M0"},{"created":"20250918121416006","creator":"M0","title":"$:/state/sq/streams/visibility/20250816183901548-1658399367","text":"hide","modified":"20260508161455208","modifier":"M0"},{"created":"20250919154312019","creator":"M0","title":"$:/state/sq/streams/visibility/20250818143916460--554306874","text":"hide","modified":"20260508161455209","modifier":"M0"},{"created":"20250919161657576","creator":"M0","title":"$:/state/sq/streams/visibility/20250818143916460-20910478","text":"hide","modified":"20260508161455210","modifier":"M0"},{"created":"20250923012734242","creator":"M0","title":"$:/state/sq/streams/visibility/20250820231149579-1615631994","text":"hide","modified":"20260508161455210","modifier":"M0"},{"created":"20260214152420463","creator":"M0","title":"$:/state/sq/streams/visibility/20250820231157854-1710581391","text":"hide","modified":"20260508161455211","modifier":"M0"},{"created":"20260214153023644","creator":"M0","title":"$:/state/sq/streams/visibility/20250820231211466-591884333","text":"hide","modified":"20260508161455212","modifier":"M0"},{"created":"20250923043330145","creator":"M0","title":"$:/state/sq/streams/visibility/20250820233509099--532721113","text":"hide","modified":"20260508161455213","modifier":"M0"},{"created":"20260214153024636","creator":"M0","title":"$:/state/sq/streams/visibility/20250820233509099-157369311","text":"hide","modified":"20260508161455214","modifier":"M0"},{"created":"20250923012810273","creator":"M0","title":"$:/state/sq/streams/visibility/20250827150207807--2015754650","text":"hide","modified":"20260508161455215","modifier":"M0"},{"created":"20250923140802583","creator":"M0","title":"$:/state/sq/streams/visibility/20250827150207807-1741153582","text":"hide","modified":"20260508161455215","modifier":"M0"},{"created":"20250923043331735","creator":"M0","title":"$:/state/sq/streams/visibility/20250827154541864--54397368","text":"hide","modified":"20260508161455216","modifier":"M0"},{"created":"20260214152948108","creator":"M0","title":"$:/state/sq/streams/visibility/20250827154541864-939736670","text":"hide","modified":"20260508161455218","modifier":"M0"},{"created":"20251102141950202","creator":"M0","title":"$:/state/sq/streams/visibility/20250827163429698--1548155076","text":"hide","modified":"20260508161455218","modifier":"M0"},{"created":"20250925024546516","creator":"M0","title":"$:/state/sq/streams/visibility/20250827163429698-245150420","text":"hide","modified":"20260508161455219","modifier":"M0"},{"created":"20251102131837737","creator":"M0","title":"$:/state/sq/streams/visibility/20250827163429698-453493308","text":"hide","modified":"20260508161455220","modifier":"M0"},{"created":"20250925024452624","creator":"M0","title":"$:/state/sq/streams/visibility/20250827170637760-399781691","text":"hide","modified":"20260508161455221","modifier":"M0"},{"created":"20251102141911419","creator":"M0","title":"$:/state/sq/streams/visibility/20250827172844115--926392835","text":"hide","modified":"20260508161455221","modifier":"M0"},{"created":"20250925024628877","creator":"M0","title":"$:/state/sq/streams/visibility/20250827172844115-1456591667","text":"hide","modified":"20260508161455222","modifier":"M0"},{"created":"20250924233954503","creator":"M0","title":"$:/state/sq/streams/visibility/20250827172844115-1812845159","text":"hide","modified":"20260508161455223","modifier":"M0"},{"created":"20250925024512323","creator":"M0","title":"$:/state/sq/streams/visibility/20250827173413808-1989363045","text":"hide","modified":"20260508161455224","modifier":"M0"},{"created":"20250925024453947","creator":"M0","title":"$:/state/sq/streams/visibility/20250827173436450--1333461513","text":"hide","modified":"20260508161455225","modifier":"M0"},{"created":"20250923012818891","creator":"M0","title":"$:/state/sq/streams/visibility/20250827192825793--1019071436","text":"hide","modified":"20260508161455226","modifier":"M0"},{"created":"20250929165610465","creator":"M0","title":"$:/state/sq/streams/visibility/20250827192825793--1746487556","text":"hide","modified":"20260508161455228","modifier":"M0"},{"created":"20250924013442189","creator":"M0","title":"$:/state/sq/streams/visibility/20250827192921588--1496166969","text":"hide","modified":"20260508161455229","modifier":"M0"},{"created":"20250923012808912","creator":"M0","title":"$:/state/sq/streams/visibility/20250827192921588--275389013","text":"hide","modified":"20260508161455229","modifier":"M0"},{"created":"20250923041558959","creator":"M0","title":"$:/state/sq/streams/visibility/20250827194127782--1327467205","text":"hide","modified":"20260508161455231","modifier":"M0"},{"created":"20250923043344734","creator":"M0","title":"$:/state/sq/streams/visibility/20250827194440824-1556890492","text":"hide","modified":"20260508161455231","modifier":"M0"},{"created":"20250923012746560","creator":"M0","title":"$:/state/sq/streams/visibility/20250827194522230-1251809676","text":"hide","modified":"20260508161455232","modifier":"M0"},{"created":"20250924232819143","creator":"M0","title":"$:/state/sq/streams/visibility/20250828132820515--663673872","text":"hide","modified":"20260508161455233","modifier":"M0"},{"created":"20251102141838441","creator":"M0","title":"$:/state/sq/streams/visibility/20250828132820515--817520992","text":"hide","modified":"20260508161455234","modifier":"M0"},{"created":"20251102131925403","creator":"M0","title":"$:/state/sq/streams/visibility/20250828132820515-1184127392","text":"hide","modified":"20260508161455236","modifier":"M0"},{"created":"20260214230915108","creator":"M0","title":"$:/state/sq/streams/visibility/20250828132820515-1617112654","text":"hide","modified":"20260508161455237","modifier":"M0"},{"created":"20250929170141968","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162327879--1145823316","text":"hide","modified":"20260508161455237","modifier":"M0"},{"created":"20250923012737882","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162327879-1691811044","text":"hide","modified":"20260508161455239","modifier":"M0"},{"created":"20250923044834404","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162346764-1733100576","text":"hide","modified":"20260508161455240","modifier":"M0"},{"created":"20250923044832858","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162407542--1449781416","text":"hide","modified":"20260508161455241","modifier":"M0"},{"created":"20250923045023737","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162422380--901207305","text":"hide","modified":"20260508161455241","modifier":"M0"},{"created":"20250923045012752","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162422380-1391452271","text":"hide","modified":"20260508161455242","modifier":"M0"},{"created":"20250929170135022","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162640277-1056591790","text":"hide","modified":"20260508161455243","modifier":"M0"},{"created":"20250923044825192","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162640277-1110536422","text":"hide","modified":"20260508161455243","modifier":"M0"},{"created":"20250923044044499","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162928760-1183188274","text":"hide","modified":"20260508161455244","modifier":"M0"},{"created":"20250923044040276","creator":"M0","title":"$:/state/sq/streams/visibility/20250828162955131-1194929334","text":"hide","modified":"20260508161455244","modifier":"M0"},{"created":"20260214151857394","creator":"M0","title":"$:/state/sq/streams/visibility/20250828164109727-1162631586","text":"hide","modified":"20260508161455245","modifier":"M0"},{"created":"20250923143146094","creator":"M0","title":"$:/state/sq/streams/visibility/20250829122537801--1256225021","text":"hide","modified":"20260508161455246","modifier":"M0"},{"created":"20250929174011544","creator":"M0","title":"$:/state/sq/streams/visibility/20250829122537801--767915061","text":"hide","modified":"20260508161455247","modifier":"M0"},{"created":"20250923142945851","creator":"M0","title":"$:/state/sq/streams/visibility/20250829122537801-231983402","text":"hide","modified":"20260508161455248","modifier":"M0"},{"created":"20250923142509305","creator":"M0","title":"$:/state/sq/streams/visibility/20250829122537801-263350467","text":"hide","modified":"20260508161455249","modifier":"M0"},{"created":"20250924013415777","creator":"M0","title":"$:/state/sq/streams/visibility/20250829122537801-964015391","text":"hide","modified":"20260508161455249","modifier":"M0"},{"created":"20250923142646002","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123830328--850563426","text":"hide","modified":"20260508161455250","modifier":"M0"},{"created":"20250923232454943","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123830328-617880207","text":"hide","modified":"20260508161455251","modifier":"M0"},{"created":"20250923142600878","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123836064-1069018679","text":"hide","modified":"20260508161455252","modifier":"M0"},{"created":"20250923142550557","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123839445-259261467","text":"hide","modified":"20260508161455252","modifier":"M0"},{"created":"20250923142524433","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123844435-450784034","text":"hide","modified":"20260508161455253","modifier":"M0"},{"created":"20250923142514396","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123848931--888564769","text":"hide","modified":"20260508161455254","modifier":"M0"},{"created":"20250923142617360","creator":"M0","title":"$:/state/sq/streams/visibility/20250829123857448--1269383198","text":"hide","modified":"20260508161455255","modifier":"M0"},{"created":"20250917172519590","creator":"M0","title":"$:/state/sq/streams/visibility/20250829154712015-1039978782","text":"hide","modified":"20260508161455255","modifier":"M0"},{"created":"20250916002549358","creator":"M0","title":"$:/state/sq/streams/visibility/20250829154712015-1619359336","text":"hide","modified":"20260508161455256","modifier":"M0"},{"created":"20250919160731478","creator":"M0","title":"$:/state/sq/streams/visibility/20250829192128359--1475977230","text":"hide","modified":"20260508161455257","modifier":"M0"},{"created":"20250919145505391","creator":"M0","title":"$:/state/sq/streams/visibility/20250829192644390-517013624","text":"hide","modified":"20260508161455258","modifier":"M0"},{"created":"20250918115948628","creator":"M0","title":"$:/state/sq/streams/visibility/20250830142942146--1280908217","text":"hide","modified":"20260508161455258","modifier":"M0"},{"created":"20250917172127026","creator":"M0","title":"$:/state/sq/streams/visibility/20250830142942146--2015078529","text":"hide","modified":"20260508161455259","modifier":"M0"},{"created":"20250917171728925","creator":"M0","title":"$:/state/sq/streams/visibility/20250830142942146-148931943","text":"hide","modified":"20260508161455260","modifier":"M0"},{"created":"20250917172256117","creator":"M0","title":"$:/state/sq/streams/visibility/20250901051510746-1396450398","text":"hide","modified":"20260508161455260","modifier":"M0"},{"created":"20250919040212818","creator":"M0","title":"$:/state/sq/streams/visibility/20250901051510746-1609274288","text":"hide","modified":"20260508161455261","modifier":"M0"},{"created":"20250919151005770","creator":"M0","title":"$:/state/sq/streams/visibility/20250901051510746-2111764712","text":"hide","modified":"20260508161455262","modifier":"M0"},{"created":"20250924232642125","creator":"M0","title":"$:/state/sq/streams/visibility/20250902212428632--326442783","text":"hide","modified":"20260508161455263","modifier":"M0"},{"created":"20250924232659239","creator":"M0","title":"$:/state/sq/streams/visibility/20250902212428632-1198239054","text":"hide","modified":"20260508161455264","modifier":"M0"},{"created":"20250924232544928","creator":"M0","title":"$:/state/sq/streams/visibility/20250902212428632-2084517412","text":"hide","modified":"20260508161455264","modifier":"M0"},{"created":"20250924232600668","creator":"M0","title":"$:/state/sq/streams/visibility/20250902212428632-985385602","text":"hide","modified":"20260508161455265","modifier":"M0"},{"created":"20250923012806410","creator":"M0","title":"$:/state/sq/streams/visibility/20250903130358106--1635100476","text":"hide","modified":"20260508161455266","modifier":"M0"},{"created":"20250923042134754","creator":"M0","title":"$:/state/sq/streams/visibility/20250903130358106--519333438","text":"hide","modified":"20260508161455267","modifier":"M0"},{"created":"20250918115946764","creator":"M0","title":"$:/state/sq/streams/visibility/20250903132605114--1498873872","text":"hide","modified":"20260508161455268","modifier":"M0"},{"created":"20250917171732162","creator":"M0","title":"$:/state/sq/streams/visibility/20250903132605114--1988685794","text":"hide","modified":"20260508161455268","modifier":"M0"},{"created":"20250917172230045","creator":"M0","title":"$:/state/sq/streams/visibility/20250903132605114--612571864","text":"hide","modified":"20260508161455269","modifier":"M0"},{"created":"20250917172531807","creator":"M0","title":"$:/state/sq/streams/visibility/20250903144809688-1985059179","text":"hide","modified":"20260508161455270","modifier":"M0"},{"created":"20250917172534094","creator":"M0","title":"$:/state/sq/streams/visibility/20250903144955906--940970854","text":"hide","modified":"20260508161455270","modifier":"M0"},{"created":"20250917172535822","creator":"M0","title":"$:/state/sq/streams/visibility/20250903145056333-509392989","text":"hide","modified":"20260508161455271","modifier":"M0"},{"created":"20250917172253824","creator":"M0","title":"$:/state/sq/streams/visibility/20250903233959051--1714029072","text":"hide","modified":"20260508161455272","modifier":"M0"},{"created":"20250919151010370","creator":"M0","title":"$:/state/sq/streams/visibility/20250903233959051-668094102","text":"hide","modified":"20260508161455272","modifier":"M0"},{"created":"20250920153759540","creator":"M0","title":"$:/state/sq/streams/visibility/20250909163503216-1349441518","text":"hide","modified":"20260508161455273","modifier":"M0"},{"created":"20250919110442901","creator":"M0","title":"$:/state/sq/streams/visibility/20250909225209554--653173011","text":"hide","modified":"20260508161455274","modifier":"M0"},{"created":"20250919110533544","creator":"M0","title":"$:/state/sq/streams/visibility/20250910134203528--112737467","text":"hide","modified":"20260508161455275","modifier":"M0"},{"created":"20250920063602286","creator":"M0","title":"$:/state/sq/streams/visibility/20250910134715510--1212914998","text":"hide","modified":"20260508161455276","modifier":"M0"},{"created":"20250920063605940","creator":"M0","title":"$:/state/sq/streams/visibility/20250910134721408-475767869","text":"hide","modified":"20260508161455277","modifier":"M0"},{"created":"20250917172257516","creator":"M0","title":"$:/state/sq/streams/visibility/20250910140547594--1589413656","text":"hide","modified":"20260508161455277","modifier":"M0"},{"created":"20250919151007602","creator":"M0","title":"$:/state/sq/streams/visibility/20250910140547594--1745264994","text":"hide","modified":"20260508161455278","modifier":"M0"},{"created":"20250917171735072","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153036732--1776046293","text":"hide","modified":"20260508161455279","modifier":"M0"},{"created":"20250918115953815","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153036732-1350132723","text":"hide","modified":"20260508161455280","modifier":"M0"},{"created":"20250917172204333","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153036732-243265595","text":"hide","modified":"20260508161455281","modifier":"M0"},{"created":"20250918115554160","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153206584--1974804151","text":"hide","modified":"20260508161455281","modifier":"M0"},{"created":"20250917171736357","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153206584--301130367","text":"hide","modified":"20260508161455282","modifier":"M0"},{"created":"20250925000102713","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153216715-975591876","text":"hide","modified":"20260508161455283","modifier":"M0"},{"created":"20250918115951165","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153250275--171001533","text":"hide","modified":"20260508161455283","modifier":"M0"},{"created":"20250917171737500","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153250275--641608981","text":"hide","modified":"20260508161455284","modifier":"M0"},{"created":"20250917172357659","creator":"M0","title":"$:/state/sq/streams/visibility/20250910153250275-653108347","text":"hide","modified":"20260508161455285","modifier":"M0"},{"created":"20250920063626994","creator":"M0","title":"$:/state/sq/streams/visibility/20250911044058379-1727860868","text":"hide","modified":"20260508161455286","modifier":"M0"},{"created":"20250920063720580","creator":"M0","title":"$:/state/sq/streams/visibility/20250911044111539--375927172","text":"hide","modified":"20260508161455287","modifier":"M0"},{"created":"20250920063702364","creator":"M0","title":"$:/state/sq/streams/visibility/20250911112652502-2066241280","text":"hide","modified":"20260508161455287","modifier":"M0"},{"created":"20250917172631411","creator":"M0","title":"$:/state/sq/streams/visibility/20250911132836136--341437407","text":"hide","modified":"20260508161455288","modifier":"M0"},{"created":"20250918120612814","creator":"M0","title":"$:/state/sq/streams/visibility/20250911182443732-708971904","text":"hide","modified":"20260508161455289","modifier":"M0"},{"created":"20250919110442016","creator":"M0","title":"$:/state/sq/streams/visibility/20250912133057574--1185630088","text":"hide","modified":"20260508161455290","modifier":"M0"},{"created":"20250920031019127","creator":"M0","title":"$:/state/sq/streams/visibility/20250912133057574--126177872","text":"hide","modified":"20260508161455290","modifier":"M0"},{"created":"20251102142328709","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865--1064670428","text":"hide","modified":"20260508161455292","modifier":"M0"},{"created":"20250924233816086","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865--1135942676","text":"hide","modified":"20260508161455293","modifier":"M0"},{"created":"20250917170353180","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865--1851780956","text":"hide","modified":"20260508161455293","modifier":"M0"},{"created":"20250917172113309","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865--532286366","text":"hide","modified":"20260508161455294","modifier":"M0"},{"created":"20250924233605790","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865-235233838","text":"hide","modified":"20260508161455295","modifier":"M0"},{"created":"20250918120107921","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865-871389994","text":"hide","modified":"20260508161455296","modifier":"M0"},{"created":"20251102131833586","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174314865-936977956","text":"hide","modified":"20260508161455297","modifier":"M0"},{"created":"20250918001632451","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174448259--1390735775","text":"hide","modified":"20260508161455298","modifier":"M0"},{"created":"20250918115527561","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174448259--1498966231","text":"hide","modified":"20260508161455298","modifier":"M0"},{"created":"20251102132905676","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174448259--2137860255","text":"hide","modified":"20260508161455299","modifier":"M0"},{"created":"20251102132049841","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174448259--538960571","text":"hide","modified":"20260508161455300","modifier":"M0"},{"created":"20250924234023554","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174448259-1229255595","text":"hide","modified":"20260508161455301","modifier":"M0"},{"created":"20250924233610499","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174448259-709222351","text":"hide","modified":"20260508161455301","modifier":"M0"},{"created":"20250924234034239","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174458648-1014186090","text":"hide","modified":"20260508161455302","modifier":"M0"},{"created":"20250924234043488","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174518106--1393435118","text":"hide","modified":"20260508161455303","modifier":"M0"},{"created":"20250920060546827","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174525544--1878355410","text":"hide","modified":"20260508161455303","modifier":"M0"},{"created":"20250924234055026","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174525544-1809288176","text":"hide","modified":"20260508161455304","modifier":"M0"},{"created":"20250916002545926","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120--1473554389","text":"hide","modified":"20260508161455305","modifier":"M0"},{"created":"20250924233900888","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120--417306443","text":"hide","modified":"20260508161455306","modifier":"M0"},{"created":"20250924234751240","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120-123963141","text":"hide","modified":"20260508161455306","modifier":"M0"},{"created":"20251102132011555","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120-1542862059","text":"hide","modified":"20260508161455307","modifier":"M0"},{"created":"20251102132048118","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120-1905971371","text":"hide","modified":"20260508161455308","modifier":"M0"},{"created":"20251102132859439","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120-310296507","text":"hide","modified":"20260508161455309","modifier":"M0"},{"created":"20250918115529937","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120-639597571","text":"hide","modified":"20260508161455310","modifier":"M0"},{"created":"20250917172054578","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174535120-681305915","text":"hide","modified":"20260508161455311","modifier":"M0"},{"created":"20250924234138210","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174543503--825138359","text":"hide","modified":"20260508161455312","modifier":"M0"},{"created":"20250920060548317","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174543503-1503057735","text":"hide","modified":"20260508161455312","modifier":"M0"},{"created":"20250920060549075","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174708944-105960817","text":"hide","modified":"20260508161455313","modifier":"M0"},{"created":"20250924234226663","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174708944-2010260467","text":"hide","modified":"20260508161455313","modifier":"M0"},{"created":"20250924234146337","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174828661--182092230","text":"hide","modified":"20260508161455314","modifier":"M0"},{"created":"20250920060548802","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174828661--1843930632","text":"hide","modified":"20260508161455315","modifier":"M0"},{"created":"20250924234228199","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174952555--79645778","text":"hide","modified":"20260508161455316","modifier":"M0"},{"created":"20250920060550682","creator":"M0","title":"$:/state/sq/streams/visibility/20250914174952555-306512492","text":"hide","modified":"20260508161455317","modifier":"M0"},{"created":"20250924234526896","creator":"M0","title":"$:/state/sq/streams/visibility/20250914181421298-156764531","text":"hide","modified":"20260508161455318","modifier":"M0"},{"created":"20250924233759914","creator":"M0","title":"$:/state/sq/streams/visibility/20250914181446561-1465902103","text":"hide","modified":"20260508161455319","modifier":"M0"},{"created":"20250924234450511","creator":"M0","title":"$:/state/sq/streams/visibility/20250914182020328--1433912667","text":"hide","modified":"20260508161455320","modifier":"M0"},{"created":"20250924235626197","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211546145--1723512722","text":"hide","modified":"20260508161455320","modifier":"M0"},{"created":"20250918115829379","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211546145--1956681940","text":"hide","modified":"20260508161455321","modifier":"M0"},{"created":"20250918111649089","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211546145--50778198","text":"hide","modified":"20260508161455322","modifier":"M0"},{"created":"20250917172055680","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211546145-1250412770","text":"hide","modified":"20260508161455323","modifier":"M0"},{"created":"20250918123001368","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211546145-1459700836","text":"hide","modified":"20260508161455323","modifier":"M0"},{"created":"20250916002547104","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211546145-1745513508","text":"hide","modified":"20260508161455324","modifier":"M0"},{"created":"20250924235619891","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211601243-761530987","text":"hide","modified":"20260508161455325","modifier":"M0"},{"created":"20250924235836330","creator":"M0","title":"$:/state/sq/streams/visibility/20250914211802792-1025451367","text":"hide","modified":"20260508161455327","modifier":"M0"},{"created":"20250924235649556","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212253040--2095791092","text":"hide","modified":"20260508161455328","modifier":"M0"},{"created":"20250924235849141","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212253040-1078882414","text":"hide","modified":"20260508161455329","modifier":"M0"},{"created":"20250924235707867","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212412596--1141013617","text":"hide","modified":"20260508161455330","modifier":"M0"},{"created":"20250924235903356","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212412596--2046891473","text":"hide","modified":"20260508161455331","modifier":"M0"},{"created":"20250924235738694","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212412596-1765715179","text":"hide","modified":"20260508161455332","modifier":"M0"},{"created":"20250924235910669","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212517901--1183042159","text":"hide","modified":"20260508161455332","modifier":"M0"},{"created":"20250924235732200","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212545795--1797931669","text":"hide","modified":"20260508161455333","modifier":"M0"},{"created":"20250924235919718","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212545795--963408401","text":"hide","modified":"20260508161455334","modifier":"M0"},{"created":"20250924235845997","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212603105-1040967727","text":"hide","modified":"20260508161455334","modifier":"M0"},{"created":"20250924235939413","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212721609-1795433435","text":"hide","modified":"20260508161455335","modifier":"M0"},{"created":"20250924235751668","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212721609-467260479","text":"hide","modified":"20260508161455336","modifier":"M0"},{"created":"20250924235949330","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212725585--740068598","text":"hide","modified":"20260508161455337","modifier":"M0"},{"created":"20250924235758355","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212725585-701175920","text":"hide","modified":"20260508161455338","modifier":"M0"},{"created":"20250924235957393","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212746624--107840015","text":"hide","modified":"20260508161455338","modifier":"M0"},{"created":"20250924234813655","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212746624-872489961","text":"hide","modified":"20260508161455340","modifier":"M0"},{"created":"20250925000007507","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212803239-820112783","text":"hide","modified":"20260508161455341","modifier":"M0"},{"created":"20250924235814866","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212839938-2104673640","text":"hide","modified":"20260508161455342","modifier":"M0"},{"created":"20250925000015139","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212839938-2142600978","text":"hide","modified":"20260508161455343","modifier":"M0"},{"created":"20250924235823158","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212852823--1839323804","text":"hide","modified":"20260508161455344","modifier":"M0"},{"created":"20250924235816808","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212852823-1371505206","text":"hide","modified":"20260508161455345","modifier":"M0"},{"created":"20250925000023558","creator":"M0","title":"$:/state/sq/streams/visibility/20250914212852823-570349974","text":"hide","modified":"20260508161455346","modifier":"M0"},{"created":"20250916002552333","creator":"M0","title":"$:/state/sq/streams/visibility/20250915033833157-202719975","text":"hide","modified":"20260508161455348","modifier":"M0"},{"created":"20250919145507428","creator":"M0","title":"$:/state/sq/streams/visibility/20250915033854939--746869292","text":"hide","modified":"20260508161455349","modifier":"M0"},{"created":"20250919160157341","creator":"M0","title":"$:/state/sq/streams/visibility/20250915033903420--928835806","text":"hide","modified":"20260508161455350","modifier":"M0"},{"created":"20250919160158702","creator":"M0","title":"$:/state/sq/streams/visibility/20250915033950016--1112044499","text":"hide","modified":"20260508161455351","modifier":"M0"},{"created":"20250919110444340","creator":"M0","title":"$:/state/sq/streams/visibility/20250915143249421--2143907120","text":"hide","modified":"20260508161455352","modifier":"M0"},{"created":"20250919151002999","creator":"M0","title":"$:/state/sq/streams/visibility/20250916000307536-170446433","text":"hide","modified":"20260508161455352","modifier":"M0"},{"created":"20250917172259346","creator":"M0","title":"$:/state/sq/streams/visibility/20250916000307536-875373893","text":"hide","modified":"20260508161455353","modifier":"M0"},{"created":"20250919150943076","creator":"M0","title":"$:/state/sq/streams/visibility/20250916000331718-578551094","text":"hide","modified":"20260508161455353","modifier":"M0"},{"created":"20250919040501809","creator":"M0","title":"$:/state/sq/streams/visibility/20250917171747261-1812865432","text":"hide","modified":"20260508161455356","modifier":"M0"},{"created":"20250917172152388","creator":"M0","title":"$:/state/sq/streams/visibility/20250917171747261-812275408","text":"hide","modified":"20260508161455359","modifier":"M0"},{"created":"20250919150833912","creator":"M0","title":"$:/state/sq/streams/visibility/20250917221946577-2066036317","text":"hide","modified":"20260508161455360","modifier":"M0"},{"created":"20250917235221398","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222413744--1877702362","text":"hide","modified":"20260508161455361","modifier":"M0"},{"created":"20250919150921891","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222413744-2123973697","text":"hide","modified":"20260508161455362","modifier":"M0"},{"created":"20250919150942861","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222413744-368516613","text":"hide","modified":"20260508161455362","modifier":"M0"},{"created":"20250919153243219","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222519416--1732157594","text":"hide","modified":"20260508161455363","modifier":"M0"},{"created":"20250919160940334","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222937601-838014416","text":"hide","modified":"20260508161455364","modifier":"M0"},{"created":"20250917223158004","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222948249-1547642925","text":"hide","modified":"20260508161455364","modifier":"M0"},{"created":"20250919160842894","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222948249-1576376294","text":"hide","modified":"20260508161455364","modifier":"M0"},{"created":"20250917224511878","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222948249-1809225973","text":"hide","modified":"20260508161455366","modifier":"M0"},{"created":"20250919160937930","creator":"M0","title":"$:/state/sq/streams/visibility/20250917222954138--1987005044","text":"hide","modified":"20260508161455367","modifier":"M0"},{"created":"20250919160918638","creator":"M0","title":"$:/state/sq/streams/visibility/20250917223440088-970982697","text":"hide","modified":"20260508161455367","modifier":"M0"},{"created":"20250919161024064","creator":"M0","title":"$:/state/sq/streams/visibility/20250917223444930-1239442119","text":"hide","modified":"20260508161455368","modifier":"M0"},{"created":"20250919161133256","creator":"M0","title":"$:/state/sq/streams/visibility/20250917223612285--1044375247","text":"hide","modified":"20260508161455369","modifier":"M0"},{"created":"20250917233402264","creator":"M0","title":"$:/state/sq/streams/visibility/20250917223612285-1660317506","text":"hide","modified":"20260508161455370","modifier":"M0"},{"created":"20250919153652575","creator":"M0","title":"$:/state/sq/streams/visibility/20250917223811770--2071725755","text":"hide","modified":"20260508161455370","modifier":"M0"},{"created":"20250918001656072","creator":"M0","title":"$:/state/sq/streams/visibility/20250917230758276-478852952","text":"hide","modified":"20260508161455371","modifier":"M0"},{"created":"20250918001743150","creator":"M0","title":"$:/state/sq/streams/visibility/20250918001737592--238304459","text":"hide","modified":"20260508161455372","modifier":"M0"},{"created":"20250918002503204","creator":"M0","title":"$:/state/sq/streams/visibility/20250918001806937--1139754299","text":"hide","modified":"20260508161455372","modifier":"M0"},{"created":"20250918002339826","creator":"M0","title":"$:/state/sq/streams/visibility/20250918001830396--393913911","text":"hide","modified":"20260508161455374","modifier":"M0"},{"created":"20250918005408763","creator":"M0","title":"$:/state/sq/streams/visibility/20250918002505229--1378731324","text":"hide","modified":"20260508161455375","modifier":"M0"},{"created":"20250924233759712","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485--12868332","text":"hide","modified":"20260508161455375","modifier":"M0"},{"created":"20251102132118725","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485--1914902148","text":"hide","modified":"20260508161455376","modifier":"M0"},{"created":"20251102132129529","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485--2046709942","text":"hide","modified":"20260508161455377","modifier":"M0"},{"created":"20251102132900759","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485--619677060","text":"hide","modified":"20260508161455377","modifier":"M0"},{"created":"20250924233755278","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485-1766686022","text":"hide","modified":"20260508161455378","modifier":"M0"},{"created":"20251102132015463","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485-1885148042","text":"hide","modified":"20260508161455378","modifier":"M0"},{"created":"20250918113630237","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111656485-480429572","text":"hide","modified":"20260508161455379","modifier":"M0"},{"created":"20250918113208136","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111718583--1315455108","text":"hide","modified":"20260508161455380","modifier":"M0"},{"created":"20250918112233076","creator":"M0","title":"$:/state/sq/streams/visibility/20250918111718583-1156520186","text":"hide","modified":"20260508161455381","modifier":"M0"},{"created":"20250924234841669","creator":"M0","title":"$:/state/sq/streams/visibility/20250918112225414-1707300495","text":"hide","modified":"20260508161455381","modifier":"M0"},{"created":"20250918112251834","creator":"M0","title":"$:/state/sq/streams/visibility/20250918112239604-40975049","text":"hide","modified":"20260508161455383","modifier":"M0"},{"created":"20250918112259502","creator":"M0","title":"$:/state/sq/streams/visibility/20250918112249685-133528975","text":"hide","modified":"20260508161455383","modifier":"M0"},{"created":"20250918113522330","creator":"M0","title":"$:/state/sq/streams/visibility/20250918113139586-527106126","text":"hide","modified":"20260508161455384","modifier":"M0"},{"created":"20250924234936348","creator":"M0","title":"$:/state/sq/streams/visibility/20250918114144112--452940976","text":"hide","modified":"20260508161455385","modifier":"M0"},{"created":"20250918114235418","creator":"M0","title":"$:/state/sq/streams/visibility/20250918114144112-1294882824","text":"hide","modified":"20260508161455386","modifier":"M0"},{"created":"20250924234940268","creator":"M0","title":"$:/state/sq/streams/visibility/20250918114323851-1654905967","text":"hide","modified":"20260508161455386","modifier":"M0"},{"created":"20250918114635943","creator":"M0","title":"$:/state/sq/streams/visibility/20250918114323851-309749065","text":"hide","modified":"20260508161455387","modifier":"M0"},{"created":"20250918115503633","creator":"M0","title":"$:/state/sq/streams/visibility/20250918115408134-1948732914","text":"hide","modified":"20260508161455387","modifier":"M0"},{"created":"20250918123002904","creator":"M0","title":"$:/state/sq/streams/visibility/20250918115408134-51083050","text":"hide","modified":"20260508161455389","modifier":"M0"},{"created":"20250919040525845","creator":"M0","title":"$:/state/sq/streams/visibility/20250918133733618--1291788432","text":"hide","modified":"20260508161455390","modifier":"M0"},{"created":"20250919040742935","creator":"M0","title":"$:/state/sq/streams/visibility/20250918142156039-1135741740","text":"hide","modified":"20260508161455390","modifier":"M0"},{"created":"20250919040653764","creator":"M0","title":"$:/state/sq/streams/visibility/20250918220223017-583261868","text":"hide","modified":"20260508161455391","modifier":"M0"},{"created":"20250919041411855","creator":"M0","title":"$:/state/sq/streams/visibility/20250919040850890--1317015648","text":"hide","modified":"20260508161455392","modifier":"M0"},{"created":"20250919041404742","creator":"M0","title":"$:/state/sq/streams/visibility/20250919040922696--1597332520","text":"hide","modified":"20260508161455393","modifier":"M0"},{"created":"20250919161511190","creator":"M0","title":"$:/state/sq/streams/visibility/20250919040922696--730344290","text":"hide","modified":"20260508161455394","modifier":"M0"},{"created":"20250919132132101","creator":"M0","title":"$:/state/sq/streams/visibility/20250919132026183--1673764866","text":"hide","modified":"20260508161455394","modifier":"M0"},{"created":"20250919132142367","creator":"M0","title":"$:/state/sq/streams/visibility/20250919132130617--16932120","text":"hide","modified":"20260508161455395","modifier":"M0"},{"created":"20250919132448138","creator":"M0","title":"$:/state/sq/streams/visibility/20250919132259373--34380835","text":"hide","modified":"20260508161455396","modifier":"M0"},{"created":"20250919150754464","creator":"M0","title":"$:/state/sq/streams/visibility/20250919150743310-1191119084","text":"hide","modified":"20260508161455397","modifier":"M0"},{"created":"20250919153815749","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151031712--1461814833","text":"hide","modified":"20260508161455397","modifier":"M0"},{"created":"20250919154931192","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151031712-1288174855","text":"hide","modified":"20260508161455398","modifier":"M0"},{"created":"20250919153357941","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151039748--2055619828","text":"hide","modified":"20260508161455399","modifier":"M0"},{"created":"20250919151204993","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151039748--587245500","text":"hide","modified":"20260508161455400","modifier":"M0"},{"created":"20250919161523308","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151207248--568474924","text":"hide","modified":"20260508161455400","modifier":"M0"},{"created":"20250919152130288","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151207248-1996222476","text":"hide","modified":"20260508161455401","modifier":"M0"},{"created":"20250919152102620","creator":"M0","title":"$:/state/sq/streams/visibility/20250919151207248-430702906","text":"hide","modified":"20260508161455402","modifier":"M0"},{"created":"20250919154523992","creator":"M0","title":"$:/state/sq/streams/visibility/20250919154503524--1001223569","text":"hide","modified":"20260508161455402","modifier":"M0"},{"created":"20250919161515181","creator":"M0","title":"$:/state/sq/streams/visibility/20250919154620830--1605737271","text":"hide","modified":"20260508161455403","modifier":"M0"},{"created":"20250919154924328","creator":"M0","title":"$:/state/sq/streams/visibility/20250919154620830-1078795265","text":"hide","modified":"20260508161455404","modifier":"M0"},{"created":"20250920051832346","creator":"M0","title":"$:/state/sq/streams/visibility/20250920004717118-2071103017","text":"hide","modified":"20260508161455405","modifier":"M0"},{"created":"20250920051007997","creator":"M0","title":"$:/state/sq/streams/visibility/20250920004800503--1871521192","text":"hide","modified":"20260508161455406","modifier":"M0"},{"created":"20250920051833834","creator":"M0","title":"$:/state/sq/streams/visibility/20250920051009855--1773610395","text":"hide","modified":"20260508161455407","modifier":"M0"},{"created":"20250920051326059","creator":"M0","title":"$:/state/sq/streams/visibility/20250920051131650-1405034920","text":"hide","modified":"20260508161455407","modifier":"M0"},{"created":"20250920051346151","creator":"M0","title":"$:/state/sq/streams/visibility/20250920051258968-75898956","text":"hide","modified":"20260508161455408","modifier":"M0"},{"created":"20250920051701576","creator":"M0","title":"$:/state/sq/streams/visibility/20250920051348165-332323015","text":"hide","modified":"20260508161455409","modifier":"M0"},{"created":"20250920055839815","creator":"M0","title":"$:/state/sq/streams/visibility/20250920055547951-344197255","text":"hide","modified":"20260508161455409","modifier":"M0"},{"created":"20250923043220752","creator":"M0","title":"$:/state/sq/streams/visibility/20250921001946627-1900797098","text":"hide","modified":"20260508161455410","modifier":"M0"},{"created":"20250923012826752","creator":"M0","title":"$:/state/sq/streams/visibility/20250921003519770--2060492705","text":"hide","modified":"20260508161455411","modifier":"M0"},{"created":"20251102154538719","creator":"M0","title":"$:/state/sq/streams/visibility/20250923043822379-2012830165","text":"hide","modified":"20260508161455412","modifier":"M0"},{"created":"20251102154518186","creator":"M0","title":"$:/state/sq/streams/visibility/20250923043846244-869384048","text":"hide","modified":"20260508161455413","modifier":"M0"},{"created":"20250923141223615","creator":"M0","title":"$:/state/sq/streams/visibility/20250923141221233-227782448","text":"hide","modified":"20260508161455413","modifier":"M0"},{"created":"20250923232448796","creator":"M0","title":"$:/state/sq/streams/visibility/20250923225455259--532218657","text":"hide","modified":"20260508161455414","modifier":"M0"},{"created":"20250923232405698","creator":"M0","title":"$:/state/sq/streams/visibility/20250923232329163--775177454","text":"hide","modified":"20260508161455415","modifier":"M0"},{"created":"20250923232457544","creator":"M0","title":"$:/state/sq/streams/visibility/20250923232435366--875260088","text":"hide","modified":"20260508161455416","modifier":"M0"},{"created":"20250923232632180","creator":"M0","title":"$:/state/sq/streams/visibility/20250923232624231-1293076998","text":"hide","modified":"20260508161455417","modifier":"M0"},{"created":"20250924005859418","creator":"M0","title":"$:/state/sq/streams/visibility/20250923232633391-881468873","text":"hide","modified":"20260508161455418","modifier":"M0"},{"created":"20250924013447925","creator":"M0","title":"$:/state/sq/streams/visibility/20250924013351281-1707447396","text":"hide","modified":"20260508161455418","modifier":"M0"},{"created":"20250924232755381","creator":"M0","title":"$:/state/sq/streams/visibility/20250924232703908--758213438","text":"hide","modified":"20260508161455419","modifier":"M0"},{"created":"20250925001851903","creator":"M0","title":"$:/state/sq/streams/visibility/20250924234246670--1650840692","text":"hide","modified":"20260508161455420","modifier":"M0"},{"created":"20251102132041237","creator":"M0","title":"$:/state/sq/streams/visibility/20250924234246670-1703585348","text":"hide","modified":"20260508161455421","modifier":"M0"},{"created":"20251102133736456","creator":"M0","title":"$:/state/sq/streams/visibility/20250924234246670-219882434","text":"hide","modified":"20260508161455422","modifier":"M0"},{"created":"20250924234647376","creator":"M0","title":"$:/state/sq/streams/visibility/20250924234548748-1027366501","text":"hide","modified":"20260508161455423","modifier":"M0"},{"created":"20250924235041151","creator":"M0","title":"$:/state/sq/streams/visibility/20250924235021139--1236127490","text":"hide","modified":"20260508161455424","modifier":"M0"},{"created":"20250924235305133","creator":"M0","title":"$:/state/sq/streams/visibility/20250924235246002-20178898","text":"hide","modified":"20260508161455425","modifier":"M0"},{"created":"20250925000122603","creator":"M0","title":"$:/state/sq/streams/visibility/20250924235604975-643780273","text":"hide","modified":"20260508161455426","modifier":"M0"},{"created":"20260214144832060","creator":"M0","title":"$:/state/sq/streams/visibility/20250929170157621-111595621","text":"hide","modified":"20260508161455427","modifier":"M0"},{"created":"20251102141432083","creator":"M0","title":"$:/state/sq/streams/visibility/20250929170157621-1771884873","text":"hide","modified":"20260508161455428","modifier":"M0"},{"created":"20250929171519647","creator":"M0","title":"$:/state/sq/streams/visibility/20250929170157621-600588189","text":"hide","modified":"20260508161455428","modifier":"M0"},{"created":"20250929171529503","creator":"M0","title":"$:/state/sq/streams/visibility/20250929170354523--622336801","text":"hide","modified":"20260508161455429","modifier":"M0"},{"created":"20250929172830118","creator":"M0","title":"$:/state/sq/streams/visibility/20250929172755498-22526041","text":"hide","modified":"20260508161455430","modifier":"M0"},{"created":"20251102140944664","creator":"M0","title":"$:/state/sq/streams/visibility/20250929174310760-465644190","text":"hide","modified":"20260508161455431","modifier":"M0"},{"created":"20251102140951731","creator":"M0","title":"$:/state/sq/streams/visibility/20250929174323960--1894091074","text":"hide","modified":"20260508161455431","modifier":"M0"},{"created":"20251102135859825","creator":"M0","title":"$:/state/sq/streams/visibility/20250929174323960--450911704","text":"hide","modified":"20260508161455432","modifier":"M0"},{"created":"20251102132106454","creator":"M0","title":"$:/state/sq/streams/visibility/20251102131939362--1295247810","text":"hide","modified":"20260508161455433","modifier":"M0"},{"created":"20251102132557870","creator":"M0","title":"$:/state/sq/streams/visibility/20251102131939362--1875708920","text":"hide","modified":"20260508161455434","modifier":"M0"},{"created":"20251102142849183","creator":"M0","title":"$:/state/sq/streams/visibility/20251102131939362-417609992","text":"hide","modified":"20260508161455434","modifier":"M0"},{"created":"20251102132601465","creator":"M0","title":"$:/state/sq/streams/visibility/20251102132532419--1511109169","text":"hide","modified":"20260508161455435","modifier":"M0"},{"created":"20251102132558907","creator":"M0","title":"$:/state/sq/streams/visibility/20251102132532419-1226497559","text":"hide","modified":"20260508161455436","modifier":"M0"},{"created":"20251102132910430","creator":"M0","title":"$:/state/sq/streams/visibility/20251102132734574--1946073111","text":"hide","modified":"20260508161455437","modifier":"M0"},{"created":"20251102143231107","creator":"M0","title":"$:/state/sq/streams/visibility/20251102132734574-347245801","text":"hide","modified":"20260508161455438","modifier":"M0"},{"created":"20251102133416761","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133402152--1089858072","text":"hide","modified":"20260508161455439","modifier":"M0"},{"created":"20251102142326424","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133402152--579197026","text":"hide","modified":"20260508161455440","modifier":"M0"},{"created":"20251102133448255","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133402152-1422451358","text":"hide","modified":"20260508161455440","modifier":"M0"},{"created":"20251102134231852","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133518874--886087607","text":"hide","modified":"20260508161455441","modifier":"M0"},{"created":"20251102133622940","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133533227--1451972332","text":"hide","modified":"20260508161455442","modifier":"M0"},{"created":"20251102134408676","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133533227--2079102574","text":"hide","modified":"20260508161455442","modifier":"M0"},{"created":"20251102134401028","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133603184--1130617052","text":"hide","modified":"20260508161455443","modifier":"M0"},{"created":"20251102133640538","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133603184--2035311934","text":"hide","modified":"20260508161455443","modifier":"M0"},{"created":"20251102133844821","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133716967--2039882802","text":"hide","modified":"20260508161455444","modifier":"M0"},{"created":"20251102150135852","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133716967--724935784","text":"hide","modified":"20260508161455445","modifier":"M0"},{"created":"20251102133809524","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133754827-1502898255","text":"hide","modified":"20260508161455446","modifier":"M0"},{"created":"20251102133826097","creator":"M0","title":"$:/state/sq/streams/visibility/20251102133803724--1289289586","text":"hide","modified":"20260508161455447","modifier":"M0"},{"created":"20251102134612203","creator":"M0","title":"$:/state/sq/streams/visibility/20251102134233518-1401195755","text":"hide","modified":"20260508161455447","modifier":"M0"},{"created":"20251102141029071","creator":"M0","title":"$:/state/sq/streams/visibility/20251102140907171--1931881449","text":"hide","modified":"20260508161455448","modifier":"M0"},{"created":"20251102141117688","creator":"M0","title":"$:/state/sq/streams/visibility/20251102141052168-1153189715","text":"hide","modified":"20260508161455449","modifier":"M0"},{"created":"20251102141123443","creator":"M0","title":"$:/state/sq/streams/visibility/20251102141058357--663740689","text":"hide","modified":"20260508161455450","modifier":"M0"},{"created":"20251102141146749","creator":"M0","title":"$:/state/sq/streams/visibility/20251102141058357-1265878735","text":"hide","modified":"20260508161455451","modifier":"M0"},{"created":"20251102141439106","creator":"M0","title":"$:/state/sq/streams/visibility/20251102141407193--1519647523","text":"hide","modified":"20260508161455451","modifier":"M0"},{"created":"20251102141435102","creator":"M0","title":"$:/state/sq/streams/visibility/20251102141407193--2005085175","text":"hide","modified":"20260508161455452","modifier":"M0"},{"created":"20260214144829755","creator":"M0","title":"$:/state/sq/streams/visibility/20251102141407193-1284773285","text":"hide","modified":"20260508161455453","modifier":"M0"},{"created":"20251102150036655","creator":"M0","title":"$:/state/sq/streams/visibility/20251102143232587-1067352210","text":"hide","modified":"20260508161455454","modifier":"M0"},{"created":"20251102150047131","creator":"M0","title":"$:/state/sq/streams/visibility/20251102150039953--883052582","text":"hide","modified":"20260508161455454","modifier":"M0"},{"created":"20251102154546685","creator":"M0","title":"$:/state/sq/streams/visibility/20251102154521509-870674559","text":"hide","modified":"20260508161455455","modifier":"M0"},{"created":"20260214151157154","creator":"M0","title":"$:/state/sq/streams/visibility/20260214151142638-684860146","text":"hide","modified":"20260508161455456","modifier":"M0"},{"created":"20260214151744593","creator":"M0","title":"$:/state/sq/streams/visibility/20260214151522054-301350146","text":"hide","modified":"20260508161455457","modifier":"M0"},{"created":"20260214151541055","creator":"M0","title":"$:/state/sq/streams/visibility/20260214151531659--2027314185","text":"hide","modified":"20260508161455458","modifier":"M0"},{"created":"20260214151818778","creator":"M0","title":"$:/state/sq/streams/visibility/20260214151801304--1533872090","text":"hide","modified":"20260508161455459","modifier":"M0"},{"created":"20260214151827738","creator":"M0","title":"$:/state/sq/streams/visibility/20260214151820751--512556415","text":"hide","modified":"20260508161455459","modifier":"M0"},{"created":"20260214152922915","creator":"M0","title":"$:/state/sq/streams/visibility/20260214152915595--2042698211","text":"hide","modified":"20260508161455460","modifier":"M0"},{"created":"20260214152954092","creator":"M0","title":"$:/state/sq/streams/visibility/20260214152933311-1851795619","text":"hide","modified":"20260508161455461","modifier":"M0"},{"created":"20260214160925745","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154337050--665761913","text":"hide","modified":"20260508161455461","modifier":"M0"},{"created":"20260214154417946","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154337050-458283551","text":"hide","modified":"20260508161455462","modifier":"M0"},{"created":"20260214160734743","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154346215-2103777018","text":"hide","modified":"20260508161455463","modifier":"M0"},{"created":"20260214161120594","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154357628--1822936846","text":"hide","modified":"20260508161455463","modifier":"M0"},{"created":"20260214154423593","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154357628-1497027540","text":"hide","modified":"20260508161455464","modifier":"M0"},{"created":"20260214160623162","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154406980--686058716","text":"hide","modified":"20260508161455465","modifier":"M0"},{"created":"20260214161035361","creator":"M0","title":"$:/state/sq/streams/visibility/20260214154406980-61088674","text":"hide","modified":"20260508161455466","modifier":"M0"},{"created":"20260214160716086","creator":"M0","title":"$:/state/sq/streams/visibility/20260214160653873-1298936326","text":"hide","modified":"20260508161455467","modifier":"M0"},{"created":"20260214161039457","creator":"M0","title":"$:/state/sq/streams/visibility/20260214160653873-1519199744","text":"hide","modified":"20260508161455468","modifier":"M0"},{"created":"20260214180716235","creator":"M0","title":"$:/state/sq/streams/visibility/20260214161200031--1881244157","text":"hide","modified":"20260508161455469","modifier":"M0"},{"created":"20260214182155983","creator":"M0","title":"$:/state/sq/streams/visibility/20260214180711103--601200251","text":"hide","modified":"20260508161455469","modifier":"M0"},{"created":"20260214181518766","creator":"M0","title":"$:/state/sq/streams/visibility/20260214181429770-1499933036","text":"hide","modified":"20260508161455470","modifier":"M0"},{"created":"20260214182155802","creator":"M0","title":"$:/state/sq/streams/visibility/20260214181607313-1076825097","text":"hide","modified":"20260508161455471","modifier":"M0"},{"created":"20260214182216875","creator":"M0","title":"$:/state/sq/streams/visibility/20260214181622288-1368120901","text":"hide","modified":"20260508161455471","modifier":"M0"},{"created":"20260214182747547","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182241217--1178606217","text":"hide","modified":"20260508161455472","modifier":"M0"},{"created":"20260214182737898","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182410608--1278345099","text":"hide","modified":"20260508161455473","modifier":"M0"},{"created":"20260214182747371","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182740432--1983297056","text":"hide","modified":"20260508161455473","modifier":"M0"},{"created":"20260214231216446","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182746135--1466180984","text":"hide","modified":"20260508161455474","modifier":"M0"},{"created":"20260214183248944","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182756059-1273099876","text":"hide","modified":"20260508161455475","modifier":"M0"},{"created":"20260214183246730","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182813185--46749748","text":"hide","modified":"20260508161455476","modifier":"M0"},{"created":"20260214183239442","creator":"M0","title":"$:/state/sq/streams/visibility/20260214182905423--1856621623","text":"hide","modified":"20260508161455477","modifier":"M0"},{"created":"20260214183407709","creator":"M0","title":"$:/state/sq/streams/visibility/20260214183310694-510263136","text":"hide","modified":"20260508161455478","modifier":"M0"},{"created":"20260214183504970","creator":"M0","title":"$:/state/sq/streams/visibility/20260214183415265--654578810","text":"hide","modified":"20260508161455479","modifier":"M0"},{"created":"20260215011122828","creator":"M0","title":"$:/state/sq/streams/visibility/20260215011122018-1735222534","text":"hide","modified":"20260508161455480","modifier":"M0"},{"created":"20260215011126318","creator":"M0","title":"$:/state/sq/streams/visibility/20260215011122018-1751791166","text":"hide","modified":"20260508161455481","modifier":"M0"},{"created":"20260215210016348","creator":"M0","title":"$:/state/sq/streams/visibility/20260215011132188-1783645763","text":"hide","modified":"20260508161455481","modifier":"M0"},{"created":"20260216170718614","creator":"M0","title":"$:/state/sq/streams/visibility/20260215212255374--1803350941","text":"hide","modified":"20260508161455482","modifier":"M0"},{"created":"20260215212319074","creator":"M0","title":"$:/state/sq/streams/visibility/20260215212255374--2066103763","text":"hide","modified":"20260508161455483","modifier":"M0"},{"created":"20260219023237788","title":"$:/state/sq/streams/visibility/20260215212255374-195514667","text":"hide","modified":"20260508161455483"},{"created":"20260216171400866","creator":"M0","title":"$:/state/sq/streams/visibility/20260215212330620--491407427","text":"hide","modified":"20260508161455484","modifier":"M0"},{"created":"20260215212359227","creator":"M0","title":"$:/state/sq/streams/visibility/20260215212330620-2026896519","text":"hide","modified":"20260508161455485","modifier":"M0"},{"created":"20260216170655458","creator":"M0","title":"$:/state/sq/streams/visibility/20260215212438471-1585922220","text":"hide","modified":"20260508161455486","modifier":"M0"},{"created":"20260215212504202","creator":"M0","title":"$:/state/sq/streams/visibility/20260215212438471-1754191862","text":"hide","modified":"20260508161455486","modifier":"M0"},{"created":"20260301212724556","title":"$:/state/sq/streams/visibility/20260215212438471-592043914","text":"hide","modified":"20260508161455487"},{"created":"20260216012643574","creator":"M0","title":"$:/state/sq/streams/visibility/20260216012554759-241530813","text":"hide","modified":"20260508161455488","modifier":"M0"},{"created":"20260216171218387","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171155395-2138303500","text":"hide","modified":"20260508161455489","modifier":"M0"},{"created":"20260216171345277","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171337516-501459111","text":"hide","modified":"20260508161455489","modifier":"M0"},{"created":"20260216171631924","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171623851--1167998387","text":"hide","modified":"20260508161455491","modifier":"M0"},{"created":"20260301200314608","title":"$:/state/sq/streams/visibility/20260216171623851--1242374259","text":"hide","modified":"20260508161455492"},{"created":"20260301212849804","title":"$:/state/sq/streams/visibility/20260216171623851--1393586091","text":"hide","modified":"20260508161455493"},{"created":"20260228040004877","title":"$:/state/sq/streams/visibility/20260216171623851-1284795793","text":"hide","modified":"20260508161455494"},{"created":"20260216171640547","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171623851-336704713","text":"hide","modified":"20260508161455495","modifier":"M0"},{"created":"20260216171704204","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171653037--1013335190","text":"hide","modified":"20260508161455495","modifier":"M0"},{"created":"20260216171745632","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171716145-1378879380","text":"hide","modified":"20260508161455496","modifier":"M0"},{"created":"20260216171759395","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171747150-255340056","text":"hide","modified":"20260508161455498","modifier":"M0"},{"created":"20260216190512209","creator":"M0","title":"$:/state/sq/streams/visibility/20260216171853217--1856537080","text":"hide","modified":"20260508161455500","modifier":"M0"},{"created":"20260216172207413","creator":"M0","title":"$:/state/sq/streams/visibility/20260216172153435-994050754","text":"hide","modified":"20260508161455501","modifier":"M0"},{"created":"20260216172204131","creator":"M0","title":"$:/state/sq/streams/visibility/20260216172201870-1064765515","text":"hide","modified":"20260508161455502","modifier":"M0"},{"created":"20260219023435381","title":"$:/state/sq/streams/visibility/20260216172334153--1651969842","text":"hide","modified":"20260508161455503"},{"created":"20260216172337664","creator":"M0","title":"$:/state/sq/streams/visibility/20260216172334153-2029830062","text":"hide","modified":"20260508161455503","modifier":"M0"},{"created":"20260216190700977","creator":"M0","title":"$:/state/sq/streams/visibility/20260216172334153-516042952","text":"hide","modified":"20260508161455504","modifier":"M0"},{"created":"20260216172906531","creator":"M0","title":"$:/state/sq/streams/visibility/20260216172854271--1940092972","text":"hide","modified":"20260508161455505","modifier":"M0"},{"created":"20260219030851187","title":"$:/state/sq/streams/visibility/20260216173457793--1411462135","text":"hide","modified":"20260508161455505"},{"created":"20260216173516436","creator":"M0","title":"$:/state/sq/streams/visibility/20260216173457793--1721442823","text":"hide","modified":"20260508161455506","modifier":"M0"},{"created":"20260312020654327","title":"$:/state/sq/streams/visibility/20260216173457793-363647053","text":"hide","modified":"20260508161455507"},{"created":"20260217152402373","creator":"M0","title":"$:/state/sq/streams/visibility/20260216173457793-521953220","text":"hide","modified":"20260508161455508","modifier":"M0"},{"created":"20260216174524666","creator":"M0","title":"$:/state/sq/streams/visibility/20260216173638367--1815289929","text":"hide","modified":"20260508161455508","modifier":"M0"},{"created":"20260219030917858","title":"$:/state/sq/streams/visibility/20260216173638367-813473095","text":"hide","modified":"20260508161455509"},{"created":"20260216173749646","creator":"M0","title":"$:/state/sq/streams/visibility/20260216173728270--1132747028","text":"hide","modified":"20260508161455509","modifier":"M0"},{"created":"20260219030907662","title":"$:/state/sq/streams/visibility/20260216173728270--2027634244","text":"hide","modified":"20260508161455511"},{"created":"20260312020855562","title":"$:/state/sq/streams/visibility/20260216173728270-1756604538","text":"hide","modified":"20260508161455511"},{"created":"20260216173840806","creator":"M0","title":"$:/state/sq/streams/visibility/20260216173808950--1947016430","text":"hide","modified":"20260508161455512","modifier":"M0"},{"created":"20260312020546822","title":"$:/state/sq/streams/visibility/20260216173808950--348911980","text":"hide","modified":"20260508161455513"},{"created":"20260219030830844","title":"$:/state/sq/streams/visibility/20260216173808950-1599661922","text":"hide","modified":"20260508161455514"},{"created":"20260312020532526","title":"$:/state/sq/streams/visibility/20260216173921819--1297522112","text":"hide","modified":"20260508161455514"},{"created":"20260216174006169","creator":"M0","title":"$:/state/sq/streams/visibility/20260216173921819--153215258","text":"hide","modified":"20260508161455515","modifier":"M0"},{"created":"20260219030749773","title":"$:/state/sq/streams/visibility/20260216173921819-1745983230","text":"hide","modified":"20260508161455516"},{"created":"20260219025950180","title":"$:/state/sq/streams/visibility/20260216173921819-752965686","text":"hide","modified":"20260508161455517"},{"created":"20260312021500085","title":"$:/state/sq/streams/visibility/20260216174040762--744808160","text":"hide","modified":"20260508161455518"},{"created":"20260216174052522","creator":"M0","title":"$:/state/sq/streams/visibility/20260216174040762-1865649158","text":"hide","modified":"20260508161455518","modifier":"M0"},{"created":"20260219030821572","title":"$:/state/sq/streams/visibility/20260216174040762-353111382","text":"hide","modified":"20260508161455519"},{"created":"20260219025731633","title":"$:/state/sq/streams/visibility/20260216174707760--1206292926","text":"hide","modified":"20260508161455520"},{"created":"20260312160243316","title":"$:/state/sq/streams/visibility/20260216183343601","myfield":"show","modified":"20260508161455521","text":"hide"},{"created":"20260217182241428","title":"$:/state/sq/streams/visibility/20260216183343601--811128942","text":"hide","modified":"20260508161455522"},{"created":"20260217183942602","title":"$:/state/sq/streams/visibility/20260216185134188--1527350602","text":"hide","modified":"20260508161455522"},{"created":"20260216185150184","creator":"M0","title":"$:/state/sq/streams/visibility/20260216185134188--554187626","text":"hide","modified":"20260508161455523","modifier":"M0"},{"created":"20260217181854852","title":"$:/state/sq/streams/visibility/20260216185134188-1656007662","text":"hide","modified":"20260508161455524"},{"created":"20260303234727391","title":"$:/state/sq/streams/visibility/20260216185134188-167013864","text":"hide","modified":"20260508161455525"},{"created":"20260219024505786","title":"$:/state/sq/streams/visibility/20260216190638299--1156342538","text":"hide","modified":"20260508161455525"},{"created":"20260508035242039","title":"$:/state/sq/streams/visibility/20260216191251453--1184446866","text":"hide","modified":"20260508161455526"},{"created":"20260307204207000","title":"$:/state/sq/streams/visibility/20260216223731844--2137657545","text":"hide","modified":"20260508161455527"},{"created":"20260227173110136","title":"$:/state/sq/streams/visibility/20260216223731844-106440949","text":"hide","modified":"20260508161455527"},{"created":"20260217181829199","title":"$:/state/sq/streams/visibility/20260216223731844-1732626079","text":"hide","modified":"20260508161455528"},{"created":"20260227173821963","title":"$:/state/sq/streams/visibility/20260216223731844-1837503335","text":"hide","modified":"20260508161455529"},{"created":"20260216230317105","creator":"M0","title":"$:/state/sq/streams/visibility/20260216223731844-1841420167","text":"hide","modified":"20260508161455530","modifier":"M0"},{"created":"20260312160243316","title":"$:/state/sq/streams/visibility/20260216225519809","myfield":"show","modified":"20260508161455531","text":"hide"},{"created":"20260216225528465","creator":"M0","title":"$:/state/sq/streams/visibility/20260216225519809-129304578","text":"hide","modified":"20260508161455532","modifier":"M0"},{"created":"20260217181659698","title":"$:/state/sq/streams/visibility/20260216225519809-1362019418","text":"hide","modified":"20260508161455533"},{"created":"20260217183947182","title":"$:/state/sq/streams/visibility/20260216225519809-1407859490","text":"hide","modified":"20260508161455533"},{"created":"20260217181521763","title":"$:/state/sq/streams/visibility/20260216225926942--553226010","text":"hide","modified":"20260508161455534"},{"created":"20260312160243317","title":"$:/state/sq/streams/visibility/20260217001349469","myfield":"show","modified":"20260508161455535","text":"hide"},{"created":"20260218220339395","title":"$:/state/sq/streams/visibility/20260217001349469-367430064","text":"hide","modified":"20260508161455536"},{"created":"20260308184356258","title":"$:/state/sq/streams/visibility/20260217001406615--1452143745","text":"hide","modified":"20260508161455536"},{"created":"20260219145900588","title":"$:/state/sq/streams/visibility/20260217001406615--1474869787","text":"hide","modified":"20260508161455537"},{"created":"20260219193633923","title":"$:/state/sq/streams/visibility/20260217001406615--627835273","text":"hide","modified":"20260508161455538"},{"created":"20260218210457212","title":"$:/state/sq/streams/visibility/20260217001406615-1072449197","text":"hide","modified":"20260508161455538"},{"created":"20260217013210040","creator":"M0","title":"$:/state/sq/streams/visibility/20260217001406615-1096183885","text":"hide","modified":"20260508161455539","modifier":"M0"},{"created":"20260307041513099","title":"$:/state/sq/streams/visibility/20260217001406615-1489122065","text":"hide","modified":"20260508161455540"},{"created":"20260217182544722","title":"$:/state/sq/streams/visibility/20260217024923127--1129892696","text":"hide","modified":"20260508161455541"},{"created":"20260219193356007","title":"$:/state/sq/streams/visibility/20260217024923127--1270591632","text":"hide","modified":"20260508161455541"},{"created":"20260217025227211","creator":"M0","title":"$:/state/sq/streams/visibility/20260217024923127-394867664","text":"hide","modified":"20260508161455542","modifier":"M0"},{"created":"20260217100321693","creator":"M0","title":"$:/state/sq/streams/visibility/20260217024927942--887883973","text":"hide","modified":"20260508161455543","modifier":"M0"},{"created":"20260217025024411","creator":"M0","title":"$:/state/sq/streams/visibility/20260217024927942-1537069683","text":"hide","modified":"20260508161455544","modifier":"M0"},{"created":"20260307041458243","title":"$:/state/sq/streams/visibility/20260217105704103--1370875441","text":"hide","modified":"20260508161455545"},{"created":"20260217111224306","creator":"M0","title":"$:/state/sq/streams/visibility/20260217105704103--1694837737","text":"hide","modified":"20260508161455545","modifier":"M0"},{"created":"20260217105730058","creator":"M0","title":"$:/state/sq/streams/visibility/20260217105704103-1009903439","text":"hide","modified":"20260508161455546","modifier":"M0"},{"created":"20260218203336857","title":"$:/state/sq/streams/visibility/20260217105704103-1508967527","text":"hide","modified":"20260508161455547"},{"created":"20260219022039924","title":"$:/state/sq/streams/visibility/20260217105704103-684507439","text":"hide","modified":"20260508161455548"},{"created":"20260221143441744","title":"$:/state/sq/streams/visibility/20260217123532245--1628376979","text":"hide","modified":"20260508161455549"},{"created":"20260217123822584","creator":"M0","title":"$:/state/sq/streams/visibility/20260217123532245--236582387","text":"hide","modified":"20260508161455549","modifier":"M0"},{"created":"20260217181809088","title":"$:/state/sq/streams/visibility/20260217123532245-1931964325","text":"hide","modified":"20260508161455550"},{"created":"20260219183911667","title":"$:/state/sq/streams/visibility/20260217125024633--568371258","text":"hide","modified":"20260508161455551"},{"created":"20260217125036734","creator":"M0","title":"$:/state/sq/streams/visibility/20260217125024633-156812710","text":"hide","modified":"20260508161455552","modifier":"M0"},{"created":"20260219182834783","title":"$:/state/sq/streams/visibility/20260217125024633-1626076","text":"hide","modified":"20260508161455552"},{"created":"20260217181813979","title":"$:/state/sq/streams/visibility/20260217125024633-2027530494","text":"hide","modified":"20260508161455553"},{"created":"20260217181818813","title":"$:/state/sq/streams/visibility/20260217125107723-1180158050","text":"hide","modified":"20260508161455554"},{"created":"20260219030600791","title":"$:/state/sq/streams/visibility/20260217125529405--1032420787","text":"hide","modified":"20260508161455555"},{"created":"20260217125533417","creator":"M0","title":"$:/state/sq/streams/visibility/20260217125529405--1904847891","text":"hide","modified":"20260508161455556","modifier":"M0"},{"created":"20260217182114597","title":"$:/state/sq/streams/visibility/20260217125529405-751616389","text":"hide","modified":"20260508161455556"},{"created":"20260301200227848","title":"$:/state/sq/streams/visibility/20260217152135063--1972216216","text":"hide","modified":"20260508161455557"},{"created":"20260301211804749","title":"$:/state/sq/streams/visibility/20260217152135063-1074002224","text":"hide","modified":"20260508161455558"},{"created":"20260217154136334","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152135063-1163600342","text":"hide","modified":"20260508161455558","modifier":"M0"},{"created":"20260217152203195","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152135063-311137038","text":"hide","modified":"20260508161455559","modifier":"M0"},{"created":"20260217154137697","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152211518--2071161466","text":"hide","modified":"20260508161455560","modifier":"M0"},{"created":"20260217152312284","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152211518-1996121790","text":"hide","modified":"20260508161455561","modifier":"M0"},{"created":"20260218220906923","title":"$:/state/sq/streams/visibility/20260217152211518/Copincha/MappingInequalityInTheCloud--951300325","text":"hide","modified":"20260508161455562"},{"created":"20260219022017181","title":"$:/state/sq/streams/visibility/20260217152211518/Copincha/MappingInequalityInTheCloud-1371808739","text":"hide","modified":"20260508161455562"},{"created":"20260219031629193","title":"$:/state/sq/streams/visibility/20260217152211518/Copincha/PPH--1215450003","text":"hide","modified":"20260508161455564"},{"created":"20260217183944640","title":"$:/state/sq/streams/visibility/20260217152211518/Copincha/PPH-2063902005","text":"hide","modified":"20260508161455564"},{"created":"20260217152411439","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152335475--626701877","text":"hide","modified":"20260508161455565","modifier":"M0"},{"created":"20260301200111017","title":"$:/state/sq/streams/visibility/20260217152335475-1948778443","text":"hide","modified":"20260508161455566"},{"created":"20260217154149553","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152335475-212975251","text":"hide","modified":"20260508161455567","modifier":"M0"},{"created":"20260301211805916","title":"$:/state/sq/streams/visibility/20260217152335475-638088339","text":"hide","modified":"20260508161455567"},{"created":"20260219031400260","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171739774-241004497","text":"hide","modified":"20260508161455568"},{"created":"20260219030930973","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171911108-175971002","text":"hide","modified":"20260508161455569"},{"created":"20260219031006116","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171914271--1061483414","text":"hide","modified":"20260508161455570"},{"created":"20260219031017757","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171916400-616603088","text":"hide","modified":"20260508161455570"},{"created":"20260219031029148","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171918204-625426192","text":"hide","modified":"20260508161455571"},{"created":"20260219031055555","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171920114-915586295","text":"hide","modified":"20260508161455572"},{"created":"20260219031109238","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171923117-1634761239","text":"hide","modified":"20260508161455573"},{"created":"20260219031120632","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171925251-579685900","text":"hide","modified":"20260508161455573"},{"created":"20260219030008844","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171927485-1127025069","text":"hide","modified":"20260508161455574"},{"created":"20260219031209429","title":"$:/state/sq/streams/visibility/20260217152335475/20250617171929733--1054422767","text":"hide","modified":"20260508161455575"},{"created":"20260219031321788","title":"$:/state/sq/streams/visibility/20260217152335475/Copincha-1697646945","text":"hide","modified":"20260508161455575"},{"created":"20260219031302795","title":"$:/state/sq/streams/visibility/20260217152335475/MONCAR-352327030","text":"hide","modified":"20260508161455576"},{"created":"20260219031238358","title":"$:/state/sq/streams/visibility/20260217152335475/PPH--877206012","text":"hide","modified":"20260508161455577"},{"created":"20260217154151128","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152416003--850803882","text":"hide","modified":"20260508161455578","modifier":"M0"},{"created":"20260301200152137","title":"$:/state/sq/streams/visibility/20260217152416003--897274648","text":"hide","modified":"20260508161455580"},{"created":"20260217152516605","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152416003-1391277198","text":"hide","modified":"20260508161455581","modifier":"M0"},{"created":"20260301211808084","title":"$:/state/sq/streams/visibility/20260217152416003-849954736","text":"hide","modified":"20260508161455582"},{"created":"20260219031424213","title":"$:/state/sq/streams/visibility/20260217152416003/20250617174345520-924993017","text":"hide","modified":"20260508161455583"},{"created":"20260219031433705","title":"$:/state/sq/streams/visibility/20260217152416003/20250617174350769--1325470042","text":"hide","modified":"20260508161455585"},{"created":"20260217152542282","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152523725--1055140156","text":"hide","modified":"20260508161455586","modifier":"M0"},{"created":"20260301200157866","title":"$:/state/sq/streams/visibility/20260217152523725--1348335502","text":"hide","modified":"20260508161455587"},{"created":"20260217154152189","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152523725--1580648052","text":"hide","modified":"20260508161455588","modifier":"M0"},{"created":"20260301211807285","title":"$:/state/sq/streams/visibility/20260217152523725-457330490","text":"hide","modified":"20260508161455589"},{"created":"20260219031452779","title":"$:/state/sq/streams/visibility/20260217152523725/20220820232310672-981167887","text":"hide","modified":"20260508161455590"},{"created":"20260219031502309","title":"$:/state/sq/streams/visibility/20260217152523725/20250617174151079--1962620439","text":"hide","modified":"20260508161455591"},{"created":"20260217154153231","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152606355--1700527975","text":"hide","modified":"20260508161455592","modifier":"M0"},{"created":"20260217152633902","creator":"M0","title":"$:/state/sq/streams/visibility/20260217152606355-1081628625","text":"hide","modified":"20260508161457600","modifier":"M0"},{"created":"20260217183614742","title":"$:/state/sq/streams/visibility/20260217181713623--1267176274","text":"hide","modified":"20260508161455595"},{"created":"20260217182041754","title":"$:/state/sq/streams/visibility/20260217181959745--1794425627","text":"hide","modified":"20260508161455596"},{"created":"20260227182333239","title":"$:/state/sq/streams/visibility/20260217181959745-1921204569","text":"hide","modified":"20260508161455597"},{"created":"20260217182103978","title":"$:/state/sq/streams/visibility/20260217181959745-577837201","text":"hide","modified":"20260508161455598"},{"created":"20260217182132252","title":"$:/state/sq/streams/visibility/20260217182101739--1712433024","text":"hide","modified":"20260508161455599"},{"created":"20260307031433037","title":"$:/state/sq/streams/visibility/20260217182253388--1596199666","text":"hide","modified":"20260508161455600"},{"created":"20260217182311366","title":"$:/state/sq/streams/visibility/20260217182253388--1719449656","text":"hide","modified":"20260508161455600"},{"created":"20260218210833823","title":"$:/state/sq/streams/visibility/20260217182403754-1121905004","text":"hide","modified":"20260508161455602"},{"created":"20260217182720282","title":"$:/state/sq/streams/visibility/20260217182653654-902518570","text":"hide","modified":"20260508161455603"},{"created":"20260308135856585","title":"$:/state/sq/streams/visibility/20260217182721901--1059599296","text":"hide","modified":"20260508161455603"},{"created":"20260308135931018","title":"$:/state/sq/streams/visibility/20260217182721901--1076268217","text":"hide","modified":"20260508161455604"},{"created":"20260220174836402","title":"$:/state/sq/streams/visibility/20260217182721901--1222417913","text":"hide","modified":"20260508161455605"},{"created":"20260307031356829","title":"$:/state/sq/streams/visibility/20260217182721901--1366953937","text":"hide","modified":"20260508161455606"},{"created":"20260308115807597","title":"$:/state/sq/streams/visibility/20260217182721901--98671857","text":"hide","modified":"20260508161455606"},{"created":"20260307202212960","title":"$:/state/sq/streams/visibility/20260217182721901-150785915","text":"hide","modified":"20260508161455606"},{"created":"20260222122324747","title":"$:/state/sq/streams/visibility/20260217182721901-30400207","text":"hide","modified":"20260508161455608"},{"created":"20260227182509800","title":"$:/state/sq/streams/visibility/20260217182804319-965238284","text":"hide","modified":"20260508161455608"},{"created":"20260224170021372","title":"$:/state/sq/streams/visibility/20260217182823598--1703645072","text":"hide","modified":"20260508161455609"},{"created":"20260313011936374","title":"$:/state/sq/streams/visibility/20260217182823598--233435482","text":"hide","modified":"20260508161455610"},{"created":"20260218210851431","title":"$:/state/sq/streams/visibility/20260217182918937--1213547218","text":"hide","modified":"20260508161455611"},{"created":"20260308180215495","title":"$:/state/sq/streams/visibility/20260217182918937-1399170216","text":"hide","modified":"20260508161455612"},{"created":"20260318005241397","title":"$:/state/sq/streams/visibility/20260217183137871--1598881207","text":"hide","modified":"20260508161455612"},{"created":"20260217183219401","title":"$:/state/sq/streams/visibility/20260217183137871-191398717","text":"hide","modified":"20260508161455613"},{"created":"20260224174535026","title":"$:/state/sq/streams/visibility/20260217183137871-477338381","text":"hide","modified":"20260508161455614"},{"created":"20260217183259580","title":"$:/state/sq/streams/visibility/20260217183141866--1493132432","text":"hide","modified":"20260508161455615"},{"created":"20260318005246106","title":"$:/state/sq/streams/visibility/20260217183141866--1520990666","text":"hide","modified":"20260508161455615"},{"created":"20260318005321676","title":"$:/state/sq/streams/visibility/20260217183154006-2010404562","text":"hide","modified":"20260508161455616"},{"created":"20260217183423448","title":"$:/state/sq/streams/visibility/20260217183154006-578382692","text":"hide","modified":"20260508161455617"},{"created":"20260224180956156","title":"$:/state/sq/streams/visibility/20260217183426674-672635919","text":"hide","modified":"20260508161455618"},{"created":"20260308185240470","title":"$:/state/sq/streams/visibility/20260217183621353--1514317560","text":"hide","modified":"20260508161455619"},{"created":"20260217183639657","title":"$:/state/sq/streams/visibility/20260217183621353--241499410","text":"hide","modified":"20260508161455619"},{"created":"20260312160812158","title":"$:/state/sq/streams/visibility/20260217183621353-119314928","text":"hide","modified":"20260508161455620"},{"created":"20260301195458105","title":"$:/state/sq/streams/visibility/20260217183643285-2101005136","text":"hide","modified":"20260508161455621"},{"created":"20260218220623177","title":"$:/state/sq/streams/visibility/20260218220609936--539175028","text":"hide","modified":"20260508161455622"},{"created":"20260301200435081","title":"$:/state/sq/streams/visibility/20260218220609936--641510164","text":"hide","modified":"20260508161455622"},{"created":"20260228040019182","title":"$:/state/sq/streams/visibility/20260218220609936-591374932","text":"hide","modified":"20260508161455623"},{"created":"20260219024724678","title":"$:/state/sq/streams/visibility/20260219024602097--1792218192","text":"hide","modified":"20260508161455624"},{"created":"20260219024843907","title":"$:/state/sq/streams/visibility/20260219024816699-887501261","text":"hide","modified":"20260508161455624"},{"created":"20260219183013555","title":"$:/state/sq/streams/visibility/20260219182837318--2061627505","text":"hide","modified":"20260508161455625"},{"created":"20260219183734772","title":"$:/state/sq/streams/visibility/20260219182837318-1091468375","text":"hide","modified":"20260508161455626"},{"created":"20260308124155977","title":"$:/state/sq/streams/visibility/20260219182837318-2043217287","text":"hide","modified":"20260508161455627"},{"created":"20260219193556657","title":"$:/state/sq/streams/visibility/20260219193524342--40992877","text":"hide","modified":"20260508161455628"},{"created":"20260307202903446","title":"$:/state/sq/streams/visibility/20260219193524342-1771721251","text":"hide","modified":"20260508161455629"},{"created":"20260222224417436","title":"$:/state/sq/streams/visibility/20260219193524342-1833329755","text":"hide","modified":"20260508161455630"},{"created":"20260307204745040","title":"$:/state/sq/streams/visibility/20260219193551179-1875371147","text":"hide","modified":"20260508161455631"},{"created":"20260220154711082","title":"$:/state/sq/streams/visibility/20260219193551179-99968203","text":"hide","modified":"20260508161455632"},{"created":"20260219203420085","title":"$:/state/sq/streams/visibility/20260219203100143-89161988","text":"hide","modified":"20260508161455633"},{"created":"20260220174002057","title":"$:/state/sq/streams/visibility/20260220044400715-740049527","text":"hide","modified":"20260508161455633"},{"created":"20260220173613306","title":"$:/state/sq/streams/visibility/20260220044406300--75960155","text":"hide","modified":"20260508161455634"},{"created":"20260220162941685","title":"$:/state/sq/streams/visibility/20260220044518397--1816373207","text":"hide","modified":"20260508161455635"},{"created":"20260312021733509","title":"$:/state/sq/streams/visibility/20260220175215953-1551558942","text":"hide","modified":"20260508161455636"},{"created":"20260228035938447","title":"$:/state/sq/streams/visibility/20260220175310569--1384841595","text":"hide","modified":"20260508161455636"},{"created":"20260221145458926","title":"$:/state/sq/streams/visibility/20260220175310569--738546243","text":"hide","modified":"20260508161455637"},{"created":"20260312160243318","title":"$:/state/sq/streams/visibility/20260220175338273","myfield":"show","modified":"20260508161455638","text":"hide"},{"created":"20260220180553768","title":"$:/state/sq/streams/visibility/20260220175338273--230971795","text":"hide","modified":"20260508161455639"},{"created":"20260508150144130","title":"$:/state/sq/streams/visibility/20260220175523249-1541665502","text":"hide","modified":"20260508161455639"},{"created":"20260312021649832","title":"$:/state/sq/streams/visibility/20260220175731097-1673900230","text":"hide","modified":"20260508161455640"},{"created":"20260224174450283","title":"$:/state/sq/streams/visibility/20260224174405765--1390809777","text":"hide","modified":"20260508161455641"},{"created":"20260224183206694","title":"$:/state/sq/streams/visibility/20260224182839152--1365781089","text":"hide","modified":"20260508161455641"},{"created":"20260228035942671","title":"$:/state/sq/streams/visibility/20260224182839152--992337305","text":"hide","modified":"20260508161455642"},{"created":"20260224184008309","title":"$:/state/sq/streams/visibility/20260224183225424--1372278075","text":"hide","modified":"20260508161455644"},{"created":"20260226194506483","title":"$:/state/sq/streams/visibility/20260226194407536--872368885","text":"hide","modified":"20260508161455644"},{"created":"20260227174129220","title":"$:/state/sq/streams/visibility/20260226194510315-1047908613","text":"hide","modified":"20260508161455644"},{"created":"20260227183029045","title":"$:/state/sq/streams/visibility/20260227183002421--1244689266","text":"hide","modified":"20260508161455646"},{"created":"20260228040001399","title":"$:/state/sq/streams/visibility/20260227183002421--1870914730","text":"hide","modified":"20260508161455647"},{"created":"20260301212857500","title":"$:/state/sq/streams/visibility/20260227183002421--933367888","text":"hide","modified":"20260508161455647"},{"created":"20260301200311544","title":"$:/state/sq/streams/visibility/20260227183002421-1854493928","text":"hide","modified":"20260508161455648"},{"created":"20260227183054366","title":"$:/state/sq/streams/visibility/20260227183035691--1057959187","text":"hide","modified":"20260508161455649"},{"created":"20260301212656532","title":"$:/state/sq/streams/visibility/20260227183106761--1798383608","text":"hide","modified":"20260508161455649"},{"created":"20260301194928497","title":"$:/state/sq/streams/visibility/20260301194843933-1453375716","text":"hide","modified":"20260508161455650"},{"created":"20260301200019541","title":"$:/state/sq/streams/visibility/20260301195959025--2008118265","text":"hide","modified":"20260508161455651"},{"created":"20260301211811668","title":"$:/state/sq/streams/visibility/20260301195959025--970748073","text":"hide","modified":"20260508161455651"},{"created":"20260301200057201","title":"$:/state/sq/streams/visibility/20260301195959025-79241871","text":"hide","modified":"20260508161455652"},{"created":"20260301200125344","title":"$:/state/sq/streams/visibility/20260301200101081--1149828691","text":"hide","modified":"20260508161455653"},{"created":"20260301221542010","title":"$:/state/sq/streams/visibility/20260301201940268--1829727074","text":"hide","modified":"20260508161455654"},{"created":"20260301210457572","title":"$:/state/sq/streams/visibility/20260301201940268--509326029","text":"hide","modified":"20260508161455655"},{"created":"20260301222017324","title":"$:/state/sq/streams/visibility/20260301201940268--810576426","text":"hide","modified":"20260508161455656"},{"created":"20260301202020507","title":"$:/state/sq/streams/visibility/20260301201940268-986257515","text":"hide","modified":"20260508161455657"},{"created":"20260301211022602","title":"$:/state/sq/streams/visibility/20260301211008640-15569073","text":"hide","modified":"20260508161455657"},{"created":"20260301214515721","title":"$:/state/sq/streams/visibility/20260301211703685--346251369","text":"hide","modified":"20260508161455658"},{"created":"20260301211730960","title":"$:/state/sq/streams/visibility/20260301211703685-1389951943","text":"hide","modified":"20260508161455659"},{"created":"20260301211916389","title":"$:/state/sq/streams/visibility/20260301211703685-1419424463","text":"hide","modified":"20260508161455659"},{"created":"20260301214647952","title":"$:/state/sq/streams/visibility/20260301214530132--2058470721","text":"hide","modified":"20260508161455660"},{"created":"20260301214921769","title":"$:/state/sq/streams/visibility/20260301214813803-1691404935","text":"hide","modified":"20260508161455661"},{"created":"20260303233801553","title":"$:/state/sq/streams/visibility/20260303233749363--1915885138","text":"hide","modified":"20260508161455662"},{"created":"20260303234041812","title":"$:/state/sq/streams/visibility/20260303233749363--2051765202","text":"hide","modified":"20260508161455662"},{"created":"20260303233854907","title":"$:/state/sq/streams/visibility/20260303233830314--1415499231","text":"hide","modified":"20260508161455663"},{"created":"20260303234000362","title":"$:/state/sq/streams/visibility/20260303233948744-1167371912","text":"hide","modified":"20260508161455664"},{"created":"20260303234028299","title":"$:/state/sq/streams/visibility/20260303233948744-1313521608","text":"hide","modified":"20260508161455665"},{"created":"20260303234135451","title":"$:/state/sq/streams/visibility/20260303234111160--504290553","text":"hide","modified":"20260508161455665"},{"created":"20260303234456154","title":"$:/state/sq/streams/visibility/20260303234429121--689475060","text":"hide","modified":"20260508161455667"},{"created":"20260303234535223","title":"$:/state/sq/streams/visibility/20260303234513595-148376487","text":"hide","modified":"20260508161455668"},{"created":"20260303234557985","title":"$:/state/sq/streams/visibility/20260303234543150--21972407","text":"hide","modified":"20260508161455669"},{"created":"20260303234639829","title":"$:/state/sq/streams/visibility/20260303234622633--1320705855","text":"hide","modified":"20260508161455669"},{"created":"20260303234741829","title":"$:/state/sq/streams/visibility/20260303234710001-501710854","text":"hide","modified":"20260508161455670"},{"created":"20260312160243320","title":"$:/state/sq/streams/visibility/20260304003031154","myfield":"show","modified":"20260508161455670","text":"hide"},{"created":"20260308114434697","title":"$:/state/sq/streams/visibility/20260308113847301--7287475","text":"hide","modified":"20260508161455671"},{"created":"20260308113952681","title":"$:/state/sq/streams/visibility/20260308113847301-1683939497","text":"hide","modified":"20260508161455671"},{"created":"20260308114647240","title":"$:/state/sq/streams/visibility/20260308114535261--545424537","text":"hide","modified":"20260508161455672"},{"created":"20260308114558977","title":"$:/state/sq/streams/visibility/20260308114535261-776688623","text":"hide","modified":"20260508161455673"},{"created":"20260308122001715","title":"$:/state/sq/streams/visibility/20260308114750356--1813507101","text":"hide","modified":"20260508161455675"},{"created":"20260308122348283","title":"$:/state/sq/streams/visibility/20260308114750356--426991021","text":"hide","modified":"20260508161455676"},{"created":"20260308115154568","title":"$:/state/sq/streams/visibility/20260308115137041--1336888726","text":"hide","modified":"20260508161455677"},{"created":"20260308140147734","title":"$:/state/sq/streams/visibility/20260308140014268--161954485","text":"hide","modified":"20260508161455677"},{"created":"20260308140133750","title":"$:/state/sq/streams/visibility/20260308140014268-1581149003","text":"hide","modified":"20260508161455678"},{"created":"20260317182319544","title":"$:/state/sq/streams/visibility/20260308140014268-329965758","text":"hide","modified":"20260508161455679"},{"created":"20260309141541803","title":"$:/state/sq/streams/visibility/20260308180838284-1564404599","text":"hide","modified":"20260508161455680"},{"created":"20260308181935940","title":"$:/state/sq/streams/visibility/20260308180842950-1078004068","text":"hide","modified":"20260508161455681"},{"created":"20260312172144818","title":"$:/state/sq/streams/visibility/20260308180925434--1008185217","text":"hide","modified":"20260508161455682"},{"created":"20260308184322371","title":"$:/state/sq/streams/visibility/20260308180944459--1638601243","text":"hide","modified":"20260508161455682"},{"created":"20260308184626725","title":"$:/state/sq/streams/visibility/20260308181021906-1640295223","text":"hide","modified":"20260508161455683"},{"created":"20260309142006012","title":"$:/state/sq/streams/visibility/20260308181041062-1038165926","text":"hide","modified":"20260508161455684"},{"created":"20260308185139258","title":"$:/state/sq/streams/visibility/20260308181045640--1137339672","text":"hide","modified":"20260508161455685"},{"created":"20260308190142409","title":"$:/state/sq/streams/visibility/20260308185201231--551240344","text":"hide","modified":"20260508161455686"},{"created":"20260313011830346","title":"$:/state/sq/streams/visibility/20260308185213277-1819028137","text":"hide","modified":"20260508161455686"},{"created":"20260318005302573","title":"$:/state/sq/streams/visibility/20260308185225413-1585060460","text":"hide","modified":"20260508161455687"},{"created":"20260318005344340","title":"$:/state/sq/streams/visibility/20260308185234858--1205480685","text":"hide","modified":"20260508161455688"},{"created":"20260315123821937","title":"$:/state/sq/streams/visibility/20260308185245750--422018102","text":"hide","modified":"20260508161455688"},{"created":"20260308190155232","title":"$:/state/sq/streams/visibility/20260308190005779--639740087","text":"hide","modified":"20260508161455689"},{"created":"20260312024212087","title":"$:/state/sq/streams/visibility/20260312024138315--1281705281","text":"hide","modified":"20260508161455690"},{"created":"20260317215526004","title":"$:/state/sq/streams/visibility/20260317215453770-1362312963","text":"hide","modified":"20260508161455692"},{"created":"20260318003414624","title":"$:/state/sq/streams/visibility/20260318003339136--2403318","text":"hide","modified":"20260508161455693"},{"created":"20250923120431562","creator":"M0","title":"$:/state/sq/streams/visibility/FieldValueSelector template--2033093170","text":"hide","modified":"20260508161455694","modifier":"M0"},{"created":"20250923012739280","creator":"M0","title":"$:/state/sq/streams/visibility/Home/Databases--1457007354","text":"hide","modified":"20260508161455694","modifier":"M0"},{"created":"20250923012736518","creator":"M0","title":"$:/state/sq/streams/visibility/Home/Workshops--1976491758","text":"hide","modified":"20260508161455695","modifier":"M0"},{"created":"20250923044913738","creator":"M0","title":"$:/state/sq/streams/visibility/Home/Workshops/Co-designing for Repair-316619768","text":"hide","modified":"20260508161455696","modifier":"M0"},{"created":"20250923044921198","creator":"M0","title":"$:/state/sq/streams/visibility/Home/Workshops/Co-designing for Repair/Notes--590929486","text":"hide","modified":"20260508161455697","modifier":"M0"},{"created":"20250923044926382","creator":"M0","title":"$:/state/sq/streams/visibility/Home/Workshops/Co-designing for Repair/Questions--290700378","text":"hide","modified":"20260508161455697","modifier":"M0"},{"created":"20260224160925601","title":"$:/state/sq/streams/visibility/http://192.168.1.131:8000/M00/Assets/Img/PCGamerCarton_02.gif-1673010185","text":"hide","modified":"20260508161455698"},{"created":"20260323135930161","title":"$:/state/sq/streams/visibility/http://192.168.1.131:8000/M00/Assets/Img/SolidFitter_04.webp--1197071188","text":"hide","modified":"20260508161455699"},{"created":"20250920032313863","creator":"M0","title":"$:/state/streams/settings/tabs-1946395122","text":"$:/plugins/sq/streams/Settings/config","modified":"20260219070805301","modifier":"M0"},{"created":"20250915234649430","creator":"M0","title":"$:/state/tab--1498284803","text":"$:/core/ui/AdvancedSearch/Standard","modified":"20260508151704700","modifier":"M0"},{"created":"20250915234918232","creator":"M0","title":"$:/state/tab--1963855381","text":"$:/themes/tiddlywiki/vanilla/themetweaks","modified":"20260508145807428","modifier":"M0"},{"created":"20260216053433194","creator":"M0","title":"$:/state/tab--23637530","text":"$:/plugins/kookma/commander/tag/ui","modified":"20260331103824687","modifier":"M0"},{"created":"20260216053607282","creator":"M0","title":"$:/state/tab--578932562","text":"$:/plugins/kookma/commander/tag/ui","modified":"20260216053607282","modifier":"M0"},{"created":"20250916021903024","creator":"M0","title":"$:/state/tab--86143343","text":"$:/core/ui/ControlPanel/Plugins/Installed/Plugins","modified":"20250916021904055","modifier":"M0"},{"created":"20250915234343468","creator":"M0","title":"$:/state/tab-1749438307","text":"$:/core/ui/ControlPanel/Appearance","modified":"20260508145805756","modifier":"M0"},{"created":"20260301195115871","title":"$:/state/tab-1912911341","text":"$:/plugins/kookma/commander/tag/uicomp/add-remove-tags","modified":"20260301195115871"},{"created":"20260301195156784","title":"$:/state/tab-1964634701","text":"$:/plugins/kookma/commander/field/uicomp/add-fields","modified":"20260301195208272"},{"created":"20250507195233931","creator":"M00","title":"$:/state/tab/moresidebar-1850697562","text":"$:/core/ui/MoreSideBar/Explorer","modified":"20260331140456432","modifier":"M0"},{"created":"20250507161608668","creator":"M00","title":"$:/state/tab/sidebar--595412856","text":"$:/core/ui/SideBar/More","modified":"20260403185821332","modifier":"M0"},{"created":"20250507163833203","creator":"M0","title":"$:/state/tabs/controlpanel/toolbars-1345989671","text":"$:/core/ui/ControlPanel/Toolbars/ViewToolbar","modified":"20260224162750777","modifier":"M0"},{"created":"20250916025523459","creator":"M0","title":"$:/state/tree/$:/.alt/","text":"show","modified":"20250916025523459","modifier":"M0"},{"created":"20250916025540002","creator":"M0","title":"$:/state/tree/$:/.alt/styles/","text":"show","modified":"20250916025540002","modifier":"M0"},{"created":"20250916025525676","creator":"M0","title":"$:/state/tree/$:/.alt/ui/","text":"show","modified":"20250916025525676","modifier":"M0"},{"created":"20260222192737176","title":"$:/state/tree/$:/config/","text":"hide","modified":"20260222200451285"},{"created":"20260222192909471","title":"$:/state/tree/$:/config/ExternalLinks/","text":"hide","modified":"20260222192911728"},{"created":"20260222192735905","title":"$:/state/tree/$:/core/","text":"hide","modified":"20260222192736584"},{"created":"20260222201119933","title":"$:/state/tree/$:/Fixes/","text":"show","modified":"20260222201143261"},{"created":"20260222201138997","title":"$:/state/tree/$:/Fixes/Seed/","text":"show","modified":"20260222201141366"},{"created":"20250916135319829","creator":"M0","title":"$:/state/tree/$:/plugins/","text":"hide","modified":"20260222201112774","modifier":"M0"},{"created":"20260222190632841","title":"$:/state/tree/$:/plugins/fix/","text":"show","modified":"20260222190632841"},{"created":"20260222195828574","title":"$:/state/tree/$:/plugins/M00/","text":"show","modified":"20260222195828574"},{"created":"20260218213330710","title":"$:/state/tree/$:/plugins/oeyoews/","text":"hide","modified":"20260222190627929"},{"created":"20260218213340978","title":"$:/state/tree/$:/plugins/oeyoews/medium-zoom/","text":"show","modified":"20260218213340978"},{"created":"20250916135322682","creator":"M0","title":"$:/state/tree/$:/plugins/tiddlywiki/","text":"hide","modified":"20260222190626120","modifier":"M0"},{"created":"20250916135330044","creator":"M0","title":"$:/state/tree/$:/plugins/tiddlywiki/menubar/","text":"show","modified":"20250916135330044","modifier":"M0"},{"created":"20250916022543477","creator":"M0","title":"$:/state/tree/$:/Seed/","text":"show","modified":"20260315142102204","modifier":"M0"},{"created":"20260222201208023","title":"$:/state/tree/$:/Seed/Fixes/","text":"hide","modified":"20260303152507055"},{"created":"20250916201429092","creator":"M0","title":"$:/state/tree/$:/Seed/Layout/","text":"show","modified":"20250916201429093","modifier":"M0"},{"created":"20250916201531046","creator":"M0","title":"$:/state/tree/$:/Seed/Layout/ReaderView/","text":"show","modified":"20250916201531046","modifier":"M0"},{"created":"20250916201533143","creator":"M0","title":"$:/state/tree/$:/Seed/Layout/ReaderView/ui/","text":"show","modified":"20250916201533143","modifier":"M0"},{"created":"20250916201535160","creator":"M0","title":"$:/state/tree/$:/Seed/Layout/ReaderView/ui/PageTemplate/","text":"show","modified":"20250916201535160","modifier":"M0"},{"created":"20250916022550951","creator":"M0","title":"$:/state/tree/$:/Seed/Layouts/","text":"show","modified":"20260222201223846","modifier":"M0"},{"created":"20250916022552832","creator":"M0","title":"$:/state/tree/$:/Seed/Layouts/ReaderView/","text":"show","modified":"20260303151718704","modifier":"M0"},{"created":"20250916022555877","creator":"M0","title":"$:/state/tree/$:/Seed/Layouts/ReaderView/ui/","text":"show","modified":"20250916022555877","modifier":"M0"},{"created":"20260303151251215","title":"$:/state/tree/$:/Seed/Layouts/ReaderViewTopbar/","text":"show","modified":"20260303152429840"},{"created":"20260303151252399","title":"$:/state/tree/$:/Seed/Layouts/ReaderViewTopbar/Buttons/","text":"show","modified":"20260303151252399"},{"created":"20250916030008583","creator":"M0","title":"$:/state/tree/$:/Seed/ReaderView/","text":"show","modified":"20250916030008583","modifier":"M0"},{"created":"20250916130832863","creator":"M0","title":"$:/state/tree/$:/Seed/ReaderView/ui/","text":"show","modified":"20250916130832863","modifier":"M0"},{"created":"20250920014933836","creator":"M0","title":"$:/state/tree/$:/Seed/Startup/","text":"show","modified":"20250920014933836","modifier":"M0"},{"created":"20250920014951397","creator":"M0","title":"$:/state/tree/$:/Seed/Startup/Streams/","text":"show","modified":"20250920014951397","modifier":"M0"},{"created":"20250916040103898","creator":"M0","title":"$:/state/tree/$:/Seed/Style/","text":"show","modified":"20260221053619400","modifier":"M0"},{"created":"20260303151644800","title":"$:/state/tree/$:/Seed/Style/Layouts/","text":"show","modified":"20260303151644800"},{"created":"20250917143713996","creator":"M0","title":"$:/state/tree/$:/Seed/Styles/","text":"show","modified":"20260331101441531","modifier":"M0"},{"created":"20260303151700424","title":"$:/state/tree/$:/Seed/Styles/Layouts/","text":"hide","modified":"20260323012332556"},{"created":"20260303152626479","title":"$:/state/tree/$:/Seed/Styles/Layouts/ReaderView/","text":"show","modified":"20260303152626479"},{"created":"20260303152631207","title":"$:/state/tree/$:/Seed/Styles/Layouts/ReaderView/Topbar/","text":"show","modified":"20260312165932557"},{"created":"20260303152632286","title":"$:/state/tree/$:/Seed/Styles/Layouts/ReaderView/Topbar/Buttons/","text":"show","modified":"20260303152632286"},{"created":"20260303152533512","title":"$:/state/tree/$:/Seed/Styles/Layouts/ReaderViewTopbar/","text":"show","modified":"20260303152533512"},{"created":"20260303152538607","title":"$:/state/tree/$:/Seed/Styles/Layouts/ReaderViewTopbar/Buttons/","text":"show","modified":"20260303152538607"},{"created":"20260330004527143","title":"$:/state/tree/$:/Seed/Styles/Theme/","text":"show","modified":"20260330004527143"},{"created":"20250918121900703","creator":"M0","title":"$:/state/tree/$:/Seed/Widgets/","text":"hide","modified":"20260323012338764","modifier":"M0"},{"created":"20250918131043248","creator":"M0","title":"$:/state/tree/$:/Seed/Widgets/Buttons/","text":"hide","modified":"20260215223038639","modifier":"M0"},{"created":"20250918121902207","creator":"M0","title":"$:/state/tree/$:/Seed/Widgets/Startup/","text":"show","modified":"20250920014905822","modifier":"M0"},{"created":"20250918132035055","creator":"M0","title":"$:/state/tree/$:/Seed/Widgets/Streams/","text":"show","modified":"20260312165145972","modifier":"M0"},{"created":"20250920004840722","creator":"M0","title":"$:/state/tree/$:/SeedStyle/","text":"show","modified":"20260323012343988","modifier":"M0"},{"created":"20260215215121659","creator":"M0","title":"$:/state/tree/$:/snippets/","text":"hide","modified":"20260215223018167","modifier":"M0"},{"created":"20260215215114843","creator":"M0","title":"$:/state/tree/$:/state/","text":"hide","modified":"20260304015500738","modifier":"M0"},{"created":"20260215222956543","creator":"M0","title":"$:/state/tree/$:/state/streams/","text":"show","modified":"20260215222956543","modifier":"M0"},{"created":"20260215222957823","creator":"M0","title":"$:/state/tree/$:/state/streams/settings/","text":"show","modified":"20260215222957823","modifier":"M0"},{"created":"20260215215114139","creator":"M0","title":"$:/state/tree/$:/status/","text":"hide","modified":"20260304004147972","modifier":"M0"},{"created":"20260215215113219","creator":"M0","title":"$:/state/tree/$:/tags/","text":"hide","modified":"20260215223014230","modifier":"M0"},{"created":"20260215215112219","creator":"M0","title":"$:/state/tree/$:/temp/","text":"show","modified":"20260215215112219","modifier":"M0"},{"created":"20260222190607281","title":"$:/state/tree/$:/temp/plugins/","text":"hide","modified":"20260222190614026"},{"created":"20260222190610657","title":"$:/state/tree/$:/temp/plugins/benwebber/","text":"hide","modified":"20260222190613448"},{"created":"20260222190612217","title":"$:/state/tree/$:/temp/plugins/benwebber/tag-count/","text":"show","modified":"20260222190612217"},{"created":"20260215215108011","creator":"M0","title":"$:/state/tree/$:/themes/","text":"hide","modified":"20260312224430327","modifier":"M0"},{"created":"20260215215109683","creator":"M0","title":"$:/state/tree/$:/themes/tiddlywiki/","text":"show","modified":"20260215215109683","modifier":"M0"},{"title":"$:/status/RequireReloadDueToPluginChange","text":"no"},{"title":"$:/StoryList","text":"","list":"$:/SiteHeader $:/Home"},{"created":"20250920011648824","creator":"M0","title":"$:/tags/PageControls","list":"$:/core/ui/Buttons/home $:/Seed/Widgets/Buttons/ToogleLayout $:/core/ui/Buttons/close-all $:/core/ui/Buttons/fold-all $:/core/ui/Buttons/unfold-all $:/core/ui/Buttons/permaview $:/core/ui/Buttons/new-tiddler $:/plugins/tiddlywiki/markdown/new-markdown-button $:/core/ui/Buttons/new-journal $:/core/ui/Buttons/new-image $:/core/ui/Buttons/import $:/core/ui/Buttons/export-page $:/core/ui/Buttons/control-panel $:/core/ui/Buttons/advanced-search $:/core/ui/Buttons/manager $:/core/ui/Buttons/tag-manager $:/core/ui/Buttons/language $:/core/ui/Buttons/palette $:/core/ui/Buttons/theme $:/core/ui/Buttons/layout $:/core/ui/Buttons/storyview $:/core/ui/Buttons/encryption $:/core/ui/Buttons/timestamp $:/core/ui/Buttons/full-screen $:/core/ui/Buttons/print $:/core/ui/Buttons/save-wiki $:/core/ui/Buttons/refresh $:/core/ui/Buttons/network-activity $:/core/ui/Buttons/more-page-actions","modified":"20250920011711050","modifier":"M0"},{"title":"$:/themes/tiddlywiki/snowwhite","name":"Snow White","author":"JeremyRuston","core-version":">=5.0.0","plugin-type":"theme","description":"Emphasises individual tiddlers","dependents":"$:/themes/tiddlywiki/vanilla","plugin-priority":"0","version":"5.3.8","type":"application/json","text":"{\"tiddlers\":{\"$:/themes/tiddlywiki/snowwhite/base\":{\"title\":\"$:/themes/tiddlywiki/snowwhite/base\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"text\":\"\\\\define sidebarbreakpoint-minus-one()\\n<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>\\n\\\\end\\n\\n\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\\n\\n.tc-sidebar-header {\\n\\ttext-shadow: 0 1px 0 <<colour sidebar-foreground-shadow>>;\\n}\\n\\n.tc-tiddler-info {\\n\\t<<box-shadow \\\"inset 1px 2px 3px rgba(0,0,0,0.1)\\\">>\\n}\\n\\n@media screen {\\n\\t.tc-tiddler-frame {\\n\\t\\t<<box-shadow \\\"1px 1px 5px rgba(0, 0, 0, 0.3)\\\">>\\n\\t}\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\t.tc-tiddler-frame {\\n\\t\\t<<box-shadow none>>\\n\\t}\\n}\\n\\n.tc-page-controls button svg, .tc-tiddler-controls button svg, .tc-topbar button svg {\\n\\t<<transition \\\"fill 150ms ease-in-out\\\">>\\n}\\n\\n.tc-tiddler-controls button.tc-selected,\\n.tc-page-controls button.tc-selected {\\n\\t<<filter \\\"drop-shadow(0px -1px 2px rgba(0,0,0,0.25))\\\">>\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame select.tc-edit-texteditor {\\n\\t<<box-shadow \\\"inset 0 1px 8px rgba(0, 0, 0, 0.15)\\\">>\\n}\\n\\n.tc-edit-tags {\\n\\t<<box-shadow \\\"inset 0 1px 8px rgba(0, 0, 0, 0.15)\\\">>\\n}\\n\\n.tc-tiddler-frame .tc-edit-tags input.tc-edit-texteditor {\\n\\t<<box-shadow \\\"none\\\">>\\n\\tborder: none;\\n\\toutline: none;\\n}\\n\\ntextarea.tc-edit-texteditor {\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\\n}\\n\\ncanvas.tc-edit-bitmapeditor {\\n\\t<<box-shadow \\\"2px 2px 5px rgba(0, 0, 0, 0.5)\\\">>\\n}\\n\\n.tc-drop-down {\\n\\tborder-radius: 4px;\\n\\t<<box-shadow \\\"2px 2px 10px rgba(0, 0, 0, 0.5)\\\">>\\n}\\n\\n.tc-block-dropdown {\\n\\tborder-radius: 4px;\\n\\t<<box-shadow \\\"2px 2px 10px rgba(0, 0, 0, 0.5)\\\">>\\n}\\n\\n.tc-modal {\\n\\tborder-radius: 6px;\\n\\t<<box-shadow \\\"0 3px 7px rgba(0,0,0,0.3)\\\">>\\n}\\n\\n.tc-modal-footer {\\n\\tborder-radius: 0 0 6px 6px;\\n\\t<<box-shadow \\\"inset 0 1px 0 #fff\\\">>;\\n}\\n\\n\\n.tc-alert {\\n\\tborder-radius: 6px;\\n\\t<<box-shadow \\\"0 3px 7px rgba(0,0,0,0.6)\\\">>\\n}\\n\\n.tc-notification {\\n\\tborder-radius: 6px;\\n\\t<<box-shadow \\\"0 3px 7px rgba(0,0,0,0.3)\\\">>\\n\\ttext-shadow: 0 1px 0 rgba(255,255,255, 0.8);\\n}\\n\\n.tc-sidebar-lists .tc-tab-set .tc-tab-divider {\\n\\tborder-top: none;\\n\\theight: 1px;\\n\\t<<background-linear-gradient \\\"left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 100%\\\">>\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\\n\\t<<background-linear-gradient \\\"left, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.1) 100%\\\">>\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {\\n\\t<<background-linear-gradient \\\"left, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0.05) 100%\\\">>\\n}\\n\\n.tc-message-box img {\\n\\t<<box-shadow \\\"1px 1px 3px rgba(0,0,0,0.5)\\\">>\\n}\\n\\n.tc-plugin-info {\\n\\t<<box-shadow \\\"1px 1px 3px rgba(0,0,0,0.5)\\\">>\\n}\\n\"}}}"},{"title":"$:/themes/tiddlywiki/vanilla","name":"Vanilla","author":"JeremyRuston","core-version":">=5.0.0","plugin-type":"theme","description":"Basic theme","plugin-priority":"0","version":"5.3.8","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/themes/tiddlywiki/vanilla/themetweaks\":{\"title\":\"$:/themes/tiddlywiki/vanilla/themetweaks\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ThemeTweaks/ThemeTweaks}}\",\"text\":\"\\\\define lingo-base() $:/language/ThemeTweaks/\\n\\n\\\\define replacement-text()\\n[img[$(imageTitle)$]]\\n\\\\end\\n\\n\\\\define backgroundimage-dropdown()\\n<div class=\\\"tc-drop-down-wrapper\\\">\\n<$set name=\\\"state\\\" value=<<qualify \\\"$:/state/popup/themetweaks/backgroundimage\\\">>>\\n<$button popup=<<state>> class=\\\"tc-btn-invisible tc-btn-dropdown\\\">{{$:/core/images/down-arrow}}</$button>\\n<$reveal state=<<state>> type=\\\"popup\\\" position=\\\"belowleft\\\" text=\\\"\\\" default=\\\"\\\" class=\\\"tc-popup-keep\\\">\\n<div class=\\\"tc-drop-down\\\" style=\\\"text-align:center;\\\">\\n<$macrocall $name=\\\"image-picker\\\" actions=\\\"\\\"\\\"\\n\\n<$action-setfield\\n\\t$tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\"\\n\\t$value=<<imageTitle>>\\n/>\\n\\n<$action-deletetiddler $tiddler=<<state>>/>\\n\\n\\\"\\\"\\\"/>\\n</div>\\n</$reveal>\\n</$set>\\n</div>\\n\\\\end\\n\\n\\\\define backgroundimageattachment-dropdown()\\n<$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\\\" default=\\\"scroll\\\">\\n<option value=\\\"scroll\\\"><<lingo Settings/BackgroundImageAttachment/Scroll>></option>\\n<option value=\\\"fixed\\\"><<lingo Settings/BackgroundImageAttachment/Fixed>></option>\\n</$select>\\n\\\\end\\n\\n\\\\define backgroundimagesize-dropdown()\\n<$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\\\" default=\\\"scroll\\\">\\n<option value=\\\"auto\\\"><<lingo Settings/BackgroundImageSize/Auto>></option>\\n<option value=\\\"cover\\\"><<lingo Settings/BackgroundImageSize/Cover>></option>\\n<option value=\\\"contain\\\"><<lingo Settings/BackgroundImageSize/Contain>></option>\\n</$select>\\n\\\\end\\n\\n<<lingo ThemeTweaks/Hint>>\\n\\n! <<lingo Options>>\\n\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\"><<lingo Options/SidebarLayout>></$link> |<$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\"><option value=\\\"fixed-fluid\\\"><<lingo Options/SidebarLayout/Fixed-Fluid>></option><option value=\\\"fluid-fixed\\\"><<lingo Options/SidebarLayout/Fluid-Fixed>></option></$select> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/options/stickytitles\\\"><<lingo Options/StickyTitles>></$link><br>//<<lingo Options/StickyTitles/Hint>>// |<$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/stickytitles\\\"><option value=\\\"no\\\">{{$:/language/No}}</option><option value=\\\"yes\\\">{{$:/language/Yes}}</option></$select> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/options/codewrapping\\\"><<lingo Options/CodeWrapping>></$link> |<$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/codewrapping\\\"><option value=\\\"pre\\\">{{$:/language/No}}</option><option value=\\\"pre-wrap\\\">{{$:/language/Yes}}</option></$select> |\\n\\n! <<lingo Settings>>\\n\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\\\"><<lingo Settings/FontFamily>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\\\" default=\\\"\\\" tag=\\\"input\\\"/> | |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\\\"><<lingo Settings/CodeFontFamily>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\\\" default=\\\"\\\" tag=\\\"input\\\"/> | |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\\\"><<lingo Settings/EditorFontFamily>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\\\" default=\\\"\\\" tag=\\\"input\\\"/> | |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\"><<lingo Settings/BackgroundImage>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\" default=\\\"\\\" tag=\\\"input\\\"/> |<<backgroundimage-dropdown>> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\\\"><<lingo Settings/BackgroundImageAttachment>></$link> |<<backgroundimageattachment-dropdown>> | |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\\\"><<lingo Settings/BackgroundImageSize>></$link> |<<backgroundimagesize-dropdown>> | |\\n\\n! <<lingo Metrics>>\\n\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\\\"><<lingo Metrics/FontSize>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\\\"><<lingo Metrics/LineHeight>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\\\"><<lingo Metrics/BodyFontSize>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\\\"><<lingo Metrics/BodyLineHeight>></$link> |<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\\\"><<lingo Metrics/StoryLeft>></$link><br>//<<lingo Metrics/StoryLeft/Hint>>// |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storytop\\\"><<lingo Metrics/StoryTop>></$link><br>//<<lingo Metrics/StoryTop/Hint>>// |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storytop\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyright\\\"><<lingo Metrics/StoryRight>></$link><br>//<<lingo Metrics/StoryRight/Hint>>// |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyright\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\\\"><<lingo Metrics/StoryWidth>></$link><br>//<<lingo Metrics/StoryWidth/Hint>>// |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\\\"><<lingo Metrics/TiddlerWidth>></$link><br>//<<lingo Metrics/TiddlerWidth/Hint>>//<br> |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\\\"><<lingo Metrics/SidebarBreakpoint>></$link><br>//<<lingo Metrics/SidebarBreakpoint/Hint>>// |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|<$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\"><<lingo Metrics/SidebarWidth>></$link><br>//<<lingo Metrics/SidebarWidth/Hint>>// |^<$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n\"},\"$:/themes/tiddlywiki/vanilla/base\":{\"title\":\"$:/themes/tiddlywiki/vanilla/base\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"list-before\":\"\",\"code-body\":\"yes\",\"text\":\"\\\\define custom-background-datauri()\\n<$set name=\\\"background\\\" value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}>\\n<$list filter=\\\"[<background>is[image]]\\\">\\n`background: url(`\\n<$list filter=\\\"[<background>!has[_canonical_uri]]\\\">\\n`\\\"`<$macrocall $name=\\\"datauri\\\" title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/>`\\\"`\\n</$list>\\n<$list filter=\\\"[<background>has[_canonical_uri]]\\\">\\n`\\\"`<$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field=\\\"_canonical_uri\\\"/>`\\\"`\\n</$list>\\n`) center center;`\\n`background-attachment: `{{$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment}}`;\\n-webkit-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\\n-moz-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\\n-o-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\\nbackground-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;`\\n</$list>\\n</$set>\\n\\\\end\\n\\n\\\\define sidebarbreakpoint()\\n<$text text={{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}/>\\n\\\\end\\n\\n\\\\define sidebarbreakpoint-minus-one()\\n<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>\\n\\\\end\\n\\n\\\\define if-fluid-fixed(text,hiddenSidebarText)\\n<$reveal state=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" type=\\\"match\\\" text=\\\"fluid-fixed\\\">\\n$text$\\n<$reveal state=\\\"$:/state/sidebar\\\" type=\\\"nomatch\\\" text=\\\"yes\\\" default=\\\"yes\\\">\\n$hiddenSidebarText$\\n</$reveal>\\n</$reveal>\\n\\\\end\\n\\n\\\\define if-editor-height-fixed(then,else)\\n<$reveal state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"fixed\\\">\\n$then$\\n</$reveal>\\n<$reveal state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"auto\\\">\\n$else$\\n</$reveal>\\n\\\\end\\n\\n\\\\define set-type-selector-min-width()\\n<$set name=\\\"typeLength\\\" value={{{ [all[shadows+tiddlers]prefix[$:/language/Docs/Types/]get[name]length[]maxall[]] }}}>\\n\\n\\t.tc-type-selector-dropdown-wrapper {\\n\\t\\tmin-width: calc(<<typeLength>>ch + 4em);\\n\\t}\\n\\n\\t.tc-type-selector-dropdown-wrapper input.tc-edit-typeeditor {\\n\\t\\tmin-width: <<typeLength>>ch;\\n\\t}\\n\\n</$set>\\n\\\\end\\n\\n\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock\\n\\n/*\\n** Start with the normalize CSS reset, and then belay some of its effects\\n*/\\n\\n{{$:/themes/tiddlywiki/vanilla/reset}}\\n\\ninput[type=\\\"search\\\"] {\\n\\toutline-offset: initial;\\n}\\n\\nbutton:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {\\n\\toutline: 2px solid <<colour primary>>;\\n\\toutline-offset: -2px;\\n\\tborder-radius: 0.25em;\\n}\\n\\nbutton:-moz-focusring, input:-moz-focusring, textarea:-moz-focusring, select:-moz-focusring {\\n\\toutline: 2px solid <<colour primary>>;\\n\\toutline-offset: -2px;\\n\\tborder-radius: 0.25em;\\n}\\n\\n/*\\n** Button default styles. Makes them look consistent for all browsers\\n*/\\nhtml button {\\n\\tline-height: 1.2;\\n\\tcolor: <<colour button-foreground>>;\\n\\tfill: <<colour button-foreground>>;\\n\\tbackground: <<colour button-background>>;\\n\\tborder-color: <<colour button-border>>;\\n\\tcursor: pointer;\\n}\\n\\nbutton:disabled {\\n\\tcursor: default;\\n\\tcolor: <<colour muted-foreground>>;\\n}\\n\\nbutton:disabled svg {\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n/*\\n** Basic element styles\\n*/\\n\\nhtml, body {\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};\\n\\ttext-rendering: optimizeLegibility; /* Enables kerning and ligatures etc. */\\n\\t-webkit-font-smoothing: antialiased;\\n\\t-moz-osx-font-smoothing: grayscale;\\n}\\n\\nhtml:-webkit-full-screen {\\n\\tbackground-color: <<colour page-background>>;\\n}\\n\\nbody.tc-body {\\n\\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};\\n\\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};\\n\\tword-wrap: break-word;\\n\\t<<custom-background-datauri>>\\n\\tcolor: <<colour foreground>>;\\n\\tbackground-color: <<colour page-background>>;\\n\\tfill: <<colour foreground>>;\\n}\\n\\n<<if-background-attachment \\\"\\\"\\\"\\n\\nbody.tc-body {\\n\\tbackground-color: transparent;\\n}\\n\\n\\\"\\\"\\\">>\\n\\n/**\\n * Correct the font size and margin on `h1` elements within `section` and\\n * `article` contexts in Chrome, Firefox, and Safari.\\n */\\n\\nh1 {\\n\\tfont-size: 2em;\\n}\\n\\nh1, h2, h3, h4, h5, h6 {\\n\\tline-height: 1.2;\\n\\tfont-weight: normal;\\n}\\n\\npre {\\n\\tdisplay: block;\\n\\tmargin-top: 1em;\\n\\tmargin-bottom: 1em;\\n\\tword-break: normal;\\n\\tword-wrap: break-word;\\n\\twhite-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\\n\\tbackground-color: <<colour pre-background>>;\\n\\tborder: 1px solid <<colour pre-border>>;\\n\\tpadding: 0 3px 2px;\\n\\tborder-radius: 3px;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\\n}\\n\\ncode {\\n\\tcolor: <<colour code-foreground>>;\\n\\tbackground-color: <<colour code-background>>;\\n\\tborder: 1px solid <<colour code-border>>;\\n\\twhite-space: pre-wrap;\\n\\tpadding: 0 3px 2px;\\n\\tborder-radius: 3px;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\\n}\\n\\nblockquote {\\n\\tborder-left: 5px solid <<colour blockquote-bar>>;\\n\\tmargin-left: 25px;\\n\\tpadding-left: 10px;\\n\\tquotes: \\\"\\\\201C\\\"\\\"\\\\201D\\\"\\\"\\\\2018\\\"\\\"\\\\2019\\\";\\n}\\n\\nblockquote > div {\\n\\tmargin-top: 1em;\\n\\tmargin-bottom: 1em;\\n}\\n\\nblockquote.tc-big-quote {\\n\\tfont-family: Georgia, serif;\\n\\tposition: relative;\\n\\tbackground: <<colour pre-background>>;\\n\\tborder-left: none;\\n\\tmargin-left: 50px;\\n\\tmargin-right: 50px;\\n\\tpadding: 10px;\\n\\tborder-radius: 8px;\\n}\\n\\nblockquote.tc-big-quote cite:before {\\n\\tcontent: \\\"\\\\2014 \\\\2009\\\";\\n}\\n\\nblockquote.tc-big-quote:before {\\n\\tfont-family: Georgia, serif;\\n\\tcolor: <<colour blockquote-bar>>;\\n\\tcontent: open-quote;\\n\\tfont-size: 8em;\\n\\tline-height: 0.1em;\\n\\tmargin-right: 0.25em;\\n\\tvertical-align: -0.4em;\\n\\tposition: absolute;\\n\\tleft: -50px;\\n\\ttop: 42px;\\n}\\n\\nblockquote.tc-big-quote:after {\\n\\tfont-family: Georgia, serif;\\n\\tcolor: <<colour blockquote-bar>>;\\n\\tcontent: close-quote;\\n\\tfont-size: 8em;\\n\\tline-height: 0.1em;\\n\\tmargin-right: 0.25em;\\n\\tvertical-align: -0.4em;\\n\\tposition: absolute;\\n\\tright: -80px;\\n\\tbottom: -20px;\\n}\\n\\ndl dt {\\n\\tfont-weight: bold;\\n\\tmargin-top: 6px;\\n}\\n\\ntextarea,\\ninput[type=text],\\ninput[type=search],\\ninput[type=number],\\ninput[type=password],\\ninput[type=email],\\ninput[type=tel],\\ninput[type=url],\\ninput[type=\\\"\\\"],\\ninput:not([type]) {\\n\\tcolor: <<colour foreground>>;\\n\\tbackground: <<colour background>>;\\n}\\n\\ninput[type=\\\"checkbox\\\"] {\\n\\tvertical-align: middle;\\n}\\n\\ninput[type=\\\"search\\\"]::-webkit-search-decoration,\\ninput[type=\\\"search\\\"]::-webkit-search-cancel-button,\\ninput[type=\\\"search\\\"]::-webkit-search-results-button,\\ninput[type=\\\"search\\\"]::-webkit-search-results-decoration {\\n\\t-webkit-appearance:none;\\n}\\n\\n.tc-muted {\\n\\tcolor: <<colour muted-foreground>>;\\n}\\n\\nsvg.tc-image-button {\\n\\tpadding: 0px 1px 1px 0px;\\n}\\n\\n.tc-icon-wrapper > svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\nkbd {\\n\\tdisplay: inline-block;\\n\\tpadding: 3px 5px;\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tcolor: <<colour foreground>>;\\n\\tvertical-align: middle;\\n\\tbackground-color: <<colour background>>;\\n\\tborder: solid 1px <<colour muted-foreground>>;\\n\\tborder-bottom-color: <<colour muted-foreground>>;\\n\\tborder-radius: 3px;\\n\\tbox-shadow: inset 0 -1px 0 <<colour muted-foreground>>;\\n}\\n\\n::selection {\\n\\tbackground-color: Highlight;\\n\\tcolor: HighlightText;\\n\\tbackground-color: <<colour selection-background>>;\\n\\tcolor: <<colour selection-foreground>>;\\n}\\n\\n.tc-inline-style {\\n\\tbackground: <<colour highlight-background>>;\\n\\tcolor: <<colour highlight-foreground>>;\\n}\\n\\n/* Markdown uses mark element to highlight */\\n\\nmark {\\n\\tbackground: <<colour highlight-background>>;\\n\\tcolor: <<colour highlight-foreground>>;\\n}\\n\\nform.tc-form-inline {\\n\\tdisplay: inline;\\n}\\n\\n/*\\nMarkdown likes putting code elements inside pre elements\\n*/\\npre > code {\\n\\tdisplay: block;\\n\\tpadding: 0.5em;\\n\\tborder: none;\\n\\twhite-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\\n\\tbackground-color: inherit;\\n\\tcolor: inherit;\\n\\toverflow-x: auto;\\n}\\n\\n/*\\nTable defaults\\n*/\\n\\ntable {\\n\\tborder: 1px solid <<colour table-border>>;\\n\\twidth: auto;\\n\\tmax-width: 100%;\\n\\tcaption-side: bottom;\\n\\tmargin-top: 1em;\\n\\tmargin-bottom: 1em;\\n\\t/* next 2 elements needed, since normalize 8.0.1 */\\n\\tborder-collapse: collapse;\\n\\tborder-spacing: 0;\\n}\\n\\ntable th, table td {\\n\\tpadding: 0 7px 0 7px;\\n\\tborder-top: 1px solid <<colour table-border>>;\\n\\tborder-left: 1px solid <<colour table-border>>;\\n}\\n\\ntable thead tr td, table th {\\n\\tbackground-color: <<colour table-header-background>>;\\n\\tfont-weight: bold;\\n}\\n\\ntable tfoot tr td {\\n\\tbackground-color: <<colour table-footer-background>>;\\n}\\n\\n/*\\nTable utility classes\\n*/\\n\\n/* Remove borders from table as used in eg: GettingStarted*/\\n.tc-table-no-border,\\n.tc-table-no-border th,\\n.tc-table-no-border td {\\n\\tborder: initial;\\n}\\n\\n/* First column in table width will fit to text.*/\\n/* This rule makes most sense with tc-first-link-nowrap*/\\n.tc-first-col-min-width td:nth-child(1) {\\n\\twidth: 1%;\\n}\\n\\n/*\\n** Utility classes work well with tables but also for other containers\\n*/\\n\\n/* First link A element will not wrap */\\n.tc-first-link-nowrap:first-of-type a {\\n\\twhite-space: nowrap;\\n}\\n\\n/* Move the table to the center of the container */\\n.tc-center {\\n\\tmargin-left: auto;\\n\\tmargin-right: auto;\\n}\\n\\n.tc-max-width {\\n\\twidth: 100%;\\n}\\n\\n.tc-max-width-80 {\\n\\tmax-width: 80%;\\n}\\n\\n/* Allow input and textarea to look like the ControlPanel inputs */\\n.tc-edit-max-width input,\\n.tc-edit-max-width textarea {\\n\\twidth: 100%;\\n\\tpadding: 3px;\\n}\\n\\n/*\\nCSV parser plugin\\n*/\\n\\n.tc-csv-table {\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-csv-table th,\\n.tc-csv-table td {\\n\\twhite-space: pre-line;\\n}\\n\\n/*\\nTiddler frame in story river\\n*/\\n\\n.tc-tiddler-frame img,\\n.tc-tiddler-frame svg,\\n.tc-tiddler-frame canvas,\\n.tc-tiddler-frame embed,\\n.tc-tiddler-frame iframe {\\n\\tmax-width: 100%;\\n}\\n\\n.tc-tiddler-body > embed,\\n.tc-tiddler-body > iframe {\\n\\twidth: 100%;\\n\\theight: 600px;\\n}\\n\\n:root {\\n\\tcolor-scheme: {{{ [{$:/palette}get[color-scheme]] ~light }}};\\n}\\n\\n/*\\n** Links\\n*/\\n\\nbutton.tc-tiddlylink,\\na.tc-tiddlylink {\\n\\ttext-decoration: none;\\n\\tfont-weight: 500;\\n\\tcolor: <<colour tiddler-link-foreground>>;\\n\\t-webkit-user-select: inherit; /* Otherwise the draggable attribute makes links impossible to select */\\n\\t-webkit-touch-callout: none; /* Prevents long presses from bringing up a link preview */\\n}\\n\\n.tc-sidebar-lists a.tc-tiddlylink {\\n\\tcolor: <<colour sidebar-tiddler-link-foreground>>;\\n}\\n\\n.tc-sidebar-lists a.tc-tiddlylink:hover {\\n\\tcolor: <<colour sidebar-tiddler-link-foreground-hover>>;\\n}\\n\\nbutton.tc-tiddlylink:hover,\\na.tc-tiddlylink:hover {\\n\\ttext-decoration: underline;\\n}\\n\\na.tc-tiddlylink-resolves {\\n}\\n\\na.tc-tiddlylink-shadow {\\n\\tfont-weight: bold;\\n}\\n\\na.tc-tiddlylink-shadow.tc-tiddlylink-resolves {\\n\\tfont-weight: normal;\\n}\\n\\na.tc-tiddlylink-missing {\\n\\tfont-style: italic;\\n}\\n\\na.tc-tiddlylink-external {\\n\\ttext-decoration: underline;\\n\\tcolor: <<colour external-link-foreground>>;\\n\\tbackground-color: <<colour external-link-background>>;\\n}\\n\\na.tc-tiddlylink-external:visited {\\n\\tcolor: <<colour external-link-foreground-visited>>;\\n\\tbackground-color: <<colour external-link-background-visited>>;\\n}\\n\\na.tc-tiddlylink-external:hover {\\n\\tcolor: <<colour external-link-foreground-hover>>;\\n\\tbackground-color: <<colour external-link-background-hover>>;\\n}\\n\\n.tc-drop-down a.tc-tiddlylink:hover {\\n\\tcolor: <<colour tiddler-link-background>>;\\n}\\n\\n/*\\n** Drag and drop styles\\n*/\\n\\n.tc-tiddler-dragger {\\n\\tposition: relative;\\n\\tz-index: -10000;\\n}\\n\\n.tc-tiddler-dragger-inner {\\n\\tposition: absolute;\\n\\ttop: -1000px;\\n\\tleft: -1000px;\\n\\tdisplay: inline-block;\\n\\tpadding: 8px 20px;\\n\\tfont-size: 16.9px;\\n\\tfont-weight: bold;\\n\\tline-height: 20px;\\n\\tcolor: <<colour dragger-foreground>>;\\n\\ttext-shadow: 0 1px 0 rgba(0, 0, 0, 1);\\n\\twhite-space: nowrap;\\n\\tvertical-align: baseline;\\n\\tbackground-color: <<colour dragger-background>>;\\n\\tborder-radius: 20px;\\n}\\n\\n.tc-tiddler-dragger-cover {\\n\\tposition: absolute;\\n\\tbackground-color: <<colour page-background>>;\\n}\\n\\n.tc-page-container > .tc-dropzone {\\n\\tmin-height: 100vh;\\n}\\n\\n.tc-dropzone {\\n\\tposition: relative;\\n}\\n\\n.tc-dropzone.tc-dragover:before {\\n\\tz-index: 10000;\\n\\tdisplay: block;\\n\\tposition: fixed;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbackground: <<colour dropzone-background>>;\\n\\ttext-align: center;\\n\\tcontent: \\\"<<lingo DropMessage>>\\\";\\n}\\n\\n.tc-droppable > .tc-droppable-placeholder {\\n\\tdisplay: none;\\n}\\n\\n.tc-droppable.tc-dragover > .tc-droppable-placeholder {\\n\\tdisplay: block;\\n\\tborder: 2px dashed <<colour dropzone-background>>;\\n}\\n\\n.tc-draggable {\\n\\tcursor: move;\\n}\\n\\n.tc-sidebar-tab-open .tc-droppable-placeholder, .tc-tagged-draggable-list .tc-droppable-placeholder,\\n.tc-links-draggable-list .tc-droppable-placeholder {\\n\\tline-height: 2em;\\n\\theight: 2em;\\n}\\n\\n.tc-sidebar-tab-open-item {\\n\\tposition: relative;\\n}\\n\\n.tc-sidebar-tab-open .tc-btn-invisible.tc-btn-mini svg {\\n\\tfont-size: 0.7em;\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n/*\\n** Plugin reload warning\\n*/\\n\\n.tc-plugin-reload-warning {\\n\\tz-index: 1000;\\n\\tdisplay: block;\\n\\tposition: fixed;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbackground: <<colour alert-background>>;\\n\\ttext-align: center;\\n}\\n\\n/*\\n** Buttons\\n*/\\n\\nbutton svg, button img, label svg, label img {\\n\\tvertical-align: middle;\\n}\\n\\n.tc-btn-invisible {\\n\\tpadding: 0;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\tcursor: pointer;\\n\\tcolor: <<colour foreground>>;\\n\\tfill: <<colour foreground>>;\\n}\\n\\nbutton:disabled.tc-btn-invisible {\\n\\tcursor: default;\\n\\tcolor: <<colour muted-foreground>>;\\n}\\n\\n.tc-btn-boxed {\\n\\tfont-size: 0.6em;\\n\\tpadding: 0.2em;\\n\\tmargin: 1px;\\n\\tbackground: none;\\n\\tborder: 1px solid <<colour tiddler-controls-foreground>>;\\n\\tborder-radius: 0.25em;\\n}\\n\\nhtml body.tc-body .tc-btn-boxed svg {\\n\\tfont-size: 1.6666em;\\n}\\n\\n.tc-btn-boxed:hover {\\n\\tbackground: <<colour muted-foreground>>;\\n\\tcolor: <<colour background>>;\\n}\\n\\nhtml body.tc-body .tc-btn-boxed:hover svg {\\n\\tfill: <<colour background>>;\\n}\\n\\n.tc-btn-rounded {\\n\\tfont-size: 0.5em;\\n\\tline-height: 2;\\n\\tpadding: 0em 0.3em 0.2em 0.4em;\\n\\tmargin: 1px;\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tbackground: <<colour muted-foreground>>;\\n\\tcolor: <<colour background>>;\\n\\tborder-radius: 2em;\\n}\\n\\nhtml body.tc-body .tc-btn-rounded svg {\\n\\tfont-size: 1.6666em;\\n\\tfill: <<colour background>>;\\n}\\n\\n.tc-btn-rounded:hover {\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tbackground: <<colour background>>;\\n\\tcolor: <<colour muted-foreground>>;\\n}\\n\\nhtml body.tc-body .tc-btn-rounded:hover svg {\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n.tc-btn-icon svg {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n\\n.tc-btn-text {\\n\\tmargin-left: 7px;\\n}\\n\\n/* used for documentation \\\"fake\\\" buttons */\\n.tc-btn-standard {\\n\\tline-height: 1.8;\\n\\tcolor: #667;\\n\\tbackground-color: #e0e0e0;\\n\\tborder: 1px solid #888;\\n\\tpadding: 2px 1px 2px 1px;\\n\\tmargin: 1px 4px 1px 4px;\\n}\\n\\n.tc-btn-big-green {\\n\\tdisplay: inline-block;\\n\\tpadding: 8px;\\n\\tmargin: 4px 8px 4px 8px;\\n\\tbackground: <<colour download-background>>;\\n\\tcolor: <<colour download-foreground>>;\\n\\tfill: <<colour download-foreground>>;\\n\\tborder: none;\\n\\tborder-radius: 2px;\\n\\tfont-size: 1.2em;\\n\\tline-height: 1.4em;\\n\\ttext-decoration: none;\\n}\\n\\n.tc-btn-big-green svg,\\n.tc-btn-big-green img {\\n\\theight: 2em;\\n\\twidth: 2em;\\n\\tvertical-align: middle;\\n\\tfill: <<colour download-foreground>>;\\n}\\n\\n.tc-primary-btn {\\n\\tbackground: <<colour primary>>;\\n}\\n\\n.tc-sidebar-lists input {\\n\\tcolor: <<colour foreground>>;\\n}\\n\\n.tc-sidebar-lists button {\\n\\tcolor: <<colour sidebar-button-foreground>>;\\n\\tfill: <<colour sidebar-button-foreground>>;\\n}\\n\\n.tc-sidebar-lists button.tc-btn-mini {\\n\\tcolor: <<colour sidebar-muted-foreground>>;\\n}\\n\\n.tc-sidebar-lists button.tc-btn-mini:hover {\\n\\tcolor: <<colour sidebar-muted-foreground-hover>>;\\n}\\n\\n.tc-sidebar-lists button small {\\n\\tcolor: <<colour foreground>>;\\n}\\n\\nbutton svg.tc-image-button, button .tc-image-button img {\\n\\theight: 1em;\\n\\twidth: 1em;\\n}\\n\\n.tc-unfold-banner {\\n\\tposition: absolute;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\twidth: 100%;\\n\\twidth: calc(100% + 2px);\\n\\tmargin-left: -43px;\\n\\ttext-align: center;\\n\\tborder-top: 2px solid <<colour tiddler-info-background>>;\\n\\tmargin-top: 4px;\\n}\\n\\n.tc-unfold-banner:hover {\\n\\tbackground: <<colour tiddler-info-background>>;\\n\\tborder-top: 2px solid <<colour tiddler-info-border>>;\\n}\\n\\n.tc-unfold-banner svg, .tc-fold-banner svg {\\n\\theight: 0.75em;\\n\\tfill: <<colour tiddler-controls-foreground>>;\\n}\\n\\n.tc-unfold-banner:hover svg, .tc-fold-banner:hover svg {\\n\\tfill: <<colour tiddler-controls-foreground-hover>>;\\n}\\n\\n.tc-fold-banner {\\n\\tposition: absolute;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\twidth: 23px;\\n\\ttext-align: center;\\n\\tmargin-left: -35px;\\n\\ttop: 6px;\\n\\tbottom: 6px;\\n}\\n\\n.tc-fold-banner:hover {\\n\\tbackground: <<colour tiddler-info-background>>;\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-unfold-banner {\\n\\t\\tposition: static;\\n\\t\\twidth: calc(100% + 59px);\\n\\t}\\n\\n\\t.tc-fold-banner {\\n\\t\\twidth: 16px;\\n\\t\\tmargin-left: -16px;\\n\\t\\tfont-size: 0.75em;\\n\\t}\\n\\n}\\n\\n/*\\n** Tags and missing tiddlers\\n*/\\n\\n.tc-tag-list-item {\\n\\tposition: relative;\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-tags-wrapper {\\n\\tmargin: 4px 0 14px 0;\\n}\\n\\n.tc-tags-wrapper .tc-tag-list-item {\\n\\tmargin-right: 7px;\\n}\\n\\n.tc-missing-tiddler-label {\\n\\tfont-style: italic;\\n\\tfont-weight: normal;\\n\\tdisplay: inline-block;\\n\\tfont-size: 11.844px;\\n\\tline-height: 14px;\\n\\twhite-space: nowrap;\\n\\tvertical-align: baseline;\\n}\\n\\n.tc-block-tags-dropdown > .tc-btn-invisible:hover {\\n\\tbackground-color: <<colour primary>>;\\n}\\n\\nbutton.tc-tag-label, span.tc-tag-label {\\n\\tdisplay: inline-block;\\n\\tpadding: 0.16em 0.7em;\\n\\tfont-size: 0.9em;\\n\\tfont-weight: normal;\\n\\tline-height: 1.2em;\\n\\tcolor: <<colour tag-foreground>>;\\n\\twhite-space: break-spaces;\\n\\tvertical-align: baseline;\\n\\tbackground-color: <<colour tag-background>>;\\n\\tborder-radius: 1em;\\n}\\n\\n.tc-sidebar-scrollable .tc-tag-label {\\n\\ttext-shadow: none;\\n}\\n\\n.tc-untagged-separator {\\n\\tborder: 0;\\n\\theight: 1px;\\n\\tbackground: <<colour tab-divider>>;\\n}\\n\\nbutton.tc-untagged-label {\\n\\tbackground-color: <<colour untagged-background>>;\\n}\\n\\n.tc-tag-label svg, .tc-tag-label img {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tmargin-right: 3px;\\n\\tmargin-bottom: 1px;\\n\\tvertical-align: bottom;\\n}\\n\\n.tc-edit-tags button.tc-remove-tag-button svg {\\n\\tfont-size: 0.7em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-tag-manager-table .tc-tag-label {\\n}\\n\\n.tc-tag-manager-tag {\\n\\twidth: 100%;\\n}\\n\\nbutton.tc-btn-invisible.tc-remove-tag-button {\\n\\toutline: none;\\n}\\n\\n.tc-tag-button-selected,\\n.tc-list-item-selected a.tc-tiddlylink, a.tc-list-item-selected {\\n\\tbackground-color: <<colour primary>>;\\n\\tcolor: <<colour tiddler-background>>;\\n}\\n\\n/*\\n** Page layout\\n*/\\n\\n.tc-topbar {\\n\\tposition: fixed;\\n\\tz-index: 1200;\\n}\\n\\n.tc-topbar-left {\\n\\tleft: 29px;\\n\\ttop: 5px;\\n}\\n\\n.tc-topbar-right {\\n\\ttop: 5px;\\n\\tright: 29px;\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-topbar-right {\\n\\t\\tright: 10px;\\n\\t}\\n\\n}\\n\\n.tc-topbar button {\\n\\tpadding: 8px;\\n}\\n\\n.tc-topbar svg {\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n.tc-topbar button:hover svg {\\n\\tfill: <<colour foreground>>;\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-show-sidebar-btn svg.tc-image-chevron-left, .tc-hide-sidebar-btn svg.tc-image-chevron-right {\\n\\t\\ttransform: rotate(-90deg);\\n\\t}\\n\\n}\\n\\n.tc-sidebar-header {\\n\\tcolor: <<colour sidebar-foreground>>;\\n\\tfill: <<colour sidebar-foreground>>;\\n}\\n\\n.tc-sidebar-header .tc-title a.tc-tiddlylink-resolves {\\n\\tfont-weight: normal;\\n}\\n\\n.tc-sidebar-header .tc-sidebar-lists p,\\n.tc-sidebar-tools-item {\\n\\tmargin-top: 3px;\\n\\tmargin-bottom: 3px;\\n}\\n\\n.tc-sidebar-header .tc-missing-tiddler-label {\\n\\tcolor: <<colour sidebar-foreground>>;\\n}\\n\\n.tc-advanced-search input {\\n\\twidth: 60%;\\n}\\n\\n.tc-search a svg {\\n\\twidth: 1.2em;\\n\\theight: 1.2em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-page-controls {\\n\\tmargin-top: 14px;\\n\\tmargin-bottom: 14px;\\n\\tfont-size: 1.5em;\\n}\\n\\n.tc-page-controls .tc-drop-down {\\n\\tfont-size: 1rem;\\n}\\n\\n.tc-page-controls button {\\n\\tmargin-right: 0.5em;\\n}\\n\\n.tc-page-controls a.tc-tiddlylink:hover {\\n\\ttext-decoration: none;\\n}\\n\\n.tc-page-controls img {\\n\\twidth: 1em;\\n}\\n\\n.tc-page-controls svg {\\n\\tfill: <<colour sidebar-controls-foreground>>;\\n}\\n\\n.tc-page-controls button:hover svg, .tc-page-controls a:hover svg {\\n\\tfill: <<colour sidebar-controls-foreground-hover>>;\\n}\\n\\n.tc-sidebar-lists .tc-menu-list-item {\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-menu-list-count {\\n\\tfont-weight: bold;\\n}\\n\\n.tc-menu-list-subitem {\\n\\tpadding-left: 7px;\\n}\\n\\n.tc-story-river {\\n\\tposition: relative;\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-sidebar-header {\\n\\t\\tpadding: 14px;\\n\\t\\tmin-height: 32px;\\n\\t\\tmargin-top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\\n\\t\\ttransition: min-height {{$:/config/AnimationDuration}}ms ease-in-out, padding-top {{$:/config/AnimationDuration}}ms ease-in-out, padding-bottom {{$:/config/AnimationDuration}}ms ease-in-out;\\n\\t}\\n\\n\\t<<if-no-sidebar \\\"\\\"\\\"\\n\\n\\t\\t.tc-sidebar-header {\\n\\t\\t\\tmin-height: 0;\\n\\t\\t\\tpadding-top: 0;\\n\\t\\t\\tpadding-bottom: 0;\\n\\t\\t}\\n\\n\\t\\\"\\\"\\\">>\\n\\n\\t.tc-story-river {\\n\\t\\tposition: relative;\\n\\t\\tpadding: 0;\\n\\t}\\n}\\n\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\n\\t.tc-message-box {\\n\\t\\tmargin: 21px -21px 21px -21px;\\n\\t}\\n\\n\\t.tc-sidebar-scrollable {\\n\\t\\tposition: fixed;\\n\\t\\ttop: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\\n\\t\\tleft: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};\\n\\t\\tbottom: 0;\\n\\t\\tright: 0;\\n\\t\\toverflow-y: auto;\\n\\t\\toverflow-x: auto;\\n\\t\\t-webkit-overflow-scrolling: touch;\\n\\t\\tmargin: 0 0 0 -42px;\\n\\t\\tpadding: 71px 0 28px 42px;\\n\\t}\\n\\n\\thtml[dir=\\\"rtl\\\"] .tc-sidebar-scrollable {\\n\\t\\tleft: auto;\\n\\t\\tright: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};\\n\\t}\\n\\n\\t.tc-story-river {\\n\\t\\tposition: relative;\\n\\t\\tleft: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};\\n\\t\\ttop: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\\n\\t\\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}};\\n\\t\\tpadding: 42px 42px 42px 42px;\\n\\t}\\n\\n<<if-no-sidebar \\\"\\n\\n\\t.tc-story-river {\\n\\t\\twidth: calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});\\n\\t}\\n\\n\\\">>\\n\\n\\t.tc-story-river.tc-static-story-river {\\n\\t\\tmargin-right: 0;\\n\\t\\tpadding-right: 42px;\\n\\t}\\n\\n}\\n\\n@media print {\\n\\n\\tbody.tc-body {\\n\\t\\tbackground-color: transparent;\\n\\t}\\n\\n\\t.tc-sidebar-header, .tc-topbar {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t.tc-story-river {\\n\\t\\tmargin: 0;\\n\\t\\tpadding: 0;\\n\\t}\\n\\n\\t.tc-story-river .tc-tiddler-frame {\\n\\t\\tmargin: 0;\\n\\t\\tborder: none;\\n\\t\\tpadding: 0;\\n\\t}\\n}\\n\\n/*\\n** Tiddler styles\\n*/\\n\\n.tc-tiddler-frame {\\n\\tposition: relative;\\n\\tmargin-bottom: 28px;\\n\\tbackground-color: <<colour tiddler-background>>;\\n\\tborder: 1px solid <<colour tiddler-border>>;\\n}\\n\\n{{$:/themes/tiddlywiki/vanilla/sticky}}\\n\\n.tc-tiddler-info {\\n\\toverflow: hidden;\\n\\tpadding: 14px 42px 14px 42px;\\n\\tbackground-color: <<colour tiddler-info-background>>;\\n\\tborder-top: 1px solid <<colour tiddler-info-border>>;\\n\\tborder-bottom: 1px solid <<colour tiddler-info-border>>;\\n}\\n\\n.tc-tiddler-info p {\\n\\tmargin-top: 3px;\\n\\tmargin-bottom: 3px;\\n}\\n\\n.tc-tiddler-info .tc-tab-buttons button.tc-tab-selected {\\n\\tbackground-color: <<colour tiddler-info-tab-background>>;\\n\\tborder-bottom: 1px solid <<colour tiddler-info-tab-background>>;\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-tiddler-info {\\n\\t\\tpadding: 14px 14px 14px 14px;\\n\\t}\\n\\n}\\n\\n.tc-view-field-table {\\n\\twidth: 100%;\\n}\\n\\n.tc-view-field-name {\\n\\twidth: 1%; /* Makes this column be as narrow as possible */\\n\\tvertical-align: top;\\n\\ttext-align: right;\\n\\tfont-style: italic;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-view-field-value {\\n\\tword-break: break-all;\\n}\\n\\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\\n\\t.tc-tiddler-frame {\\n\\t\\tpadding: 14px 14px 14px 14px;\\n\\t\\tmargin-bottom: .5em;\\n\\t}\\n\\n\\t.tc-tiddler-info {\\n\\t\\tmargin: 0 -14px 0 -14px;\\n\\t}\\n}\\n\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\t.tc-tiddler-frame {\\n\\t\\tpadding: 28px 42px 42px 42px;\\n\\t\\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}};\\n\\t\\tborder-radius: 2px;\\n\\t}\\n\\n<<if-no-sidebar \\\"\\n\\n\\t.tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t}\\n\\n\\\">>\\n\\n\\t.tc-tiddler-info {\\n\\t\\tmargin: 0 -42px 0 -42px;\\n\\t}\\n}\\n\\n.tc-site-title,\\n.tc-titlebar {\\n\\tfont-weight: normal;\\n\\tfont-size: 2.35em;\\n\\tline-height: 1.35em;\\n\\tcolor: <<colour tiddler-title-foreground>>;\\n\\tmargin: 0;\\n}\\n\\n.tc-site-title {\\n\\tcolor: <<colour site-title-foreground>>;\\n}\\n\\n.tc-tiddler-title-icon {\\n\\tvertical-align: middle;\\n\\tmargin-right: .1em;\\n}\\n\\n.tc-tiddler-title-icon svg {\\n\\twidth: 0.9em;\\n\\theight: 0.9em;\\n}\\n\\n.tc-system-title-prefix {\\n\\tcolor: <<colour muted-foreground>>;\\n}\\n\\n.tc-tiddler-lazy-loading {\\n\\theight: 4px;\\n\\twidth: 100%;\\n\\tbackground: no-repeat linear-gradient(<<colour background>> 0 0),no-repeat linear-gradient(<<colour background>> 0 0),<<colour primary>>;\\n\\tbackground-size: 60% 100%;\\n\\tanimation: animation-loading-progress 3s infinite;\\n}\\n\\n@keyframes animation-loading-progress {\\n\\t0% {background-position:-150% 0,-150% 0}\\n\\t66% {background-position: 250% 0,-150% 0}\\n\\t100% {background-position: 250% 0, 250% 0}\\n}\\n\\n.tc-titlebar h2 {\\n\\tfont-size: 1em;\\n\\tdisplay: inline;\\n}\\n\\n.tc-titlebar img {\\n\\theight: 1em;\\n}\\n\\n.tc-subtitle {\\n\\tfont-size: 0.9em;\\n\\tcolor: <<colour tiddler-subtitle-foreground>>;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-subtitle .tc-tiddlylink {\\n\\tmargin-right: .3em;\\n}\\n\\n.tc-tiddler-missing .tc-title {\\n\\tfont-style: italic;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-controls {\\n\\tfloat: right;\\n\\tpadding: 3px; /* make space for outline */\\n}\\n\\n.tc-tiddler-controls .tc-drop-down {\\n\\tfont-size: 0.6em;\\n}\\n\\n.tc-tiddler-controls .tc-drop-down .tc-drop-down {\\n\\tfont-size: 1em;\\n}\\n\\n.tc-tiddler-controls > span > button,\\n.tc-tiddler-controls > span > span > button,\\n.tc-tiddler-controls > span > span > span > button {\\n\\tvertical-align: baseline;\\n\\tmargin-left:5px;\\n}\\n\\n.tc-tiddler-controls button svg, .tc-tiddler-controls button img,\\n.tc-search button svg, .tc-search a svg {\\n\\tfill: <<colour tiddler-controls-foreground>>;\\n}\\n\\n.tc-tiddler-controls button svg, .tc-tiddler-controls button img {\\n\\theight: 0.75em;\\n}\\n\\n.tc-search button svg, .tc-search a svg {\\n\\theight: 1.2em;\\n\\twidth: 1.2em;\\n\\tmargin: 0 0.25em;\\n}\\n\\n.tc-tiddler-controls button.tc-selected svg,\\n.tc-page-controls button.tc-selected svg {\\n\\tfill: <<colour tiddler-controls-foreground-selected>>;\\n}\\n\\n.tc-tiddler-controls button.tc-btn-invisible:hover svg,\\n.tc-search button:hover svg, .tc-search a:hover svg {\\n\\tfill: <<colour tiddler-controls-foreground-hover>>;\\n}\\n\\n@media print {\\n\\t.tc-tiddler-controls {\\n\\t\\tdisplay: none;\\n\\t}\\n}\\n\\n.tc-tiddler-help { /* Help prompts within tiddler template */\\n\\tcolor: <<colour muted-foreground>>;\\n\\tmargin-top: 14px;\\n}\\n\\n.tc-tiddler-help a.tc-tiddlylink {\\n\\tcolor: <<colour very-muted-foreground>>;\\n}\\n\\n.tc-tiddler-frame .tc-edit-texteditor {\\n\\twidth: 100%;\\n\\tmargin: 4px 0 4px 0;\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame textarea.tc-edit-texteditor,\\n.tc-tiddler-frame iframe.tc-edit-texteditor,\\n.tc-tiddler-frame select.tc-edit-texteditor {\\n\\tpadding: 3px 3px 3px 3px;\\n\\tborder: 1px solid <<colour tiddler-editor-border>>;\\n\\tline-height: 1.3em;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame textarea.tc-edit-texteditor,\\n.tc-tiddler-frame iframe.tc-edit-texteditor {\\n\\t-webkit-appearance: none;\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame select.tc-edit-texteditor,\\n.tc-tiddler-frame textarea.tc-edit-texteditor {\\n\\tbackground-color: <<colour tiddler-editor-background>>;\\n}\\n\\n.tc-tiddler-frame iframe.tc-edit-texteditor {\\n\\tbackground-color: <<colour tiddler-background>>;\\n}\\n\\n.tc-tiddler-frame .tc-edit-fields input.tc-edit-fieldeditor,\\n.tc-tiddler-frame .tc-edit-fields select.tc-edit-fieldeditor,\\n.tc-tiddler-frame .tc-edit-fields textarea.tc-edit-fieldeditor {\\n\\tmargin: 0;\\n\\tpadding: 2px 3px;\\n}\\n\\n.tc-tiddler-frame .tc-binary-warning {\\n\\twidth: 100%;\\n\\theight: 5em;\\n\\ttext-align: center;\\n\\tpadding: 3em 3em 6em 3em;\\n\\tbackground: <<colour alert-background>>;\\n\\tborder: 1px solid <<colour alert-border>>;\\n}\\n\\ncanvas.tc-edit-bitmapeditor {\\n\\tborder: 6px solid <<colour tiddler-editor-border-image>>;\\n\\tcursor: crosshair;\\n\\t-moz-user-select: none;\\n\\t-webkit-user-select: none;\\n\\t-ms-user-select: none;\\n\\tmargin-top: 6px;\\n\\tmargin-bottom: 6px;\\n}\\n\\n.tc-edit-bitmapeditor-width {\\n\\tdisplay: block;\\n}\\n\\n.tc-edit-bitmapeditor-height {\\n\\tdisplay: block;\\n}\\n\\n.tc-single-tiddler-window .tc-tiddler-body,\\n.tc-tiddler-frame .tc-tiddler-body {\\n\\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}};\\n\\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}};\\n}\\n\\n.tc-titlebar, .tc-tiddler-edit-title {\\n\\toverflow: hidden; /* https://github.com/TiddlyWiki/TiddlyWiki5/issues/282 */\\n}\\n\\n/*\\n* Tiddler in a new window.\\n* Also see: .tc-single-tiddler-window .tc-tiddler-body, above\\n*/\\n\\nhtml body.tc-body.tc-single-tiddler-window {\\n\\tmargin: 1em;\\n\\tbackground: <<colour tiddler-background>>;\\n}\\n\\n.tc-single-tiddler-window img,\\n.tc-single-tiddler-window svg,\\n.tc-single-tiddler-window canvas,\\n.tc-single-tiddler-window embed,\\n.tc-single-tiddler-window iframe {\\n\\tmax-width: 100%;\\n}\\n\\n/*\\n** Editor\\n*/\\n\\n.tc-editor-toolbar {\\n\\tmargin-top: 8px;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-editor-toolbar,\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-editor-toolbar {\\n\\tgrid-area: toolbar;\\n}\\n\\n.tc-editor-toolbar button {\\n\\tvertical-align: middle;\\n\\tbackground-color: <<colour tiddler-controls-foreground>>;\\n\\tcolor: <<colour tiddler-controls-foreground-selected>>;\\n\\tfill: <<colour tiddler-controls-foreground-selected>>;\\n\\tborder-radius: 4px;\\n\\tpadding: 3px;\\n\\tmargin: 2px 0 2px 4px;\\n}\\n\\n.tc-editor-toolbar button.tc-text-editor-toolbar-item-adjunct {\\n\\tmargin-left: 1px;\\n\\twidth: 1em;\\n\\tborder-radius: 8px;\\n}\\n\\n.tc-editor-toolbar button.tc-text-editor-toolbar-item-start-group {\\n\\tmargin-left: 11px;\\n}\\n\\n.tc-editor-toolbar button.tc-selected {\\n\\tbackground-color: <<colour primary>>;\\n}\\n\\n.tc-editor-toolbar button svg {\\n\\twidth: 1.6em;\\n\\theight: 1.2em;\\n}\\n\\n.tc-editor-toolbar .tc-drop-down button.tc-btn-mini {\\n\\tpadding: 2px 4px;\\n}\\n\\n.tc-editor-toolbar button:hover {\\n\\tbackground-color: <<colour tiddler-controls-foreground-selected>>;\\n\\tfill: <<colour background>>;\\n\\tcolor: <<colour background>>;\\n}\\n\\n.tc-editor-toolbar .tc-text-editor-toolbar-more {\\n\\twhite-space: normal;\\n}\\n\\n.tc-editor-toolbar .tc-text-editor-toolbar-more button {\\n\\tdisplay: inline-block;\\n\\tpadding: 3px;\\n\\twidth: auto;\\n}\\n\\n.tc-editor-toolbar .tc-search-results {\\n\\tpadding: 0;\\n}\\n\\n.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down > p {\\n\\tmargin: 0;\\n\\tpadding: 0;\\n}\\n\\n.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down a.tc-tiddlylink {\\n\\tfont-weight: normal;\\n}\\n\\n/*\\n** Adjustments for fluid-fixed mode\\n*/\\n\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\n<<if-fluid-fixed text:\\\"\\\"\\\"\\n\\n\\t.tc-story-river {\\n\\t\\tpadding-right: 0;\\n\\t\\tposition: relative;\\n\\t\\twidth: auto;\\n\\t\\tleft: 0;\\n\\t\\tmargin-left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};\\n\\t\\tmargin-right: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};\\n\\t}\\n\\n\\t.tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t}\\n\\n\\t.tc-sidebar-scrollable {\\n\\t\\tleft: auto;\\n\\t\\tbottom: 0;\\n\\t\\tright: 0;\\n\\t\\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};\\n\\t}\\n\\n\\tbody.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t\\twidth: calc(100% - 42px);\\n\\t}\\n\\n\\\"\\\"\\\" hiddenSidebarText:\\\"\\\"\\\"\\n\\n\\t.tc-story-river {\\n\\t\\tpadding-right: 3em;\\n\\t\\tmargin-right: 0;\\n\\t}\\n\\n\\tbody.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t\\twidth: calc(100% - 84px);\\n\\t}\\n\\n\\\"\\\"\\\">>\\n\\n}\\n\\n/*\\n** Toolbar buttons\\n*/\\n\\n.tc-page-controls svg.tc-image-new-button {\\n\\tfill: <<colour toolbar-new-button>>;\\n}\\n\\n.tc-page-controls svg.tc-image-options-button {\\n\\tfill: <<colour toolbar-options-button>>;\\n}\\n\\n.tc-page-controls svg.tc-image-save-button {\\n\\tfill: <<colour toolbar-save-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-info-button {\\n\\tfill: <<colour toolbar-info-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-edit-button {\\n\\tfill: <<colour toolbar-edit-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-close-button {\\n\\tfill: <<colour toolbar-close-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-delete-button {\\n\\tfill: <<colour toolbar-delete-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-cancel-button {\\n\\tfill: <<colour toolbar-cancel-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-done-button {\\n\\tfill: <<colour toolbar-done-button>>;\\n}\\n\\n.tc-page-controls svg.tc-image-layout-button {\\n\\tfill: <<colour toolbar-options-button>>;\\n}\\n\\n/*\\n** Tiddler edit mode\\n*/\\n\\n.tc-tiddler-edit-frame em.tc-edit {\\n\\tcolor: <<colour muted-foreground>>;\\n\\tfont-style: normal;\\n}\\n\\n.tc-edit-type-dropdown a.tc-tiddlylink-missing {\\n\\tfont-style: normal;\\n}\\n\\n.tc-type-selector .tc-edit-typeeditor {\\n\\twidth: auto;\\n}\\n\\n.tc-type-selector-dropdown-wrapper {\\n\\tdisplay: inline-block;\\n}\\n\\n<<set-type-selector-min-width>>\\n\\n.tc-edit-tags {\\n\\tborder: 1px solid <<colour tiddler-editor-border>>;\\n\\tpadding: 4px 8px 4px 8px;\\n}\\n\\n.tc-edit-add-tag {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-edit-add-tag .tc-add-tag-name input {\\n\\twidth: 50%;\\n}\\n\\n.tc-edit-add-tag .tc-keyboard {\\n\\tdisplay:inline;\\n}\\n\\n.tc-edit-tags .tc-tag-label {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-edit-tags-list {\\n\\tmargin: 14px 0 14px 0;\\n}\\n\\n.tc-remove-tag-button {\\n\\tpadding-left: 4px;\\n}\\n\\n.tc-tiddler-editor {\\n\\tdisplay: grid;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview {\\n\\tgrid-template-areas:\\n\\t\\t\\\"toolbar toolbar\\\"\\n\\t\\t\\\"editor preview\\\";\\n\\tgrid-template-columns: repeat(2, minmax(0px, 1fr));\\n\\tgrid-template-rows: auto 1fr;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden {\\n\\tgrid-template-areas:\\n\\t\\t\\\"toolbar\\\"\\n\\t\\t\\\"editor\\\";\\n\\tgrid-template-columns: 1fr;\\n\\tgrid-template-rows: auto 1fr;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-tiddler-preview-preview {\\n\\tgrid-area: preview;\\n\\toverflow-wrap: anywhere;\\n\\tword-break: normal;\\n\\tborder: 1px solid <<colour tiddler-editor-border>>;\\n\\tmargin: 4px 0 3px 3px;\\n\\tpadding: 3px 3px 3px 3px;\\n}\\n\\n<<if-editor-height-fixed then:\\\"\\\"\\\"\\n\\n.tc-tiddler-preview-preview {\\n\\toverflow-y: scroll;\\n\\theight: {{$:/config/TextEditor/EditorHeight/Height}};\\n}\\n\\n\\\"\\\"\\\">>\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-edit-texteditor,\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-edit-texteditor {\\n\\tgrid-area: editor;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview canvas.tc-edit-bitmapeditor,\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden canvas.tc-edit-bitmapeditor {\\n\\tgrid-area: editor;\\n\\tmax-width: 100%;\\n}\\n\\n.tc-edit-fields {\\n\\twidth: 100%;\\n}\\n\\n.tc-edit-fields.tc-edit-fields-small {\\n\\tmargin-top: 0;\\n\\tmargin-bottom: 0;\\n}\\n\\n.tc-edit-fields table, .tc-edit-fields tr, .tc-edit-fields td {\\n\\tborder: none;\\n\\tpadding: 4px;\\n}\\n\\n.tc-edit-fields > tbody > .tc-edit-field:nth-child(odd) {\\n\\tbackground-color: <<colour tiddler-editor-fields-odd>>;\\n}\\n\\n.tc-edit-fields > tbody > .tc-edit-field:nth-child(even) {\\n\\tbackground-color: <<colour tiddler-editor-fields-even>>;\\n}\\n\\n.tc-edit-field-name {\\n\\ttext-align: right;\\n}\\n\\n.tc-edit-field-value input {\\n\\twidth: 100%;\\n}\\n\\n.tc-edit-field-remove {\\n}\\n\\n.tc-edit-field-remove svg {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tfill: <<colour muted-foreground>>;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-edit-field-add-name-wrapper input.tc-edit-texteditor {\\n\\twidth: auto;\\n}\\n\\n.tc-edit-field-add-name-wrapper {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-edit-field-add-value {\\n\\tdisplay: inline-block;\\n}\\n\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\n\\t.tc-edit-field-add-value {\\n\\t\\twidth: 35%;\\n\\t}\\n\\n}\\n\\n.tc-edit-field-add-button {\\n\\tdisplay: inline-block;\\n\\twidth: 10%;\\n}\\n\\n\\n/*\\n** Tiddler editor dropzone\\n*/\\n\\n.tc-dropzone-editor {\\n\\tposition:relative;\\n}\\n\\n.tc-dropzone-editor.tc-dragover .tc-editor-toolbar::after{\\n\\tz-index: 10000;\\n\\ttop:0;\\n\\tleft:0;\\n\\tright:0;\\n\\theight: 100%;\\n\\tbackground: <<colour dropzone-background>>;\\n\\tcontent: \\\"<<lingo DropMessage>>\\\";\\n\\tpointer-events: none;\\n\\tposition: absolute;\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\tjustify-content: center;\\n\\tbackground-color: <<color background>>;\\n\\tborder: 4px dashed <<color modal-border>>;\\n\\tfont-weight: bold;\\n\\tfont-size: 150%;\\n\\topacity: 0.8;\\n\\tcolor: <<color foreground>>;\\n}\\n\\n.tc-editor-importpopup {\\n\\twidth: 100%;\\n\\theight: 100%;\\n}\\n\\n.tc-editor-import {\\n\\tposition: absolute;\\n\\ttop: 50%;\\n\\tleft: 50%;\\n\\ttransform: translate(-50%, -50%);\\n\\tbackground: <<color pre-background>>;\\n\\tbox-shadow: 2px 2px 10px <<colour foreground>>;\\n\\tpadding: 10px;\\n\\twidth: 96%;\\n\\tborder: 1px solid <<color tiddler-controls-foreground>>;\\n\\ttext-align:center;\\n}\\n\\n.tc-editor-import img {\\n\\tmax-height: 500px;\\n}\\n\\n/*\\n** Storyview Classes\\n*/\\n\\n.tc-viewswitcher .tc-image-button {\\n\\tmargin-right: .3em;\\n}\\n\\n.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\tposition: absolute;\\n\\tdisplay: block;\\n\\twidth: 100%;\\n}\\n\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\n\\t.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\t\\twidth: calc(100% - 84px);\\n\\t}\\n\\n}\\n\\n/*\\n** Dropdowns\\n*/\\n\\n.tc-btn-dropdown {\\n\\ttext-align: left;\\n}\\n\\n.tc-btn-dropdown svg, .tc-btn-dropdown img {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n.tc-drop-down-wrapper {\\n\\tposition: relative;\\n}\\n\\n.tc-drop-down {\\n\\tmin-width: 380px;\\n\\tborder: 1px solid <<colour dropdown-border>>;\\n\\tbackground-color: <<colour dropdown-background>>;\\n\\tpadding: 7px 0 7px 0;\\n\\tmargin: 4px 0 0 0;\\n\\twhite-space: nowrap;\\n\\ttext-shadow: none;\\n\\tline-height: 1.4;\\n}\\n\\n.tc-drop-down .tc-drop-down {\\n\\tmargin-left: 14px;\\n}\\n\\n.tc-drop-down button svg, .tc-drop-down a svg {\\n\\tfill: <<colour foreground>>;\\n}\\n\\n.tc-drop-down button:disabled svg {\\n\\tfill: <<colour muted-foreground>>;\\n}\\n\\n.tc-drop-down button.tc-btn-invisible:hover svg {\\n\\tfill: <<colour background>>;\\n}\\n\\n.tc-drop-down .tc-drop-down-info {\\n\\tpadding-left: 14px;\\n}\\n\\n.tc-drop-down p {\\n\\tpadding: 0 14px 0 14px;\\n}\\n\\n.tc-drop-down svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\n.tc-drop-down img {\\n\\twidth: 1em;\\n}\\n\\n.tc-drop-down a, .tc-drop-down button {\\n\\tdisplay: block;\\n\\tpadding: 0 14px 0 14px;\\n\\twidth: 100%;\\n\\ttext-align: left;\\n\\tcolor: <<colour foreground>>;\\n\\tline-height: 1.4;\\n}\\n\\n.tc-drop-down .tc-tab-set .tc-tab-buttons button {\\n\\tdisplay: inline-block;\\n\\twidth: auto;\\n\\tmargin-bottom: 0px;\\n\\tborder-bottom-left-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n}\\n\\n.tc-drop-down .tc-prompt {\\n\\tpadding: 0 14px;\\n}\\n\\n.tc-drop-down .tc-chooser {\\n\\tborder: none;\\n}\\n\\n.tc-drop-down .tc-chooser .tc-swatches-horiz {\\n\\tfont-size: 0.4em;\\n\\tpadding-left: 1.2em;\\n}\\n\\n.tc-drop-down .tc-file-input-wrapper {\\n\\twidth: 100%;\\n}\\n\\n.tc-drop-down .tc-file-input-wrapper button {\\n\\tcolor: <<colour foreground>>;\\n}\\n\\n.tc-drop-down a:hover, .tc-drop-down button:hover, .tc-drop-down .tc-file-input-wrapper:hover button {\\n\\tcolor: <<colour tiddler-link-background>>;\\n\\tbackground-color: <<colour tiddler-link-foreground>>;\\n\\ttext-decoration: none;\\n}\\n\\n.tc-drop-down .tc-tab-buttons button {\\n\\tbackground-color: <<colour dropdown-tab-background>>;\\n}\\n\\n.tc-drop-down .tc-tab-buttons button.tc-tab-selected {\\n\\tbackground-color: <<colour dropdown-tab-background-selected>>;\\n\\tborder-bottom: 1px solid <<colour dropdown-tab-background-selected>>;\\n}\\n\\n.tc-drop-down-bullet {\\n\\tdisplay: inline-block;\\n\\twidth: 0.5em;\\n}\\n\\n.tc-drop-down .tc-tab-contents a {\\n\\tpadding: 0 0.5em 0 0.5em;\\n}\\n\\n.tc-block-dropdown-wrapper {\\n\\tposition: relative;\\n}\\n\\n.tc-block-dropdown {\\n\\tposition: absolute;\\n\\tmin-width: 220px;\\n\\tborder: 1px solid <<colour dropdown-border>>;\\n\\tbackground-color: <<colour dropdown-background>>;\\n\\tpadding: 7px 0;\\n\\tmargin: 4px 0 0 0;\\n\\twhite-space: nowrap;\\n\\tz-index: 1000;\\n\\ttext-shadow: none;\\n}\\n\\n.tc-block-dropdown.tc-search-drop-down {\\n\\tmargin-left: -12px;\\n}\\n\\n.tc-block-dropdown a {\\n\\tdisplay: block;\\n\\tpadding: 4px 14px 4px 14px;\\n}\\n\\n.tc-block-dropdown.tc-search-drop-down a {\\n\\tdisplay: block;\\n\\tpadding: 0px 10px 0px 10px;\\n}\\n\\n.tc-drop-down .tc-dropdown-item-plain,\\n.tc-block-dropdown .tc-dropdown-item-plain {\\n\\tpadding: 4px 14px 4px 7px;\\n}\\n\\n.tc-drop-down .tc-dropdown-item,\\n.tc-block-dropdown .tc-dropdown-item {\\n\\tpadding: 4px 14px 4px 7px;\\n\\tcolor: <<colour muted-foreground>>;\\n}\\n\\n.tc-block-dropdown a.tc-tiddlylink:hover {\\n\\tcolor: <<colour tiddler-link-background>>;\\n\\tbackground-color: <<colour tiddler-link-foreground>>;\\n\\ttext-decoration: none;\\n}\\n\\n.tc-search-results {\\n\\tpadding: 0 7px 0 7px;\\n}\\n\\n.tc-image-chooser, .tc-colour-chooser {\\n\\twhite-space: normal;\\n}\\n\\n.tc-image-chooser a,\\n.tc-colour-chooser a {\\n\\tdisplay: inline-block;\\n\\tvertical-align: top;\\n\\ttext-align: center;\\n\\tposition: relative;\\n}\\n\\n.tc-image-chooser a {\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tpadding: 2px;\\n\\tmargin: 2px;\\n\\twidth: 4em;\\n\\theight: 4em;\\n}\\n\\n.tc-colour-chooser a {\\n\\tpadding: 3px;\\n\\twidth: 2em;\\n\\theight: 2em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-image-chooser a:hover,\\n.tc-colour-chooser a:hover {\\n\\tbackground: <<colour primary>>;\\n\\tpadding: 0px;\\n\\tborder: 3px solid <<colour primary>>;\\n}\\n\\n.tc-image-chooser a svg,\\n.tc-image-chooser a img {\\n\\tdisplay: inline-block;\\n\\twidth: auto;\\n\\theight: auto;\\n\\tmax-width: 3.5em;\\n\\tmax-height: 3.5em;\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tbottom: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tmargin: auto;\\n}\\n\\n/* Make search dropdown visible on small screens. issue #7003 */\\n@media (max-width: <<sidebarbreakpoint>>) {\\n\\n\\t.tc-sidebar-search .tc-block-dropdown-wrapper {\\n\\t\\tposition: initial;\\n\\t}\\n\\n}\\n\\n/*\\n** Modals\\n*/\\n\\n.tc-modal-wrapper {\\n\\tposition: fixed;\\n\\toverflow: auto;\\n\\toverflow-y: scroll;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tleft: 0;\\n\\tz-index: 900;\\n}\\n\\n.tc-modal-backdrop {\\n\\tposition: fixed;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tleft: 0;\\n\\tz-index: 1000;\\n\\tbackground-color: <<colour modal-backdrop>>;\\n}\\n\\n.tc-modal {\\n\\tz-index: 1100;\\n\\tbackground-color: <<colour modal-background>>;\\n\\tborder: 1px solid <<colour modal-border>>;\\n}\\n\\n@media (max-width: 55em) {\\n\\t.tc-modal {\\n\\t\\tposition: fixed;\\n\\t\\ttop: 1em;\\n\\t\\tleft: 1em;\\n\\t\\tright: 1em;\\n\\t}\\n\\n\\t.tc-modal-body {\\n\\t\\toverflow-y: auto;\\n\\t\\tmax-height: 400px;\\n\\t\\tmax-height: 60vh;\\n\\t}\\n}\\n\\n@media (min-width: 55em) {\\n\\t.tc-modal {\\n\\t\\tposition: fixed;\\n\\t\\ttop: 2em;\\n\\t\\tleft: 25%;\\n\\t\\twidth: 50%;\\n\\t}\\n\\n\\t.tc-modal-body {\\n\\t\\toverflow-y: auto;\\n\\t\\tmax-height: 400px;\\n\\t\\tmax-height: 60vh;\\n\\t}\\n}\\n\\n.tc-modal-header {\\n\\tpadding: 9px 15px;\\n\\tborder-bottom: 1px solid <<colour modal-header-border>>;\\n}\\n\\n.tc-modal-header h3 {\\n\\tmargin: 0;\\n\\tline-height: 30px;\\n}\\n\\n.tc-modal-header img, .tc-modal-header svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\n.tc-modal-body {\\n\\tpadding: 15px;\\n}\\n\\n.tc-modal-footer {\\n\\tpadding: 14px 15px 15px;\\n\\tmargin-bottom: 0;\\n\\ttext-align: right;\\n\\tbackground-color: <<colour modal-footer-background>>;\\n\\tborder-top: 1px solid <<colour modal-footer-border>>;\\n}\\n\\n.tc-modal-prevent-scroll {\\n\\toverflow: hidden;\\n}\\n\\n/*\\n** Centered modals\\n*/\\n.tc-modal-centered .tc-modal {\\n\\twidth: auto;\\n\\ttop: 50%;\\n\\tleft: 50%;\\n\\ttransform: translate(-50%, -50%) !important;\\n}\\n\\n/*\\n** Notifications\\n*/\\n\\n.tc-notification {\\n\\tposition: fixed;\\n\\ttop: 14px;\\n\\tright: 42px;\\n\\tz-index: 1300;\\n\\tmax-width: 280px;\\n\\tpadding: 0 14px 0 14px;\\n\\tbackground-color: <<colour notification-background>>;\\n\\tborder: 1px solid <<colour notification-border>>;\\n}\\n\\n/*\\n** Tabs\\n*/\\n\\n.tc-tab-set.tc-vertical {\\n\\tdisplay: -webkit-flex;\\n\\tdisplay: flex;\\n}\\n\\n.tc-tab-buttons {\\n\\tfont-size: 0.85em;\\n\\tpadding-top: 1em;\\n\\tmargin-bottom: -2px;\\n}\\n\\n.tc-tab-buttons.tc-vertical {\\n\\tz-index: 100;\\n\\tdisplay: block;\\n\\tpadding-top: 14px;\\n\\tvertical-align: top;\\n\\ttext-align: right;\\n\\tmargin-bottom: inherit;\\n\\tmargin-right: -1px;\\n\\tmax-width: 33%;\\n\\t-webkit-flex: 0 0 auto;\\n\\tflex: 0 0 auto;\\n}\\n\\n.tc-tab-buttons button.tc-tab-selected {\\n\\tcolor: <<colour tab-foreground-selected>>;\\n\\tbackground-color: <<colour tab-background-selected>>;\\n\\tborder-left: 1px solid <<colour tab-border-selected>>;\\n\\tborder-top: 1px solid <<colour tab-border-selected>>;\\n\\tborder-right: 1px solid <<colour tab-border-selected>>;\\n}\\n\\n.tc-tab-buttons button {\\n\\tcolor: <<colour tab-foreground>>;\\n\\tpadding: 3px 5px 3px 5px;\\n\\tmargin-right: 0.3em;\\n\\tfont-weight: normal;\\n\\tborder: none;\\n\\tbackground: inherit;\\n\\tbackground-color: <<colour tab-background>>;\\n\\tborder-left: 1px solid <<colour tab-border>>;\\n\\tborder-top: 1px solid <<colour tab-border>>;\\n\\tborder-right: 1px solid <<colour tab-border>>;\\n\\tborder-top-left-radius: 2px;\\n\\tborder-top-right-radius: 2px;\\n\\tborder-bottom-left-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n}\\n\\n.tc-tab-buttons.tc-vertical button {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\tmargin-top: 3px;\\n\\tmargin-right: 0;\\n\\ttext-align: right;\\n\\tbackground-color: <<colour tab-background>>;\\n\\tborder-left: 1px solid <<colour tab-border>>;\\n\\tborder-bottom: 1px solid <<colour tab-border>>;\\n\\tborder-right: none;\\n\\tborder-top-left-radius: 2px;\\n\\tborder-bottom-left-radius: 2px;\\n\\tborder-top-right-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n}\\n\\n.tc-tab-buttons.tc-vertical button.tc-tab-selected {\\n\\tbackground-color: <<colour tab-background-selected>>;\\n\\tborder-right: 1px solid <<colour tab-background-selected>>;\\n}\\n\\n.tc-tab-divider {\\n\\tborder-top: 1px solid <<colour tab-divider>>;\\n}\\n\\n.tc-tab-divider.tc-vertical {\\n\\tdisplay: none;\\n}\\n\\n.tc-tab-content {\\n\\tmargin-top: 14px;\\n}\\n\\n.tc-tab-content.tc-vertical {\\n\\tdisplay: inline-block;\\n\\tvertical-align: top;\\n\\tpadding-top: 0;\\n\\tpadding-left: 14px;\\n\\tborder-left: 1px solid <<colour tab-border>>;\\n\\t-webkit-flex: 1 0 70%;\\n\\tflex: 1 0 70%;\\n\\toverflow: auto;\\n}\\n\\n.tc-sidebar-lists .tc-tab-buttons {\\n\\tmargin-bottom: -1px;\\n}\\n\\n.tc-sidebar-lists .tc-tab-buttons button.tc-tab-selected {\\n\\tbackground-color: <<colour sidebar-tab-background-selected>>;\\n\\tcolor: <<colour sidebar-tab-foreground-selected>>;\\n\\tborder-left: 1px solid <<colour sidebar-tab-border-selected>>;\\n\\tborder-top: 1px solid <<colour sidebar-tab-border-selected>>;\\n\\tborder-right: 1px solid <<colour sidebar-tab-border-selected>>;\\n}\\n\\n.tc-sidebar-lists .tc-tab-buttons button {\\n\\tbackground-color: <<colour sidebar-tab-background>>;\\n\\tcolor: <<colour sidebar-tab-foreground>>;\\n\\tborder-left: 1px solid <<colour sidebar-tab-border>>;\\n\\tborder-top: 1px solid <<colour sidebar-tab-border>>;\\n\\tborder-right: 1px solid <<colour sidebar-tab-border>>;\\n}\\n\\n.tc-sidebar-lists .tc-tab-divider {\\n\\tborder-top: 1px solid <<colour sidebar-tab-divider>>;\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\tbackground-color: <<colour sidebar-tab-background>>;\\n\\tborder-top: none;\\n\\tborder-left: none;\\n\\tborder-bottom: none;\\n\\tborder-right: 1px solid #ccc;\\n\\tmargin-bottom: inherit;\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {\\n\\tbackground-color: <<colour sidebar-tab-background-selected>>;\\n\\tborder: none;\\n}\\n\\n/*\\n** Manager\\n*/\\n\\n.tc-manager-wrapper {\\n\\n}\\n\\n.tc-manager-controls {\\n\\n}\\n\\n.tc-manager-control {\\n\\tmargin: 0.5em 0;\\n}\\n\\n.tc-manager-control select {\\n\\tmax-width: 100%;\\n}\\n\\n.tc-manager-list {\\n\\twidth: 100%;\\n\\tborder-top: 1px solid <<colour muted-foreground>>;\\n\\tborder-left: 1px solid <<colour muted-foreground>>;\\n\\tborder-right: 1px solid <<colour muted-foreground>>;\\n}\\n\\n.tc-manager-list-item {\\n\\n}\\n\\n.tc-manager-list-item-heading {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\ttext-align: left;\\n\\tborder-bottom: 1px solid <<colour muted-foreground>>;\\n\\tpadding: 3px;\\n}\\n\\n.tc-manager-list-item-heading-selected {\\n\\tfont-weight: bold;\\n\\tcolor: <<colour background>>;\\n\\tfill: <<colour background>>;\\n\\tbackground-color: <<colour foreground>>;\\n}\\n\\n.tc-manager-list-item-heading:hover {\\n\\tbackground: <<colour primary>>;\\n\\tcolor: <<colour background>>;\\n}\\n\\n.tc-manager-list-item-content {\\n\\tdisplay: flex;\\n}\\n\\n.tc-manager-list-item-content-sidebar {\\n\\tflex: 1 0;\\n\\tbackground: <<colour tiddler-editor-background>>;\\n\\tborder-right: 0.5em solid <<colour muted-foreground>>;\\n\\tborder-bottom: 0.5em solid <<colour muted-foreground>>;\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-manager-list-item-content-item-heading {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\ttext-align: left;\\n\\tbackground: <<colour muted-foreground>>;\\n\\ttext-transform: uppercase;\\n\\tfont-size: 0.6em;\\n\\tfont-weight: bold;\\n\\tpadding: 0.5em 0 0.5em 0;\\n}\\n\\n.tc-manager-list-item-content-item-body {\\n\\tpadding: 0 0.5em 0 0.5em;\\n}\\n\\n.tc-manager-list-item-content-item-body > pre {\\n\\tmargin: 0.5em 0 0.5em 0;\\n\\tborder: none;\\n\\tbackground: inherit;\\n}\\n\\n.tc-manager-list-item-content-tiddler {\\n\\tflex: 3 1;\\n\\tborder-left: 0.5em solid <<colour muted-foreground>>;\\n\\tborder-right: 0.5em solid <<colour muted-foreground>>;\\n\\tborder-bottom: 0.5em solid <<colour muted-foreground>>;\\n}\\n\\n.tc-manager-list-item-content-item-body > table {\\n\\tborder: none;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n}\\n\\n.tc-manager-list-item-content-item-body > table td {\\n\\tborder: none;\\n}\\n\\n.tc-manager-icon-editor > button {\\n\\twidth: 100%;\\n}\\n\\n.tc-manager-icon-editor > button > svg,\\n.tc-manager-icon-editor > button > button {\\n\\twidth: 100%;\\n\\theight: auto;\\n}\\n\\n/*\\n** Import table\\n*/\\n\\n.tc-import-table {\\n\\twidth: 100%;\\n}\\n\\n.tc-import-table svg.tc-image-edit-button {\\n\\tmax-width: unset;\\n}\\n\\n.tc-import-table th:first-of-type {\\n\\twidth: 10%;\\n}\\n\\n.tc-import-table th:last-of-type {\\n\\twidth: 30%;\\n}\\n\\n.tc-import-table .tc-row-disabled {\\n\\tbackground: <<colour very-muted-foreground>>10;\\n\\topacity: 0.8;\\n}\\n\\n.tc-import-table .tc-row-warning {\\n\\tbackground: <<colour diff-delete-background>>50;\\n}\\n\\n/*\\n** Alerts\\n*/\\n\\n.tc-alerts {\\n\\tposition: fixed;\\n\\ttop: 28px;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tmax-width: 50%;\\n\\tz-index: 20000;\\n}\\n\\n.tc-alert {\\n\\tposition: relative;\\n\\tmargin: 14px;\\n\\tpadding: 7px;\\n\\tborder: 1px solid <<colour alert-border>>;\\n\\tbackground-color: <<colour alert-background>>;\\n}\\n\\n.tc-alert-toolbar {\\n\\tposition: absolute;\\n\\ttop: 7px;\\n\\tright: 7px;\\n\\tline-height: 0;\\n}\\n\\n.tc-alert-toolbar svg {\\n\\tfill: <<colour alert-muted-foreground>>;\\n}\\n\\n.tc-alert-subtitle {\\n\\tcolor: <<colour alert-muted-foreground>>;\\n\\tfont-weight: bold;\\n\\tfont-size: 0.8em;\\n\\tmargin-bottom: 0.5em;\\n}\\n\\n.tc-alert-body > p {\\n\\tmargin: 0;\\n}\\n\\n.tc-alert-highlight {\\n\\tcolor: <<colour alert-highlight>>;\\n}\\n\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\n\\t.tc-static-alert {\\n\\t\\tposition: relative;\\n\\t}\\n\\n\\t.tc-static-alert-inner {\\n\\t\\tposition: absolute;\\n\\t\\tz-index: 100;\\n\\t}\\n\\n}\\n\\n.tc-static-alert-inner {\\n\\tpadding: 0 2px 2px 42px;\\n\\tcolor: <<colour static-alert-foreground>>;\\n}\\n\\n/*\\n** Floating drafts list\\n*/\\n\\n.tc-drafts-list {\\n\\tz-index: 2000;\\n\\tposition: fixed;\\n\\tfont-size: 0.8em;\\n\\tleft: 0;\\n\\tbottom: 0;\\n}\\n\\n.tc-drafts-list a {\\n\\tmargin: 0 0.5em;\\n\\tpadding: 4px 4px;\\n\\tborder-top-left-radius: 4px;\\n\\tborder-top-right-radius: 4px;\\n\\tborder: 1px solid <<colour background>>;\\n\\tborder-bottom: none;\\n\\tbackground: <<colour dirty-indicator>>;\\n\\tcolor: <<colour background>>;\\n\\tfill: <<colour background>>;\\n}\\n\\n.tc-drafts-list a:hover {\\n\\ttext-decoration: none;\\n\\tbackground: <<colour foreground>>;\\n\\tcolor: <<colour background>>;\\n\\tfill: <<colour background>>;\\n}\\n\\n.tc-drafts-list a svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: text-bottom;\\n}\\n\\n/*\\n** Control panel\\n*/\\n\\n.tc-control-panel td {\\n\\tpadding: 4px;\\n}\\n\\n.tc-control-panel table, .tc-control-panel table input, .tc-control-panel table textarea {\\n\\twidth: 100%;\\n}\\n\\n.tc-control-panel-setting {\\n\\tborder-top: 1px solid <<colour blockquote-bar>>;\\n}\\n\\n.tc-plugin-info {\\n\\tdisplay: flex;\\n\\ttext-shadow: none;\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tfill: <<colour muted-foreground>>;\\n\\tbackground-color: <<colour background>>;\\n\\tmargin: 0.5em 0 0.5em 0;\\n\\tpadding: 4px;\\n\\talign-items: center;\\n}\\n\\n.tc-sidebar-lists a.tc-tiddlylink.tc-plugin-info {\\n\\tcolor: <<colour tiddler-link-foreground>>;\\n}\\n\\n\\n.tc-plugin-info-sub-plugins .tc-plugin-info {\\n\\tmargin: 0.5em;\\n\\tbackground: <<colour background>>;\\n}\\n\\n.tc-plugin-info-sub-plugin-indicator {\\n\\tmargin: -16px 1em 0 2em;\\n}\\n\\n.tc-plugin-info-sub-plugin-indicator button {\\n\\tcolor: <<colour background>>;\\n\\tbackground: <<colour foreground>>;\\n\\tborder-radius: 8px;\\n\\tpadding: 2px 7px;\\n\\tfont-size: 0.75em;\\n}\\n\\n.tc-plugin-info-sub-plugins .tc-plugin-info-dropdown {\\n\\tmargin-left: 1em;\\n\\tmargin-right: 1em;\\n}\\n\\n.tc-plugin-info-disabled {\\n\\tbackground: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);\\n\\tbackground: repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);\\n}\\n\\n.tc-plugin-info-disabled:hover {\\n\\tbackground: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);\\n\\tbackground: repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);\\n}\\n\\na.tc-tiddlylink.tc-plugin-info:hover {\\n\\ttext-decoration: none;\\n\\tbackground-color: <<colour primary>>;\\n\\tcolor: <<colour background>>;\\n\\tfill: <<colour foreground>>;\\n}\\n\\na.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {\\n\\tfill: <<colour background>>;\\n}\\n\\na.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk .tc-plugin-info-stability {\\n\\tborder: 1px solid <<colour background>>;\\n\\tcolor: <<colour background>>;\\n}\\n\\n.tc-plugin-info-chunk {\\n\\tmargin: 2px;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-toggle {\\n\\tflex-grow: 0;\\n\\tflex-shrink: 0;\\n\\tline-height: 1;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-icon {\\n\\tflex-grow: 0;\\n\\tflex-shrink: 0;\\n\\tline-height: 1;\\n\\theight: 2em;\\n\\twidth: 2em;\\n\\tdisplay: grid;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description {\\n\\tflex-grow: 1;\\n}\\n\\n.tc-plugin-info-chunk .tc-plugin-info-stability {\\n\\tmargin-right: 4px;\\n\\tpadding: 1px 3px;\\n\\tfont-size: 0.8em;\\n\\tborder-radius: 4px;\\n\\tfont-weight: bold;\\n}\\n\\n.tc-plugin-info-chunk .tc-plugin-info-stability-stable {\\n\\tborder: 1px solid <<colour stability-stable>>;\\n\\tcolor: <<colour stability-stable>>;\\n}\\n\\n.tc-plugin-info-chunk .tc-plugin-info-stability-experimental {\\n\\tborder: 1px solid <<colour stability-experimental>>;\\n\\tcolor: <<colour stability-experimental>>;\\n}\\n\\n.tc-plugin-info-chunk .tc-plugin-info-stability-deprecated {\\n\\tborder: 1px solid <<colour stability-deprecated>>;\\n\\tcolor: <<colour stability-deprecated>>;\\n}\\n\\n.tc-plugin-info-chunk .tc-plugin-info-stability-legacy {\\n\\tborder: 1px solid <<colour stability-legacy>>;\\n\\tcolor: <<colour stability-legacy>>;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-buttons {\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tflex-grow: 0;\\n\\tflex-shrink: 0;\\n\\ttext-align: right;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description h1 {\\n\\tfont-size: 1em;\\n\\tline-height: 1.2;\\n\\tmargin: 2px 0 2px 0;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description h2 {\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tmargin: 2px 0 2px 0;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description div {\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tmargin: 2px 0 2px 0;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-toggle img, .tc-plugin-info-chunk.tc-plugin-info-toggle svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-icon img, .tc-plugin-info-chunk.tc-plugin-info-icon svg {\\n\\tmax-width: 2em;\\n\\tmax-height: 2em;\\n\\tmargin: auto;\\n}\\n\\n.tc-plugin-info-dropdown {\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tbackground: <<colour background>>;\\n\\tmargin-top: -8px;\\n}\\n\\n.tc-plugin-info-dropdown-message {\\n\\tbackground: <<colour message-background>>;\\n\\tpadding: 0.5em 1em 0.5em 1em;\\n\\tfont-weight: bold;\\n\\tfont-size: 0.8em;\\n}\\n\\n.tc-plugin-info-dropdown-body {\\n\\tpadding: 1em 1em 0 1em;\\n\\tbackground: <<colour background>>;\\n}\\n\\n.tc-plugin-info-sub-plugins {\\n\\tpadding: 0.5em;\\n\\tmargin: 0 1em 1em 1em;\\n\\tbackground: <<colour notification-background>>;\\n}\\n\\n.tc-install-plugin {\\n\\tfont-weight: bold;\\n\\tbackground: green;\\n\\tcolor: white;\\n\\tfill: white;\\n\\tborder-radius: 4px;\\n\\tpadding: 3px;\\n}\\n\\n.tc-install-plugin.tc-reinstall-downgrade {\\n\\tbackground: red;\\n}\\n\\n.tc-install-plugin.tc-reinstall {\\n\\tbackground: blue;\\n}\\n\\n.tc-install-plugin.tc-reinstall-upgrade {\\n\\tbackground: orange;\\n}\\n\\n.tc-check-list {\\n\\tline-height: 2em;\\n}\\n\\n.tc-check-list .tc-image-button {\\n\\theight: 1.5em;\\n}\\n\\n/*\\n** Message boxes\\n*/\\n\\n.tc-message-box {\\n\\tborder: 1px solid <<colour message-border>>;\\n\\tbackground: <<colour message-background>>;\\n\\tpadding: 0px 21px 0px 21px;\\n\\tfont-size: 12px;\\n\\tline-height: 18px;\\n\\tcolor: <<colour message-foreground>>;\\n}\\n\\n.tc-message-box svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: text-bottom;\\n}\\n\\n/*\\n** Pictures\\n*/\\n\\n.tc-bordered-image {\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tpadding: 5px;\\n\\tmargin: 5px;\\n}\\n\\n/*\\n** Floats\\n*/\\n\\n.tc-float-right {\\n\\tfloat: right;\\n}\\n\\n/* Float tc-clearfix. Needs to be used by elements that allow float:right in their content.\\n** So the floating element does not overflow\\n*/\\n\\n.tc-clearfix:after {\\n\\tcontent: \\\"\\\";\\n\\tclear: both;\\n\\tdisplay: table;\\n}\\n\\n/* Fix overflow toc, manager and testcase output */\\n.tc-tiddler-body .tc-tabbed-table-of-contents, .tc-manager-list-item-content, .tc-test-case-output {\\n\\toverflow-x: auto;\\n}\\n\\n/* A wrapper to fix table overflow */\\n\\n.tc-table-wrapper {\\n\\toverflow-x: auto;\\n}\\n\\n/*\\n** Chooser\\n*/\\n\\n.tc-chooser {\\n\\tborder-right: 1px solid <<colour table-header-background>>;\\n\\tborder-left: 1px solid <<colour table-header-background>>;\\n}\\n\\n\\n.tc-chooser-item {\\n\\tborder-bottom: 1px solid <<colour table-header-background>>;\\n\\tborder-top: 1px solid <<colour table-header-background>>;\\n\\tpadding: 2px 4px 2px 14px;\\n}\\n\\n.tc-drop-down .tc-chooser-item {\\n\\tpadding: 2px;\\n}\\n\\n.tc-chosen,\\n.tc-chooser-item:hover {\\n\\tbackground-color: <<colour table-header-background>>;\\n\\tborder-color: <<colour table-footer-background>>;\\n}\\n\\n.tc-chosen .tc-tiddlylink {\\n\\tcursor:default;\\n}\\n\\n.tc-chooser-item .tc-tiddlylink {\\n\\tdisplay: block;\\n\\ttext-decoration: none;\\n\\tbackground-color: transparent;\\n}\\n\\n.tc-chooser-item:hover .tc-tiddlylink:hover {\\n\\ttext-decoration: none;\\n}\\n\\n.tc-drop-down .tc-chosen .tc-tiddlylink,\\n.tc-drop-down .tc-chooser-item .tc-tiddlylink:hover {\\n\\tcolor: <<colour foreground>>;\\n}\\n\\n.tc-chosen > .tc-tiddlylink:before {\\n\\tmargin-left: -10px;\\n\\tposition: relative;\\n\\tcontent: \\\"» \\\";\\n}\\n\\n.tc-chooser-item svg,\\n.tc-chooser-item img{\\n\\tmax-width: 1em;\\n\\tmax-height: 1em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-language-chooser .tc-image-button img {\\n\\tmax-width: 2em;\\n\\tmax-height: 1em;\\n\\twidth: auto;\\n\\theight: auto;\\n\\tvertical-align: -0.15em;\\n}\\n\\n/*\\n** Palette swatches\\n*/\\n\\n.tc-swatches-horiz {\\n}\\n\\n.tc-swatches-horiz .tc-swatch {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-swatch {\\n\\twidth: 2em;\\n\\theight: 2em;\\n\\tmargin: 0.4em;\\n\\tborder: 1px solid #888;\\n}\\n\\ninput.tc-palette-manager-colour-input {\\n\\twidth: 100%;\\n\\tpadding: 0;\\n}\\n\\n/*\\n** Table of contents\\n*/\\n\\n.tc-sidebar-lists .tc-table-of-contents {\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-table-of-contents button,\\n.tc-table-of-contents .toc-item-muted {\\n\\tcolor: <<colour sidebar-foreground>>;\\n}\\n\\n.tc-table-of-contents svg {\\n\\twidth: 0.7em;\\n\\theight: 0.7em;\\n\\tvertical-align: middle;\\n\\tfill: <<colour sidebar-foreground>>;\\n}\\n\\n.tc-table-of-contents ol {\\n\\tlist-style-type: none;\\n\\tpadding-left: 0;\\n}\\n\\n.tc-table-of-contents ol ol {\\n\\tpadding-left: 1em;\\n}\\n\\n.tc-table-of-contents li {\\n\\tfont-size: 1.0em;\\n\\tfont-weight: bold;\\n}\\n\\n.tc-table-of-contents li a {\\n\\tfont-weight: bold;\\n}\\n\\n.tc-table-of-contents li li {\\n\\tfont-size: 0.95em;\\n\\tfont-weight: normal;\\n\\tline-height: 1.4;\\n}\\n\\n.tc-table-of-contents li li a {\\n\\tfont-weight: normal;\\n}\\n\\n.tc-table-of-contents li li li {\\n\\tfont-size: 0.95em;\\n\\tfont-weight: normal;\\n\\tline-height: 1.5;\\n}\\n\\n.tc-table-of-contents li li li li {\\n\\tfont-size: 0.95em;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-tabbed-table-of-contents {\\n\\tdisplay: -webkit-flex;\\n\\tdisplay: flex;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents {\\n\\tz-index: 100;\\n\\tdisplay: inline-block;\\n\\tpadding-left: 1em;\\n\\tmax-width: 50%;\\n\\t-webkit-flex: 0 0 auto;\\n\\tflex: 0 0 auto;\\n\\tbackground: <<colour tab-background>>;\\n\\tborder-left: 1px solid <<colour tab-border>>;\\n\\tborder-top: 1px solid <<colour tab-border>>;\\n\\tborder-bottom: 1px solid <<colour tab-border>>;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a,\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {\\n\\tdisplay: block;\\n\\tpadding: 0.12em 1em 0.12em 0.25em;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a {\\n\\tborder-top: 1px solid <<colour tab-background>>;\\n\\tborder-left: 1px solid <<colour tab-background>>;\\n\\tborder-bottom: 1px solid <<colour tab-background>>;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a:hover {\\n\\ttext-decoration: none;\\n\\tborder-top: 1px solid <<colour tab-border>>;\\n\\tborder-left: 1px solid <<colour tab-border>>;\\n\\tborder-bottom: 1px solid <<colour tab-border>>;\\n\\tbackground: <<colour tab-border>>;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {\\n\\tborder-top: 1px solid <<colour tab-border>>;\\n\\tborder-left: 1px solid <<colour tab-border>>;\\n\\tborder-bottom: 1px solid <<colour tab-border>>;\\n\\tbackground: <<colour background>>;\\n\\tmargin-right: -1px;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a:hover {\\n\\ttext-decoration: none;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-tabbed-table-of-contents-content {\\n\\tdisplay: inline-block;\\n\\tvertical-align: top;\\n\\tpadding-left: 1.5em;\\n\\tpadding-right: 1.5em;\\n\\tborder: 1px solid <<colour tab-border>>;\\n\\t-webkit-flex: 1 0 50%;\\n\\tflex: 1 0 50%;\\n}\\n\\n/*\\n** Dirty indicator\\n*/\\n\\nhtml body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {\\n\\tvisibility: visible;\\n}\\n\\nhtml body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {\\n\\tvisibility: hidden;\\n}\\n\\nhtml body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {\\n\\tvisibility: hidden;\\n}\\n\\nhtml body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {\\n\\tvisibility: visible;\\n}\\n\\nhtml body.tc-dirty span.tc-dirty-indicator, html body.tc-dirty span.tc-dirty-indicator svg {\\n\\tfill: <<colour dirty-indicator>>;\\n\\tcolor: <<colour dirty-indicator>>;\\n}\\n\\n/*\\n** File inputs\\n*/\\n\\n.tc-file-input-wrapper {\\n\\tposition: relative;\\n\\toverflow: hidden;\\n\\tdisplay: inline-block;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-file-input-wrapper input[type=file] {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tfont-size: 999px;\\n\\tmax-width: 100%;\\n\\tmax-height: 100%;\\n\\tfilter: alpha(opacity=0);\\n\\topacity: 0;\\n\\toutline: none;\\n\\tbackground: white;\\n\\tcursor: pointer;\\n\\tdisplay: inline-block;\\n}\\n\\n::-webkit-file-upload-button {\\n\\tcursor:pointer;\\n}\\n\\n/*\\n** Thumbnail macros\\n*/\\n\\n.tc-thumbnail-wrapper {\\n\\tposition: relative;\\n\\tdisplay: inline-block;\\n\\tmargin: 6px;\\n\\tvertical-align: top;\\n}\\n\\n.tc-thumbnail-right-wrapper {\\n\\tfloat:right;\\n\\tmargin: 0.5em 0 0.5em 0.5em;\\n}\\n\\n.tc-thumbnail-image {\\n\\ttext-align: center;\\n\\toverflow: hidden;\\n\\tborder-radius: 3px;\\n}\\n\\n.tc-thumbnail-image svg,\\n.tc-thumbnail-image img {\\n\\tfilter: alpha(opacity=1);\\n\\topacity: 1;\\n\\tmin-width: 100%;\\n\\tmin-height: 100%;\\n\\tmax-width: 100%;\\n}\\n\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-image svg,\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-image img {\\n\\tfilter: alpha(opacity=0.8);\\n\\topacity: 0.8;\\n}\\n\\n.tc-thumbnail-background {\\n\\tposition: absolute;\\n\\tborder-radius: 3px;\\n}\\n\\n.tc-thumbnail-icon svg,\\n.tc-thumbnail-icon img {\\n\\twidth: 3em;\\n\\theight: 3em;\\n\\t<<filter \\\"drop-shadow(2px 2px 4px rgba(0,0,0,0.3))\\\">>\\n}\\n\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-icon svg,\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-icon img {\\n\\tfill: #fff;\\n\\t<<filter \\\"drop-shadow(3px 3px 4px rgba(0,0,0,0.6))\\\">>\\n}\\n\\n.tc-thumbnail-icon {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tdisplay: -webkit-flex;\\n\\t-webkit-align-items: center;\\n\\t-webkit-justify-content: center;\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\tjustify-content: center;\\n}\\n\\n.tc-thumbnail-caption {\\n\\tposition: absolute;\\n\\tbackground-color: #777;\\n\\tcolor: #fff;\\n\\ttext-align: center;\\n\\tbottom: 0;\\n\\twidth: 100%;\\n\\tfilter: alpha(opacity=0.9);\\n\\topacity: 0.9;\\n\\tline-height: 1.4;\\n\\tborder-bottom-left-radius: 3px;\\n\\tborder-bottom-right-radius: 3px;\\n}\\n\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-caption {\\n\\tfilter: alpha(opacity=1);\\n\\topacity: 1;\\n}\\n\\n/*\\n** Diffs\\n*/\\n\\n.tc-diff-equal {\\n\\tbackground-color: <<colour diff-equal-background>>;\\n\\tcolor: <<colour diff-equal-foreground>>;\\n}\\n\\n.tc-diff-insert {\\n\\tbackground-color: <<colour diff-insert-background>>;\\n\\tcolor: <<colour diff-insert-foreground>>;\\n}\\n\\n.tc-diff-delete {\\n\\tbackground-color: <<colour diff-delete-background>>;\\n\\tcolor: <<colour diff-delete-foreground>>;\\n}\\n\\n.tc-diff-invisible {\\n\\tbackground-color: <<colour diff-invisible-background>>;\\n\\tcolor: <<colour diff-invisible-foreground>>;\\n}\\n\\n.tc-diff-tiddlers th {\\n\\ttext-align: right;\\n\\tbackground: <<colour background>>;\\n\\tfont-weight: normal;\\n\\tfont-style: italic;\\n}\\n\\n.tc-diff-tiddlers pre {\\n\\tmargin: 0;\\n\\tpadding: 0;\\n\\tborder: none;\\n\\tbackground: none;\\n}\\n\\n/*\\n** Errors\\n*/\\n\\n.tc-error {\\n\\tbackground: #f00;\\n\\tcolor: #fff;\\n}\\n\\n/*\\n** Tree macro\\n*/\\n\\n.tc-tree div {\\n\\tpadding-left: 14px;\\n}\\n\\n.tc-tree ol {\\n\\tlist-style-type: none;\\n\\tpadding-left: 0;\\n\\tmargin-top: 0;\\n}\\n\\n.tc-tree ol ol {\\n\\tpadding-left: 1em;\\n}\\n\\n.tc-tree button {\\n\\tcolor: #acacac;\\n}\\n\\n.tc-tree svg {\\n\\tfill: #acacac;\\n}\\n\\n.tc-tree span svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: baseline;\\n}\\n\\n.tc-tree li span {\\n\\tcolor: lightgray;\\n}\\n\\nselect {\\n\\tcolor: <<colour select-tag-foreground>>;\\n\\tbackground: <<colour select-tag-background>>;\\n}\\n\\n/*\\n** Translink macro\\n*/\\n\\n.tc-translink {\\n\\tbackground-color: <<colour pre-background>>;\\n\\tborder: 1px solid <<colour pre-border>>;\\n\\tpadding: 0 3px;\\n\\tborder-radius: 3px;\\n}\\n\\ndiv.tc-translink > div {\\n\\tmargin: 1em;\\n}\\n\\ndiv.tc-translink > div > a:first-child > h1 {\\n\\tfont-size: 1.2em;\\n\\tfont-weight: bold;\\n}\\n\\nspan.tc-translink > a:first-child {\\n\\tfont-weight: bold;\\n}\\n\\n/*\\n** Classes for displaying globals\\n*/\\n\\n.tc-global-tiddler-body {\\n\\tpadding: 0.25em;\\n\\tborder: 1px solid <<colour foreground>>;\\n\\tbackground-color: <<colour muted-foreground>>;\\n\\tborder-radius: 3px;\\n}\\n\\n.tc-global-tiddler-body-heading {\\n\\tmargin: 0 0 0.25em 0;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-global-tiddler-body-type {\\n\\tmargin: 0 0 0.25em 0;\\n\\tborder-bottom: 1px solid <<colour foreground>>;\\n}\\n\\n.tc-global-tiddler-body-details {\\n\\tbackground-color: <<colour background>>;\\n}\\n\\n.tc-global-tiddler-body pre {\\n\\tmargin: 0;\\n\\tborder: 1px solid <<colour foreground>>;\\n}\\n\\n/*\\n** Utility classes for SVG icons\\n*/\\n\\n.tc-fill-background {\\n\\tfill: <<colour background>>;\\n}\\n\\n.tc-network-activity-background {\\n\\tfill: <<colour network-activity-foreground>>;\\n}\\n\\n/*\\n** Test Cases\\n*/\\n\\n.tc-test-case-wrapper {\\n\\tborder: 1px solid <<colour foreground>>;\\n\\tbackground-color: <<colour muted-foreground>>;\\n\\tborder-radius: 6px;\\n}\\n\\n.tc-test-case-wrapper {\\n\\tbackground-color: <<colour testcase-accent-level-1>>;\\n}\\n\\n.tc-test-case-wrapper .tc-test-case-wrapper {\\n\\tbackground-color: <<colour testcase-accent-level-2>>;\\n}\\n\\n.tc-test-case-wrapper .tc-test-case-wrapper .tc-test-case-wrapper {\\n\\tbackground-color: <<colour testcase-accent-level-3>>;\\n}\\n\\n.tc-test-case-header {\\n\\tfont-weight: normal;\\n\\tmargin: 0.5em 0;\\n\\tpadding: 0 0.5em;\\n}\\n\\n.tc-test-case-divider {\\n\\tx-background-color: <<colour muted-foreground>>;\\n}\\n\\n.tc-test-case-result-icon {\\n\\tfill: #fff;\\n\\tpadding: 0.25em;\\n\\tdisplay: inline-block;\\n\\tline-height: 0;\\n\\tborder-radius: 1em;\\n\\tvertical-align: text-bottom;\\n\\tmargin-right: 0.25em;\\n}\\n\\n.tc-test-case-result-icon-pass {\\n\\tbackground-color: green;\\n}\\n\\n.tc-test-case-result-icon-fail {\\n\\tbackground-color: red;\\n}\\n\\n.tc-test-case-result-icon svg {\\n\\twidth: 0.5em;\\n\\theight: 0.5em;\\n}\\n\\n.tc-test-case-header > h2 {\\n\\tbackground: <<colour background>>;\\n\\tborder-radius: 4px;\\n\\tpadding: 0.25em;\\n}\\n\\n.tc-test-case-header > h2,\\n.tc-test-case-source > pre {\\n\\tmargin: 0;\\n}\\n\\n.tc-test-case-header > h2 a.tc-tiddlylink-missing {\\n\\tfont-style: normal;\\n}\\n\\n.tc-test-case-toolbar {\\n\\tfloat: right;\\n}\\n\\n.tc-test-case-toolbar svg {\\n\\tfill: <<colour tiddler-controls-foreground>>;\\n}\\n\\n.tc-test-case-toolbar .tc-drop-down {\\n\\tfont-size: 0.8em;\\n}\\n\\n.tc-test-case-result-fail {\\n\\tborder: 1px solid <<colour foreground>>;\\n\\tbackground-color: <<colour background>>;\\n\\tborder-radius: 4px;\\n\\tmargin: 0 0.5em;\\n\\tpadding: 0;\\n}\\n\\n.tc-test-case-result-fail-header {\\n\\tbackground: <<colour diff-delete-background>>;\\n\\tcolor: <<colour diff-delete-foreground>>;\\n\\tborder-top-left-radius: 4px;\\n\\tborder-top-right-radius: 4px;\\n\\tpadding: 4px;\\n}\\n\\n.tc-test-case-result-fail-body {\\n\\tpadding: 4px;\\n}\\n\\n.tc-test-case-source > pre {\\n\\theight: 100%;\\n}\\n\\n.tc-test-case-narrative {\\n\\tpadding: 0.5em;\\n}\\n\\n.tc-test-case-panes {\\n\\tdisplay: flex;\\n\\talign-items: stretch;\\n\\tflex-wrap: wrap;\\n\\tpadding: 0.5em;\\n\\tborder-bottom-left-radius: 6px;\\n\\tborder-bottom-right-radius: 6px;\\n}\\n\\n.tc-test-case-source {\\n\\tflex: 1 0 49%;\\n\\tmin-width: 250px;\\n}\\n\\n.tc-test-case-source .tc-tab-content {\\n\\tbackground: inherit;\\n\\tmargin: 0;\\n}\\n\\n.tc-test-case-source .tc-tab-content .tc-field-table {\\n\\tbackground: <<colour background>>;\\n}\\n\\n.tc-test-case-source .tc-field-table {\\n\\twidth: 100%;\\n}\\n\\n.tc-test-case-source table.tc-field-table {\\n\\tmargin: 0;\\n}\\n\\n.tc-test-case-source .tc-tiddler-frame .tc-edit-texteditor {\\n\\tmargin: 0;\\n}\\n\\n.tc-test-case-divider {\\n\\tflex: 0 0 1.5%;\\n}\\n\\n.tc-test-case-source .tc-tab-buttons {\\n\\tpadding-top: 0;\\n}\\n\\n.tc-test-case-footer-toolbar {\\n\\tdisplay: flex;\\n\\tjustify-content: flex-end;\\n}\\n\\n.tc-test-case-output {\\n\\tbox-shadow: inset 2px 2px 10px 0px <<colour muted-foreground>>;\\n\\tbackground: <<colour background>>;\\n\\tborder-radius: 4px;\\n\\tborder: 1px solid <<colour muted-foreground>>;\\n\\tflex: 1 0 49%;\\n\\tmin-width: 250px;\\n\\tpadding: 0.25em 1em;\\n}\\n\\n/*\\n** Flexbox utility classes\\n*/\\n\\n.tc-flex {\\n\\tdisplay: -webkit-flex;\\n\\tdisplay: flex;\\n}\\n\\n.tc-flex-column {\\n\\tflex-direction: column;\\n}\\n\\n.tc-flex-row {\\n\\tflex-direction: row;\\n}\\n\\n.tc-flex-grow-1 {\\n\\tflex-grow: 1;\\n}\\n\\n.tc-flex-grow-2 {\\n\\tflex-grow: 2;\\n}\\n\\n/*\\n** Other utility classes\\n*/\\n\\n/* Horizontal gaps */\\n\\n.tc-tiny-gap {\\n\\tmargin-left: .25em;\\n\\tmargin-right: .25em;\\n}\\n\\n.tc-tiny-gap-left {\\n\\tmargin-left: .25em;\\n}\\n\\n.tc-tiny-gap-right {\\n\\tmargin-right: .25em;\\n}\\n\\n.tc-small-gap {\\n\\tmargin-left: .5em;\\n\\tmargin-right: .5em;\\n}\\n\\n.tc-small-gap-left {\\n\\tmargin-left: .5em;\\n}\\n\\n.tc-small-gap-right {\\n\\tmargin-right: .5em;\\n}\\n\\n.tc-big-gap {\\n\\tmargin-left: 1em;\\n\\tmargin-right: 1em;\\n}\\n\\n.tc-big-gap-left {\\n\\tmargin-left: 1em;\\n}\\n\\n.tc-big-gap-right {\\n\\tmargin-right: 1em;\\n}\\n\\n.tc-word-break {\\n\\tword-break: break-all;\\n}\\n\\n/* Vertical gaps */\\n\\n.tc-tiny-v-gap-bottom {\\n\\tmargin-bottom: 3px;\\n}\\n\\n\"},\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\",\"text\":\"15px\"},\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\",\"text\":\"22px\"},\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\",\"text\":\"14px\"},\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\",\"text\":\"20px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\",\"text\":\"0px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storytop\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storytop\",\"text\":\"0px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storyright\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storyright\",\"text\":\"770px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\",\"text\":\"770px\"},\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\",\"text\":\"686px\"},\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\",\"text\":\"960px\"},\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\",\"text\":\"350px\"},\"$:/themes/tiddlywiki/vanilla/options/stickytitles\":{\"title\":\"$:/themes/tiddlywiki/vanilla/options/stickytitles\",\"text\":\"no\"},\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\":{\"title\":\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\",\"text\":\"fixed-fluid\"},\"$:/themes/tiddlywiki/vanilla/options/codewrapping\":{\"title\":\"$:/themes/tiddlywiki/vanilla/options/codewrapping\",\"text\":\"pre-wrap\"},\"$:/themes/tiddlywiki/vanilla/reset\":{\"title\":\"$:/themes/tiddlywiki/vanilla/reset\",\"type\":\"text/css\",\"text\":\"/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\\n\\n/*\\nDocument\\n========\\n*/\\n\\n/**\\nUse a better box model (opinionated).\\n*/\\n\\n*,\\n::before,\\n::after {\\n\\tbox-sizing: border-box;\\n}\\n\\nhtml {\\n\\t/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */\\n\\tfont-family:\\n\\t\\tsystem-ui,\\n\\t\\t'Segoe UI',\\n\\t\\tRoboto,\\n\\t\\tHelvetica,\\n\\t\\tArial,\\n\\t\\tsans-serif,\\n\\t\\t'Apple Color Emoji',\\n\\t\\t'Segoe UI Emoji';\\n\\tline-height: 1.15; /* 1. Correct the line height in all browsers. */\\n\\t-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */\\n\\t-moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */\\n\\ttab-size: 4; /* 3 */\\n}\\n\\n/*\\nSections\\n========\\n*/\\n\\nbody {\\n\\tmargin: 0; /* Remove the margin in all browsers. */\\n}\\n\\n/*\\nGrouping content\\n================\\n*/\\n\\n/**\\n1. Add the correct height in Firefox.\\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\\n*/\\n\\nhr {\\n\\theight: 0; /* 1 */\\n\\tcolor: inherit; /* 2 */\\n}\\n\\n/*\\nText-level semantics\\n====================\\n*/\\n\\n/**\\nAdd the correct text decoration in Chrome, Edge, and Safari.\\n*/\\n\\nabbr[title] {\\n\\ttext-decoration: underline dotted;\\n}\\n\\n/**\\nAdd the correct font weight in Edge and Safari.\\n*/\\n\\nb,\\nstrong {\\n\\tfont-weight: bolder;\\n}\\n\\n/**\\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\\n2. Correct the odd 'em' font sizing in all browsers.\\n*/\\n\\ncode,\\nkbd,\\nsamp,\\npre {\\n\\tfont-family:\\n\\t\\tui-monospace,\\n\\t\\tSFMono-Regular,\\n\\t\\tConsolas,\\n\\t\\t'Liberation Mono',\\n\\t\\tMenlo,\\n\\t\\tmonospace; /* 1 */\\n\\tfont-size: 1em; /* 2 */\\n}\\n\\n/**\\nAdd the correct font size in all browsers.\\n*/\\n\\nsmall {\\n\\tfont-size: 80%;\\n}\\n\\n/**\\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\\n*/\\n\\nsub,\\nsup {\\n\\tfont-size: 75%;\\n\\tline-height: 0;\\n\\tposition: relative;\\n\\tvertical-align: baseline;\\n}\\n\\nsub {\\n\\tbottom: -0.25em;\\n}\\n\\nsup {\\n\\ttop: -0.5em;\\n}\\n\\n/*\\nTabular data\\n============\\n*/\\n\\n/**\\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\\n2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\\n*/\\n\\ntable {\\n\\ttext-indent: 0; /* 1 */\\n\\tborder-color: inherit; /* 2 */\\n}\\n\\n/*\\nForms\\n=====\\n*/\\n\\n/**\\n1. Change the font styles in all browsers.\\n2. Remove the margin in Firefox and Safari.\\n*/\\n\\nbutton,\\ninput,\\noptgroup,\\nselect,\\ntextarea {\\n\\tfont-family: inherit; /* 1 */\\n\\tfont-size: 100%; /* 1 */\\n\\tline-height: 1.15; /* 1 */\\n\\tmargin: 0; /* 2 */\\n}\\n\\n/**\\nRemove the inheritance of text transform in Edge and Firefox.\\n*/\\n\\nbutton,\\nselect {\\n\\ttext-transform: none;\\n}\\n\\n/**\\nCorrect the inability to style clickable types in iOS and Safari.\\n*/\\n\\nbutton,\\n[type='button'],\\n[type='reset'],\\n[type='submit'] {\\n\\t-webkit-appearance: button;\\n}\\n\\n/**\\nRemove the inner border and padding in Firefox.\\n*/\\n\\n::-moz-focus-inner {\\n\\tborder-style: none;\\n\\tpadding: 0;\\n}\\n\\n/**\\nRestore the focus styles unset by the previous rule.\\n*/\\n\\n:-moz-focusring {\\n\\toutline: 1px dotted ButtonText;\\n}\\n\\n/**\\nRemove the additional ':invalid' styles in Firefox.\\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\\n*/\\n\\n:-moz-ui-invalid {\\n\\tbox-shadow: none;\\n}\\n\\n/**\\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\\n*/\\n\\nlegend {\\n\\tpadding: 0;\\n}\\n\\n/**\\nAdd the correct vertical alignment in Chrome and Firefox.\\n*/\\n\\nprogress {\\n\\tvertical-align: baseline;\\n}\\n\\n/**\\nCorrect the cursor style of increment and decrement buttons in Safari.\\n*/\\n\\n::-webkit-inner-spin-button,\\n::-webkit-outer-spin-button {\\n\\theight: auto;\\n}\\n\\n/**\\n1. Correct the odd appearance in Chrome and Safari.\\n2. Correct the outline style in Safari.\\n*/\\n\\n[type='search'] {\\n\\t-webkit-appearance: textfield; /* 1 */\\n\\toutline-offset: -2px; /* 2 */\\n}\\n\\n/**\\nRemove the inner padding in Chrome and Safari on macOS.\\n*/\\n\\n::-webkit-search-decoration {\\n\\t-webkit-appearance: none;\\n}\\n\\n/**\\n1. Correct the inability to style clickable types in iOS and Safari.\\n2. Change font properties to 'inherit' in Safari.\\n*/\\n\\n::-webkit-file-upload-button {\\n\\t-webkit-appearance: button; /* 1 */\\n\\tfont: inherit; /* 2 */\\n}\\n\\n/*\\nInteractive\\n===========\\n*/\\n\\n/*\\nAdd the correct display in Chrome and Safari.\\n*/\\n\\nsummary {\\n\\tdisplay: list-item;\\n}\\n\"},\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\",\"text\":\"-apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", \\\"Noto Sans\\\", sans-serif, Helvetica, Arial, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\"\"},\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\",\"text\":\"ui-monospace, \\\"SFMono-Regular\\\", \\\"SF Mono\\\", Menlo, Consolas, \\\"Liberation Mono\\\", monospace\"},\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\",\"text\":\"fixed\"},\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\",\"text\":\"auto\"},\"$:/themes/tiddlywiki/vanilla/sticky\":{\"title\":\"$:/themes/tiddlywiki/vanilla/sticky\",\"code-body\":\"yes\",\"text\":\"<$reveal state=\\\"$:/themes/tiddlywiki/vanilla/options/stickytitles\\\" type=\\\"match\\\" text=\\\"yes\\\">\\n``\\n.tc-tiddler-title {\\n\\tposition: -webkit-sticky;\\n\\tposition: -moz-sticky;\\n\\tposition: -o-sticky;\\n\\tposition: -ms-sticky;\\n\\tposition: sticky;\\n\\ttop: 0px;\\n\\tbackground: ``<<colour tiddler-background>>``;\\n\\tz-index: 500;\\n}\\n\\n``\\n<$list filter=\\\"[range[100]]\\\">\\n`.tc-story-river .tc-tiddler-frame:nth-child(100n+`<$text text=<<currentTiddler>>/>`) {\\nz-index: `<$text text={{{ [[200]subtract<currentTiddler>] }}}/>`;\\n}\\n`\\n</$list>\\n</$reveal>\\n\"}}}"},{"created":"20250521153114683","text":"\\define custom-background-datauri()\n<$set name=\"background\" value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}>\n<$list filter=\"[<background>is[image]]\">\n`background: url(`\n<$list filter=\"[<background>!has[_canonical_uri]]\">\n`\"`<$macrocall $name=\"datauri\" title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/>`\"`\n</$list>\n<$list filter=\"[<background>has[_canonical_uri]]\">\n`\"`<$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field=\"_canonical_uri\"/>`\"`\n</$list>\n`) center center;`\n`background-attachment: `{{$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment}}`;\n-webkit-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\n-moz-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\n-o-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\nbackground-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;`\n</$list>\n</$set>\n\\end\n\n\\define sidebarbreakpoint()\n<$text text={{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}/>\n\\end\n\n\\define sidebarbreakpoint-minus-one()\n<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>\n\\end\n\n\\define if-fluid-fixed(text,hiddenSidebarText)\n<$reveal state=\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\" type=\"match\" text=\"fluid-fixed\">\n$text$\n<$reveal state=\"$:/state/sidebar\" type=\"nomatch\" text=\"yes\" default=\"yes\">\n$hiddenSidebarText$\n</$reveal>\n</$reveal>\n\\end\n\n\\define if-editor-height-fixed(then,else)\n<$reveal state=\"$:/config/TextEditor/EditorHeight/Mode\" type=\"match\" text=\"fixed\">\n$then$\n</$reveal>\n<$reveal state=\"$:/config/TextEditor/EditorHeight/Mode\" type=\"match\" text=\"auto\">\n$else$\n</$reveal>\n\\end\n\n\\define set-type-selector-min-width()\n<$set name=\"typeLength\" value={{{ [all[shadows+tiddlers]prefix[$:/language/Docs/Types/]get[name]length[]maxall[]] }}}>\n\n\t.tc-type-selector-dropdown-wrapper {\n\t\tmin-width: calc(<<typeLength>>ch + 4em);\n\t}\n\n\t.tc-type-selector-dropdown-wrapper input.tc-edit-typeeditor {\n\t\tmin-width: <<typeLength>>ch;\n\t}\n\n</$set>\n\\end\n\n\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock\n\n/*\n** Start with the normalize CSS reset, and then belay some of its effects\n*/\n\n{{$:/themes/tiddlywiki/vanilla/reset}}\n\ninput[type=\"search\"] {\n\toutline-offset: initial;\n}\n\nbutton:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {\n\toutline: 2px solid <<colour primary>>;\n\toutline-offset: -2px;\n\tborder-radius: 0.25em;\n}\n\nbutton:-moz-focusring, input:-moz-focusring, textarea:-moz-focusring, select:-moz-focusring {\n\toutline: 2px solid <<colour primary>>;\n\toutline-offset: -2px;\n\tborder-radius: 0.25em;\n}\n\n/*\n** Button default styles. Makes them look consistent for all browsers\n*/\nhtml button {\n\tline-height: 1.2;\n\tcolor: <<colour button-foreground>>;\n\tfill: <<colour button-foreground>>;\n\tbackground: <<colour button-background>>;\n\tborder-color: <<colour button-border>>;\n}\n\nbutton:disabled svg {\n\tfill: <<colour muted-foreground>>;\n}\n\n/*\n** Basic element styles\n*/\n\nhtml, body {\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};\n\ttext-rendering: optimizeLegibility; /* Enables kerning and ligatures etc. */\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\nhtml:-webkit-full-screen {\n\tbackground-color: <<colour page-background>>;\n}\n\nbody.tc-body {\n\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};\n\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};\n\tword-wrap: break-word;\n\t<<custom-background-datauri>>\n\tcolor: <<colour foreground>>;\n\tbackground-color: <<colour page-background>>;\n\tfill: <<colour foreground>>;\n}\n\n<<if-background-attachment \"\"\"\n\nbody.tc-body {\n\tbackground-color: transparent;\n}\n\n\"\"\">>\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n\tfont-size: 2em;\n}\n\nh1, h2, h3, h4, h5, h6 {\n\tline-height: 1.2;\n\tfont-weight: normal;\n}\n\npre {\n\tdisplay: block;\n\tmargin-top: 1em;\n\tmargin-bottom: 1em;\n\tword-break: normal;\n\tword-wrap: break-word;\n\twhite-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\n\tbackground-color: <<colour pre-background>>;\n\tborder: 1px solid <<colour pre-border>>;\n\tpadding: 0 3px 2px;\n\tborder-radius: 3px;\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\n}\n\ncode {\n\tcolor: <<colour code-foreground>>;\n\tbackground-color: <<colour code-background>>;\n\tborder: 1px solid <<colour code-border>>;\n\twhite-space: pre-wrap;\n\tpadding: 0 3px 2px;\n\tborder-radius: 3px;\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\n}\n\nblockquote {\n\tborder-left: 5px solid <<colour blockquote-bar>>;\n\tmargin-left: 25px;\n\tpadding-left: 10px;\n\tquotes: \"\\201C\"\"\\201D\"\"\\2018\"\"\\2019\";\n}\n\nblockquote > div {\n\tmargin-top: 1em;\n\tmargin-bottom: 1em;\n}\n\nblockquote.tc-big-quote {\n\tfont-family: Georgia, serif;\n\tposition: relative;\n\tbackground: <<colour pre-background>>;\n\tborder-left: none;\n\tmargin-left: 50px;\n\tmargin-right: 50px;\n\tpadding: 10px;\n\tborder-radius: 8px;\n}\n\nblockquote.tc-big-quote cite:before {\n\tcontent: \"\\2014 \\2009\";\n}\n\nblockquote.tc-big-quote:before {\n\tfont-family: Georgia, serif;\n\tcolor: <<colour blockquote-bar>>;\n\tcontent: open-quote;\n\tfont-size: 8em;\n\tline-height: 0.1em;\n\tmargin-right: 0.25em;\n\tvertical-align: -0.4em;\n\tposition: absolute;\n\tleft: -50px;\n\ttop: 42px;\n}\n\nblockquote.tc-big-quote:after {\n\tfont-family: Georgia, serif;\n\tcolor: <<colour blockquote-bar>>;\n\tcontent: close-quote;\n\tfont-size: 8em;\n\tline-height: 0.1em;\n\tmargin-right: 0.25em;\n\tvertical-align: -0.4em;\n\tposition: absolute;\n\tright: -80px;\n\tbottom: -20px;\n}\n\ndl dt {\n\tfont-weight: bold;\n\tmargin-top: 6px;\n}\n\ntextarea,\ninput[type=text],\ninput[type=search],\ninput[type=number],\ninput[type=password],\ninput[type=email],\ninput[type=tel],\ninput[type=url],\ninput[type=\"\"],\ninput:not([type]) {\n\tcolor: <<colour foreground>>;\n\tbackground: <<colour background>>;\n}\n\ninput[type=\"checkbox\"] {\n\tvertical-align: middle;\n}\n\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-results-button,\ninput[type=\"search\"]::-webkit-search-results-decoration {\n\t-webkit-appearance:none;\n}\n\n.tc-muted {\n\tcolor: <<colour muted-foreground>>;\n}\n\nsvg.tc-image-button {\n\tpadding: 0px 1px 1px 0px;\n}\n\n.tc-icon-wrapper > svg {\n\twidth: 1em;\n\theight: 1em;\n}\n\nkbd {\n\tdisplay: inline-block;\n\tpadding: 3px 5px;\n\tfont-size: 0.8em;\n\tline-height: 1.2;\n\tcolor: <<colour foreground>>;\n\tvertical-align: middle;\n\tbackground-color: <<colour background>>;\n\tborder: solid 1px <<colour muted-foreground>>;\n\tborder-bottom-color: <<colour muted-foreground>>;\n\tborder-radius: 3px;\n\tbox-shadow: inset 0 -1px 0 <<colour muted-foreground>>;\n}\n\n::selection {\n\tbackground-color: Highlight;\n\tcolor: HighlightText;\n\tbackground-color: <<colour selection-background>>;\n\tcolor: <<colour selection-foreground>>;\n}\n\n.tc-inline-style {\n\tbackground: <<colour highlight-background>>;\n\tcolor: <<colour highlight-foreground>>;\n}\n\n/* Markdown uses mark element to highlight */\n\nmark {\n\tbackground: <<colour highlight-background>>;\n\tcolor: <<colour highlight-foreground>>;\n}\n\nform.tc-form-inline {\n\tdisplay: inline;\n}\n\n/*\nMarkdown likes putting code elements inside pre elements\n*/\npre > code {\n\tdisplay: block;\n\tpadding: 0.5em;\n\tborder: none;\n\twhite-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\n\tbackground-color: inherit;\n\tcolor: inherit;\n\toverflow-x: auto;\n}\n\n/*\nTable defaults\n*/\n\ntable {\n\tborder: 1px solid <<colour table-border>>;\n\twidth: auto;\n\tmax-width: 100%;\n\tcaption-side: bottom;\n\tmargin-top: 1em;\n\tmargin-bottom: 1em;\n\t/* next 2 elements needed, since normalize 8.0.1 */\n\tborder-collapse: collapse;\n\tborder-spacing: 0;\n}\n\ntable th, table td {\n\tpadding: 0 7px 0 7px;\n\tborder-top: 1px solid <<colour table-border>>;\n\tborder-left: 1px solid <<colour table-border>>;\n}\n\ntable thead tr td, table th {\n\tbackground-color: <<colour table-header-background>>;\n\tfont-weight: bold;\n}\n\ntable tfoot tr td {\n\tbackground-color: <<colour table-footer-background>>;\n}\n\n/*\nTable utility classes\n*/\n\n/* Remove borders from table as used in eg: GettingStarted*/\n.tc-table-no-border,\n.tc-table-no-border th,\n.tc-table-no-border td {\n\tborder: initial;\n}\n\n/* First column in table width will fit to text.*/\n/* This rule makes most sense with tc-first-link-nowrap*/\n.tc-first-col-min-width td:nth-child(1) {\n\twidth: 1%;\n}\n\n/*\n** Utility classes work well with tables but also for other containers\n*/\n\n/* First link A element will not wrap */\n.tc-first-link-nowrap:first-of-type a {\n\twhite-space: nowrap;\n}\n\n/* Move the table to the center of the container */\n.tc-center {\n\tmargin-left: auto;\n\tmargin-right: auto;\n}\n\n.tc-max-width {\n\twidth: 100%;\n}\n\n.tc-max-width-80 {\n\tmax-width: 80%;\n}\n\n/* Allow input and textarea to look like the ControlPanel inputs */\n.tc-edit-max-width input,\n.tc-edit-max-width textarea {\n\twidth: 100%;\n\tpadding: 3px;\n}\n\n/*\nCSV parser plugin\n*/\n\n.tc-csv-table {\n\twhite-space: nowrap;\n}\n\n.tc-csv-table th,\n.tc-csv-table td {\n\twhite-space: pre-line;\n}\n\n/*\nTiddler frame in story river\n*/\n\n.tc-tiddler-frame img,\n.tc-tiddler-frame svg,\n.tc-tiddler-frame canvas,\n.tc-tiddler-frame embed,\n.tc-tiddler-frame iframe {\n\tmax-width: 100%;\n}\n\n.tc-tiddler-body > embed,\n.tc-tiddler-body > iframe {\n\twidth: 100%;\n\theight: 600px;\n}\n\n:root {\n\tcolor-scheme: {{{ [{$:/palette}get[color-scheme]] ~light }}};\n}\n\n/*\n** Links\n*/\n\nbutton.tc-tiddlylink,\na.tc-tiddlylink {\n\ttext-decoration: none;\n\tfont-weight: 500;\n\tcolor: <<colour tiddler-link-foreground>>;\n\t-webkit-user-select: inherit; /* Otherwise the draggable attribute makes links impossible to select */\n\t-webkit-touch-callout: none; /* Prevents long presses from bringing up a link preview */\n}\n\n.tc-sidebar-lists a.tc-tiddlylink {\n\tcolor: <<colour sidebar-tiddler-link-foreground>>;\n}\n\n.tc-sidebar-lists a.tc-tiddlylink:hover {\n\tcolor: <<colour sidebar-tiddler-link-foreground-hover>>;\n}\n\nbutton.tc-tiddlylink:hover,\na.tc-tiddlylink:hover {\n\ttext-decoration: underline;\n}\n\na.tc-tiddlylink-resolves {\n}\n\na.tc-tiddlylink-shadow {\n\tfont-weight: bold;\n}\n\na.tc-tiddlylink-shadow.tc-tiddlylink-resolves {\n\tfont-weight: normal;\n}\n\na.tc-tiddlylink-missing {\n\tfont-style: italic;\n}\n\na.tc-tiddlylink-external {\n\ttext-decoration: underline;\n\tcolor: <<colour external-link-foreground>>;\n\tbackground-color: <<colour external-link-background>>;\n}\n\na.tc-tiddlylink-external:visited {\n\tcolor: <<colour external-link-foreground-visited>>;\n\tbackground-color: <<colour external-link-background-visited>>;\n}\n\na.tc-tiddlylink-external:hover {\n\tcolor: <<colour external-link-foreground-hover>>;\n\tbackground-color: <<colour external-link-background-hover>>;\n}\n\n.tc-drop-down a.tc-tiddlylink:hover {\n\tcolor: <<colour tiddler-link-background>>;\n}\n\n/*\n** Drag and drop styles\n*/\n\n.tc-tiddler-dragger {\n\tposition: relative;\n\tz-index: -10000;\n}\n\n.tc-tiddler-dragger-inner {\n\tposition: absolute;\n\ttop: -1000px;\n\tleft: -1000px;\n\tdisplay: inline-block;\n\tpadding: 8px 20px;\n\tfont-size: 16.9px;\n\tfont-weight: bold;\n\tline-height: 20px;\n\tcolor: <<colour dragger-foreground>>;\n\ttext-shadow: 0 1px 0 rgba(0, 0, 0, 1);\n\twhite-space: nowrap;\n\tvertical-align: baseline;\n\tbackground-color: <<colour dragger-background>>;\n\tborder-radius: 20px;\n}\n\n.tc-tiddler-dragger-cover {\n\tposition: absolute;\n\tbackground-color: <<colour page-background>>;\n}\n\n.tc-page-container > .tc-dropzone {\n\tmin-height: 100vh;\n}\n\n.tc-dropzone {\n\tposition: relative;\n}\n\n.tc-dropzone.tc-dragover:before {\n\tz-index: 10000;\n\tdisplay: block;\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbackground: <<colour dropzone-background>>;\n\ttext-align: center;\n\tcontent: \"<<lingo DropMessage>>\";\n}\n\n.tc-droppable > .tc-droppable-placeholder {\n\tdisplay: none;\n}\n\n.tc-droppable.tc-dragover > .tc-droppable-placeholder {\n\tdisplay: block;\n\tborder: 2px dashed <<colour dropzone-background>>;\n}\n\n.tc-draggable {\n\tcursor: move;\n}\n\n.tc-sidebar-tab-open .tc-droppable-placeholder, .tc-tagged-draggable-list .tc-droppable-placeholder,\n.tc-links-draggable-list .tc-droppable-placeholder {\n\tline-height: 2em;\n\theight: 2em;\n}\n\n.tc-sidebar-tab-open-item {\n\tposition: relative;\n}\n\n.tc-sidebar-tab-open .tc-btn-invisible.tc-btn-mini svg {\n\tfont-size: 0.7em;\n\tfill: <<colour muted-foreground>>;\n}\n\n/*\n** Plugin reload warning\n*/\n\n.tc-plugin-reload-warning {\n\tz-index: 1000;\n\tdisplay: block;\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbackground: <<colour alert-background>>;\n\ttext-align: center;\n}\n\n/*\n** Buttons\n*/\n\nbutton svg, button img, label svg, label img {\n\tvertical-align: middle;\n}\n\n.tc-btn-invisible {\n\tpadding: 0;\n\tmargin: 0;\n\tbackground: none;\n\tborder: none;\n\tcursor: pointer;\n\tcolor: <<colour foreground>>;\n\tfill: <<colour foreground>>;\n}\n\nbutton:disabled.tc-btn-invisible {\n\tcursor: default;\n\tcolor: <<colour muted-foreground>>;\n}\n\n.tc-btn-boxed {\n\tfont-size: 0.6em;\n\tpadding: 0.2em;\n\tmargin: 1px;\n\tbackground: none;\n\tborder: 1px solid <<colour tiddler-controls-foreground>>;\n\tborder-radius: 0.25em;\n}\n\nhtml body.tc-body .tc-btn-boxed svg {\n\tfont-size: 1.6666em;\n}\n\n.tc-btn-boxed:hover {\n\tbackground: <<colour muted-foreground>>;\n\tcolor: <<colour background>>;\n}\n\nhtml body.tc-body .tc-btn-boxed:hover svg {\n\tfill: <<colour background>>;\n}\n\n.tc-btn-rounded {\n\tfont-size: 0.5em;\n\tline-height: 2;\n\tpadding: 0em 0.3em 0.2em 0.4em;\n\tmargin: 1px;\n\tborder: 1px solid <<colour muted-foreground>>;\n\tbackground: <<colour muted-foreground>>;\n\tcolor: <<colour background>>;\n\tborder-radius: 2em;\n}\n\nhtml body.tc-body .tc-btn-rounded svg {\n\tfont-size: 1.6666em;\n\tfill: <<colour background>>;\n}\n\n.tc-btn-rounded:hover {\n\tborder: 1px solid <<colour muted-foreground>>;\n\tbackground: <<colour background>>;\n\tcolor: <<colour muted-foreground>>;\n}\n\nhtml body.tc-body .tc-btn-rounded:hover svg {\n\tfill: <<colour muted-foreground>>;\n}\n\n.tc-btn-icon svg {\n\theight: 1em;\n\twidth: 1em;\n\tfill: <<colour muted-foreground>>;\n}\n\n\n.tc-btn-text {\n\tmargin-left: 7px;\n}\n\n/* used for documentation \"fake\" buttons */\n.tc-btn-standard {\n\tline-height: 1.8;\n\tcolor: #667;\n\tbackground-color: #e0e0e0;\n\tborder: 1px solid #888;\n\tpadding: 2px 1px 2px 1px;\n\tmargin: 1px 4px 1px 4px;\n}\n\n.tc-btn-big-green {\n\tdisplay: inline-block;\n\tpadding: 8px;\n\tmargin: 4px 8px 4px 8px;\n\tbackground: <<colour download-background>>;\n\tcolor: <<colour download-foreground>>;\n\tfill: <<colour download-foreground>>;\n\tborder: none;\n\tborder-radius: 2px;\n\tfont-size: 1.2em;\n\tline-height: 1.4em;\n\ttext-decoration: none;\n}\n\n.tc-btn-big-green svg,\n.tc-btn-big-green img {\n\theight: 2em;\n\twidth: 2em;\n\tvertical-align: middle;\n\tfill: <<colour download-foreground>>;\n}\n\n.tc-primary-btn {\n\tbackground: <<colour primary>>;\n}\n\n.tc-sidebar-lists input {\n\tcolor: <<colour foreground>>;\n}\n\n.tc-sidebar-lists button {\n\tcolor: <<colour sidebar-button-foreground>>;\n\tfill: <<colour sidebar-button-foreground>>;\n}\n\n.tc-sidebar-lists button.tc-btn-mini {\n\tcolor: <<colour sidebar-muted-foreground>>;\n}\n\n.tc-sidebar-lists button.tc-btn-mini:hover {\n\tcolor: <<colour sidebar-muted-foreground-hover>>;\n}\n\n.tc-sidebar-lists button small {\n\tcolor: <<colour foreground>>;\n}\n\nbutton svg.tc-image-button, button .tc-image-button img {\n\theight: 1em;\n\twidth: 1em;\n}\n\n.tc-unfold-banner {\n\tposition: absolute;\n\tpadding: 0;\n\tmargin: 0;\n\tbackground: none;\n\tborder: none;\n\twidth: 100%;\n\twidth: calc(100% + 2px);\n\tmargin-left: -43px;\n\ttext-align: center;\n\tborder-top: 2px solid <<colour tiddler-info-background>>;\n\tmargin-top: 4px;\n}\n\n.tc-unfold-banner:hover {\n\tbackground: <<colour tiddler-info-background>>;\n\tborder-top: 2px solid <<colour tiddler-info-border>>;\n}\n\n.tc-unfold-banner svg, .tc-fold-banner svg {\n\theight: 0.75em;\n\tfill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-unfold-banner:hover svg, .tc-fold-banner:hover svg {\n\tfill: <<colour tiddler-controls-foreground-hover>>;\n}\n\n.tc-fold-banner {\n\tposition: absolute;\n\tpadding: 0;\n\tmargin: 0;\n\tbackground: none;\n\tborder: none;\n\twidth: 23px;\n\ttext-align: center;\n\tmargin-left: -35px;\n\ttop: 6px;\n\tbottom: 6px;\n}\n\n.tc-fold-banner:hover {\n\tbackground: <<colour tiddler-info-background>>;\n}\n\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\n\n\t.tc-unfold-banner {\n\t\tposition: static;\n\t\twidth: calc(100% + 59px);\n\t}\n\n\t.tc-fold-banner {\n\t\twidth: 16px;\n\t\tmargin-left: -16px;\n\t\tfont-size: 0.75em;\n\t}\n\n}\n\n/*\n** Tags and missing tiddlers\n*/\n\n.tc-tag-list-item {\n\tposition: relative;\n\tdisplay: inline-block;\n}\n\n.tc-tags-wrapper {\n\tmargin: 4px 0 14px 0;\n}\n\n.tc-tags-wrapper .tc-tag-list-item {\n\tmargin-right: 7px;\n}\n\n.tc-missing-tiddler-label {\n\tfont-style: italic;\n\tfont-weight: normal;\n\tdisplay: inline-block;\n\tfont-size: 11.844px;\n\tline-height: 14px;\n\twhite-space: nowrap;\n\tvertical-align: baseline;\n}\n\n.tc-block-tags-dropdown > .tc-btn-invisible:hover {\n\tbackground-color: <<colour primary>>;\n}\n\nbutton.tc-tag-label, span.tc-tag-label {\n\tdisplay: inline-block;\n\tpadding: 0.16em 0.7em;\n\tfont-size: 0.9em;\n\tfont-weight: normal;\n\tline-height: 1.2em;\n\tcolor: <<colour tag-foreground>>;\n\twhite-space: break-spaces;\n\tvertical-align: baseline;\n\tbackground-color: <<colour tag-background>>;\n\tborder-radius: 1em;\n}\n\n.tc-sidebar-scrollable .tc-tag-label {\n\ttext-shadow: none;\n}\n\n.tc-untagged-separator {\n\tborder: 0;\n\theight: 1px;\n\tbackground: <<colour tab-divider>>;\n}\n\nbutton.tc-untagged-label {\n\tbackground-color: <<colour untagged-background>>;\n}\n\n.tc-tag-label svg, .tc-tag-label img {\n\theight: 1em;\n\twidth: 1em;\n\tmargin-right: 3px;\n\tmargin-bottom: 1px;\n\tvertical-align: bottom;\n}\n\n.tc-edit-tags button.tc-remove-tag-button svg {\n\tfont-size: 0.7em;\n\tvertical-align: middle;\n}\n\n.tc-tag-manager-table .tc-tag-label {\n}\n\n.tc-tag-manager-tag {\n\twidth: 100%;\n}\n\nbutton.tc-btn-invisible.tc-remove-tag-button {\n\toutline: none;\n}\n\n.tc-tag-button-selected,\n.tc-list-item-selected a.tc-tiddlylink, a.tc-list-item-selected {\n\tbackground-color: <<colour primary>>;\n\tcolor: <<colour tiddler-background>>;\n}\n\n/*\n** Page layout\n*/\n\n.tc-topbar {\n\tposition: fixed;\n\tz-index: 1200;\n}\n\n.tc-topbar-left {\n\tleft: 29px;\n\ttop: 5px;\n}\n\n.tc-topbar-right {\n\ttop: 5px;\n\tright: 29px;\n}\n\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\n\n\t.tc-topbar-right {\n\t\tright: 10px;\n\t}\n\n}\n\n.tc-topbar button {\n\tpadding: 8px;\n}\n\n.tc-topbar svg {\n\tfill: <<colour muted-foreground>>;\n}\n\n.tc-topbar button:hover svg {\n\tfill: <<colour foreground>>;\n}\n\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\n\n\t.tc-show-sidebar-btn svg.tc-image-chevron-left, .tc-hide-sidebar-btn svg.tc-image-chevron-right {\n\t\ttransform: rotate(-90deg);\n\t}\n\n}\n\n.tc-sidebar-header {\n\tcolor: <<colour sidebar-foreground>>;\n\tfill: <<colour sidebar-foreground>>;\n}\n\n.tc-sidebar-header .tc-title a.tc-tiddlylink-resolves {\n\tfont-weight: normal;\n}\n\n.tc-sidebar-header .tc-sidebar-lists p {\n\tmargin-top: 3px;\n\tmargin-bottom: 3px;\n}\n\n.tc-sidebar-header .tc-missing-tiddler-label {\n\tcolor: <<colour sidebar-foreground>>;\n}\n\n.tc-advanced-search input {\n\twidth: 60%;\n}\n\n.tc-search a svg {\n\twidth: 1.2em;\n\theight: 1.2em;\n\tvertical-align: middle;\n}\n\n.tc-page-controls {\n\tmargin-top: 14px;\n\tmargin-bottom: 14px;\n\tfont-size: 1.5em;\n}\n\n.tc-page-controls .tc-drop-down {\n\tfont-size: 1rem;\n}\n\n.tc-page-controls button {\n\tmargin-right: 0.5em;\n}\n\n.tc-page-controls a.tc-tiddlylink:hover {\n\ttext-decoration: none;\n}\n\n.tc-page-controls img {\n\twidth: 1em;\n}\n\n.tc-page-controls svg {\n\tfill: <<colour sidebar-controls-foreground>>;\n}\n\n.tc-page-controls button:hover svg, .tc-page-controls a:hover svg {\n\tfill: <<colour sidebar-controls-foreground-hover>>;\n}\n\n.tc-sidebar-lists .tc-menu-list-item {\n\twhite-space: nowrap;\n}\n\n.tc-menu-list-count {\n\tfont-weight: bold;\n}\n\n.tc-menu-list-subitem {\n\tpadding-left: 7px;\n}\n\n.tc-story-river {\n\tposition: relative;\n}\n\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\n\n\t.tc-sidebar-header {\n\t\tpadding: 14px;\n\t\tmin-height: 32px;\n\t\tmargin-top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\n\t\ttransition: min-height {{$:/config/AnimationDuration}}ms ease-in-out, padding-top {{$:/config/AnimationDuration}}ms ease-in-out, padding-bottom {{$:/config/AnimationDuration}}ms ease-in-out;\n\t}\n\n\t<<if-no-sidebar \"\"\"\n\n\t\t.tc-sidebar-header {\n\t\t\tmin-height: 0;\n\t\t\tpadding-top: 0;\n\t\t\tpadding-bottom: 0;\n\t\t}\n\n\t\"\"\">>\n\n\t.tc-story-river {\n\t\tposition: relative;\n\t\tpadding: 0;\n\t}\n}\n\n@media (min-width: <<sidebarbreakpoint>>) {\n\n\t.tc-message-box {\n\t\tmargin: 21px -21px 21px -21px;\n\t}\n\n\t.tc-sidebar-scrollable {\n\t\tposition: fixed;\n\t\ttop: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\n\t\tleft: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};\n\t\tbottom: 0;\n\t\tright: 0;\n\t\toverflow-y: auto;\n\t\toverflow-x: auto;\n\t\t-webkit-overflow-scrolling: touch;\n\t\tmargin: 0 0 0 -42px;\n\t\tpadding: 71px 0 28px 42px;\n\t}\n\n\thtml[dir=\"rtl\"] .tc-sidebar-scrollable {\n\t\tleft: auto;\n\t\tright: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};\n\t}\n\n\t.tc-story-river {\n\t\tposition: relative;\n\t\tleft: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};\n\t\ttop: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\n\t\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}};\n\t\tpadding: 42px 42px 42px 42px;\n\t}\n\n<<if-no-sidebar \"\n\n\t.tc-story-river {\n\t\twidth: calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});\n\t}\n\n\">>\n\n\t.tc-story-river.tc-static-story-river {\n\t\tmargin-right: 0;\n\t\tpadding-right: 42px;\n\t}\n\n}\n\n@media print {\n\n\tbody.tc-body {\n\t\tbackground-color: transparent;\n\t}\n\n\t.tc-sidebar-header, .tc-topbar {\n\t\tdisplay: none;\n\t}\n\n\t.tc-story-river {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\t.tc-story-river .tc-tiddler-frame {\n\t\tmargin: 0;\n\t\tborder: none;\n\t\tpadding: 0;\n\t}\n}\n\n/*\n** Tiddler styles\n*/\n\n.tc-tiddler-frame {\n\tposition: relative;\n\tmargin-bottom: 28px;\n\tbackground-color: <<colour tiddler-background>>;\n\tborder: 1px solid <<colour tiddler-border>>;\n}\n\n{{$:/themes/tiddlywiki/vanilla/sticky}}\n\n.tc-tiddler-info {\n\toverflow: hidden;\n\tpadding: 14px 42px 14px 42px;\n\tbackground-color: <<colour tiddler-info-background>>;\n\tborder-top: 1px solid <<colour tiddler-info-border>>;\n\tborder-bottom: 1px solid <<colour tiddler-info-border>>;\n}\n\n.tc-tiddler-info p {\n\tmargin-top: 3px;\n\tmargin-bottom: 3px;\n}\n\n.tc-tiddler-info .tc-tab-buttons button.tc-tab-selected {\n\tbackground-color: <<colour tiddler-info-tab-background>>;\n\tborder-bottom: 1px solid <<colour tiddler-info-tab-background>>;\n}\n\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\n\n\t.tc-tiddler-info {\n\t\tpadding: 14px 14px 14px 14px;\n\t}\n\n}\n\n.tc-view-field-table {\n\twidth: 100%;\n}\n\n.tc-view-field-name {\n\twidth: 1%; /* Makes this column be as narrow as possible */\n\twhite-space: nowrap;\n\tvertical-align: top;\n\ttext-align: right;\n\tfont-style: italic;\n\tfont-weight: normal;\n}\n\n.tc-view-field-value {\n\tword-break: break-all;\n}\n\n@media (max-width: <<sidebarbreakpoint-minus-one>>) {\n\t.tc-tiddler-frame {\n\t\tpadding: 14px 14px 14px 14px;\n\t\tmargin-bottom: .5em;\n\t}\n\n\t.tc-tiddler-info {\n\t\tmargin: 0 -14px 0 -14px;\n\t}\n}\n\n@media (min-width: <<sidebarbreakpoint>>) {\n\t.tc-tiddler-frame {\n\t\tpadding: 28px 42px 42px 42px;\n\t\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}};\n\t\tborder-radius: 2px;\n\t}\n\n<<if-no-sidebar \"\n\n\t.tc-tiddler-frame {\n\t\twidth: 100%;\n\t}\n\n\">>\n\n\t.tc-tiddler-info {\n\t\tmargin: 0 -42px 0 -42px;\n\t}\n}\n\n.tc-site-title,\n.tc-titlebar {\n\tfont-weight: normal;\n\tfont-size: 2.35em;\n\tline-height: 1.35em;\n\tcolor: <<colour tiddler-title-foreground>>;\n\tmargin: 0;\n}\n\n.tc-site-title {\n\tcolor: <<colour site-title-foreground>>;\n}\n\n.tc-tiddler-title-icon {\n\tvertical-align: middle;\n\tmargin-right: .1em;\n}\n\n.tc-tiddler-title-icon svg {\n\twidth: 0.9em;\n\theight: 0.9em;\n}\n\n.tc-system-title-prefix {\n\tcolor: <<colour muted-foreground>>;\n}\n\n.tc-tiddler-lazy-loading {\n\theight: 4px;\n\twidth: 100%;\n\tbackground: no-repeat linear-gradient(<<colour background>> 0 0),no-repeat linear-gradient(<<colour background>> 0 0),<<colour primary>>;\n\tbackground-size: 60% 100%;\n\tanimation: animation-loading-progress 3s infinite;\n}\n\n@keyframes animation-loading-progress {\n\t0% {background-position:-150% 0,-150% 0}\n\t66% {background-position: 250% 0,-150% 0}\n\t100% {background-position: 250% 0, 250% 0}\n}\n\n.tc-titlebar h2 {\n\tfont-size: 1em;\n\tdisplay: inline;\n}\n\n.tc-titlebar img {\n\theight: 1em;\n}\n\n.tc-subtitle {\n\tfont-size: 0.9em;\n\tcolor: <<colour tiddler-subtitle-foreground>>;\n\tfont-weight: normal;\n}\n\n.tc-subtitle .tc-tiddlylink {\n\tmargin-right: .3em;\n}\n\n.tc-tiddler-missing .tc-title {\n\tfont-style: italic;\n\tfont-weight: normal;\n}\n\n.tc-tiddler-frame .tc-tiddler-controls {\n\tfloat: right;\n\tpadding: 3px; /* make space for outline */\n}\n\n.tc-tiddler-controls .tc-drop-down {\n\tfont-size: 0.6em;\n}\n\n.tc-tiddler-controls .tc-drop-down .tc-drop-down {\n\tfont-size: 1em;\n}\n\n.tc-tiddler-controls > span > button,\n.tc-tiddler-controls > span > span > button,\n.tc-tiddler-controls > span > span > span > button {\n\tvertical-align: baseline;\n\tmargin-left:5px;\n}\n\n.tc-tiddler-controls button svg, .tc-tiddler-controls button img,\n.tc-search button svg, .tc-search a svg {\n\tfill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-tiddler-controls button svg, .tc-tiddler-controls button img {\n\theight: 0.75em;\n}\n\n.tc-search button svg, .tc-search a svg {\n\theight: 1.2em;\n\twidth: 1.2em;\n\tmargin: 0 0.25em;\n}\n\n.tc-tiddler-controls button.tc-selected svg,\n.tc-page-controls button.tc-selected svg {\n\tfill: <<colour tiddler-controls-foreground-selected>>;\n}\n\n.tc-tiddler-controls button.tc-btn-invisible:hover svg,\n.tc-search button:hover svg, .tc-search a:hover svg {\n\tfill: <<colour tiddler-controls-foreground-hover>>;\n}\n\n@media print {\n\t.tc-tiddler-controls {\n\t\tdisplay: none;\n\t}\n}\n\n.tc-tiddler-help { /* Help prompts within tiddler template */\n\tcolor: <<colour muted-foreground>>;\n\tmargin-top: 14px;\n}\n\n.tc-tiddler-help a.tc-tiddlylink {\n\tcolor: <<colour very-muted-foreground>>;\n}\n\n.tc-tiddler-frame .tc-edit-texteditor {\n\twidth: 100%;\n\tmargin: 4px 0 4px 0;\n}\n\n.tc-tiddler-frame input.tc-edit-texteditor,\n.tc-tiddler-frame textarea.tc-edit-texteditor,\n.tc-tiddler-frame iframe.tc-edit-texteditor,\n.tc-tiddler-frame select.tc-edit-texteditor {\n\tpadding: 3px 3px 3px 3px;\n\tborder: 1px solid <<colour tiddler-editor-border>>;\n\tline-height: 1.3em;\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\n}\n\n.tc-tiddler-frame input.tc-edit-texteditor,\n.tc-tiddler-frame textarea.tc-edit-texteditor,\n.tc-tiddler-frame iframe.tc-edit-texteditor {\n\t-webkit-appearance: none;\n}\n\n.tc-tiddler-frame input.tc-edit-texteditor,\n.tc-tiddler-frame select.tc-edit-texteditor,\n.tc-tiddler-frame textarea.tc-edit-texteditor {\n\tbackground-color: <<colour tiddler-editor-background>>;\n}\n\n.tc-tiddler-frame iframe.tc-edit-texteditor {\n\tbackground-color: <<colour tiddler-background>>;\n}\n\n.tc-tiddler-frame .tc-edit-fields input.tc-edit-fieldeditor,\n.tc-tiddler-frame .tc-edit-fields select.tc-edit-fieldeditor,\n.tc-tiddler-frame .tc-edit-fields textarea.tc-edit-fieldeditor {\n\tmargin: 0;\n\tpadding: 2px 3px;\n}\n\n.tc-tiddler-frame .tc-binary-warning {\n\twidth: 100%;\n\theight: 5em;\n\ttext-align: center;\n\tpadding: 3em 3em 6em 3em;\n\tbackground: <<colour alert-background>>;\n\tborder: 1px solid <<colour alert-border>>;\n}\n\ncanvas.tc-edit-bitmapeditor {\n\tborder: 6px solid <<colour tiddler-editor-border-image>>;\n\tcursor: crosshair;\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tmargin-top: 6px;\n\tmargin-bottom: 6px;\n}\n\n.tc-edit-bitmapeditor-width {\n\tdisplay: block;\n}\n\n.tc-edit-bitmapeditor-height {\n\tdisplay: block;\n}\n\n.tc-single-tiddler-window .tc-tiddler-body,\n.tc-tiddler-frame .tc-tiddler-body {\n\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}};\n\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}};\n}\n\n.tc-titlebar, .tc-tiddler-edit-title {\n\toverflow: hidden; /* https://github.com/TiddlyWiki/TiddlyWiki5/issues/282 */\n}\n\n/*\n* Tiddler in a new window.\n* Also see: .tc-single-tiddler-window .tc-tiddler-body, above\n*/\n\nhtml body.tc-body.tc-single-tiddler-window {\n\tmargin: 1em;\n\tbackground: <<colour tiddler-background>>;\n}\n\n.tc-single-tiddler-window img,\n.tc-single-tiddler-window svg,\n.tc-single-tiddler-window canvas,\n.tc-single-tiddler-window embed,\n.tc-single-tiddler-window iframe {\n\tmax-width: 100%;\n}\n\n/*\n** Editor\n*/\n\n.tc-editor-toolbar {\n\tmargin-top: 8px;\n}\n\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-editor-toolbar,\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-editor-toolbar {\n\tgrid-area: toolbar;\n}\n\n.tc-editor-toolbar button {\n\tvertical-align: middle;\n\tbackground-color: <<colour tiddler-controls-foreground>>;\n\tcolor: <<colour tiddler-controls-foreground-selected>>;\n\tfill: <<colour tiddler-controls-foreground-selected>>;\n\tborder-radius: 4px;\n\tpadding: 3px;\n\tmargin: 2px 0 2px 4px;\n}\n\n.tc-editor-toolbar button.tc-text-editor-toolbar-item-adjunct {\n\tmargin-left: 1px;\n\twidth: 1em;\n\tborder-radius: 8px;\n}\n\n.tc-editor-toolbar button.tc-text-editor-toolbar-item-start-group {\n\tmargin-left: 11px;\n}\n\n.tc-editor-toolbar button.tc-selected {\n\tbackground-color: <<colour primary>>;\n}\n\n.tc-editor-toolbar button svg {\n\twidth: 1.6em;\n\theight: 1.2em;\n}\n\n.tc-editor-toolbar .tc-drop-down button.tc-btn-mini {\n\tpadding: 2px 4px;\n}\n\n.tc-editor-toolbar button:hover {\n\tbackground-color: <<colour tiddler-controls-foreground-selected>>;\n\tfill: <<colour background>>;\n\tcolor: <<colour background>>;\n}\n\n.tc-editor-toolbar .tc-text-editor-toolbar-more {\n\twhite-space: normal;\n}\n\n.tc-editor-toolbar .tc-text-editor-toolbar-more button {\n\tdisplay: inline-block;\n\tpadding: 3px;\n\twidth: auto;\n}\n\n.tc-editor-toolbar .tc-search-results {\n\tpadding: 0;\n}\n\n.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down > p {\n\tmargin: 0;\n\tpadding: 0;\n}\n\n.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down a.tc-tiddlylink {\n\tfont-weight: normal;\n}\n\n/*\n** Adjustments for fluid-fixed mode\n*/\n\n@media (min-width: <<sidebarbreakpoint>>) {\n\n<<if-fluid-fixed text:\"\"\"\n\n\t.tc-story-river {\n\t\tpadding-right: 0;\n\t\tposition: relative;\n\t\twidth: auto;\n\t\tleft: 0;\n\t\tmargin-left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};\n\t\tmargin-right: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};\n\t}\n\n\t.tc-tiddler-frame {\n\t\twidth: 100%;\n\t}\n\n\t.tc-sidebar-scrollable {\n\t\tleft: auto;\n\t\tbottom: 0;\n\t\tright: 0;\n\t\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};\n\t}\n\n\tbody.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\n\t\twidth: 100%;\n\t\twidth: calc(100% - 42px);\n\t}\n\n\"\"\" hiddenSidebarText:\"\"\"\n\n\t.tc-story-river {\n\t\tpadding-right: 3em;\n\t\tmargin-right: 0;\n\t}\n\n\tbody.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\n\t\twidth: 100%;\n\t\twidth: calc(100% - 84px);\n\t}\n\n\"\"\">>\n\n}\n\n/*\n** Toolbar buttons\n*/\n\n.tc-page-controls svg.tc-image-new-button {\n\tfill: <<colour toolbar-new-button>>;\n}\n\n.tc-page-controls svg.tc-image-options-button {\n\tfill: <<colour toolbar-options-button>>;\n}\n\n.tc-page-controls svg.tc-image-save-button {\n\tfill: <<colour toolbar-save-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-info-button {\n\tfill: <<colour toolbar-info-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-edit-button {\n\tfill: <<colour toolbar-edit-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-close-button {\n\tfill: <<colour toolbar-close-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-delete-button {\n\tfill: <<colour toolbar-delete-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-cancel-button {\n\tfill: <<colour toolbar-cancel-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-done-button {\n\tfill: <<colour toolbar-done-button>>;\n}\n\n.tc-page-controls svg.tc-image-layout-button {\n\tfill: <<colour toolbar-options-button>>;\n}\n\n/*\n** Tiddler edit mode\n*/\n\n.tc-tiddler-edit-frame em.tc-edit {\n\tcolor: <<colour muted-foreground>>;\n\tfont-style: normal;\n}\n\n.tc-edit-type-dropdown a.tc-tiddlylink-missing {\n\tfont-style: normal;\n}\n\n.tc-type-selector .tc-edit-typeeditor {\n\twidth: auto;\n}\n\n.tc-type-selector-dropdown-wrapper {\n\tdisplay: inline-block;\n}\n\n<<set-type-selector-min-width>>\n\n.tc-edit-tags {\n\tborder: 1px solid <<colour tiddler-editor-border>>;\n\tpadding: 4px 8px 4px 8px;\n}\n\n.tc-edit-add-tag {\n\tdisplay: inline-block;\n}\n\n.tc-edit-add-tag .tc-add-tag-name input {\n\twidth: 50%;\n}\n\n.tc-edit-add-tag .tc-keyboard {\n\tdisplay:inline;\n}\n\n.tc-edit-tags .tc-tag-label {\n\tdisplay: inline-block;\n}\n\n.tc-edit-tags-list {\n\tmargin: 14px 0 14px 0;\n}\n\n.tc-remove-tag-button {\n\tpadding-left: 4px;\n}\n\n.tc-tiddler-editor {\n\tdisplay: grid;\n}\n\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview {\n\tgrid-template-areas:\n\t\t\"toolbar toolbar\"\n\t\t\"editor preview\";\n\tgrid-template-columns: repeat(2, minmax(0px, 1fr));\n\tgrid-template-rows: auto 1fr;\n}\n\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden {\n\tgrid-template-areas:\n\t\t\"toolbar\"\n\t\t\"editor\";\n\tgrid-template-columns: 1fr;\n\tgrid-template-rows: auto 1fr;\n}\n\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-tiddler-preview-preview {\n\tgrid-area: preview;\n\toverflow-wrap: anywhere;\n\tword-break: normal;\n\tborder: 1px solid <<colour tiddler-editor-border>>;\n\tmargin: 4px 0 3px 3px;\n\tpadding: 3px 3px 3px 3px;\n}\n\n<<if-editor-height-fixed then:\"\"\"\n\n.tc-tiddler-preview-preview {\n\toverflow-y: scroll;\n\theight: {{$:/config/TextEditor/EditorHeight/Height}};\n}\n\n\"\"\">>\n\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-edit-texteditor,\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-edit-texteditor {\n\tgrid-area: editor;\n}\n\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview canvas.tc-edit-bitmapeditor,\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden canvas.tc-edit-bitmapeditor {\n\tgrid-area: editor;\n\tmax-width: 100%;\n}\n\n.tc-edit-fields {\n\twidth: 100%;\n}\n\n.tc-edit-fields.tc-edit-fields-small {\n\tmargin-top: 0;\n\tmargin-bottom: 0;\n}\n\n.tc-edit-fields table, .tc-edit-fields tr, .tc-edit-fields td {\n\tborder: none;\n\tpadding: 4px;\n}\n\n.tc-edit-fields > tbody > .tc-edit-field:nth-child(odd) {\n\tbackground-color: <<colour tiddler-editor-fields-odd>>;\n}\n\n.tc-edit-fields > tbody > .tc-edit-field:nth-child(even) {\n\tbackground-color: <<colour tiddler-editor-fields-even>>;\n}\n\n.tc-edit-field-name {\n\ttext-align: right;\n}\n\n.tc-edit-field-value input {\n\twidth: 100%;\n}\n\n.tc-edit-field-remove {\n}\n\n.tc-edit-field-remove svg {\n\theight: 1em;\n\twidth: 1em;\n\tfill: <<colour muted-foreground>>;\n\tvertical-align: middle;\n}\n\n.tc-edit-field-add-name-wrapper input.tc-edit-texteditor {\n\twidth: auto;\n}\n\n.tc-edit-field-add-name-wrapper {\n\tdisplay: inline-block;\n}\n\n.tc-edit-field-add-value {\n\tdisplay: inline-block;\n}\n\n@media (min-width: <<sidebarbreakpoint>>) {\n\n\t.tc-edit-field-add-value {\n\t\twidth: 35%;\n\t}\n\n}\n\n.tc-edit-field-add-button {\n\tdisplay: inline-block;\n\twidth: 10%;\n}\n\n\n/*\n** Tiddler editor dropzone\n*/\n\n.tc-dropzone-editor {\n\tposition:relative;\n}\n\n.tc-dropzone-editor.tc-dragover .tc-editor-toolbar::after{\n\tz-index: 10000;\n\ttop:0;\n\tleft:0;\n\tright:0;\n\theight: 100%;\n\tbackground: <<colour dropzone-background>>;\n\tcontent: \"<<lingo DropMessage>>\";\n\tpointer-events: none;\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tbackground-color: <<color background>>;\n\tborder: 4px dashed <<color modal-border>>;\n\tfont-weight: bold;\n\tfont-size: 150%;\n\topacity: 0.8;\n\tcolor: <<color foreground>>;\n}\n\n.tc-editor-importpopup {\n\twidth: 100%;\n\theight: 100%;\n}\n\n.tc-editor-import {\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 50%;\n\ttransform: translate(-50%, -50%);\n\tbackground: <<color pre-background>>;\n\tbox-shadow: 2px 2px 10px <<colour foreground>>;\n\tpadding: 10px;\n\twidth: 96%;\n\tborder: 1px solid <<color tiddler-controls-foreground>>;\n\ttext-align:center;\n}\n\n.tc-editor-import img {\n\tmax-height: 500px;\n}\n\n/*\n** Storyview Classes\n*/\n\n.tc-viewswitcher .tc-image-button {\n\tmargin-right: .3em;\n}\n\n.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\n\tposition: absolute;\n\tdisplay: block;\n\twidth: 100%;\n}\n\n@media (min-width: <<sidebarbreakpoint>>) {\n\n\t.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\n\t\twidth: calc(100% - 84px);\n\t}\n\n}\n\n/*\n** Dropdowns\n*/\n\n.tc-btn-dropdown {\n\ttext-align: left;\n}\n\n.tc-btn-dropdown svg, .tc-btn-dropdown img {\n\theight: 1em;\n\twidth: 1em;\n\tfill: <<colour muted-foreground>>;\n}\n\n.tc-drop-down-wrapper {\n\tposition: relative;\n}\n\n.tc-drop-down {\n\tmin-width: 380px;\n\tborder: 1px solid <<colour dropdown-border>>;\n\tbackground-color: <<colour dropdown-background>>;\n\tpadding: 7px 0 7px 0;\n\tmargin: 4px 0 0 0;\n\twhite-space: nowrap;\n\ttext-shadow: none;\n\tline-height: 1.4;\n}\n\n.tc-drop-down .tc-drop-down {\n\tmargin-left: 14px;\n}\n\n.tc-drop-down button svg, .tc-drop-down a svg {\n\tfill: <<colour foreground>>;\n}\n\n.tc-drop-down button:disabled svg {\n\tfill: <<colour muted-foreground>>;\n}\n\n.tc-drop-down button.tc-btn-invisible:hover svg {\n\tfill: <<colour background>>;\n}\n\n.tc-drop-down .tc-drop-down-info {\n\tpadding-left: 14px;\n}\n\n.tc-drop-down p {\n\tpadding: 0 14px 0 14px;\n}\n\n.tc-drop-down svg {\n\twidth: 1em;\n\theight: 1em;\n}\n\n.tc-drop-down img {\n\twidth: 1em;\n}\n\n.tc-drop-down a, .tc-drop-down button {\n\tdisplay: block;\n\tpadding: 0 14px 0 14px;\n\twidth: 100%;\n\ttext-align: left;\n\tcolor: <<colour foreground>>;\n\tline-height: 1.4;\n}\n\n.tc-drop-down .tc-tab-set .tc-tab-buttons button {\n\tdisplay: inline-block;\n\twidth: auto;\n\tmargin-bottom: 0px;\n\tborder-bottom-left-radius: 0;\n\tborder-bottom-right-radius: 0;\n}\n\n.tc-drop-down .tc-prompt {\n\tpadding: 0 14px;\n}\n\n.tc-drop-down .tc-chooser {\n\tborder: none;\n}\n\n.tc-drop-down .tc-chooser .tc-swatches-horiz {\n\tfont-size: 0.4em;\n\tpadding-left: 1.2em;\n}\n\n.tc-drop-down .tc-file-input-wrapper {\n\twidth: 100%;\n}\n\n.tc-drop-down .tc-file-input-wrapper button {\n\tcolor: <<colour foreground>>;\n}\n\n.tc-drop-down a:hover, .tc-drop-down button:hover, .tc-drop-down .tc-file-input-wrapper:hover button {\n\tcolor: <<colour tiddler-link-background>>;\n\tbackground-color: <<colour tiddler-link-foreground>>;\n\ttext-decoration: none;\n}\n\n.tc-drop-down .tc-tab-buttons button {\n\tbackground-color: <<colour dropdown-tab-background>>;\n}\n\n.tc-drop-down .tc-tab-buttons button.tc-tab-selected {\n\tbackground-color: <<colour dropdown-tab-background-selected>>;\n\tborder-bottom: 1px solid <<colour dropdown-tab-background-selected>>;\n}\n\n.tc-drop-down-bullet {\n\tdisplay: inline-block;\n\twidth: 0.5em;\n}\n\n.tc-drop-down .tc-tab-contents a {\n\tpadding: 0 0.5em 0 0.5em;\n}\n\n.tc-block-dropdown-wrapper {\n\tposition: relative;\n}\n\n.tc-block-dropdown {\n\tposition: absolute;\n\tmin-width: 220px;\n\tborder: 1px solid <<colour dropdown-border>>;\n\tbackground-color: <<colour dropdown-background>>;\n\tpadding: 7px 0;\n\tmargin: 4px 0 0 0;\n\twhite-space: nowrap;\n\tz-index: 1000;\n\ttext-shadow: none;\n}\n\n.tc-block-dropdown.tc-search-drop-down {\n\tmargin-left: -12px;\n}\n\n.tc-block-dropdown a {\n\tdisplay: block;\n\tpadding: 4px 14px 4px 14px;\n}\n\n.tc-block-dropdown.tc-search-drop-down a {\n\tdisplay: block;\n\tpadding: 0px 10px 0px 10px;\n}\n\n.tc-drop-down .tc-dropdown-item-plain,\n.tc-block-dropdown .tc-dropdown-item-plain {\n\tpadding: 4px 14px 4px 7px;\n}\n\n.tc-drop-down .tc-dropdown-item,\n.tc-block-dropdown .tc-dropdown-item {\n\tpadding: 4px 14px 4px 7px;\n\tcolor: <<colour muted-foreground>>;\n}\n\n.tc-block-dropdown a.tc-tiddlylink:hover {\n\tcolor: <<colour tiddler-link-background>>;\n\tbackground-color: <<colour tiddler-link-foreground>>;\n\ttext-decoration: none;\n}\n\n.tc-search-results {\n\tpadding: 0 7px 0 7px;\n}\n\n.tc-image-chooser, .tc-colour-chooser {\n\twhite-space: normal;\n}\n\n.tc-image-chooser a,\n.tc-colour-chooser a {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\ttext-align: center;\n\tposition: relative;\n}\n\n.tc-image-chooser a {\n\tborder: 1px solid <<colour muted-foreground>>;\n\tpadding: 2px;\n\tmargin: 2px;\n\twidth: 4em;\n\theight: 4em;\n}\n\n.tc-colour-chooser a {\n\tpadding: 3px;\n\twidth: 2em;\n\theight: 2em;\n\tvertical-align: middle;\n}\n\n.tc-image-chooser a:hover,\n.tc-colour-chooser a:hover {\n\tbackground: <<colour primary>>;\n\tpadding: 0px;\n\tborder: 3px solid <<colour primary>>;\n}\n\n.tc-image-chooser a svg,\n.tc-image-chooser a img {\n\tdisplay: inline-block;\n\twidth: auto;\n\theight: auto;\n\tmax-width: 3.5em;\n\tmax-height: 3.5em;\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tmargin: auto;\n}\n\n/* Make search dropdown visible on small screens. issue #7003 */\n@media (max-width: <<sidebarbreakpoint>>) {\n\n\t.tc-sidebar-search .tc-block-dropdown-wrapper {\n\t\tposition: initial;\n\t}\n\n}\n\n/*\n** Modals\n*/\n\n.tc-modal-wrapper {\n\tposition: fixed;\n\toverflow: auto;\n\toverflow-y: scroll;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\tleft: 0;\n\tz-index: 900;\n}\n\n.tc-modal-backdrop {\n\tposition: fixed;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\tleft: 0;\n\tz-index: 1000;\n\tbackground-color: <<colour modal-backdrop>>;\n}\n\n.tc-modal {\n\tz-index: 1100;\n\tbackground-color: <<colour modal-background>>;\n\tborder: 1px solid <<colour modal-border>>;\n}\n\n@media (max-width: 55em) {\n\t.tc-modal {\n\t\tposition: fixed;\n\t\ttop: 1em;\n\t\tleft: 1em;\n\t\tright: 1em;\n\t}\n\n\t.tc-modal-body {\n\t\toverflow-y: auto;\n\t\tmax-height: 400px;\n\t\tmax-height: 60vh;\n\t}\n}\n\n@media (min-width: 55em) {\n\t.tc-modal {\n\t\tposition: fixed;\n\t\ttop: 2em;\n\t\tleft: 25%;\n\t\twidth: 50%;\n\t}\n\n\t.tc-modal-body {\n\t\toverflow-y: auto;\n\t\tmax-height: 400px;\n\t\tmax-height: 60vh;\n\t}\n}\n\n.tc-modal-header {\n\tpadding: 9px 15px;\n\tborder-bottom: 1px solid <<colour modal-header-border>>;\n}\n\n.tc-modal-header h3 {\n\tmargin: 0;\n\tline-height: 30px;\n}\n\n.tc-modal-header img, .tc-modal-header svg {\n\twidth: 1em;\n\theight: 1em;\n}\n\n.tc-modal-body {\n\tpadding: 15px;\n}\n\n.tc-modal-footer {\n\tpadding: 14px 15px 15px;\n\tmargin-bottom: 0;\n\ttext-align: right;\n\tbackground-color: <<colour modal-footer-background>>;\n\tborder-top: 1px solid <<colour modal-footer-border>>;\n}\n\n.tc-modal-prevent-scroll {\n\toverflow: hidden;\n}\n\n/*\n** Centered modals\n*/\n.tc-modal-centered .tc-modal {\n\twidth: auto;\n\ttop: 50%;\n\tleft: 50%;\n\ttransform: translate(-50%, -50%) !important;\n}\n\n/*\n** Notifications\n*/\n\n.tc-notification {\n\tposition: fixed;\n\ttop: 14px;\n\tright: 42px;\n\tz-index: 1300;\n\tmax-width: 280px;\n\tpadding: 0 14px 0 14px;\n\tbackground-color: <<colour notification-background>>;\n\tborder: 1px solid <<colour notification-border>>;\n}\n\n/*\n** Tabs\n*/\n\n.tc-tab-set.tc-vertical {\n\tdisplay: -webkit-flex;\n\tdisplay: flex;\n}\n\n.tc-tab-buttons {\n\tfont-size: 0.85em;\n\tpadding-top: 1em;\n\tmargin-bottom: -2px;\n}\n\n.tc-tab-buttons.tc-vertical {\n\tz-index: 100;\n\tdisplay: block;\n\tpadding-top: 14px;\n\tvertical-align: top;\n\ttext-align: right;\n\tmargin-bottom: inherit;\n\tmargin-right: -1px;\n\tmax-width: 33%;\n\t-webkit-flex: 0 0 auto;\n\tflex: 0 0 auto;\n}\n\n.tc-tab-buttons button.tc-tab-selected {\n\tcolor: <<colour tab-foreground-selected>>;\n\tbackground-color: <<colour tab-background-selected>>;\n\tborder-left: 1px solid <<colour tab-border-selected>>;\n\tborder-top: 1px solid <<colour tab-border-selected>>;\n\tborder-right: 1px solid <<colour tab-border-selected>>;\n}\n\n.tc-tab-buttons button {\n\tcolor: <<colour tab-foreground>>;\n\tpadding: 3px 5px 3px 5px;\n\tmargin-right: 0.3em;\n\tfont-weight: normal;\n\tborder: none;\n\tbackground: inherit;\n\tbackground-color: <<colour tab-background>>;\n\tborder-left: 1px solid <<colour tab-border>>;\n\tborder-top: 1px solid <<colour tab-border>>;\n\tborder-right: 1px solid <<colour tab-border>>;\n\tborder-top-left-radius: 2px;\n\tborder-top-right-radius: 2px;\n\tborder-bottom-left-radius: 0;\n\tborder-bottom-right-radius: 0;\n}\n\n.tc-tab-buttons.tc-vertical button {\n\tdisplay: block;\n\twidth: 100%;\n\tmargin-top: 3px;\n\tmargin-right: 0;\n\ttext-align: right;\n\tbackground-color: <<colour tab-background>>;\n\tborder-left: 1px solid <<colour tab-border>>;\n\tborder-bottom: 1px solid <<colour tab-border>>;\n\tborder-right: none;\n\tborder-top-left-radius: 2px;\n\tborder-bottom-left-radius: 2px;\n\tborder-top-right-radius: 0;\n\tborder-bottom-right-radius: 0;\n}\n\n.tc-tab-buttons.tc-vertical button.tc-tab-selected {\n\tbackground-color: <<colour tab-background-selected>>;\n\tborder-right: 1px solid <<colour tab-background-selected>>;\n}\n\n.tc-tab-divider {\n\tborder-top: 1px solid <<colour tab-divider>>;\n}\n\n.tc-tab-divider.tc-vertical {\n\tdisplay: none;\n}\n\n.tc-tab-content {\n\tmargin-top: 14px;\n}\n\n.tc-tab-content.tc-vertical {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\tpadding-top: 0;\n\tpadding-left: 14px;\n\tborder-left: 1px solid <<colour tab-border>>;\n\t-webkit-flex: 1 0 70%;\n\tflex: 1 0 70%;\n\toverflow: auto;\n}\n\n.tc-sidebar-lists .tc-tab-buttons {\n\tmargin-bottom: -1px;\n}\n\n.tc-sidebar-lists .tc-tab-buttons button.tc-tab-selected {\n\tbackground-color: <<colour sidebar-tab-background-selected>>;\n\tcolor: <<colour sidebar-tab-foreground-selected>>;\n\tborder-left: 1px solid <<colour sidebar-tab-border-selected>>;\n\tborder-top: 1px solid <<colour sidebar-tab-border-selected>>;\n\tborder-right: 1px solid <<colour sidebar-tab-border-selected>>;\n}\n\n.tc-sidebar-lists .tc-tab-buttons button {\n\tbackground-color: <<colour sidebar-tab-background>>;\n\tcolor: <<colour sidebar-tab-foreground>>;\n\tborder-left: 1px solid <<colour sidebar-tab-border>>;\n\tborder-top: 1px solid <<colour sidebar-tab-border>>;\n\tborder-right: 1px solid <<colour sidebar-tab-border>>;\n}\n\n.tc-sidebar-lists .tc-tab-divider {\n\tborder-top: 1px solid <<colour sidebar-tab-divider>>;\n}\n\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\n\tdisplay: block;\n\twidth: 100%;\n\tbackground-color: <<colour sidebar-tab-background>>;\n\tborder-top: none;\n\tborder-left: none;\n\tborder-bottom: none;\n\tborder-right: 1px solid #ccc;\n\tmargin-bottom: inherit;\n}\n\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {\n\tbackground-color: <<colour sidebar-tab-background-selected>>;\n\tborder: none;\n}\n\n/*\n** Manager\n*/\n\n.tc-manager-wrapper {\n\n}\n\n.tc-manager-controls {\n\n}\n\n.tc-manager-control {\n\tmargin: 0.5em 0;\n}\n\n.tc-manager-control select {\n\tmax-width: 100%;\n}\n\n.tc-manager-list {\n\twidth: 100%;\n\tborder-top: 1px solid <<colour muted-foreground>>;\n\tborder-left: 1px solid <<colour muted-foreground>>;\n\tborder-right: 1px solid <<colour muted-foreground>>;\n}\n\n.tc-manager-list-item {\n\n}\n\n.tc-manager-list-item-heading {\n\tdisplay: block;\n\twidth: 100%;\n\ttext-align: left;\n\tborder-bottom: 1px solid <<colour muted-foreground>>;\n\tpadding: 3px;\n}\n\n.tc-manager-list-item-heading-selected {\n\tfont-weight: bold;\n\tcolor: <<colour background>>;\n\tfill: <<colour background>>;\n\tbackground-color: <<colour foreground>>;\n}\n\n.tc-manager-list-item-heading:hover {\n\tbackground: <<colour primary>>;\n\tcolor: <<colour background>>;\n}\n\n.tc-manager-list-item-content {\n\tdisplay: flex;\n}\n\n.tc-manager-list-item-content-sidebar {\n\tflex: 1 0;\n\tbackground: <<colour tiddler-editor-background>>;\n\tborder-right: 0.5em solid <<colour muted-foreground>>;\n\tborder-bottom: 0.5em solid <<colour muted-foreground>>;\n\twhite-space: nowrap;\n}\n\n.tc-manager-list-item-content-item-heading {\n\tdisplay: block;\n\twidth: 100%;\n\ttext-align: left;\n\tbackground: <<colour muted-foreground>>;\n\ttext-transform: uppercase;\n\tfont-size: 0.6em;\n\tfont-weight: bold;\n\tpadding: 0.5em 0 0.5em 0;\n}\n\n.tc-manager-list-item-content-item-body {\n\tpadding: 0 0.5em 0 0.5em;\n}\n\n.tc-manager-list-item-content-item-body > pre {\n\tmargin: 0.5em 0 0.5em 0;\n\tborder: none;\n\tbackground: inherit;\n}\n\n.tc-manager-list-item-content-tiddler {\n\tflex: 3 1;\n\tborder-left: 0.5em solid <<colour muted-foreground>>;\n\tborder-right: 0.5em solid <<colour muted-foreground>>;\n\tborder-bottom: 0.5em solid <<colour muted-foreground>>;\n}\n\n.tc-manager-list-item-content-item-body > table {\n\tborder: none;\n\tpadding: 0;\n\tmargin: 0;\n}\n\n.tc-manager-list-item-content-item-body > table td {\n\tborder: none;\n}\n\n.tc-manager-icon-editor > button {\n\twidth: 100%;\n}\n\n.tc-manager-icon-editor > button > svg,\n.tc-manager-icon-editor > button > button {\n\twidth: 100%;\n\theight: auto;\n}\n\n/*\n** Import table\n*/\n\n.tc-import-table {\n\twidth: 100%;\n}\n\n.tc-import-table svg.tc-image-edit-button {\n\tmax-width: unset;\n}\n\n.tc-import-table th:first-of-type {\n\twidth: 10%;\n}\n\n.tc-import-table th:last-of-type {\n\twidth: 30%;\n}\n\n.tc-import-table .tc-row-disabled {\n\tbackground: <<colour very-muted-foreground>>10;\n\topacity: 0.8;\n}\n\n.tc-import-table .tc-row-warning {\n\tbackground: <<colour diff-delete-background>>50;\n}\n\n/*\n** Alerts\n*/\n\n.tc-alerts {\n\tposition: fixed;\n\ttop: 28px;\n\tleft: 0;\n\tright: 0;\n\tmax-width: 50%;\n\tz-index: 20000;\n}\n\n.tc-alert {\n\tposition: relative;\n\tmargin: 14px;\n\tpadding: 7px;\n\tborder: 1px solid <<colour alert-border>>;\n\tbackground-color: <<colour alert-background>>;\n}\n\n.tc-alert-toolbar {\n\tposition: absolute;\n\ttop: 7px;\n\tright: 7px;\n\tline-height: 0;\n}\n\n.tc-alert-toolbar svg {\n\tfill: <<colour alert-muted-foreground>>;\n}\n\n.tc-alert-subtitle {\n\tcolor: <<colour alert-muted-foreground>>;\n\tfont-weight: bold;\n\tfont-size: 0.8em;\n\tmargin-bottom: 0.5em;\n}\n\n.tc-alert-body > p {\n\tmargin: 0;\n}\n\n.tc-alert-highlight {\n\tcolor: <<colour alert-highlight>>;\n}\n\n@media (min-width: <<sidebarbreakpoint>>) {\n\n\t.tc-static-alert {\n\t\tposition: relative;\n\t}\n\n\t.tc-static-alert-inner {\n\t\tposition: absolute;\n\t\tz-index: 100;\n\t}\n\n}\n\n.tc-static-alert-inner {\n\tpadding: 0 2px 2px 42px;\n\tcolor: <<colour static-alert-foreground>>;\n}\n\n/*\n** Floating drafts list\n*/\n\n.tc-drafts-list {\n\tz-index: 2000;\n\tposition: fixed;\n\tfont-size: 0.8em;\n\tleft: 0;\n\tbottom: 0;\n}\n\n.tc-drafts-list a {\n\tmargin: 0 0.5em;\n\tpadding: 4px 4px;\n\tborder-top-left-radius: 4px;\n\tborder-top-right-radius: 4px;\n\tborder: 1px solid <<colour background>>;\n\tborder-bottom: none;\n\tbackground: <<colour dirty-indicator>>;\n\tcolor: <<colour background>>;\n\tfill: <<colour background>>;\n}\n\n.tc-drafts-list a:hover {\n\ttext-decoration: none;\n\tbackground: <<colour foreground>>;\n\tcolor: <<colour background>>;\n\tfill: <<colour background>>;\n}\n\n.tc-drafts-list a svg {\n\twidth: 1em;\n\theight: 1em;\n\tvertical-align: text-bottom;\n}\n\n/*\n** Control panel\n*/\n\n.tc-control-panel td {\n\tpadding: 4px;\n}\n\n.tc-control-panel table, .tc-control-panel table input, .tc-control-panel table textarea {\n\twidth: 100%;\n}\n\n.tc-control-panel-setting {\n\tborder-top: 1px solid <<colour blockquote-bar>>;\n}\n\n.tc-plugin-info {\n\tdisplay: flex;\n\ttext-shadow: none;\n\tborder: 1px solid <<colour muted-foreground>>;\n\tfill: <<colour muted-foreground>>;\n\tbackground-color: <<colour background>>;\n\tmargin: 0.5em 0 0.5em 0;\n\tpadding: 4px;\n\talign-items: center;\n}\n\n.tc-sidebar-lists a.tc-tiddlylink.tc-plugin-info {\n\tcolor: <<colour tiddler-link-foreground>>;\n}\n\n\n.tc-plugin-info-sub-plugins .tc-plugin-info {\n\tmargin: 0.5em;\n\tbackground: <<colour background>>;\n}\n\n.tc-plugin-info-sub-plugin-indicator {\n\tmargin: -16px 1em 0 2em;\n}\n\n.tc-plugin-info-sub-plugin-indicator button {\n\tcolor: <<colour background>>;\n\tbackground: <<colour foreground>>;\n\tborder-radius: 8px;\n\tpadding: 2px 7px;\n\tfont-size: 0.75em;\n}\n\n.tc-plugin-info-sub-plugins .tc-plugin-info-dropdown {\n\tmargin-left: 1em;\n\tmargin-right: 1em;\n}\n\n.tc-plugin-info-disabled {\n\tbackground: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);\n\tbackground: repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);\n}\n\n.tc-plugin-info-disabled:hover {\n\tbackground: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);\n\tbackground: repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);\n}\n\na.tc-tiddlylink.tc-plugin-info:hover {\n\ttext-decoration: none;\n\tbackground-color: <<colour primary>>;\n\tcolor: <<colour background>>;\n\tfill: <<colour foreground>>;\n}\n\na.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {\n\tfill: <<colour background>>;\n}\n\na.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk .tc-plugin-info-stability {\n\tborder: 1px solid <<colour background>>;\n\tcolor: <<colour background>>;\n}\n\n.tc-plugin-info-chunk {\n\tmargin: 2px;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-toggle {\n\tflex-grow: 0;\n\tflex-shrink: 0;\n\tline-height: 1;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-icon {\n\tflex-grow: 0;\n\tflex-shrink: 0;\n\tline-height: 1;\n\theight: 2em;\n\twidth: 2em;\n\tdisplay: grid;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-description {\n\tflex-grow: 1;\n}\n\n.tc-plugin-info-chunk .tc-plugin-info-stability {\n\tmargin-right: 4px;\n\tpadding: 1px 3px;\n\tfont-size: 0.8em;\n\tborder-radius: 4px;\n\tfont-weight: bold;\n}\n\n.tc-plugin-info-chunk .tc-plugin-info-stability-stable {\n\tborder: 1px solid <<colour stability-stable>>;\n\tcolor: <<colour stability-stable>>;\n}\n\n.tc-plugin-info-chunk .tc-plugin-info-stability-experimental {\n\tborder: 1px solid <<colour stability-experimental>>;\n\tcolor: <<colour stability-experimental>>;\n}\n\n.tc-plugin-info-chunk .tc-plugin-info-stability-deprecated {\n\tborder: 1px solid <<colour stability-deprecated>>;\n\tcolor: <<colour stability-deprecated>>;\n}\n\n.tc-plugin-info-chunk .tc-plugin-info-stability-legacy {\n\tborder: 1px solid <<colour stability-legacy>>;\n\tcolor: <<colour stability-legacy>>;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-buttons {\n\tfont-size: 0.8em;\n\tline-height: 1.2;\n\tflex-grow: 0;\n\tflex-shrink: 0;\n\ttext-align: right;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-description h1 {\n\tfont-size: 1em;\n\tline-height: 1.2;\n\tmargin: 2px 0 2px 0;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-description h2 {\n\tfont-size: 0.8em;\n\tline-height: 1.2;\n\tmargin: 2px 0 2px 0;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-description div {\n\tfont-size: 0.8em;\n\tline-height: 1.2;\n\tmargin: 2px 0 2px 0;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-toggle img, .tc-plugin-info-chunk.tc-plugin-info-toggle svg {\n\twidth: 1em;\n\theight: 1em;\n}\n\n.tc-plugin-info-chunk.tc-plugin-info-icon img, .tc-plugin-info-chunk.tc-plugin-info-icon svg {\n\tmax-width: 2em;\n\tmax-height: 2em;\n\tmargin: auto;\n}\n\n.tc-plugin-info-dropdown {\n\tborder: 1px solid <<colour muted-foreground>>;\n\tbackground: <<colour background>>;\n\tmargin-top: -8px;\n}\n\n.tc-plugin-info-dropdown-message {\n\tbackground: <<colour message-background>>;\n\tpadding: 0.5em 1em 0.5em 1em;\n\tfont-weight: bold;\n\tfont-size: 0.8em;\n}\n\n.tc-plugin-info-dropdown-body {\n\tpadding: 1em 1em 0 1em;\n\tbackground: <<colour background>>;\n}\n\n.tc-plugin-info-sub-plugins {\n\tpadding: 0.5em;\n\tmargin: 0 1em 1em 1em;\n\tbackground: <<colour notification-background>>;\n}\n\n.tc-install-plugin {\n\tfont-weight: bold;\n\tbackground: green;\n\tcolor: white;\n\tfill: white;\n\tborder-radius: 4px;\n\tpadding: 3px;\n}\n\n.tc-install-plugin.tc-reinstall-downgrade {\n\tbackground: red;\n}\n\n.tc-install-plugin.tc-reinstall {\n\tbackground: blue;\n}\n\n.tc-install-plugin.tc-reinstall-upgrade {\n\tbackground: orange;\n}\n\n.tc-check-list {\n\tline-height: 2em;\n}\n\n.tc-check-list .tc-image-button {\n\theight: 1.5em;\n}\n\n/*\n** Message boxes\n*/\n\n.tc-message-box {\n\tborder: 1px solid <<colour message-border>>;\n\tbackground: <<colour message-background>>;\n\tpadding: 0px 21px 0px 21px;\n\tfont-size: 12px;\n\tline-height: 18px;\n\tcolor: <<colour message-foreground>>;\n}\n\n.tc-message-box svg {\n\twidth: 1em;\n\theight: 1em;\n\tvertical-align: text-bottom;\n}\n\n/*\n** Pictures\n*/\n\n.tc-bordered-image {\n\tborder: 1px solid <<colour muted-foreground>>;\n\tpadding: 5px;\n\tmargin: 5px;\n}\n\n/*\n** Floats\n*/\n\n.tc-float-right {\n\tfloat: right;\n}\n\n/* Float tc-clearfix. Needs to be used by elements that allow float:right in their content.\n** So the floating element does not overflow\n*/\n\n.tc-clearfix:after {\n\tcontent: \"\";\n\tclear: both;\n\tdisplay: table;\n}\n\n/* Fix overflow toc, manager and testcase output */\n.tc-tiddler-body .tc-tabbed-table-of-contents, .tc-manager-list-item-content, .tc-test-case-output {\n\toverflow-x: auto;\n}\n\n/* A wrapper to fix table overflow */\n\n.tc-table-wrapper {\n\toverflow-x: auto;\n}\n\n/*\n** Chooser\n*/\n\n.tc-chooser {\n\tborder-right: 1px solid <<colour table-header-background>>;\n\tborder-left: 1px solid <<colour table-header-background>>;\n}\n\n\n.tc-chooser-item {\n\tborder-bottom: 1px solid <<colour table-header-background>>;\n\tborder-top: 1px solid <<colour table-header-background>>;\n\tpadding: 2px 4px 2px 14px;\n}\n\n.tc-drop-down .tc-chooser-item {\n\tpadding: 2px;\n}\n\n.tc-chosen,\n.tc-chooser-item:hover {\n\tbackground-color: <<colour table-header-background>>;\n\tborder-color: <<colour table-footer-background>>;\n}\n\n.tc-chosen .tc-tiddlylink {\n\tcursor:default;\n}\n\n.tc-chooser-item .tc-tiddlylink {\n\tdisplay: block;\n\ttext-decoration: none;\n\tbackground-color: transparent;\n}\n\n.tc-chooser-item:hover .tc-tiddlylink:hover {\n\ttext-decoration: none;\n}\n\n.tc-drop-down .tc-chosen .tc-tiddlylink,\n.tc-drop-down .tc-chooser-item .tc-tiddlylink:hover {\n\tcolor: <<colour foreground>>;\n}\n\n.tc-chosen > .tc-tiddlylink:before {\n\tmargin-left: -10px;\n\tposition: relative;\n\tcontent: \"» \";\n}\n\n.tc-chooser-item svg,\n.tc-chooser-item img{\n\tmax-width: 1em;\n\tmax-height: 1em;\n\tvertical-align: middle;\n}\n\n.tc-language-chooser .tc-image-button img {\n\tmax-width: 2em;\n\tmax-height: 1em;\n\twidth: auto;\n\theight: auto;\n\tvertical-align: -0.15em;\n}\n\n/*\n** Palette swatches\n*/\n\n.tc-swatches-horiz {\n}\n\n.tc-swatches-horiz .tc-swatch {\n\tdisplay: inline-block;\n}\n\n.tc-swatch {\n\twidth: 2em;\n\theight: 2em;\n\tmargin: 0.4em;\n\tborder: 1px solid #888;\n}\n\ninput.tc-palette-manager-colour-input {\n\twidth: 100%;\n\tpadding: 0;\n}\n\n/*\n** Table of contents\n*/\n\n.tc-sidebar-lists .tc-table-of-contents {\n\twhite-space: nowrap;\n}\n\n.tc-table-of-contents button,\n.tc-table-of-contents .toc-item-muted {\n\tcolor: <<colour sidebar-foreground>>;\n}\n\n.tc-table-of-contents svg {\n\twidth: 0.7em;\n\theight: 0.7em;\n\tvertical-align: middle;\n\tfill: <<colour sidebar-foreground>>;\n}\n\n.tc-table-of-contents ol {\n\tlist-style-type: none;\n\tpadding-left: 0;\n}\n\n.tc-table-of-contents ol ol {\n\tpadding-left: 1em;\n}\n\n.tc-table-of-contents li {\n\tfont-size: 1.0em;\n\tfont-weight: bold;\n}\n\n.tc-table-of-contents li a {\n\tfont-weight: bold;\n}\n\n.tc-table-of-contents li li {\n\tfont-size: 0.95em;\n\tfont-weight: normal;\n\tline-height: 1.4;\n}\n\n.tc-table-of-contents li li a {\n\tfont-weight: normal;\n}\n\n.tc-table-of-contents li li li {\n\tfont-size: 0.95em;\n\tfont-weight: normal;\n\tline-height: 1.5;\n}\n\n.tc-table-of-contents li li li li {\n\tfont-size: 0.95em;\n\tfont-weight: normal;\n}\n\n.tc-tabbed-table-of-contents {\n\tdisplay: -webkit-flex;\n\tdisplay: flex;\n}\n\n.tc-tabbed-table-of-contents .tc-table-of-contents {\n\tz-index: 100;\n\tdisplay: inline-block;\n\tpadding-left: 1em;\n\tmax-width: 50%;\n\t-webkit-flex: 0 0 auto;\n\tflex: 0 0 auto;\n\tbackground: <<colour tab-background>>;\n\tborder-left: 1px solid <<colour tab-border>>;\n\tborder-top: 1px solid <<colour tab-border>>;\n\tborder-bottom: 1px solid <<colour tab-border>>;\n}\n\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a,\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {\n\tdisplay: block;\n\tpadding: 0.12em 1em 0.12em 0.25em;\n}\n\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a {\n\tborder-top: 1px solid <<colour tab-background>>;\n\tborder-left: 1px solid <<colour tab-background>>;\n\tborder-bottom: 1px solid <<colour tab-background>>;\n}\n\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a:hover {\n\ttext-decoration: none;\n\tborder-top: 1px solid <<colour tab-border>>;\n\tborder-left: 1px solid <<colour tab-border>>;\n\tborder-bottom: 1px solid <<colour tab-border>>;\n\tbackground: <<colour tab-border>>;\n}\n\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {\n\tborder-top: 1px solid <<colour tab-border>>;\n\tborder-left: 1px solid <<colour tab-border>>;\n\tborder-bottom: 1px solid <<colour tab-border>>;\n\tbackground: <<colour background>>;\n\tmargin-right: -1px;\n}\n\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a:hover {\n\ttext-decoration: none;\n}\n\n.tc-tabbed-table-of-contents .tc-tabbed-table-of-contents-content {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\tpadding-left: 1.5em;\n\tpadding-right: 1.5em;\n\tborder: 1px solid <<colour tab-border>>;\n\t-webkit-flex: 1 0 50%;\n\tflex: 1 0 50%;\n}\n\n/*\n** Dirty indicator\n*/\n\nhtml body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {\n\tvisibility: visible;\n}\n\nhtml body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {\n\tvisibility: hidden;\n}\n\nhtml body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {\n\tvisibility: hidden;\n}\n\nhtml body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {\n\tvisibility: visible;\n}\n\nhtml body.tc-dirty span.tc-dirty-indicator, html body.tc-dirty span.tc-dirty-indicator svg {\n\tfill: <<colour dirty-indicator>>;\n\tcolor: <<colour dirty-indicator>>;\n}\n\n/*\n** File inputs\n*/\n\n.tc-file-input-wrapper {\n\tposition: relative;\n\toverflow: hidden;\n\tdisplay: inline-block;\n\tvertical-align: middle;\n}\n\n.tc-file-input-wrapper input[type=file] {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tfont-size: 999px;\n\tmax-width: 100%;\n\tmax-height: 100%;\n\tfilter: alpha(opacity=0);\n\topacity: 0;\n\toutline: none;\n\tbackground: white;\n\tcursor: pointer;\n\tdisplay: inline-block;\n}\n\n::-webkit-file-upload-button {\n\tcursor:pointer;\n}\n\n/*\n** Thumbnail macros\n*/\n\n.tc-thumbnail-wrapper {\n\tposition: relative;\n\tdisplay: inline-block;\n\tmargin: 6px;\n\tvertical-align: top;\n}\n\n.tc-thumbnail-right-wrapper {\n\tfloat:right;\n\tmargin: 0.5em 0 0.5em 0.5em;\n}\n\n.tc-thumbnail-image {\n\ttext-align: center;\n\toverflow: hidden;\n\tborder-radius: 3px;\n}\n\n.tc-thumbnail-image svg,\n.tc-thumbnail-image img {\n\tfilter: alpha(opacity=1);\n\topacity: 1;\n\tmin-width: 100%;\n\tmin-height: 100%;\n\tmax-width: 100%;\n}\n\n.tc-thumbnail-wrapper:hover .tc-thumbnail-image svg,\n.tc-thumbnail-wrapper:hover .tc-thumbnail-image img {\n\tfilter: alpha(opacity=0.8);\n\topacity: 0.8;\n}\n\n.tc-thumbnail-background {\n\tposition: absolute;\n\tborder-radius: 3px;\n}\n\n.tc-thumbnail-icon svg,\n.tc-thumbnail-icon img {\n\twidth: 3em;\n\theight: 3em;\n\t<<filter \"drop-shadow(2px 2px 4px rgba(0,0,0,0.3))\">>\n}\n\n.tc-thumbnail-wrapper:hover .tc-thumbnail-icon svg,\n.tc-thumbnail-wrapper:hover .tc-thumbnail-icon img {\n\tfill: #fff;\n\t<<filter \"drop-shadow(3px 3px 4px rgba(0,0,0,0.6))\">>\n}\n\n.tc-thumbnail-icon {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tdisplay: -webkit-flex;\n\t-webkit-align-items: center;\n\t-webkit-justify-content: center;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n.tc-thumbnail-caption {\n\tposition: absolute;\n\tbackground-color: #777;\n\tcolor: #fff;\n\ttext-align: center;\n\tbottom: 0;\n\twidth: 100%;\n\tfilter: alpha(opacity=0.9);\n\topacity: 0.9;\n\tline-height: 1.4;\n\tborder-bottom-left-radius: 3px;\n\tborder-bottom-right-radius: 3px;\n}\n\n.tc-thumbnail-wrapper:hover .tc-thumbnail-caption {\n\tfilter: alpha(opacity=1);\n\topacity: 1;\n}\n\n/*\n** Diffs\n*/\n\n.tc-diff-equal {\n\tbackground-color: <<colour diff-equal-background>>;\n\tcolor: <<colour diff-equal-foreground>>;\n}\n\n.tc-diff-insert {\n\tbackground-color: <<colour diff-insert-background>>;\n\tcolor: <<colour diff-insert-foreground>>;\n}\n\n.tc-diff-delete {\n\tbackground-color: <<colour diff-delete-background>>;\n\tcolor: <<colour diff-delete-foreground>>;\n}\n\n.tc-diff-invisible {\n\tbackground-color: <<colour diff-invisible-background>>;\n\tcolor: <<colour diff-invisible-foreground>>;\n}\n\n.tc-diff-tiddlers th {\n\ttext-align: right;\n\tbackground: <<colour background>>;\n\tfont-weight: normal;\n\tfont-style: italic;\n}\n\n.tc-diff-tiddlers pre {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n\tbackground: none;\n}\n\n/*\n** Errors\n*/\n\n.tc-error {\n\tbackground: #f00;\n\tcolor: #fff;\n}\n\n/*\n** Tree macro\n*/\n\n.tc-tree div {\n\tpadding-left: 14px;\n}\n\n.tc-tree ol {\n\tlist-style-type: none;\n\tpadding-left: 0;\n\tmargin-top: 0;\n}\n\n.tc-tree ol ol {\n\tpadding-left: 1em;\n}\n\n.tc-tree button {\n\tcolor: #acacac;\n}\n\n.tc-tree svg {\n\tfill: #acacac;\n}\n\n.tc-tree span svg {\n\twidth: 1em;\n\theight: 1em;\n\tvertical-align: baseline;\n}\n\n.tc-tree li span {\n\tcolor: lightgray;\n}\n\nselect {\n\tcolor: <<colour select-tag-foreground>>;\n\tbackground: <<colour select-tag-background>>;\n}\n\n/*\n** Translink macro\n*/\n\n.tc-translink {\n\tbackground-color: <<colour pre-background>>;\n\tborder: 1px solid <<colour pre-border>>;\n\tpadding: 0 3px;\n\tborder-radius: 3px;\n}\n\ndiv.tc-translink > div {\n\tmargin: 1em;\n}\n\ndiv.tc-translink > div > a:first-child > h1 {\n\tfont-size: 1.2em;\n\tfont-weight: bold;\n}\n\nspan.tc-translink > a:first-child {\n\tfont-weight: bold;\n}\n\n/*\n** Classes for displaying globals\n*/\n\n.tc-global-tiddler-body {\n\tpadding: 0.25em;\n\tborder: 1px solid <<colour foreground>>;\n\tbackground-color: <<colour muted-foreground>>;\n\tborder-radius: 3px;\n}\n\n.tc-global-tiddler-body-heading {\n\tmargin: 0 0 0.25em 0;\n\tfont-weight: normal;\n}\n\n.tc-global-tiddler-body-type {\n\tmargin: 0 0 0.25em 0;\n\tborder-bottom: 1px solid <<colour foreground>>;\n}\n\n.tc-global-tiddler-body-details {\n\tbackground-color: <<colour background>>;\n}\n\n.tc-global-tiddler-body pre {\n\tmargin: 0;\n\tborder: 1px solid <<colour foreground>>;\n}\n\n/*\n** Utility classes for SVG icons\n*/\n\n.tc-fill-background {\n\tfill: <<colour background>>;\n}\n\n.tc-network-activity-background {\n\tfill: <<colour network-activity-foreground>>;\n}\n\n/*\n** Test Cases\n*/\n\n.tc-test-case-wrapper {\n\tborder: 1px solid <<colour foreground>>;\n\tbackground-color: <<colour muted-foreground>>;\n\tborder-radius: 6px;\n}\n\n.tc-test-case-wrapper {\n\tbackground-color: <<colour testcase-accent-level-1>>;\n}\n\n.tc-test-case-wrapper .tc-test-case-wrapper {\n\tbackground-color: <<colour testcase-accent-level-2>>;\n}\n\n.tc-test-case-wrapper .tc-test-case-wrapper .tc-test-case-wrapper {\n\tbackground-color: <<colour testcase-accent-level-3>>;\n}\n\n.tc-test-case-header {\n\tfont-weight: normal;\n\tmargin: 0.5em 0;\n\tpadding: 0 0.5em;\n}\n\n.tc-test-case-divider {\n\tx-background-color: <<colour muted-foreground>>;\n}\n\n.tc-test-case-result-icon {\n\tfill: #fff;\n\tpadding: 0.25em;\n\tdisplay: inline-block;\n\tline-height: 0;\n\tborder-radius: 1em;\n\tvertical-align: text-bottom;\n\tmargin-right: 0.25em;\n}\n\n.tc-test-case-result-icon-pass {\n\tbackground-color: green;\n}\n\n.tc-test-case-result-icon-fail {\n\tbackground-color: red;\n}\n\n.tc-test-case-result-icon svg {\n\twidth: 0.5em;\n\theight: 0.5em;\n}\n\n.tc-test-case-header > h2 {\n\tbackground: <<colour background>>;\n\tborder-radius: 4px;\n\tpadding: 0.25em;\n}\n\n.tc-test-case-header > h2,\n.tc-test-case-source > pre {\n\tmargin: 0;\n}\n\n.tc-test-case-header > h2 a.tc-tiddlylink-missing {\n\tfont-style: normal;\n}\n\n.tc-test-case-toolbar {\n\tfloat: right;\n}\n\n.tc-test-case-toolbar svg {\n\tfill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-test-case-toolbar .tc-drop-down {\n\tfont-size: 0.8em;\n}\n\n.tc-test-case-result-fail {\n\tborder: 1px solid <<colour foreground>>;\n\tbackground-color: <<colour background>>;\n\tborder-radius: 4px;\n\tmargin: 0 0.5em;\n\tpadding: 0;\n}\n\n.tc-test-case-result-fail-header {\n\tbackground: <<colour diff-delete-background>>;\n\tcolor: <<colour diff-delete-foreground>>;\n\tborder-top-left-radius: 4px;\n\tborder-top-right-radius: 4px;\n\tpadding: 4px;\n}\n\n.tc-test-case-result-fail-body {\n\tpadding: 4px;\n}\n\n.tc-test-case-source > pre {\n\theight: 100%;\n}\n\n.tc-test-case-narrative {\n\tpadding: 0.5em;\n}\n\n.tc-test-case-panes {\n\tdisplay: flex;\n\talign-items: stretch;\n\tflex-wrap: wrap;\n\tpadding: 0.5em;\n\tborder-bottom-left-radius: 6px;\n\tborder-bottom-right-radius: 6px;\n}\n\n.tc-test-case-source {\n\tflex: 1 0 49%;\n\tmin-width: 250px;\n}\n\n.tc-test-case-source .tc-tab-content {\n\tbackground: inherit;\n\tmargin: 0;\n}\n\n.tc-test-case-source .tc-tab-content .tc-field-table {\n\tbackground: <<colour background>>;\n}\n\n.tc-test-case-source .tc-field-table {\n\twidth: 100%;\n}\n\n.tc-test-case-source table.tc-field-table {\n\tmargin: 0;\n}\n\n.tc-test-case-source .tc-tiddler-frame .tc-edit-texteditor {\n\tmargin: 0;\n}\n\n.tc-test-case-divider {\n\tflex: 0 0 1.5%;\n}\n\n.tc-test-case-source .tc-tab-buttons {\n\tpadding-top: 0;\n}\n\n.tc-test-case-footer-toolbar {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n}\n\n.tc-test-case-output {\n\tbox-shadow: inset 2px 2px 10px 0px <<colour muted-foreground>>;\n\tbackground: <<colour background>>;\n\tborder-radius: 4px;\n\tborder: 1px solid <<colour muted-foreground>>;\n\tflex: 1 0 49%;\n\tmin-width: 250px;\n\tpadding: 0.25em 1em;\n}\n\n/*\n** Flexbox utility classes\n*/\n\n.tc-flex {\n\tdisplay: -webkit-flex;\n\tdisplay: flex;\n}\n\n.tc-flex-column {\n\tflex-direction: column;\n}\n\n.tc-flex-row {\n\tflex-direction: row;\n}\n\n.tc-flex-grow-1 {\n\tflex-grow: 1;\n}\n\n.tc-flex-grow-2 {\n\tflex-grow: 2;\n}\n\n/*\n** Other utility classes\n*/\n\n/* Horizontal gaps */\n\n.tc-tiny-gap {\n\tmargin-left: .25em;\n\tmargin-right: .25em;\n}\n\n.tc-tiny-gap-left {\n\tmargin-left: .25em;\n}\n\n.tc-tiny-gap-right {\n\tmargin-right: .25em;\n}\n\n.tc-small-gap {\n\tmargin-left: .5em;\n\tmargin-right: .5em;\n}\n\n.tc-small-gap-left {\n\tmargin-left: .5em;\n}\n\n.tc-small-gap-right {\n\tmargin-right: .5em;\n}\n\n.tc-big-gap {\n\tmargin-left: 1em;\n\tmargin-right: 1em;\n}\n\n.tc-big-gap-left {\n\tmargin-left: 1em;\n}\n\n.tc-big-gap-right {\n\tmargin-right: 1em;\n}\n\n.tc-word-break {\n\tword-break: break-all;\n}\n\n/* Vertical gaps */\n\n.tc-tiny-v-gap-bottom {\n\tmargin-bottom: 3px;\n}\n\n","title":"$:/themes/tiddlywiki/vanilla/base","tags":"$:/tags/Stylesheet","list-before":"","code-body":"yes","modified":"20250521153114683"},{"title":"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize","text":"15px"},{"title":"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight","text":"22px"},{"created":"20250618180406759","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/metrics/fontsize","text":"10px","modified":"20250618180427000","modifier":"M0"},{"created":"20250618180441504","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/metrics/lineheight","text":"10px","modified":"20250618180441504","modifier":"M0"},{"title":"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint","text":"960px"},{"created":"20250507164023244","creator":"M00","title":"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth","text":"39.29929685544919vw","modified":"20250618134145827","modifier":"M0"},{"title":"$:/themes/tiddlywiki/vanilla/metrics/storyleft","text":"0px"},{"created":"20250716143046657","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/metrics/storyright","text":"770px","modified":"20250716145145803","modifier":"M0"},{"created":"20250711150028957","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/metrics/storytop","text":"0px","modified":"20250711150909007","modifier":"M0"},{"created":"20250716142949061","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/metrics/storywidth","text":"770px","modified":"20250716150208743","modifier":"M0"},{"created":"20250716143010165","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth","text":"686px","modified":"20250716143015974","modifier":"M0"},{"title":"$:/themes/tiddlywiki/vanilla/options/codewrapping","text":"pre-wrap"},{"created":"20250507164020927","title":"$:/themes/tiddlywiki/vanilla/options/sidebarlayout","text":"fluid-fixed","modified":"20250507193419833"},{"title":"$:/themes/tiddlywiki/vanilla/options/stickytitles","text":"no"},{"created":"20260321125223273","title":"$:/themes/tiddlywiki/vanilla/settings/backgroundimage","text":"","modified":"20260321125721988"},{"title":"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment","text":"fixed"},{"title":"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize","text":"auto"},{"created":"20250618020121752","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/settings/codefontfamily","text":"LektonNerd","modified":"20260508152056849","modifier":"M0"},{"created":"20250618020126352","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/settings/editorfontfamily","text":"LektonNerd","modified":"20260508152054919","modifier":"M0"},{"created":"20250618020117097","creator":"M0","title":"$:/themes/tiddlywiki/vanilla/settings/fontfamily","text":"LektonNerd","modified":"20260508152058417","modifier":"M0"},{"created":"20260322120536052","title":"$:/trashbin/$:/Import","type":"application/json","text":"{\n \"title\": \"$:/Import\",\n \"type\": \"application/json\",\n \"plugin-type\": \"import\",\n \"status\": \"pending\",\n \"text\": \"{\\n \\\"tiddlers\\\": {\\n \\\"Untitled\\\": {\\n \\\"title\\\": \\\"Untitled\\\",\\n \\\"text\\\": \\\"\\\\n\\\"\\n }\\n }\\n}\"\n}","modified":"20260322120536061","tags":"$:/tags/trashbin"},{"created":"20260322122052746","title":"$:/trashbin/20260219075306048","type":"application/json","text":"{\n \"created\": \"20260219075306050\",\n \"text\": \".macy-container .item-container {\\n aspect-ratio: 1 / 1; /* 🔥 Siempre cuadrado */\\n overflow: hidden; /* Nada sobresale */\\n}\\n\\n.macy-container .item-container img {\\n width: 100%;\\n height: 100%;\\n object-fit: cover; /* Rellena sin deformar */\\n}\\n\\n\",\n \"tags\": \"\",\n \"title\": \"20260219075306048\",\n \"modified\": \"20260322121526741\"\n}","modified":"20260322122052757","tags":"$:/tags/trashbin"},{"created":"20260322122408462","title":"$:/trashbin/20260222123840627","type":"application/json","text":"{\n \"created\": \"20260222123840632\",\n \"text\": \"a[href^=\\\"http\\\"] {\\n pointer-events: auto !important;\\n}\",\n \"tags\": \"\",\n \"title\": \"20260222123840627\",\n \"modified\": \"20260322121603680\"\n}","modified":"20260322122408470","tags":"$:/tags/trashbin"},{"created":"20260322122004745","title":"$:/trashbin/20260304003031154","type":"application/json","text":"{\n \"created\": \"20260304003031157\",\n \"text\": \"<!-- Seleccionar los tiddlers de estados de los nodos de streams que tengan \\\"!!!! 20\\\" -->\\n\\n\\n\\n<$list filter=\\\"[!is[draft]tag[year]addprefix[$:/state/sq/streams/visibility/]]\\\">\\n<<currentTiddler>>\\n</$list>\\n\\n----\\n\\n<$list filter=\\\"[!is[draft]tag[year]addprefix[$:/state/sq/streams/visibility/]]\\\">\\n<$list filter=\\\"[prefix<currentTiddler>]\\\"/>\\n</$list>\\n\\n\\n\\n\\n\\n\\n<!-- ahora necesito hacer que el valor de hiden sea off\",\n \"tags\": \"\",\n \"title\": \"20260304003031154\",\n \"modified\": \"20260312170237776\"\n}","modified":"20260322122004756","tags":"$:/tags/trashbin"},{"created":"20260322121946632","title":"$:/trashbin/20260307050643128","type":"application/json","text":"{\n \"created\": \"20260307050643131\",\n \"text\": \"<<table-dynamic filter:\\\"[tag[project]]\\\" fields:\\\"image text\\\">>\",\n \"tags\": \"\",\n \"title\": \"20260307050643128\",\n \"modified\": \"20260307112750788\"\n}","modified":"20260322121946642","tags":"$:/tags/trashbin"},{"created":"20260322121420432","title":"$:/trashbin/20260308004918896","type":"application/json","text":"{\n \"created\": \"20260308004918900\",\n \"text\": \".p-TitleProject {\\n color: #ffffff;\\n font-weight: bold;\\n font-size: 100px;\\n}\",\n \"tags\": \"$:/tags/Stylesheet\",\n \"title\": \"20260308004918896\",\n \"modified\": \"20260322121413322\"\n}","modified":"20260322121420443","tags":"$:/tags/trashbin"},{"created":"20260322122007755","title":"$:/trashbin/20260312164952958","type":"application/json","text":"{\n \"created\": \"20260312164952961\",\n \"text\": \"\\\\define my-actions()\\n<$list filter=\\\"[!is[draft]tag[year]addprefix[$:/state/sq/streams/visibility/]]\\\">\\n<$list filter=\\\"[prefix<currentTiddler>]\\\">\\n <$action-setfield $tiddler=<<currentTiddler>> $value=\\\"show\\\"/>\\n</$list>\\n</$list>\\n\\\\end\\n\\n<$button actions=<<my-actions>> >\\nGo\\n</$button>\",\n \"tags\": \"\",\n \"title\": \"20260312164952958\",\n \"modified\": \"20260312165349077\"\n}","modified":"20260322122007765","tags":"$:/tags/trashbin"},{"created":"20260322122107348","title":"$:/trashbin/20260312173029394","type":"application/json","text":"{\n \"created\": \"20260312173029397\",\n \"text\": \".scroll-text {\\n position: relative;\\n height: 2em;\\n overflow: hidden;\\n}\\n\\n.scroll-text div {\\n position: absolute;\\n width: 100%;\\n opacity: 0;\\n transform: translateY(20px);\\n animation: lineScroll 8s infinite;\\n}\\n\\n.scroll-text div:nth-child(1) { animation-delay: 10s; }\\n.scroll-text div:nth-child(2) { animation-delay: 10s; }\\n.scroll-text div:nth-child(3) { animation-delay: 10s; }\\n.scroll-text div:nth-child(4) { animation-delay: 10s; }\\n\\n@keyframes lineScroll {\\n 0% {\\n opacity: 0;\\n transform: translateY(20px);\\n }\\n 10% {\\n opacity: 1;\\n transform: translateY(0);\\n }\\n 40% {\\n opacity: 1;\\n transform: translateY(0);\\n }\\n 60% {\\n opacity: 0;\\n transform: translateY(-20px);\\n }\\n 100% {\\n opacity: 0;\\n }\\n}\",\n \"tags\": \"\",\n \"title\": \"20260312173029394\",\n \"modified\": \"20260322121340499\"\n}","modified":"20260322122107359","tags":"$:/tags/trashbin"},{"created":"20260330013603118","title":"$:/trashbin/Draft of '20260221155954173'","type":"application/json","text":"{\n \"text\": \"/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h0 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h0) {\\n padding-top: calc(-2.5em * 2);\\n}\\n\\n/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h1 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h1) {\\n padding-top: calc(-1.6em * 2);\\n}\\n\\n/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h2 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h2) {\\n padding-top: calc(-1.5em * 2);\\n}\\n\\n/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h3 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h3) {\\n padding-top: calc(-1.4em * 2);\\n}\\n\\n/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h4 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h4) {\\n padding-top: calc(-1.32em * );\\n}\\n\\n/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h5 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h5) {\\n padding-top: calc(-1.2em * 2);\\n}\\n\\n/* Selecciona .stream-node-control que tenga un hermano\\n .stream-node-block.stream-node-ctrl-btn con h6 */\\n.stream-node-control + .stream-node-block.stream-node-ctrl-btn:has(h6) {\\n padding-top: calc(-1.1em * 2);\\n}\",\n \"created\": \"20260221155954175\",\n \"tags\": \"\",\n \"title\": \"Draft of '20260221155954173'\",\n \"modified\": \"20260330013555208\",\n \"draft.title\": \"20260221155954173\",\n \"draft.of\": \"20260221155954173\"\n}","modified":"20260330013603132","tags":"$:/tags/trashbin"},{"created":"20260322120402873","title":"$:/trashbin/Draft of '20260322120247566'","type":"application/json","text":"{\n \"created\": \"20260322120247569\",\n \"text\": \"\",\n \"tags\": \"\",\n \"title\": \"Draft of '20260322120247566'\",\n \"modified\": \"20260322120400860\",\n \"draft.title\": \"20260322120247566\",\n \"draft.of\": \"20260322120247566\"\n}","modified":"20260322120402886","tags":"$:/tags/trashbin"},{"created":"20260322114440531","title":"$:/trashbin/Draft of 'Draft of '$:/Seed/Styles/SiteBody","type":"application/json","text":"{\n \"text\": \"\",\n \"modified\": \"20260322114438199\",\n \"title\": \"Draft of 'Draft of '$:/Seed/Styles/SiteBody''\",\n \"draft.title\": \"Draft of '$:/Seed/Styles/SiteBody'\",\n \"draft.of\": \"Draft of '$:/Seed/Styles/SiteBody'\"\n}","modified":"20260322114440542","tags":"$:/tags/trashbin"},{"created":"20260322121814923","title":"$:/trashbin/Floating Images HowTo","type":"application/json","text":"{\n \"created\": \"20150320130409526\",\n \"text\": \"There is a wikitext syntax for images eg: `[img[Motovun Jack.jpg]]`. But what if I want to center the image. Or if I want the image left or right aligned and the text should flow around the image. \\n\\nThere are 3 macros now.\\n\\n* `<<image-left \\\"Motovun Jack.jpg\\\">>`\\n* `<<image-center \\\"Motovun Jack.jpg\\\">>`\\n* `<<image-right \\\"Motovun Jack.jpg\\\">>`\\n\\n<<image-left \\\"Motovun Jack.jpg\\\" caption:\\\"//floating image//\\\">>\\n\\n```\\n<<image-left \\\"Motovun Jack.jpg\\\">>\\n```\\nActivates a `float-left` CSS rule for the image container. \\n\\nIf you want to add a caption to the image, just use: \\n\\n```\\n<<image-left \\\"Motovun Jack.jpg\\\" caption:\\\"//floating image//\\\">>\\n```\\n\\n@@.image-text\\nAs you can see, inline formatting rules can be used. \\n@@\\n\\nThe image below will be centred and slightly bigger. There is no text flow around the image. The macro is used like this:\\n\\n```\\n<<image-center \\\"Motovun Jack.jpg\\\" caption:\\\"centered image\\\" width:\\\"50%\\\">>\\n```\\n\\n<<image-center \\\"Motovun Jack.jpg\\\" caption:\\\"centered image\\\" width:\\\"50%\\\">>\\n\\n<<image-right \\\"Motovun Jack.jpg\\\" caption:\\\"''float right''\\\" tooltip:\\\"Motovun Jack - The TiddlyWiki Mascot\\\">>\\n\\nThis image uses:\\n\\n```\\n<<image-right \\\"Motovun Jack.jpg\\\" caption:\\\"''float right''\\\" tooltip:\\\"Motovun Jack - The TiddlyWiki Mascot\\\">>\\n```\\n\\n\",\n \"title\": \"Floating Images HowTo\",\n \"tags\": \"floating-images\",\n \"modified\": \"20230226092108300\"\n}","modified":"20260322121814936","tags":"$:/tags/trashbin"}]